/* Finger Lakes Marketing: homepage. Tokens from the design system. */
:root {
  --stone: #f2f0eb;
  --stone-2: #e9e5dc;
  --paper: #f7f5f0;
  --rule: #d9d4c8;
  --navy: #16233f;
  --navy-hover: #22355c;
  --navy-line: #34456b;
  --ink: #3d4459;
  --muted: #5d6377;
  --brass: #a87e43;
  --brass-deep: #7a5d2f;
  --brass-light: #c9a466;
  --on-navy: #f2f0eb;
  --on-navy-muted: #aab3c6;
  --on-navy-faint: #8f9bb6;
  --on-brass: #1b1306;

  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wordmark: "Fraunces", "Source Serif 4", Georgia, serif;
  --wordmark-sans: "Inter", system-ui, sans-serif;

  --radius-lg: 22px;
  --band: clamp(80px, 10vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--stone); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--navy); }
a:hover { color: var(--brass-deep); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 300; color: var(--navy); text-wrap: balance; }
em { font-style: italic; color: var(--brass); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: var(--on-navy); padding: 10px 14px; z-index: 10; }
.skip:focus { left: 12px; top: 12px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(20px, 5vw); padding-right: max(20px, 5vw); }
.label { font-size: 14px; font-weight: 600; color: var(--brass-deep); }
.btn { display: inline-block; text-decoration: none; border-radius: 999px; padding: 15px 24px; font-weight: 600; font-size: 16px; background: var(--navy); color: var(--on-navy); }
.btn:hover { background: var(--navy-hover); color: var(--on-navy); }
.link { font-weight: 500; text-decoration: none; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }

/* Header: sticky, with the wordmark collapsing to FL×M on scroll */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(242, 240, 235, 0.95); -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3); border-bottom: 1px solid transparent; transition: border-color 260ms ease; }
.site-header.is-scrolled { border-bottom-color: var(--rule); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--stone); }
.brand-name { position: relative; }
.brand-full { display: flex; flex-direction: column; gap: 2px; line-height: 1.1; transition: opacity 260ms ease, transform 260ms ease; }
.brand-compact { position: absolute; inset: 0; display: flex; align-items: center; font-family: var(--wordmark-sans); font-weight: 700; font-size: 15px; letter-spacing: 0.05em; color: var(--navy); white-space: nowrap; opacity: 0; transform: translateY(6px); transition: opacity 260ms ease, transform 260ms ease; pointer-events: none; }
.site-header.is-scrolled .brand-full { opacity: 0; transform: translateY(-6px); }
.site-header.is-scrolled .brand-compact { opacity: 1; transform: none; }
.site-header.is-scrolled .wrap { padding-block: 14px; }
.site-header .wrap { transition: padding 260ms ease; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-block: 26px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.brand svg { width: 30px; height: 27px; display: block; }
.brand-name b { font-family: var(--wordmark); font-weight: 500; font-size: 17px; letter-spacing: -0.17px; color: var(--navy); font-variation-settings: "opsz" 14, "SOFT" 30; }
.brand-name small { font-family: var(--wordmark-sans); font-weight: 600; font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 30px; font-size: 15px; font-weight: 500; }
.site-nav a:not(.btn) { text-decoration: none; }
.site-nav .btn { padding: 11px 18px; font-size: 15px; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-block: 72px 104px; }
.hero h1 { font-size: clamp(56px, 7.6vw, 104px); line-height: 0.96; letter-spacing: -0.025em; }
.hero-copy { display: flex; flex-direction: column; gap: 30px; }
.hero-copy p { max-width: 540px; font-size: 20px; }
.hero-art { margin: 0; }
.hero-art svg { display: block; width: 100%; height: auto; }

/* Bands */
.band { padding-block: var(--band); }
.band--tint { background: var(--stone-2); }
.band--navy { background: var(--navy); color: var(--on-navy); }
.band--brass { background: var(--brass); }
.band-head { display: flex; flex-direction: column; gap: 14px; max-width: 860px; }
.band h2 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.07; }
.band--navy h2 { color: var(--on-navy); }
.band--navy em, .band--navy .label { color: var(--brass-light); }

/* What's changed */
.changed { display: flex; flex-direction: column; gap: 34px; }
.changed .cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; max-width: 1000px; }
.changed .cols p:first-child { font-size: 19px; color: var(--navy); }

/* How it works */
.how { display: flex; flex-direction: column; gap: 56px; }
.flow svg { display: block; width: 100%; height: auto; overflow: visible; }
.flow-svg text { font-family: var(--sans); }
.flow-svg .lab { font-size: 16px; fill: var(--on-navy); }
.flow-svg .step { font-size: 12px; font-weight: 600; fill: var(--on-navy-faint); }
.flow-svg .big { font-family: var(--display); font-size: 25px; fill: var(--on-navy); }
.flow-svg .sub { font-size: 14px; fill: var(--on-navy-muted); }
.flow-svg .brasslab { font-size: 12px; font-weight: 600; fill: var(--brass-light); }
.flow-svg .in { fill: none; stroke: var(--on-navy-faint); stroke-width: 1; }
.flow-svg .draft { fill: none; stroke: var(--on-navy-faint); stroke-width: 1.5; stroke-dasharray: 3 7; stroke-linecap: round; }
.flow-svg .out { fill: none; stroke: var(--brass-light); stroke-width: 1.5; }
.flow-list { display: none; }
@media (max-width: 760px) {
  .flow svg { display: none; }
  .flow-list { display: grid; gap: 22px; border-left: 1px dashed var(--on-navy-faint); padding-left: 22px; margin: 0; list-style: none; }
  .flow-list li { display: grid; gap: 4px; }
  .flow-list .step { font-size: 12px; font-weight: 600; color: var(--on-navy-faint); }
  .flow-list .big { font-family: var(--display); font-size: 24px; color: var(--on-navy); }
  .flow-list .human .step { color: var(--brass-light); }
  .flow-list p { color: var(--on-navy-muted); font-size: 15px; }
}

