@layer reset, base, components, sections, responsive;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body, h1, h2, h3, p { margin: 0; }
  img, svg { display: block; max-width: 100%; }
  button, a { font: inherit; }
}

@layer base {
  :root {
    --ink: #153531;
    --ink-deep: #0e2926;
    --river: #2d6968;
    --river-light: #76aaa5;
    --canvas: #f2eadc;
    --paper: #faf6ed;
    --sand: #d9c49b;
    --clay: #a64b2a;
    --sun: #e0a43e;
    --line: rgba(21, 53, 49, .2);
    --display: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
    --sans: "Avenir Next", Avenir, "Trebuchet MS", sans-serif;
    --wrap: min(1240px, calc(100vw - 80px));
  }

  html { background: var(--paper); color: var(--ink); }
  body { min-width: 320px; background: var(--paper); font-family: var(--sans); font-size: 17px; line-height: 1.65; overflow-x: hidden; }
  ::selection { background: var(--sun); color: var(--ink-deep); }
  a { color: inherit; }
  .wrap { width: var(--wrap); margin-inline: auto; }
  .section { padding: clamp(88px, 11vw, 160px) 0; }
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  .skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; background: var(--paper); padding: 12px 18px; transform: translateY(-150%); transition: transform .2s; }
  .skip-link:focus { transform: none; }
  :focus-visible { outline: 3px solid var(--sun); outline-offset: 4px; }
  .eyebrow, .overline { font-size: .72rem; font-weight: 700; letter-spacing: .22em; line-height: 1.35; text-transform: uppercase; }
  h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.045em; line-height: .96; text-wrap: balance; }
  h1 em, h2 em { font-weight: 400; }
  h2 { font-size: clamp(3.4rem, 7.2vw, 7rem); }
  .section-label { display: flex; align-items: center; gap: 14px; font-size: .69rem; font-weight: 700; letter-spacing: .2em; line-height: 1; text-transform: uppercase; }
  .section-label::after { content: ""; width: 54px; height: 1px; background: currentColor; opacity: .5; }
  .section-label span { font-family: var(--display); font-size: 1rem; font-style: italic; font-weight: 400; letter-spacing: 0; }
  .section-label.light { color: var(--canvas); }

  .reveal { opacity: 1; transform: none; transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
  .js .reveal { opacity: 0; transform: translateY(24px); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .reveal:nth-child(2) { transition-delay: .08s; }
  .js .reveal:nth-child(3) { transition-delay: .16s; }
}

@layer components {
  .site-header { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; min-height: 86px; padding: 14px max(40px, calc((100vw - 1400px)/2)); color: var(--ink); transition: background .25s, box-shadow .25s, min-height .25s; }
  .site-header.is-scrolled { min-height: 70px; background: rgba(250, 246, 237, .95); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(10px); }
  .brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
  .brand-mark { width: 46px; height: 46px; flex: 0 0 auto; }
  .brand-type { display: flex; flex-direction: column; line-height: 1; }
  .brand-type strong { font-family: var(--display); font-size: 1.25rem; font-weight: 600; letter-spacing: -.04em; }
  .brand-type strong i { color: var(--clay); font-weight: 400; }
  .brand-type small { margin-top: 5px; font-size: .57rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
  .site-nav { display: flex; align-items: center; gap: 30px; }
  .site-nav a { position: relative; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
  .site-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: currentColor; transition: right .2s; }
  .site-nav > a:not(.nav-cta):hover::after { right: 0; }
  .nav-cta { padding: 13px 18px; border: 1px solid currentColor; transition: background .2s, color .2s; }
  .nav-cta:hover { background: var(--ink); color: var(--paper); }
  .menu-toggle { display: none; width: 48px; height: 48px; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { display: block; width: 26px; height: 1px; margin: 7px auto; background: currentColor; transition: transform .2s; }

  .button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 14px; padding: 14px 22px; border: 1px solid transparent; font-size: .72rem; font-weight: 700; letter-spacing: .13em; line-height: 1.2; text-decoration: none; text-transform: uppercase; transition: background .2s, color .2s, transform .2s; }
  .button:hover { transform: translateY(-2px); }
  .button-primary { background: var(--ink); color: var(--paper); }
  .button-primary:hover { background: var(--clay); }
  .button-dark { border-color: var(--ink-deep); background: var(--ink-deep); color: var(--paper); }
  .button-dark:hover { background: transparent; color: var(--ink-deep); }
  .text-link { display: inline-flex; min-height: 48px; align-items: center; gap: 20px; border-bottom: 1px solid currentColor; font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-decoration: none; text-transform: uppercase; }
}

@layer sections {
  .hero { position: relative; display: grid; min-height: 100svh; align-items: center; isolation: isolate; overflow: hidden; background: var(--canvas); }
  .hero-grain { position: absolute; inset: 0; z-index: -1; opacity: .18; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E"); mix-blend-mode: multiply; pointer-events: none; }
  .topo { position: absolute; z-index: -1; color: var(--river); opacity: .19; }
  .topo-one { top: -11%; right: -8%; width: min(53vw, 760px); transform: rotate(-8deg); }
  .topo path { vector-effect: non-scaling-stroke; }
  .hero-copy { position: relative; z-index: 3; padding-top: 120px; padding-bottom: 220px; }
  .hero .eyebrow { margin-bottom: 22px; color: var(--river); }
  .hero h1 { max-width: 1100px; font-size: clamp(4.2rem, 9.8vw, 9.5rem); }
  .hero h1 em { color: var(--clay); }
  .hero-lede { max-width: 520px; margin: 30px 0 34px clamp(0px, 19vw, 260px); font-family: var(--display); font-size: clamp(1.2rem, 1.7vw, 1.55rem); line-height: 1.45; }
  .hero-actions { display: flex; align-items: center; gap: 34px; margin-left: clamp(0px, 19vw, 260px); }
  .hero-landscape { position: absolute; inset: auto 0 0; z-index: 1; height: min(35vh, 320px); color: var(--ink); }
  .hero-landscape svg { width: 100%; height: 100%; }
  .far-bank { fill: var(--sand); }
  .near-bank { fill: var(--ink); }
  .river { fill: var(--river); }
  .river-lines { stroke: rgba(242,234,220,.45); stroke-width: 2; }
  .reeds { fill: none; stroke: var(--ink-deep); stroke-width: 4; stroke-linecap: round; }
  .hero-place { position: absolute; right: 4%; bottom: 28px; z-index: 2; color: var(--canvas); font-size: .61rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); }

  .story { background: var(--paper); }
  .story-grid { display: grid; grid-template-columns: 170px minmax(0, 1fr) 190px; gap: clamp(30px, 5vw, 80px); align-items: start; }
  .story-main .overline { margin-bottom: 22px; color: var(--clay); }
  .story-main h2 { max-width: 950px; }
  .story-columns { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); max-width: 820px; margin: 50px 0 0 auto; }
  .story-columns p:first-child { font-family: var(--display); font-size: 1.35rem; line-height: 1.5; }
  .story-note { align-self: end; margin-top: 210px; padding: 26px 0 0 26px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
  .story-note svg { width: 44px; margin-bottom: 22px; color: var(--clay); }
  .story-note p { font-family: var(--display); font-size: 1.1rem; font-style: italic; line-height: 1.55; }

  .maker-marquee { overflow: hidden; padding: 15px 0; background: var(--sun); color: var(--ink-deep); }
  .marquee-track { display: flex; width: max-content; align-items: center; gap: 32px; font-family: var(--display); font-size: clamp(1.4rem, 2.5vw, 2.35rem); font-style: italic; line-height: 1; white-space: nowrap; animation: ticker 28s linear infinite; }
  .marquee-track i { font-size: .6em; }
  @keyframes ticker { to { transform: translateX(-33.333%); } }

  .offerings { background: var(--ink); color: var(--canvas); }
  .offerings-intro { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr); gap: 70px; align-items: end; margin: 66px 0 90px; }
  .offerings-intro h2 em { color: var(--river-light); }
  .offerings-intro > p { max-width: 420px; padding-bottom: 12px; color: rgba(242,234,220,.76); font-family: var(--display); font-size: 1.25rem; line-height: 1.5; }
  .offering-list { border-top: 1px solid rgba(242,234,220,.25); }
  .offering { position: relative; display: grid; grid-template-columns: 70px minmax(240px, .75fr) minmax(240px, 1fr) 170px; gap: 30px; min-height: 190px; align-items: center; border-bottom: 1px solid rgba(242,234,220,.25); }
  .offering-number { align-self: start; padding-top: 28px; font-family: var(--display); font-size: 1rem; font-style: italic; color: var(--river-light); }
  .offering h3 { font-family: var(--display); font-size: clamp(2.5rem, 4.4vw, 4.8rem); font-weight: 400; letter-spacing: -.04em; line-height: .95; }
  .offering p { max-width: 390px; color: rgba(242,234,220,.72); }
  .offering svg { width: 135px; color: var(--sun); opacity: .8; transition: transform .35s; }
  .offering:hover svg { transform: translateX(-8px) rotate(-2deg); }

  .process { background: var(--canvas); }
  .process-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 10vw, 150px); }
  .process h2 { margin-top: 54px; font-size: clamp(3.8rem, 6.5vw, 6.7rem); }
  .process h2 em { color: var(--clay); }
  .steps { margin: 0; padding: 0; list-style: none; counter-reset: steps; }
  .steps li { display: grid; grid-template-columns: 62px 1fr; gap: 24px; padding: 34px 0; border-top: 1px solid var(--line); }
  .steps li:last-child { border-bottom: 1px solid var(--line); }
  .steps > li > span { display: grid; width: 43px; height: 43px; place-items: center; border: 1px solid var(--river); border-radius: 50%; font-family: var(--display); font-style: italic; }
  .steps h3 { margin-bottom: 8px; font-family: var(--display); font-size: clamp(1.55rem, 2vw, 2rem); font-weight: 400; line-height: 1.2; }
  .steps p { max-width: 540px; color: rgba(21,53,49,.7); }

  .place-section { position: relative; min-height: 760px; overflow: hidden; background: var(--sand); color: var(--ink-deep); }
  .place-river { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--river); }
  .place-line { fill: none; stroke: var(--paper); stroke-width: 3; stroke-dasharray: 3 12; opacity: .7; }
  .place-content { position: relative; z-index: 2; padding-top: 120px; }
  .place-content h2 { max-width: 820px; margin: 23px 0 35px; color: var(--paper); font-size: clamp(4.2rem, 8vw, 8rem); }
  .place-content > p:last-child { max-width: 420px; margin-left: clamp(0px, 25vw, 320px); color: var(--paper); font-family: var(--display); font-size: 1.25rem; line-height: 1.5; }
  .compass { position: absolute; right: 8%; bottom: 9%; z-index: 2; display: grid; width: 120px; height: 120px; place-items: center; border: 1px solid rgba(250,246,237,.55); border-radius: 50%; color: var(--paper); }
  .compass::before, .compass::after { content: ""; position: absolute; background: rgba(250,246,237,.4); }
  .compass::before { width: 1px; height: 150%; }
  .compass::after { width: 150%; height: 1px; }
  .compass span { position: absolute; top: 13px; z-index: 2; font-size: .65rem; font-weight: 700; letter-spacing: .2em; }
  .compass i { width: 12px; height: 42px; background: var(--sun); clip-path: polygon(50% 0, 100% 100%, 50% 72%, 0 100%); transform: translateY(-4px); }

  .cta-section { position: relative; min-height: 700px; display: grid; align-items: center; overflow: hidden; background: var(--clay); color: var(--paper); }
  .cta-sun { position: absolute; right: -8vw; top: 50%; width: min(54vw, 760px); aspect-ratio: 1; border: 1px solid rgba(21,53,49,.4); border-radius: 50%; transform: translateY(-50%); }
  .cta-sun::before, .cta-sun::after { content: ""; position: absolute; inset: 8%; border: 1px solid rgba(21,53,49,.25); border-radius: 50%; }
  .cta-sun::after { inset: 17%; background: var(--sun); border: 0; opacity: .6; }
  .cta-content { position: relative; z-index: 2; padding-block: 100px; }
  .cta-content h2 { max-width: 900px; margin: 20px 0 28px; font-size: clamp(4.1rem, 8.5vw, 8.5rem); }
  .cta-content h2 em { color: var(--canvas); }
  .cta-content > p:not(.eyebrow) { max-width: 480px; margin: 0 0 34px clamp(0px, 18vw, 225px); font-family: var(--display); font-size: 1.3rem; line-height: 1.5; }
  .cta-content .button { margin-left: clamp(0px, 18vw, 225px); }
  .cta-content .button-dark:hover { border-color: var(--paper); color: var(--paper); }

  .site-footer { padding: 64px 0 24px; background: var(--ink-deep); color: var(--canvas); }
  .footer-grid { display: grid; grid-template-columns: 1.15fr .75fr .45fr; gap: 60px; align-items: start; padding-bottom: 55px; }
  .footer-brand .brand-mark { width: 58px; height: 58px; }
  .footer-brand .brand-type strong { font-size: 1.65rem; }
  .footer-brand .brand-type small { color: var(--river-light); }
  .footer-place { display: flex; flex-direction: column; font-family: var(--display); font-style: italic; line-height: 1.4; }
  .footer-place span { color: var(--river-light); font-size: .85rem; }
  .footer-place strong { font-size: 1.25rem; font-weight: 400; }
  .footer-links { display: flex; flex-direction: column; gap: 10px; }
  .footer-links a { width: max-content; font-size: .7rem; font-weight: 700; letter-spacing: .11em; text-decoration: none; text-transform: uppercase; }
  .footer-links a:hover { color: var(--sun); }
  .footer-bottom { display: flex; justify-content: space-between; padding-top: 22px; border-top: 1px solid rgba(242,234,220,.18); color: rgba(242,234,220,.55); font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
}

