:root {
  --ivory: #F5F2EA;
  --stone: #E8E3D8;
  --charcoal: #24231F;
  --gold: #A09164;
  --brass: #796A45;
  --text: #1D1C19;
  --muted: #68645C;
  --line: #D8D2C5;
  --light: #F5F2EA;
  --display: "Sorts Mill Goudy", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
  --container: min(1180px, calc(100% - 96px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.68;
  font-weight: 400;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: var(--container); margin-inline: auto; }
.narrow { max-width: 900px; }
.section { position: relative; padding: 128px 0; overflow: hidden; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 1000; padding: 10px 14px; background: var(--charcoal); color: var(--ivory); font-family: var(--sans); }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 78px;
  background: rgba(245,242,234,.97);
  border-bottom: 1px solid rgba(216,210,197,.72);
  backdrop-filter: blur(14px);
  transition: height .32s ease, box-shadow .32s ease, background .32s ease;
}
.site-header.scrolled {
  height: 64px;
  box-shadow: 0 8px 28px rgba(29,28,25,.06);
}
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { width: 76px; height: 68px; display: flex; align-items: center; justify-content: flex-start; transition: width .32s ease, height .32s ease; }
.brand img { width: 74px; height: 74px; object-fit: contain; transition: width .32s ease, height .32s ease; }
.site-header.scrolled .brand { width: 66px; height: 58px; }
.site-header.scrolled .brand img { width: 62px; height: 62px; }
.nav-menu { display: flex; align-items: center; gap: 34px; font-family: var(--sans); font-size: 12px; letter-spacing: .11em; text-transform: uppercase; }
.nav-menu > a { position: relative; padding: 8px 0; color: var(--muted); transition: color .25s ease; }
.nav-menu > a::after { content: ""; position: absolute; left: 0; bottom: 2px; width: 0; height: 1px; background: var(--gold); transition: width .3s ease; }
.nav-menu > a:hover, .nav-menu > a:focus-visible { color: var(--text); }
.nav-menu > a:hover::after, .nav-menu > a:focus-visible::after { width: 100%; }
.nav-menu .nav-cta { color: var(--text); border: 1px solid var(--line); padding: 11px 16px; }
.nav-menu .nav-cta::after { display: none; }
.nav-menu .nav-cta:hover { border-color: var(--gold); color: var(--brass); }
.nav-toggle { display: none; background: none; border: 0; padding: 12px; cursor: pointer; }
.nav-toggle span { display: block; width: 27px; height: 1px; margin: 6px 0; background: var(--text); transition: transform .25s ease; }

.eyebrow {
  margin: 0 0 22px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 500;
}
h1, h2, h3, .statement-text, .footer-brand { font-family: var(--display); font-weight: 400; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 980px; margin-bottom: 32px; font-size: clamp(54px, 6.35vw, 92px); line-height: .98; letter-spacing: .015em; }
h2 { margin-bottom: 34px; font-size: clamp(43px, 4.35vw, 62px); line-height: 1.05; letter-spacing: -.025em; }
h3 { margin-bottom: 16px; font-size: clamp(27px, 2.3vw, 35px); line-height: 1.08; letter-spacing: -.015em; }
em { font-style: italic; color: var(--brass); }
.section-dark em, .hero em { color: var(--gold); }
.lead { font-family: var(--display); font-size: clamp(25px, 2.3vw, 34px); line-height: 1.3; color: var(--text); }
.section-dark .lead, .section-dark p { color: rgba(245,242,234,.82); }

.hero {
  min-height: min(790px, calc(100vh - 78px));
  display: flex;
  align-items: center;
  color: var(--ivory);
  padding: 120px 0 140px;
  isolation: isolate;
  text-align: center;
}
.hero-image { position: absolute; inset: 0; z-index: -3; background-image: url("../images/grand-teton.jpg"); background-size: cover; background-position: center 54%; transform: scale(1.02); }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(24,25,22,.62) 0%, rgba(24,25,22,.34) 50%, rgba(24,25,22,.18) 100%), linear-gradient(0deg, rgba(17,18,16,.40), transparent 42%, rgba(17,18,16,.08)); }
.hero-inner { position: relative; z-index: 1; max-width: 1180px; margin-inline: auto; }
.hero .eyebrow { margin-bottom: 26px; color: rgba(245,242,234,.90); }
.hero h1 {
  max-width: 1100px;
  margin: 0 auto 30px;
  color: var(--ivory);
  font-size: clamp(48px, 5.35vw, 76px);
  line-height: 1;
  letter-spacing: .045em;
  text-shadow: 0 2px 24px rgba(0,0,0,.20);
}
.hero-copy {
  max-width: 760px;
  margin: 0 auto 32px;
  color: rgba(245,242,234,.94);
  font-family: var(--display);
  font-size: clamp(21px, 1.7vw, 25px);
  line-height: 1.5;
}
.text-link { display: inline-flex; align-items: center; gap: 13px; font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
.text-link span { font-size: 20px; line-height: 0; transition: transform .25s ease; }
.text-link:hover span { transform: translateX(5px); }
.text-link-light { color: var(--ivory); }
.hero-caption { position: absolute; right: 48px; bottom: 28px; font-family: var(--sans); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: rgba(245,242,234,.65); }

.section-firm { background: var(--ivory); }
.split { display: grid; grid-template-columns: 25% 1fr; gap: 80px; }
.section-label { padding-top: 13px; }
.section-graphic { width: 230px; height: 230px; margin: 30px 0 0; color: var(--gold); opacity: .5; }
.section-graphic svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.05; stroke-linecap: round; stroke-linejoin: round; }
.section-graphic .graphic-focus { fill: currentColor; stroke: none; opacity: .28; }
.section-marker { display: block; width: 48px; height: 1px; margin-top: 24px; background: var(--gold); position: relative; }
.section-marker::after { content: ""; position: absolute; left: 0; top: -4px; width: 9px; height: 9px; border: 1px solid var(--gold); transform: rotate(45deg); background: var(--ivory); }
.section-content { max-width: 820px; }
.section-content p:not(.lead):not(.quiet-note) { max-width: 760px; color: #45413A; }
.quiet-note { margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); font-family: var(--sans); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.section-capabilities { background: var(--stone); }
.section-experience-strip { background: var(--ivory); padding-top: 104px; padding-bottom: 104px; }
.experience-strip-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.experience-strip-item { min-height: 150px; padding: 30px 26px 26px 0; display: flex; flex-direction: column; justify-content: space-between; }
.experience-strip-item + .experience-strip-item { padding-left: 26px; border-left: 1px solid var(--line); }
.experience-strip-item p { margin: 18px 0 0; font-family: var(--sans); font-size: 12px; line-height: 1.45; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.strip-icon, .capability-icon { display: block; width: 22px; height: 22px; color: var(--gold); }
.strip-icon svg, .capability-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.section-heading { max-width: 920px; margin-bottom: 64px; }
.capability-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid rgba(121,106,69,.42); }
.capability { position: relative; min-height: 330px; padding: 42px 54px 44px 0; border-bottom: 1px solid rgba(121,106,69,.42); }
.capability:nth-child(odd) { padding-right: 70px; border-right: 1px solid rgba(121,106,69,.42); }
.capability:nth-child(even) { padding-left: 70px; }
.number { display: inline-block; margin-top: 16px; margin-bottom: 24px; color: var(--gold); font-family: var(--sans); font-size: 11px; letter-spacing: .16em; }
.capability .capability-icon { margin-bottom: 26px; }
.capability .rule { width: 44px; height: 1px; margin: 0 0 24px; background: var(--gold); transform-origin: left; transition: width .55s ease; }
.capability:hover .rule { width: 82px; }
.capability p, .experience-item p { max-width: 530px; color: #5B574F; }

.section-dark { background: var(--charcoal); color: var(--ivory); }
.section-heading-dark { margin-bottom: 70px; }
.section-heading-dark h2 { max-width: 720px; }
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 52px; }
.approach-item { padding-top: 30px; border-top: 1px solid rgba(160,145,100,.55); }
.approach-item h3 { color: var(--ivory); font-size: clamp(29px, 2.5vw, 38px); }
.approach-item p { color: rgba(245,242,234,.76); font-size: 18px; line-height: 1.6; }

.section-experience { background: var(--ivory); }
.experience-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border-top: 1px solid var(--line); }
.experience-item { grid-column: span 2; min-height: 250px; padding: 42px 34px 36px; border-bottom: 1px solid var(--line); }
.experience-item:nth-child(2), .experience-item:nth-child(3) { border-left: 1px solid var(--line); }
.experience-item:nth-child(4) { grid-column: 1 / span 3; border-right: 1px solid var(--line); }
.experience-item:nth-child(5) { grid-column: 4 / span 3; border-left: 1px solid var(--line); }
.experience-item h3 { font-size: 29px; }

