/* Wiggy 2027 site styles. Escalante Golf brand: navy is the only brand color, warm greige ground, square corners. */
:root {
  --navy: #283551;
  --navy-deep: #1a2338;
  --greige: #EDEBE5;
  --white: #FFFFFF;
  --ink: #000000;
  --taupe-line: rgba(178, 171, 166, 0.55);
  --display: "AvianoGothicRegular", "Aviano Gothic", "termina", "Century Gothic", Futura, sans-serif;
  --utility: "termina", "Montserrat", "Century Gothic", Futura, "Helvetica Neue", Arial, sans-serif;
  --body: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: 80px;
  --section-y: 104px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--greige); color: var(--ink); font-family: var(--body); font-weight: 300; font-size: 17px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:hover { color: var(--navy-deep); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.on-navy :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible { outline-color: var(--white); }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--white); color: var(--navy); padding: 12px 20px; font-family: var(--utility); z-index: 100; }
.skip-link:focus { left: 16px; top: 16px; }

/* Type */
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; color: var(--navy); margin: 0; }
h1 { font-size: 60px; line-height: 1.15; letter-spacing: 2px; }
h2 { font-size: 36px; line-height: 1.3; letter-spacing: 1px; }
h2.lg { font-size: 40px; }
h3 { font-size: 22px; line-height: 1.4; letter-spacing: 0.5px; }
p { margin: 0; }
.eyebrow { font-family: var(--utility); font-weight: 500; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--navy); margin: 0; }
.small { font-size: 16px; }
.on-navy, .on-navy h1, .on-navy h2, .on-navy h3, .on-navy .eyebrow, .on-navy p { color: var(--white); }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 36px; font-family: var(--utility); font-weight: 500; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; text-align: center; line-height: 1.5; border: 1px solid var(--navy); background: var(--navy); color: var(--white); }
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: var(--white); }
.btn.light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn.light:hover { background: var(--greige); border-color: var(--greige); color: var(--navy); }
.tlink { display: inline-block; font-family: var(--utility); font-weight: 500; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; color: var(--navy); border-bottom: 1px solid currentColor; padding: 8px 0 4px; }
.tlink:hover { color: var(--navy-deep); }

/* Layout */
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.bg-white { background: var(--white); }
.bg-navy { background: var(--navy); }
.stack { display: flex; flex-direction: column; gap: 24px; }
.stack-sm { display: flex; flex-direction: column; gap: 14px; }
.centered { text-align: center; align-items: center; margin: 0 auto; }
.measure { max-width: 760px; }
.two-col { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 96px; align-items: start; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 44px; flex-wrap: wrap; }

/* Header */
.site-header { background: var(--navy); position: relative; z-index: 20; }
.site-header .wrap { height: 96px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 24px; text-decoration: none; color: var(--white); }
.brand img { height: 34px; width: auto; }
.brand-rule { width: 1px; height: 32px; background: rgba(255, 255, 255, 0.4); }
.brand-name { font-family: var(--display); font-size: 20px; letter-spacing: 2px; text-transform: uppercase; color: var(--white); white-space: nowrap; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 44px; }
.nav-list a { font-family: var(--utility); font-weight: 500; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--white); text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav-list a:hover, .nav-list a[aria-current="page"] { border-bottom-color: var(--white); color: var(--white); }
.nav-toggle { display: none; background: transparent; border: 0; color: var(--white); width: 44px; height: 44px; padding: 0; cursor: pointer; align-items: center; justify-content: center; margin-right: -10px; }
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .close { display: none; }
.nav-toggle[aria-expanded="true"] .open-i { display: none; }
.nav-toggle[aria-expanded="true"] .close { display: block; }

/* Heroes */
.hero { position: relative; overflow: hidden; color: var(--white); display: flex; align-items: flex-end; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.65) 100%); }
.hero-page::after { background: linear-gradient(rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.72) 100%); }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: 96px; }
.hero .copy { max-width: 920px; display: flex; flex-direction: column; gap: 20px; }
.hero h1, .hero .eyebrow, .hero p { color: var(--white); }
.hero p { font-size: 19px; }
.hero-home { min-height: 760px; }
.hero-home h1 { font-size: 84px; line-height: 1.05; letter-spacing: 3px; }
.hero-home .copy { max-width: 1200px; }
.hero-home .copy p:not(.eyebrow) { max-width: 780px; }
.hero-city { white-space: nowrap; }
.hero-page { min-height: 480px; }
.hero-venue { min-height: 560px; }
.page-band { background: var(--navy); border-top: 1px solid rgba(255, 255, 255, 0.18); }
.page-band .wrap { min-height: 360px; display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; padding-bottom: 72px; }

/* Cards and lists */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { background: var(--white); display: flex; flex-direction: column; }
.card-body { padding: 40px 32px; display: flex; flex-direction: column; gap: 16px; flex-grow: 1; }
.card-body .tlink { margin-top: auto; align-self: flex-start; }
.date { font-family: var(--display); font-size: 24px; line-height: 1.2; letter-spacing: 1px; text-transform: uppercase; color: var(--navy); }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* Image and text split */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.split > img { width: 100%; height: 100%; object-fit: cover; }
.split .panel { padding: 80px 96px; display: flex; flex-direction: column; justify-content: center; gap: 24px; }