@layer responsive {
  @media (max-width: 980px) {
    :root { --wrap: min(100% - 48px, 760px); }
    .site-header { padding-inline: 24px; }
    .js .menu-toggle { display: block; position: relative; z-index: 52; }
    .js .site-nav { position: fixed; inset: 0; z-index: 51; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 24px; padding: 100px 40px; background: var(--ink-deep); color: var(--paper); opacity: 0; visibility: hidden; transform: translateY(-14px); transition: opacity .25s, visibility .25s, transform .25s; }
    .js .site-nav a { font-family: var(--display); font-size: clamp(1.8rem, 6vw, 3rem); font-weight: 400; letter-spacing: -.02em; text-transform: none; }
    .js .site-nav .nav-cta { margin-top: 15px; font-family: var(--sans); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
    .js .site-header.menu-open .site-nav { opacity: 1; visibility: visible; transform: none; }
    .js .site-header.menu-open .menu-toggle { color: var(--paper); }
    .js .site-header.menu-open .menu-toggle span:nth-last-child(2) { transform: translateY(4px) rotate(45deg); }
    .js .site-header.menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
    html:not(.js) .site-nav { gap: 0; }
    html:not(.js) .site-nav > a:not(.nav-cta) { display: none; }
    html:not(.js) .site-nav .nav-cta { margin: 0; padding: 10px 12px; font-size: 0; }
    html:not(.js) .site-nav .nav-cta::before { content: "Facebook"; font-size: .62rem; }
    html:not(.js) .site-nav .nav-cta span { margin-left: 6px; font-size: .62rem; }
    .hero-copy { padding-bottom: 210px; }
    .hero-lede, .hero-actions { margin-left: 0; }
    .story-grid { grid-template-columns: 1fr; }
    .story-main { margin-top: 25px; }
    .story-note { display: flex; align-items: center; gap: 30px; margin-top: 0; padding: 24px; border: 1px solid var(--line); }
    .story-note svg { margin: 0; }
    .offerings-intro { grid-template-columns: 1fr; gap: 35px; }
    .offering { grid-template-columns: 55px 1fr 130px; padding: 24px 0; }
    .offering p { grid-column: 2; }
    .offering svg { grid-column: 3; grid-row: 1 / span 2; }
    .process-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
  }

  @media (max-width: 640px) {
    :root { --wrap: calc(100% - 36px); }
    body { font-size: 16px; }
    .site-header { min-height: 72px; padding-inline: 18px; }
    .brand-mark { width: 40px; height: 40px; }
    .brand-type strong { font-size: 1.08rem; }
    .brand-type small { font-size: .48rem; }
    .hero { min-height: 820px; }
    .hero-copy { padding-top: 130px; padding-bottom: 255px; }
    .hero h1 { font-size: clamp(3.6rem, 17vw, 5.4rem); }
    .hero-lede { margin-top: 24px; font-size: 1.1rem; }
    .hero-actions { align-items: flex-start; flex-direction: column; gap: 15px; }
    .hero-landscape { height: 230px; }
    .topo-one { top: 4%; right: -34%; width: 105vw; }
    .hero-place { display: none; }
    .section { padding: 82px 0; }
    h2 { font-size: clamp(3.2rem, 15vw, 4.7rem); }
    .story-columns { grid-template-columns: 1fr; margin-top: 36px; }
    .story-note { gap: 20px; }
    .marquee-track { animation-duration: 18s; }
    .offerings-intro { margin: 50px 0 65px; }
    .offering { grid-template-columns: 38px 1fr; min-height: auto; padding: 32px 0; }
    .offering p { grid-column: 2; }
    .offering svg { grid-column: 2; grid-row: auto; width: 110px; margin-top: 18px; }
    .steps li { grid-template-columns: 48px 1fr; gap: 16px; }
    .place-section { min-height: 680px; }
    .place-content { padding-top: 90px; }
    .place-content h2 { font-size: clamp(3.7rem, 17vw, 5.5rem); }
    .place-content > p:last-child { margin-left: 0; }
    .compass { right: 9%; width: 85px; height: 85px; }
    .cta-section { min-height: 680px; }
    .cta-content h2 { font-size: clamp(3.7rem, 17vw, 5.5rem); }
    .cta-content > p:not(.eyebrow), .cta-content .button { margin-left: 0; }
    .cta-sun { right: -45vw; width: 120vw; opacity: .55; }
    .footer-grid { grid-template-columns: 1fr; gap: 38px; }
    .footer-brand { grid-column: auto; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 6px; }
  }

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