:root {
  --navy: #071f3d;
  --gold: #b48743;
  --ivory: #f7f2e9;
  --paper: #fffaf2;
  --text: #102744;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Montserrat, Arial, sans-serif;
  --hero-gutter: clamp(1.5rem, calc(20vw - 200px), 5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--ivory); font-family: var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
section { scroll-margin-top: 1.5rem; }
.skip-link { position: fixed; z-index: 20; top: -5rem; left: 1rem; padding: .8rem 1rem; color: white; background: var(--navy); }
.skip-link:focus { top: 1rem; }

.site-header { position: absolute; z-index: 5; top: 0; left: 0; width: 100%; }
.header-inner { width: calc(100% - var(--hero-gutter) - var(--hero-gutter)); margin: auto; display: flex; align-items: center; gap: 2rem; min-height: 130px; }
.brand { display: block; flex: 0 0 270px; height: 105px; }
.brand-window { position: relative; display: block; height: 100%; overflow: hidden; }
.brand-window img { position: absolute; width: 260%; height: auto; max-width: none; left: 50%; top: 50%; transform: translate(-56%, -43%); }
.desktop-nav { display: flex; align-items: center; gap: clamp(1rem, 1.7vw, 1.8rem); margin-left: auto; white-space: nowrap; }
.desktop-nav a { position: relative; padding: .5rem 0; text-decoration: none; font: 600 .76rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.desktop-nav a, .hero-copy .eyebrow, .hero h1 { text-shadow: 0 1px 12px rgba(247,242,233,.85); }
.desktop-nav a:hover::after, .desktop-nav a[aria-current="page"]::after { content: ""; position: absolute; height: 1px; background: var(--gold); left: 0; right: 0; bottom: 0; }
.mobile-nav { display: none; }

.hero { position: relative; min-height: min(820px, 90vh); overflow: hidden; isolation: isolate; background: #c6e4f6; }
.hero-photo, .hero-wash { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { z-index: -2; object-fit: cover; object-position: center 45%; }
.hero-wash { z-index: -1; background: linear-gradient(90deg, rgba(247,242,233,.72) 0%, rgba(247,242,233,.48) 27%, transparent 56%), linear-gradient(180deg, rgba(247,242,233,.36), transparent 19%, transparent 80%, rgba(7,31,61,.18)); }
.hero-inner { width: calc(100% - var(--hero-gutter) - var(--hero-gutter)); min-height: inherit; margin: auto; display: flex; align-items: center; position: relative; padding: 155px 0 200px; }
.hero-copy { max-width: 585px; }
.eyebrow { margin: 0; color: #805c29; font: 600 .69rem/1.5 var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.hero-copy > .eyebrow { font-size: 1rem; }
.hero h1 { margin: 1.1rem 0 0; color: var(--navy); font: 600 clamp(4rem, 7vw, 6.3rem)/.9 var(--serif); letter-spacing: -.035em; }
.hero h1 em { display: block; margin-top: .2rem; color: #946823; font-weight: 400; }

.flock-wrap { position: relative; z-index: 2; width: min(100% - 3rem, 1100px); margin: -142px auto 0; }
.flock-card { padding: clamp(2rem, 4vw, 3.4rem) clamp(1.5rem, 5vw, 4.7rem) 2.2rem; text-align: center; border: 1px solid rgba(180,135,67,.25); border-radius: 5px; background: linear-gradient(145deg, rgba(255,255,255,.38), transparent 44%), var(--paper); box-shadow: 0 16px 35px rgba(25,28,33,.17); }

@media (min-width: 1600px) {
  .flock-wrap { margin-top: clamp(-142px, calc(14vw - 366px), -8px); }
}
.gold-rule { width: 75px; height: 1px; margin: .8rem auto .5rem; background: var(--gold); }
.flock-card h2, .section-heading h2 { margin: .2rem 0; color: var(--navy); font: 600 clamp(3.6rem, 6vw, 5.7rem)/1 var(--serif); }
.flock-intro { max-width: 720px; margin: .5rem auto 1.2rem; font: 400 clamp(1.3rem, 2vw, 1.6rem)/1.18 var(--serif); }
.preview-notice { width: fit-content; max-width: 720px; margin: 0 auto 1.5rem; padding: .6rem 1rem; color: var(--navy); background: #efe5d4; border-left: 3px solid var(--gold); text-align: left; font: 400 .75rem/1.5 var(--sans); }
.preview-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: .85rem; text-align: left; }
.preview-field { min-height: 51px; padding: 1rem; display: flex; align-items: center; justify-content: space-between; border: 1px solid #b7ad9e; border-radius: 3px; color: #5c6470; background: #fff; font: 400 .72rem/1.3 var(--sans); }
.preview-button { display: flex; justify-content: center; align-items: center; gap: 1.5rem; max-width: 375px; margin: 1rem auto .6rem; padding: 1.1rem 1rem; color: white; background: var(--navy); border: 1px solid var(--gold); font: 600 .75rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; opacity: .85; }
.preview-button span { color: var(--gold); font-size: 1.2rem; line-height: .5; }
.preview-footnote { margin: .8rem 0 0; font: 400 .72rem/1.5 var(--sans); }

.experiences { background: #fff; padding: 5rem max(1.5rem, calc((100vw - 1100px)/2)) 4.8rem; text-align: center; }
.section-heading { margin-bottom: 2.6rem; }
.section-heading h2 { font-size: clamp(3rem, 4.3vw, 4.5rem); }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.category { padding: .5rem 1.5rem .2rem; }
.category + .category { border-left: 1px solid var(--gold); }
.category svg { width: 53px; height: 53px; margin: 0 auto .7rem; fill: none; stroke: #a5782f; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.category h3 { margin: 0 0 .4rem; font: 600 .77rem/1.35 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.category p { max-width: 200px; margin: auto; font: 400 1.22rem/1.07 var(--serif); }

.closing { position: relative; overflow: hidden; min-height: 415px; padding: 5rem 1.5rem 4.5rem; background: radial-gradient(circle at 50% 30%, #fffaf2 0%, var(--ivory) 68%, #e8dbc6 130%); text-align: center; }
.closing-inner { position: relative; max-width: 760px; margin: auto; }
.closing-mark { width: 110px; height: 75px; margin: 0 auto .9rem; position: relative; overflow: hidden; }
.closing-mark img { position: absolute; width: 550px; height: auto; max-width: none; top: calc(50% + 25px); left: 50%; transform: translate(-50%, -50%); }
.closing h2 { margin: 1rem 0 .7rem; color: var(--navy); font: italic 400 clamp(2.6rem, 5vw, 4.5rem)/1.05 var(--serif); }
.closing p:not(.eyebrow):not(.signature) { max-width: 540px; margin: 1.2rem auto; font: 400 1.35rem/1.2 var(--serif); }
.signature { margin: .7rem 0 0; color: #8b642b; font: italic 400 2.4rem/1 var(--serif); }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem max(1.5rem, calc((100vw - 1100px)/2)); color: #eae2d6; background: var(--navy); font: 400 .68rem/1.5 var(--sans); }
.site-footer a { text-underline-offset: 3px; }

@media (min-width: 901px) {
  .hero-copy { max-width: min(585px, 42vw); }
}

@media (min-width: 1100px) {
  .header-inner { min-height: 232px; }
  .brand { flex-basis: 525px; height: 207px; }
  .hero-inner { padding-top: 235px; }
}

@media (min-width: 1000px) and (max-width: 1099px) {
  .header-inner { min-height: 188px; }
  .brand { flex-basis: 425px; height: 170px; }
}

@media (max-width: 999px) {
  .header-inner { min-height: 108px; }
  .brand { flex-basis: 235px; height: 101px; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; position: relative; margin-left: auto; }
  .mobile-nav summary { width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 10px; cursor: pointer; list-style: none; color: var(--navy); background: rgba(255,250,242,.9); border: 1px solid var(--gold); }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { display: block; height: 2px; width: 22px; background: currentColor; }
  .mobile-nav nav { position: absolute; right: 0; top: calc(100% + .5rem); min-width: 215px; padding: .5rem; background: var(--paper); box-shadow: 0 8px 25px rgba(7,31,61,.2); border: 1px solid var(--gold); }
  .mobile-nav nav a { display: block; padding: .85rem; text-decoration: none; font: 600 .72rem/1.4 var(--sans); text-transform: uppercase; letter-spacing: .1em; }
  .mobile-nav nav a:focus-visible, .mobile-nav nav a:hover { background: var(--ivory); }
}

@media (max-width: 999px) {
  .hero-photo { object-position: 72% center; }
  .hero-wash { background: linear-gradient(180deg, rgba(247,242,233,.82) 0%, rgba(247,242,233,.65) 34%, rgba(247,242,233,.06) 68%, rgba(7,31,61,.12) 100%); }
}

@media (min-width: 701px) and (max-width: 999px) {
  .hero { min-height: 900px; }
  .hero-inner { align-items: flex-start; padding-top: 170px; }
}

@media (max-width: 700px) {
  .header-inner { width: calc(100% - 2rem); min-height: 92px; gap: 1rem; }
  .brand { flex-basis: 215px; height: 90px; }
  .hero { min-height: 760px; }
  .hero-photo { top: 340px; bottom: auto; height: 420px; object-position: 75% center; -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%); mask-image: linear-gradient(to bottom, transparent, black 15%); }
  .hero-wash { background: linear-gradient(180deg, rgba(247,242,233,.76), rgba(247,242,233,.45) 43%, transparent 62%, rgba(7,31,61,.12)); }
  .hero-inner { width: calc(100% - 2.5rem); align-items: flex-start; padding: 155px 0 280px; }
  .hero-copy { max-width: 500px; }
  .hero h1 { font-size: clamp(3.8rem, 14vw, 5.8rem); }
  .flock-wrap { width: calc(100% - 1.5rem); margin-top: -105px; }
  .flock-card { padding: 2rem 1.25rem; }
  .preview-fields { grid-template-columns: 1fr; gap: .6rem; }
  .preview-field { min-height: 46px; }
  .experiences { padding: 4rem 1.5rem; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
  .category:nth-child(3) { border-left: 0; }
}

@media (max-width: 480px) {
  .header-inner { min-height: 80px; }
  .brand { flex-basis: clamp(185px, 51vw, 215px); height: auto; aspect-ratio: 215 / 90; }
  .hero-inner { padding-top: 95px; }
  .hero-copy > .eyebrow { font-size: clamp(.965rem, 3.95vw, 1rem); }
  .hero h1 { margin-top: .85rem; font-size: clamp(2.8rem, 11.2vw, 3.15rem); line-height: .88; }
  .hero-photo { top: 250px; height: 510px; object-position: 72% center; -webkit-mask-image: linear-gradient(to bottom, transparent, black 18%); mask-image: linear-gradient(to bottom, transparent, black 18%); }
  .hero-wash { background: linear-gradient(180deg, rgba(247,242,233,.94) 0%, rgba(247,242,233,.86) 33%, rgba(247,242,233,.26) 55%, transparent 78%); }
  .flock-wrap { margin-top: -85px; }
  .flock-card h2 { font-size: 3.5rem; }
  .category { padding: .5rem .8rem; }
  .category h3 { font-size: .65rem; }
  .category p { font-size: 1.1rem; }
  .closing { padding: 4rem 1.2rem; }
  .closing h2 { font-size: 2.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
