/* Northlight Medical-Legal — Editorial homepage */

:root {
  --paper: #E6E2DD;
  --paper-2: #EFEDEB;
  --ink: #211F20;
  --ink-2: #514E50;
  --ink-3: #57534F;
  --ink-4: #625E60;
  --night: #0B131C;
  --navy: #0E1A2B;
  --rule: #D4CEC6;
  --rule-2: #C9C2B8;
  --gold: #B8894A;
  --gold-lt: #D4A866;
  --bronze: #8A5F28;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, sans-serif;
  --wrap: 1360px;
  --gutter: 48px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); overflow-x: clip; }
img { max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--bronze); }
*:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
em { font-style: italic; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--ink); color: var(--paper); text-decoration: none; }
.skip:focus { top: 12px; color: var(--paper); }

.page { font-family: var(--sans); color: var(--ink); background: var(--night); }
.main { position: relative; z-index: 1; background: var(--paper); box-shadow: 0 40px 70px -24px rgba(0,0,0,.6); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { border-bottom: 1px solid var(--rule); }
.section-pad { padding-top: 128px; padding-bottom: 128px; }

/* Type */
.display { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5.8vw, 86px); line-height: .98; letter-spacing: -.026em; }
.display em { font-weight: 800; }
.lede { font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.slash::before { content: "/" / ""; font-family: var(--serif); font-size: 1.3em; font-weight: 400; color: var(--bronze); margin-right: 10px; }

/* Wordmark */
.wordmark { font-family: var(--serif); font-weight: 500; letter-spacing: -.02em; line-height: 1; color: var(--ink); }
.wordmark span { color: var(--gold); }

/* NAV */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--rule); }
.nav { padding-top: 20px; padding-bottom: 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-brand .wordmark { font-size: 28px; }
.nav-links { display: flex; align-items: center; gap: 36px; font-size: 15.5px; font-weight: 500; }
.nav-links a { color: var(--ink-3); text-decoration: none; }
.nav-links a:hover { color: var(--bronze); }
.nav-links .nav-cta { color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 16px; min-height: 54px; padding: 0 30px; font-size: 16px; font-weight: 500; text-decoration: none; }
.btn-light { background: var(--paper-2); color: var(--night); }
.btn-light:hover { background: #fff; color: var(--night); }
.btn-dark { min-height: 56px; background: var(--ink); color: var(--paper); font-size: 16.5px; }
.btn-dark:hover { background: #000; color: var(--paper); }
.link-under { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 500; text-decoration: none; }

/* HERO */
.hero { position: relative; overflow: hidden; background: var(--night); color: var(--paper-2); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,14,22,.78) 0%, rgba(8,14,22,.45) 45%, rgba(8,14,22,.05) 75%), linear-gradient(0deg, rgba(8,14,22,.55) 0%, rgba(8,14,22,0) 35%); }
.hero-inner { position: relative; min-height: 640px; padding-top: 136px; padding-bottom: 120px; display: flex; flex-direction: column; justify-content: flex-end; gap: 44px; }
.hero h1 { max-width: 13ch; font-family: var(--serif); font-weight: 400; font-size: clamp(54px, 8.6vw, 128px); line-height: .96; letter-spacing: -.028em; }
.hero h1 em { font-weight: 800; }
.hero-sub { max-width: 340px; font-size: 22px; line-height: 1.42; color: rgba(239,237,235,.86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.hero .link-under { color: var(--paper-2); border-bottom: 1px solid rgba(239,237,235,.7); }
.hero .link-under:hover { color: #fff; border-color: #fff; }

/* WHAT YOU CAN RELY ON (scroll-driven) */
.rely { position: relative; height: 2520px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.rely-sticky { position: sticky; top: 73px; height: 740px; overflow: hidden; }
.rely-inner { height: 100%; padding-top: 56px; padding-bottom: 56px; display: flex; gap: 72px; }
.rely-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; }
.rely-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.rely-head h2 { font-family: var(--serif); font-weight: 700; font-size: 18px; }
.rely-tabs { display: flex; gap: 22px; }
.rely-tab { position: relative; min-height: 44px; padding: 10px 0 0; border: none; background: transparent; cursor: pointer; font: 500 15px var(--sans); color: var(--ink-4); }
.rely-tab[aria-selected="true"] { color: var(--ink); }
.rely-tab-track { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--rule-2); overflow: hidden; }
.rely-tab-fill { display: block; height: 2px; width: 0; background: var(--ink); }
.rely-panels { position: relative; flex: 1; }
.rely-panel { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 26px; opacity: 0; transform: translateY(18px); pointer-events: none; transition: opacity .6s ease, transform .6s ease; }
.rely-panel.is-before { transform: translateY(-18px); }
.rely-panel.is-on { opacity: 1; transform: none; pointer-events: auto; }
.rely-kicker { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 600; }
.rely-kicker span { font-family: var(--serif); font-size: 22px; color: var(--bronze); }
.rely-lead { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.8vw, 72px); line-height: 1.04; letter-spacing: -.02em; }
.rely-lead em { font-weight: 700; }
.rely-body { max-width: 31rem; font-size: 19px; line-height: 1.65; color: var(--ink-2); }
.rely-media { position: relative; flex: 0 1 480px; min-width: 0; }
.rely-clip { position: absolute; inset: 0; clip-path: ellipse(115% 120% at 115% 50%); }
.rely-clip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06) brightness(.96); opacity: 0; transition: opacity .7s ease; }
.rely-clip img.is-on { opacity: 1; }