.statement { padding: 150px 0; background: var(--stone); }
.statement-text { margin: 0; max-width: 900px; font-size: clamp(38px, 4.2vw, 58px); line-height: 1.08; letter-spacing: -.03em; }

.section-engagement { background: var(--ivory); }
.engagement-line { display: flex; gap: 28px; align-items: baseline; padding: 19px 0; border-top: 1px solid var(--line); }
.engagement-line:first-of-type { margin-top: 44px; }
.engagement-line span { width: 28px; flex: 0 0 28px; color: var(--gold); font-family: var(--sans); font-size: 10px; letter-spacing: .14em; }
.engagement-line p { margin: 0; font-family: var(--display); font-size: 27px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; align-items: start; }
.contact-intro h2 { max-width: 620px; }
.contact-intro p:not(.eyebrow) { max-width: 500px; color: rgba(245,242,234,.76); }
.contact-details { padding-top: 10px; }
.contact-detail { padding: 0 0 28px; margin-bottom: 28px; border-bottom: 1px solid rgba(245,242,234,.18); }
.contact-detail:last-child { margin-bottom: 0; }
.contact-detail-label { display: block; margin-bottom: 9px; color: rgba(245,242,234,.58); font-family: var(--sans); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.contact-detail a { color: var(--ivory); font-family: var(--display); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.25; transition: color .25s ease; }
.contact-detail a:hover, .contact-detail a:focus-visible { color: var(--gold); }

.scope { display: none; }
.footer { background: #1C1B18; color: rgba(245,242,234,.68); padding: 28px 0 24px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 0; font-family: var(--sans); font-size: 10px; letter-spacing: .08em; }
.footer-bottom div { display: flex; gap: 20px; }
.footer-bottom a { transition: color .25s ease; }
.footer-bottom a:hover { color: var(--gold); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.22,.61,.36,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  :root { --container: min(100% - 48px, 760px); }
  .site-header { height: 70px; }
  .site-header.scrolled { height: 60px; }
  .brand { width: 70px; height: 60px; }
  .brand img { width: 66px; height: 66px; }
  .site-header.scrolled .brand { width: 60px; height: 52px; }
  .site-header.scrolled .brand img { width: 56px; height: 56px; }
  .nav-toggle { display: block; }
  .nav-menu { position: absolute; top: 70px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px; background: rgba(245,242,234,.98); border-bottom: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0,0,0,.07); }
  .nav-menu.is-open { display: flex; }
  .nav-menu > a { padding: 15px 0; }
  .nav-menu .nav-cta { margin-top: 8px; text-align: center; }
  .section { padding: 92px 0; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .section-label { padding-top: 0; }
  .section-graphic { width: 190px; height: 190px; margin-top: 24px; }
  .section-marker { margin-top: 15px; }
  .experience-strip-grid { grid-template-columns: repeat(3, 1fr); }
  .experience-strip-item:nth-child(4), .experience-strip-item:nth-child(5) { border-top: 1px solid var(--line); }
  .experience-strip-item:nth-child(4) { border-left: 0; padding-left: 0; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability, .capability:nth-child(odd), .capability:nth-child(even) { padding: 38px 0; border-right: 0; }
  .approach-grid { grid-template-columns: 1fr; gap: 42px; }
  .experience-grid { grid-template-columns: 1fr 1fr; }
  .experience-item, .experience-item:nth-child(2), .experience-item:nth-child(3), .experience-item:nth-child(4), .experience-item:nth-child(5) { grid-column: auto; padding: 34px 26px; border-left: 0; border-right: 0; }
  .experience-item:nth-child(even) { border-left: 1px solid var(--line); }
  .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .experience-strip-grid { grid-template-columns: 1fr 1fr; }
  .experience-strip-item, .experience-strip-item + .experience-strip-item { padding: 28px 20px; }
  .experience-strip-item:nth-child(3), .experience-strip-item:nth-child(5) { border-left: 1px solid var(--line); }
  .experience-strip-item:nth-child(4) { border-left: 0; }
  .experience-strip-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero { min-height: 700px; padding: 100px 0 110px; }
  .hero-image { background-position: 55% center; }
  .hero h1 { font-size: clamp(46px, 7.2vw, 68px); }
  .hero-copy { font-size: 22px; }
}

@media (max-width: 620px) {
  :root { --container: calc(100% - 36px); }
  .site-header { height: 66px; }
  .site-header.scrolled { height: 56px; }
  .brand { width: 60px; height: 54px; }
  .brand img { width: 56px; height: 56px; }
  .site-header.scrolled .brand { width: 54px; height: 48px; }
  .site-header.scrolled .brand img { width: 50px; height: 50px; }
  .nav-menu { top: 66px; }
  .hero { min-height: 660px; padding: 84px 0 96px; align-items: center; }
  .hero-image { background-position: 57% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(22,23,21,.66), rgba(22,23,21,.25)), linear-gradient(0deg, rgba(17,18,16,.64), transparent 56%); }
  .hero .eyebrow { margin-bottom: 20px; }
  .hero h1 { max-width: 100%; margin-bottom: 24px; font-size: clamp(40px, 10.5vw, 54px); letter-spacing: .035em; line-height: 1.05; }
  .hero-copy { max-width: 520px; font-size: 20px; line-height: 1.48; }
  .hero-caption { right: 18px; bottom: 17px; font-size: 8px; }
  h1 { font-size: clamp(44px, 11.5vw, 58px); }
  h2 { font-size: clamp(38px, 10vw, 50px); }
  h3 { font-size: 29px; }
  body { font-size: 17px; }
  .lead { font-size: 25px; }
  .section-experience-strip { padding-top: 78px; padding-bottom: 78px; }
  .section { padding: 78px 0; }
  .section-heading { margin-bottom: 48px; }
  .experience-grid { grid-template-columns: 1fr; }
  .experience-strip-grid { grid-template-columns: 1fr; }
  .experience-strip-item, .experience-strip-item + .experience-strip-item { padding: 24px 0; border-left: 0; }
  .experience-strip-item + .experience-strip-item { border-top: 1px solid var(--line); }
  .experience-item, .experience-item:nth-child(even) { padding: 30px 0; border-left: 0; }
  .statement { padding: 95px 0; }
  .statement-text { font-size: 38px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
  .footer-bottom div { flex-wrap: wrap; justify-content: center; gap: 12px 18px; }
}

/* Legal pages */
.legal-content { min-height: calc(100vh - 190px); }
.legal-content h1 { max-width: 900px; margin-bottom: 58px; }
.legal-content h2 { margin: 58px 0 18px; font-size: clamp(31px, 3vw, 44px); }
.legal-content p, .legal-content li { max-width: 800px; color: #45413A; }
.legal-content ul { padding-left: 22px; }
.legal-content li { padding-left: 8px; margin-bottom: 10px; }
.legal-email { color: var(--brass); border-bottom: 1px solid var(--gold); }
.legal-page .footer { margin-top: 0; }

@media (max-width: 620px) {
  .legal-content h1 { margin-bottom: 42px; }
  .legal-content h2 { margin-top: 44px; }
}