/* Travel guidelines */
.rules { display: flex; flex-direction: column; gap: 32px; }
.rules > div { display: flex; flex-direction: column; gap: 6px; }
.note { background: var(--white); padding: 24px 28px; font-size: 16px; font-style: italic; }

/* Navy panel inside a section */
.panel-navy { background: var(--navy); padding: 48px 64px; display: grid; grid-template-columns: 420px 1fr; gap: 96px; align-items: center; }

/* Agenda accordion (native details/summary, no script needed) */
.agenda { max-width: 960px; margin: 0 auto; }
.day { border-top: 1px solid rgba(40, 53, 81, 0.25); }
.day:last-of-type { border-bottom: 1px solid rgba(40, 53, 81, 0.25); }
.day[open] { background: var(--white); }
.day summary { list-style: none; cursor: pointer; min-height: 92px; padding: 16px 28px; display: flex; align-items: center; gap: 24px; }
.day summary::-webkit-details-marker { display: none; }
.day-name { flex-grow: 1; font-family: var(--display); font-size: 22px; letter-spacing: 1px; text-transform: uppercase; color: var(--navy); }
.day-sum { font-family: var(--utility); font-weight: 500; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--navy); }
.day summary::after { content: "+"; font-family: var(--body); font-weight: 300; font-size: 30px; line-height: 1; color: var(--navy); width: 20px; text-align: center; }
.day[open] summary::after { content: "\2212"; }
.day-body { padding: 4px 28px 36px; display: flex; flex-direction: column; gap: 24px; }
.block-label { font-family: var(--utility); font-weight: 500; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--navy); padding-bottom: 8px; border-bottom: 1px solid var(--taupe-line); margin: 0; }
.items { list-style: none; margin: 0; padding: 0; }
.items li { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 12px 0; font-size: 16px; line-height: 1.6; }
.items .time { font-weight: 600; color: var(--navy); }

/* Footer */
.site-footer { background: var(--navy); color: var(--white); text-align: center; padding: 0 0 56px; }
.site-footer p { padding: 0 24px; }
/* Skyline straddles the line between the last content section and the footer.
   Band height equals the image height, so these stops line up with the artwork:
   63.6% is the top of the solid ground band, 74.1% is its bottom edge (the divide). */
.skyband { background: linear-gradient(var(--greige) 0%, var(--greige) 63.6%, var(--navy) 63.6%, var(--navy) 100%); margin-bottom: 75px; }
.skyband.after-navy { background: linear-gradient(var(--navy) 0%, var(--navy) 63.6%, var(--greige) 63.6%, var(--greige) 74.1%, var(--navy) 74.1%, var(--navy) 100%); }
.skyband img { width: 100%; max-width: 1920px; height: auto; margin: 0 auto; }
.site-footer img.wordmark { height: 46px; width: auto; margin: 0 auto 22px; }
.site-footer p { font-size: 15px; line-height: 1.8; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--white); opacity: 0.8; }

/* Tablet */
@media (max-width: 1100px) {
  :root { --gutter: 48px; --section-y: 88px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .split .panel { padding: 64px 48px; }
  .panel-navy { grid-template-columns: 1fr; gap: 16px; padding: 40px; }
  .nav-list { gap: 28px; }
}

/* Mobile */
@media (max-width: 820px) {
  :root { --gutter: 24px; --section-y: 64px; }
  body { font-size: 16px; }
  h1 { font-size: 36px; }
  h2, h2.lg { font-size: 26px; }
  h3 { font-size: 20px; }
  .hero-home h1 { font-size: 44px; }
  .hero-home { min-height: 640px; }
  .hero-page, .hero-venue { min-height: 420px; }
  .hero .wrap { padding-bottom: 56px; }
  .hero p { font-size: 17px; }
  .hero::after { background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.72)); }
  .btn { padding: 0 20px; }
  .hero-home .btn { min-height: 60px; padding: 20px; }
  .hero-sep { display: none; }
  .hero-city { display: block; margin-top: 10px; font-family: var(--display); font-weight: 400; font-size: 20px; letter-spacing: 2px; line-height: 1.3; }
  .page-band .wrap { min-height: 260px; padding-bottom: 48px; }
  .site-header .wrap { height: 72px; }
  .brand { gap: 12px; }
  .brand img { height: 22px; }
  .brand-rule { display: none; }
  .brand-name { font-size: 13px; letter-spacing: 1.2px; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--navy); border-top: 1px solid rgba(255, 255, 255, 0.18); padding: 8px var(--gutter) 24px; }
  .site-nav.open { display: block; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
  .nav-list a[aria-current="page"] { border-bottom-color: rgba(255, 255, 255, 0.12); text-decoration: underline; text-underline-offset: 6px; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; min-height: 0; }
  .split > img { height: 280px; order: -1; }
  .split .panel { padding: 48px 24px; }
  .head-row { margin-bottom: 28px; }
  .day summary { padding: 16px 20px; flex-wrap: wrap; gap: 6px 16px; }
  .day-name { font-size: 16px; line-height: 1.35; letter-spacing: 0.5px; flex-basis: calc(100% - 40px); }
  .day-sum { order: 3; flex-basis: 100%; }
  .day-body { padding: 4px 20px 28px; }
  .items li { grid-template-columns: 1fr; gap: 2px; }
  .btn { width: 100%; }
}