/* Static fallback: no JS, or reduced motion */
.no-js .rely, .reduce .rely { height: auto; }
.no-js .rely-sticky, .reduce .rely-sticky { position: static; height: auto; }
.no-js .rely-tabs, .reduce .rely-tabs, .no-js .rely-media, .reduce .rely-media { display: none; }
.no-js .rely-panels, .reduce .rely-panels { display: flex; flex-direction: column; gap: 64px; margin-top: 48px; }
.no-js .rely-panel, .reduce .rely-panel { position: static; opacity: 1; transform: none; pointer-events: auto; }

/* Meridian light ray */
.meridian { position: absolute; width: 320px; margin-left: -160px; overflow: hidden; pointer-events: none; z-index: 2; mix-blend-mode: screen; --h: 0px; --t: 160px; --o: 0; --fade: 90px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 var(--fade), #000 calc(100% - 40px), transparent 100%), linear-gradient(90deg, transparent 0, #000 30%, #000 70%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, transparent 0, #000 var(--fade), #000 calc(100% - 40px), transparent 100%), linear-gradient(90deg, transparent 0, #000 30%, #000 70%, transparent 100%);
  mask-composite: intersect; }
.meridian-x { left: calc(50% + min(632px, 50% - 48px) - 230px); }
.ray-track { position: absolute; left: 50%; top: 0; width: 1px; margin-left: -.5px; height: var(--h); background: linear-gradient(180deg, rgba(212,168,102,0), rgba(212,168,102,.2) 120px); }
.ray-halo { position: absolute; left: 50%; width: 60px; margin-left: -30px; top: calc(var(--h) - var(--t)); height: var(--t); background: linear-gradient(180deg, rgba(212,168,102,0), rgba(212,168,102,.3)); filter: blur(13px); opacity: var(--o); }
.ray-beam { position: absolute; left: 50%; width: 3px; margin-left: -1.5px; top: calc(var(--h) - var(--t)); height: var(--t); border-radius: 2px; background: linear-gradient(180deg, rgba(212,168,102,0) 0%, rgba(214,172,108,.35) 45%, rgba(232,192,128,.85) 82%, #FBE7C2 100%); opacity: var(--o); }
.ray-head { position: absolute; left: 50%; top: var(--h); width: 5px; height: 24px; margin: -22px 0 0 -2.5px; border-radius: 50%; background: #FFF5E3; box-shadow: 0 0 6px 2px rgba(255,238,205,.95), 0 0 22px 7px rgba(232,190,120,.6), 0 0 64px 18px rgba(212,168,102,.26); opacity: var(--o); }
.ray-spill { position: absolute; left: 50%; top: var(--h); width: 300px; height: 300px; margin: -160px 0 0 -150px; background: radial-gradient(circle, rgba(212,168,102,.2) 0%, rgba(212,168,102,.07) 36%, rgba(212,168,102,0) 70%); opacity: var(--o); }
.meridian-hero { top: 34%; bottom: 0; --fade: 220px; }
.meridian-full { top: 0; bottom: 0; }
.meridian-rely { left: 52%; top: 0; bottom: 0; }

/* Aspen photo band */
.aspen { position: relative; padding-top: 136px; }
.aspen-photo { position: relative; overflow-x: clip; }
.aspen-frame { height: 440px; overflow: hidden; background: var(--navy); }
.aspen-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; filter: grayscale(1) contrast(1.06); }
.aspen-caption { padding-top: 20px; padding-bottom: 96px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 15px; color: var(--ink-4); }
.aspen-caption em { font-family: var(--serif); }

/* Section intro row */
.intro-row { display: flex; flex-wrap: wrap; gap: 24px 96px; align-items: flex-end; }
.intro-row .display { flex: 1 1 560px; }
.intro-row .lede { flex: 0 1 360px; }

/* SERVICES */
.services-inner { display: flex; flex-direction: column; gap: 64px; }
.service-list { display: flex; flex-direction: column; }
.service { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px 56px; padding: 36px 104px 36px 0; border-top: 1px solid var(--rule-2); text-decoration: none; color: var(--ink); transition: background .3s ease; }
.service:last-child { border-bottom: 1px solid var(--rule-2); }
.service-name { font-family: var(--serif); font-size: 36px; line-height: 1.1; letter-spacing: -.01em; transition: color .3s ease; }
.service-name::before { content: "/" / ""; font-family: var(--serif); font-weight: 400; color: var(--bronze); margin-right: .32em; }
.service-desc { font-size: 19px; line-height: 1.65; color: var(--ink-2); max-width: 36rem; }
.service::after { content: "\2192" / ""; position: absolute; right: 8px; top: 50%; width: 54px; height: 54px; margin-top: -27px; border: 1px solid #BDB6AC; border-radius: 50%; display: flex; align-items: center; justify-content: center; font: 400 22px/1 var(--sans); color: var(--ink); transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s ease; }
.service:hover, .service:focus-visible { color: var(--ink); }
.service:hover::after, .service:focus-visible::after { background: var(--ink); border-color: var(--ink); color: var(--paper); transform: translateX(6px); }
.service:hover .service-name { color: var(--bronze); }

/* Ponderosa band */
.ponderosa { position: relative; overflow: hidden; min-height: 500px; background: var(--navy); display: flex; align-items: flex-end; }
.ponderosa > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; filter: grayscale(1) contrast(1.08); }
.ponderosa-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,14,22,.55) 0%, rgba(8,14,22,.15) 55%, rgba(8,14,22,0) 80%); }
.ponderosa-copy { position: relative; width: 100%; background: linear-gradient(0deg, rgba(8,14,22,.88) 0%, rgba(8,14,22,.55) 45%, rgba(8,14,22,0) 100%); }
.ponderosa-copy .wrap { padding-top: 96px; padding-bottom: 64px; }
.ponderosa-copy p { max-width: 20ch; font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.4vw, 62px); line-height: 1.08; letter-spacing: -.018em; color: var(--paper-2); }
.ponderosa-copy em { font-weight: 700; }