/* Tailored */
.tailored { display: flex; flex-direction: column; gap: 44px; }
.tailored .band-head p { font-size: 19px; }
.panel { background: var(--stone-2); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 34px; }
.slider { display: flex; flex-direction: column; gap: 14px; }
.slider label { font-size: 13px; font-weight: 600; color: var(--brass-deep); }
.slider-hint { font-weight: 500; color: var(--muted); }
.slider-ends { display: flex; justify-content: space-between; gap: 24px; font-size: 15px; color: var(--navy); }
.slider-ends span { max-width: 260px; }
.slider-ends span:last-child { text-align: right; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: var(--rule); margin: 0; cursor: pointer; }
.range { height: 32px; background: linear-gradient(var(--rule), var(--rule)) center / 100% 6px no-repeat; border-radius: 0; cursor: grab; }
.range:active { cursor: grabbing; }
.range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 60px; height: 34px; border-radius: 999px; border: 0; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 34'%3E%3Cpath d='M20 11l-6 6 6 6M40 11l6 6-6 6' fill='none' stroke='%23f2f0eb' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 60px 34px no-repeat; box-shadow: 0 2px 6px rgba(22, 35, 63, 0.28); transition: transform 160ms ease, background-color 160ms ease; }
.range::-moz-range-thumb { width: 60px; height: 34px; border-radius: 999px; border: 0; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 34'%3E%3Cpath d='M20 11l-6 6 6 6M40 11l6 6-6 6' fill='none' stroke='%23f2f0eb' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 60px 34px no-repeat; box-shadow: 0 2px 6px rgba(22, 35, 63, 0.28); transition: transform 160ms ease, background-color 160ms ease; }
.range:hover::-webkit-slider-thumb, .range:focus-visible::-webkit-slider-thumb { background-color: var(--navy-hover); transform: scale(1.06); }
.range:hover::-moz-range-thumb, .range:focus-visible::-moz-range-thumb { background-color: var(--navy-hover); transform: scale(1.06); }
.range:active::-webkit-slider-thumb { transform: scale(0.97); }
.range:active::-moz-range-thumb { transform: scale(0.97); }
.range:focus-visible { outline-offset: 6px; border-radius: 999px; }
.stops { display: flex; justify-content: space-between; padding: 0 30px; margin-top: -8px; }
.stops i { width: 1px; height: 8px; background: var(--muted); opacity: 0.5; }
.tier { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; border-top: 1px solid var(--rule); padding-top: 34px; }
.tier-head { display: flex; flex-direction: column; gap: 14px; }
.tier-head h3 { font-weight: 400; font-size: clamp(28px, 3vw, 36px); line-height: 1.1; }
.split { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.split-labels { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; }
.split-labels span:first-child { color: var(--brass-deep); }
.split-labels span:last-child { color: var(--navy); }
.split-bar { height: 8px; border-radius: 999px; background: var(--navy); overflow: hidden; }
.split-bar span { display: block; height: 100%; background: var(--brass); transition: width 120ms linear; }
.tier ul { margin: 0; padding: 0; list-style: none; }
.tier li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; padding-block: 13px; border-bottom: 1px solid var(--rule); color: var(--navy); font-size: 16px; line-height: 1.5; }
.tier li:first-child { padding-top: 0; }
.tier li::before { content: "—"; color: var(--brass); }

/* Closing */
.closing { display: flex; flex-direction: column; gap: 26px; }
.closing h2 { max-width: 980px; }
.closing p { max-width: 680px; font-size: 19px; color: var(--on-brass); }
.closing .link { color: var(--navy); font-weight: 600; }

/* Footer */
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; padding-block: 28px 40px; font-size: 14px; color: var(--muted); }
.site-footer span { display: inline-flex; align-items: center; gap: 10px; }
.site-footer svg { width: 22px; height: 20px; }

@media (max-width: 900px) {
  .hero, .changed .cols, .tier { grid-template-columns: 1fr; }
  .hero { gap: 40px; padding-top: 40px; }
  .hero-art { max-width: 460px; }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rise { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 30%; }
  }
}
@keyframes rise { from { transform: translateY(28px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .split-bar span, .brand-full, .brand-compact, .site-header, .site-header .wrap { transition: none; } }
section[id] { scroll-margin-top: 90px; }

/* Link from the homepage slider to the services page */
.tailored .more { align-self: flex-start; font-weight: 600; text-decoration: none; }