/* ABOUT */
.about-inner { display: flex; flex-wrap: wrap; gap: 56px 96px; align-items: flex-start; }
.portrait { flex: 0 1 440px; min-width: 0; aspect-ratio: 3 / 4; overflow: hidden; background: #2A2829; }
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: grayscale(1) contrast(1.05); transform: scale(1.01); transition: filter .7s ease, transform 1.2s ease; }
.portrait:hover img { filter: grayscale(0) contrast(1); transform: scale(1.03); }
.about-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.about-copy h2 { font-size: clamp(44px, 5.4vw, 80px); line-height: 1; letter-spacing: -.025em; }
.about-copy .about-lead { max-width: 36rem; font-size: 22px; line-height: 1.55; }
.about-copy .lede { max-width: 36rem; line-height: 1.72; }
.about-copy .lede em { color: var(--ink); }

.experience { padding-bottom: 128px; display: flex; flex-direction: column; gap: 22px; }
.experience h3 { font-size: 17px; font-weight: 600; }
.marquee { overflow: hidden; border-top: 1px solid var(--rule-2); border-bottom: 1px solid var(--rule-2); padding: 22px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
.marquee-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { margin: 0; padding: 0; list-style: none; display: flex; align-items: center; flex-shrink: 0; }
.marquee li { display: flex; align-items: center; white-space: nowrap; font-family: var(--serif); font-size: 30px; line-height: 1.2; color: var(--ink); }
.marquee li::after { content: "/" / ""; margin: 0 30px; color: var(--bronze); font-weight: 400; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* PROCESS */
.process-inner { display: flex; flex-direction: column; gap: 64px; }
.process-inner .display { max-width: 16ch; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 44px; }
.step { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 1px solid var(--ink); }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; }
.step p { font-size: 17px; line-height: 1.7; color: var(--ink-2); }

/* FAQ */
.faq-inner { display: flex; flex-wrap: wrap; gap: 48px 96px; }
.faq-inner h2 { flex: 1 1 320px; font-size: clamp(42px, 4.8vw, 70px); line-height: 1.02; letter-spacing: -.022em; }
.faq-list { flex: 1.7 1 520px; min-width: 0; display: flex; flex-direction: column; }
.faq-list details { padding: 28px 0; border-top: 1px solid var(--rule-2); }
.faq-list details:last-child { border-bottom: 1px solid var(--rule-2); }
.faq-list summary { cursor: pointer; list-style: none; font-family: var(--serif); font-size: 25px; min-height: 30px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details p { margin-top: 16px; max-width: 40rem; font-size: 18px; line-height: 1.7; color: var(--ink-2); }

/* CONTACT */
.contact { border-top: 1px solid var(--rule); }
.contact-inner { padding-top: 128px; padding-bottom: 144px; display: flex; flex-wrap: wrap; gap: 56px 96px; }
.contact-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.contact-copy p { max-width: 31rem; font-size: 19px; line-height: 1.7; color: var(--ink-2); }
.contact-copy p span { color: var(--ink); }
.contact-card { flex: 1 1 420px; min-width: 0; align-self: flex-end; display: flex; flex-direction: column; gap: 22px; padding-top: 28px; border-top: 1px solid var(--ink); }
.contact-card .contact-pitch { font-family: var(--serif); font-size: 26px; line-height: 1.3; }
.contact-card .btn { align-self: flex-start; }
.contact-card .btn span { font-size: 20px; }
.contact-email { font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }
.contact-email a { text-decoration: none; border-bottom: 1px solid var(--ink); overflow-wrap: anywhere; }
.contact-note { font-size: 14.5px; line-height: 1.6; color: var(--ink-4); }

/* FOOTER — revealed from beneath the page */
.footer { position: sticky; bottom: 0; z-index: 0; background: var(--night); color: rgba(229,225,222,.7); }
.footer a { color: rgba(229,225,222,.78); text-decoration: none; }
.footer a:hover { color: var(--gold-lt); }
.foot-band { position: relative; overflow: hidden; border-bottom: 1px solid rgba(229,225,222,.14); }
.foot-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0% 100%; filter: grayscale(1) contrast(1.15); opacity: .38; }
.foot-band-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,19,28,.55), rgba(11,19,28,.85)); }
.foot-band-inner { position: relative; padding-top: 112px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 32px; }
.foot-kicker { font-size: 17px; font-weight: 500; color: var(--paper); }
.foot-kicker span { font-family: var(--serif); font-size: 22px; color: var(--gold-lt); margin-right: 10px; }
.foot-row { position: relative; display: flex; flex-wrap: wrap; gap: 32px 48px; }
.foot-cell { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding-top: 22px; border-top: 1px solid rgba(229,225,222,.22); }
.foot-cell.wide { flex: 1.9 1 440px; }
.foot-cell > span:first-child { font-size: 14px; color: rgba(229,225,222,.62); }
.foot-big, .footer a.foot-big { font-family: var(--serif); font-size: 32px; line-height: 1.2; color: var(--paper-2); }
.footer a.foot-email { font-family: var(--serif); font-size: clamp(20px, 2vw, 28px); line-height: 1.25; color: var(--paper-2); overflow-wrap: anywhere; }

.foot-ray { position: absolute; top: 0; height: var(--rh, 120px); width: 320px; margin-left: -160px; overflow: hidden; pointer-events: none; z-index: 2; mix-blend-mode: screen; }
.foot-fall { position: absolute; left: 50%; top: 0; width: 0; height: 0; transition: height .3s ease; }
.landed .foot-fall { height: 100%; transition: height 1.1s cubic-bezier(.6,0,.3,1); }
.foot-fall .fb, .foot-fall .fg { position: absolute; bottom: 0; height: 100%; max-height: 240px; opacity: 0; }
.foot-fall .fb { left: -1.5px; width: 3px; border-radius: 2px; background: linear-gradient(180deg, rgba(212,168,102,0), rgba(232,192,128,.85) 82%, #FBE7C2); }
.foot-fall .fg { left: -30px; width: 60px; background: linear-gradient(180deg, rgba(212,168,102,0), rgba(212,168,102,.32)); filter: blur(13px); }
.foot-fall .fh { position: absolute; bottom: -3px; left: -2.5px; width: 5px; height: 24px; border-radius: 50%; background: #FFF5E3; box-shadow: 0 0 6px 2px rgba(255,238,205,.95), 0 0 22px 7px rgba(232,190,120,.6), 0 0 64px 18px rgba(212,168,102,.26); opacity: 0; }
@keyframes fbeam { 0% { opacity: 0; } 8% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: .28; } }
@keyframes fhead { 0% { opacity: 0; } 8% { opacity: 1; } 72% { opacity: 1; } 100% { opacity: 0; } }
.landed .fb, .landed .fg { animation: fbeam 1.9s ease forwards; }
.landed .fh { animation: fhead 1.6s ease forwards; }
.foot-pool { position: absolute; top: var(--rh, 120px); left: calc(50% + min(632px, 50% - 48px) - 230px); width: 520px; height: 150px; margin: -75px 0 0 -260px; background: radial-gradient(ellipse at center, rgba(212,168,102,.26) 0%, rgba(212,168,102,.08) 40%, rgba(212,168,102,0) 70%); mix-blend-mode: screen; pointer-events: none; z-index: 1; opacity: 0; transition: opacity .4s ease; }
.landed .foot-pool { opacity: 1; transition: opacity 1.2s ease 1s; }
.horizon { position: absolute; left: 0; right: 0; top: -1px; height: 1px; pointer-events: none; mix-blend-mode: screen; clip-path: inset(0 calc(100% - var(--ox, 50%)) 0 var(--ox, 50%)); opacity: 0; transition: clip-path .4s ease, opacity .4s ease; }
.landed .horizon { clip-path: inset(0 0 0 0); opacity: 1; transition: clip-path 1.5s cubic-bezier(.2,.7,.2,1) 1.02s, opacity .2s ease 1s; }
.horizon i { position: absolute; left: 0; right: 0; background: linear-gradient(90deg, rgba(212,168,102,0) 0%, rgba(222,182,118,.85) var(--ox, 50%), rgba(212,168,102,0) 100%); }
.horizon i:first-child { top: 0; height: 1px; }
.horizon i:last-child { top: -4px; height: 9px; filter: blur(5px); opacity: .7; }

.foot-body { position: relative; overflow: hidden; }
.foot-watermark { position: absolute; left: 32px; right: 32px; bottom: -.14em; margin: 0; font-family: var(--serif); font-size: clamp(120px, 19vw, 290px); line-height: 1; letter-spacing: -.035em; color: rgba(230,226,221,.045); white-space: nowrap; pointer-events: none; }
.wm-l { color: rgba(212,168,102,.07); transition: color .6s ease, text-shadow .6s ease; }
.landed .wm-l { color: rgba(212,168,102,.45); text-shadow: 0 0 60px rgba(212,168,102,.4); transition: color 1.8s ease 1.9s, text-shadow 1.8s ease 1.9s; }
.foot-body-inner { position: relative; padding-top: 56px; padding-bottom: 30px; display: flex; flex-direction: column; gap: 48px; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 40px 56px; }
.foot-brand { flex: 1.2 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.foot-lockup { display: inline-flex; flex-direction: column; align-items: center; gap: 12px; align-self: flex-start; }
.foot-lockup .wordmark { font-size: 40px; color: var(--paper-2); }
.foot-lockup .wordmark span { color: var(--gold-lt); }
.foot-lockup-tag { display: flex; align-items: center; gap: 12px; width: 100%; }
.foot-lockup-tag i { flex: 1; height: 1px; background: rgba(239,237,235,.35); }
.foot-lockup-tag b { font-size: 10.5px; font-weight: 600; letter-spacing: .42em; padding-left: .42em; color: rgba(239,237,235,.8); }
.foot-brand p { max-width: 22rem; font-size: 15px; line-height: 1.7; }
.foot-nav { flex: 1 1 190px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.foot-nav h3, .foot-news h3 { margin: 0 0 6px; font-size: 13px; font-weight: 500; letter-spacing: .04em; color: rgba(229,225,222,.5); }
.foot-news { flex: 1.4 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.foot-news-title { font-family: var(--serif); font-size: 25px; line-height: 1.1; color: var(--paper-2); }
.foot-news-title em { font-weight: 700; }
.foot-news > p:not(.foot-news-title) { max-width: 22rem; font-size: 14.5px; line-height: 1.6; }
.foot-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-top: 6px; }
.foot-field { flex: 1 1 180px; display: flex; flex-direction: column; gap: 6px; }
.foot-field label { font-size: 13px; color: rgba(229,225,222,.6); }
.foot-field input { min-height: 44px; padding: 0 2px; border: none; border-bottom: 1px solid rgba(229,225,222,.45); background: transparent; color: var(--paper-2); font: inherit; font-size: 16px; }
.foot-field input::placeholder { color: rgba(229,225,222,.45); }
.foot-form button { min-height: 44px; padding: 0 20px; border: none; background: var(--paper); color: var(--night); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
.foot-form button:hover { background: #fff; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding-top: 22px; border-top: 1px solid rgba(229,225,222,.14); font-size: 13.5px; color: rgba(229,225,222,.5); }
.foot-legal span:last-child { display: flex; gap: 24px; }
.footer .foot-legal a { color: rgba(229,225,222,.6); }

/* Responsive */
@media (max-width: 880px) {
  :root { --gutter: 24px; }
  .nav-links { display: none; }
  .rely-media { display: none; }
  .meridian-x { left: auto; right: -132px; }
  .foot-pool { left: auto; right: -232px; }
  .service { padding-right: 72px; }
  .service::after { width: 44px; height: 44px; margin-top: -22px; right: 0; }
  .service-name { font-size: 30px; }
}
@media (max-width: 880px), (max-height: 780px) {
  .footer { position: static; }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .section-pad { padding-top: 88px; padding-bottom: 88px; }
  .rely-tabs { gap: 16px; }
  .marquee li { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .rely-panel, .rely-clip img, .service, .service::after { transition: none !important; }
  .portrait img { transition: none; transform: none; }
  .marquee-track { animation: none; width: auto; }
  .marquee-track ul:first-child { flex-wrap: wrap; row-gap: 10px; }
  .marquee-dup { display: none !important; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .ray-halo, .ray-beam, .ray-head, .ray-spill { display: none; }
  .ray-track { height: 100% !important; width: 2px; margin-left: -1px; background: linear-gradient(180deg, rgba(212,168,102,0), rgba(212,168,102,.6) 90px); }
  .foot-fall, .horizon, .foot-pool, .wm-l { transition: none !important; }
  .foot-fall .fb, .foot-fall .fg, .foot-fall .fh { animation: none !important; opacity: 0; }
}
