:root {
  --navy: #102a43;
  --navy-2: #163a59;
  --ink: #17212b;
  --muted: #65727e;
  --cream: #f7f3ec;
  --paper: #fffdfa;
  --terracotta: #b65c3a;
  --line: rgba(16, 42, 67, .14);
  --white: #fff;
  --container: 1180px;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(24, 34, 43, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 120px 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; z-index: 1000; top: 10px; left: 10px; transform: translateY(-150%); background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }

.eyebrow { margin: 0 0 18px; color: var(--terracotta); font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow-light { color: #e9a78b; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.06; letter-spacing: -.035em; }
h1 { margin-bottom: 26px; color: var(--navy); font-size: clamp(3.2rem, 5.8vw, 5.6rem); }
h1 em { color: var(--terracotta); font-weight: 400; }
h2 { margin-bottom: 28px; color: var(--navy); font-size: clamp(2.4rem, 4.2vw, 4.2rem); }
h3 { line-height: 1.25; }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: 88px; border-bottom: 1px solid transparent; transition: .25s ease; }
.site-header.scrolled { height: 74px; background: rgba(255,253,250,.94); border-color: var(--line); box-shadow: 0 8px 30px rgba(16,42,67,.06); backdrop-filter: blur(14px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; width: 42px; aspect-ratio: 1; border-radius: 50% 50% 50% 10%; color: white; background: var(--navy); font: italic 700 1.3rem Georgia, serif; }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { color: var(--navy); font-size: 1.08rem; letter-spacing: .18em; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: .67rem; letter-spacing: .06em; }
.nav { display: flex; align-items: center; gap: 34px; font-size: .9rem; font-weight: 650; }
.nav > a:not(.nav-cta) { position: relative; }
.nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: var(--terracotta); transition: right .25s; }
.nav > a:hover::after, .nav > a:focus-visible::after { right: 0; }
.nav-cta { padding: 12px 19px; border: 1px solid var(--navy); border-radius: 999px; transition: .2s; }
.nav-cta:hover { color: var(--white); background: var(--navy); }
.menu-button { display: none; border: 0; background: none; padding: 8px; }
.menu-button > span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px; background: var(--navy); transition: .2s; }

.hero { position: relative; min-height: 800px; height: min(92vh, 930px); overflow: hidden; background: var(--cream); }
.hero::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(247,243,236,.98) 0%, rgba(247,243,236,.94) 36%, rgba(247,243,236,.18) 67%, transparent 100%); }
.hero-image { position: absolute; inset: 0; background: url("hero-sier-v2.png") center/cover no-repeat; }
.hero-layout { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; padding-top: 70px; }
.hero-copy { width: min(650px, 55%); }
.hero-lead { max-width: 570px; margin-bottom: 38px; color: #4e5e6b; font-size: 1.12rem; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 54px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; font-size: .88rem; font-weight: 750; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--navy); box-shadow: 0 12px 28px rgba(16,42,67,.18); }
.button-primary:hover { background: var(--navy-2); box-shadow: 0 16px 32px rgba(16,42,67,.24); }
.text-link { padding: 8px 0; color: var(--navy); border-bottom: 1px solid rgba(16,42,67,.3); font-size: .86rem; font-weight: 700; }
.hero-note { position: absolute; z-index: 2; right: 4.5%; bottom: 32px; display: flex; align-items: center; gap: 12px; color: white; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.hero-note i { width: 44px; height: 1px; background: currentColor; }

.intro { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.intro-copy { padding-top: 36px; }
.intro-copy > p { color: #4e5e6b; font-size: 1.1rem; }
.intro-copy > p:first-child { color: var(--ink); font-size: 1.28rem; }
.legal-inline { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.legal-inline span { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); font-size: .76rem; font-weight: 700; }

.solutions { color: white; background: var(--navy); }
.solutions h2 { color: white; }
.solutions-top { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 64px; }
.solutions-top h2 { margin: 0; }
.solutions-top > p { max-width: 390px; margin: 0 0 8px; color: #b8c7d3; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.17); }
.service-card { position: relative; min-height: 390px; padding: 34px 27px; border-right: 1px solid rgba(255,255,255,.17); transition: background .25s, transform .25s; }
.service-card:first-child { border-left: 1px solid rgba(255,255,255,.17); }
.service-card:hover { z-index: 1; background: var(--terracotta); transform: translateY(-8px); }
.card-number { color: #8da3b6; font-size: .68rem; font-weight: 800; letter-spacing: .12em; }
.service-icon { width: 49px; margin: 67px 0 34px; }
.service-icon svg { fill: none; stroke: #f3c1ab; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-card:hover .service-icon svg { stroke: white; }
.service-card h3 { max-width: 200px; margin-bottom: 18px; font-family: Georgia, serif; font-size: 1.45rem; font-weight: 400; }
.service-card p { color: #b8c7d3; font-size: .89rem; }
.service-card:hover p, .service-card:hover .card-number { color: rgba(255,255,255,.8); }

.method { background: var(--cream); }
.method-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 120px; }
.method-sticky { position: sticky; top: 120px; align-self: start; }
.method-sticky > p:last-child { max-width: 420px; color: var(--muted); }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: item; }
.steps li { display: grid; grid-template-columns: 74px 1fr; gap: 28px; padding: 38px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li > span { color: var(--terracotta); font-size: .7rem; font-weight: 800; letter-spacing: .12em; }
.steps h3 { margin-bottom: 10px; color: var(--navy); font-family: Georgia, serif; font-size: 1.65rem; font-weight: 400; }
.steps p { max-width: 490px; margin-bottom: 0; color: var(--muted); }

.contact { background: var(--paper); }
.contact-panel { display: grid; grid-template-columns: 1.35fr .65fr; gap: 100px; padding: 72px; color: white; background: var(--terracotta); border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-panel h2 { max-width: 700px; color: white; font-size: clamp(2.5rem, 4.5vw, 4.5rem); }
.contact-copy > p:not(.eyebrow) { max-width: 580px; color: rgba(255,255,255,.78); }
.button-light { margin-top: 22px; color: var(--navy); background: white; }
.contact-details { align-self: center; margin: 0; font-style: normal; }
.contact-details div { padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.contact-details div:first-child { border-top: 1px solid rgba(255,255,255,.25); }
.contact-details span { display: block; margin-bottom: 7px; color: rgba(255,255,255,.62); font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.contact-details a { font-size: .94rem; overflow-wrap: anywhere; }
.contact-details p { margin: 0; font-size: .9rem; }

.company { padding: 65px 0; border-top: 1px solid var(--line); background: var(--paper); }
.company-row { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; align-items: center; }
.company h2 { margin: 0; font-size: 2rem; }
.company dl { display: grid; grid-template-columns: 1.4fr 1fr .6fr; gap: 35px; margin: 0; }
.company dl div { padding-left: 22px; border-left: 1px solid var(--line); }
.company dt { margin-bottom: 6px; color: var(--muted); font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.company dd { margin: 0; color: var(--navy); font-size: .87rem; font-weight: 700; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #2f855a; }

.footer { padding: 70px 0 24px; color: #b8c7d3; background: #0b2033; }
.brand-footer .brand-mark { color: var(--navy); background: white; }
.brand-footer .brand-copy strong { color: white; }
.brand-footer .brand-copy small { color: #9aacbb; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-bottom: 55px; }
.footer nav { display: flex; gap: 28px; flex-wrap: wrap; justify-content: flex-end; font-size: .78rem; }
.footer nav a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .7rem; }
.footer-bottom p { margin: 0; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Legal pages */
.legal-page { background: var(--cream); }
.legal-page .site-header { position: relative; background: var(--paper); border-bottom-color: var(--line); }
.legal-hero { padding: 90px 0 55px; border-bottom: 1px solid var(--line); }
.legal-hero h1 { max-width: 850px; margin-bottom: 18px; font-size: clamp(2.8rem, 5vw, 5rem); }
.legal-hero p { color: var(--muted); }
.legal-content { display: grid; grid-template-columns: 250px minmax(0, 750px); gap: 100px; padding: 75px 0 110px; }
.legal-aside { align-self: start; position: sticky; top: 30px; color: var(--muted); font-size: .8rem; }
.legal-aside strong { display: block; color: var(--navy); }
.legal-article h2 { margin: 52px 0 16px; font: 400 1.65rem Georgia, serif; letter-spacing: -.02em; }
.legal-article h2:first-child { margin-top: 0; }
.legal-article h3 { margin: 30px 0 10px; color: var(--navy); font-size: 1rem; }
.legal-article p, .legal-article li { color: #4e5e6b; }
.legal-article li + li { margin-top: 8px; }
.legal-article a { color: var(--terracotta); text-decoration: underline; }

@media (max-width: 980px) {
  .section { padding: 90px 0; }
  .nav { gap: 20px; }
  .hero { min-height: 740px; }
  .hero::before { background: linear-gradient(90deg, rgba(247,243,236,.98) 0%, rgba(247,243,236,.9) 50%, rgba(247,243,236,.25) 100%); }
  .hero-copy { width: 68%; }
  .intro-grid, .method-grid { gap: 60px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(3) { border-left: 1px solid rgba(255,255,255,.17); }
  .contact-panel { gap: 55px; padding: 55px; }
  .company-row { grid-template-columns: 1fr; gap: 35px; }
  .legal-content { grid-template-columns: 190px 1fr; gap: 55px; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 30px), var(--container)); }
  .section { padding: 75px 0; }
  .site-header, .site-header.scrolled { height: 70px; background: rgba(255,253,250,.96); border-bottom-color: var(--line); }
  .menu-button { z-index: 102; display: block; }
  .menu-button[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav { position: fixed; z-index: 101; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px; padding: 70px 35px; background: var(--paper); transform: translateX(100%); transition: transform .3s ease; font: 400 2rem Georgia, serif; }
  .nav.open { transform: translateX(0); }
  .nav-cta { font: 700 .9rem Inter, sans-serif; }
  .hero { min-height: 760px; height: 100svh; }
  .hero-image { inset: auto 0 0; height: 44%; background-position: 66% center; }
  .hero::before { background: linear-gradient(180deg, rgba(247,243,236,1) 0%, rgba(247,243,236,1) 56%, rgba(247,243,236,.15) 82%, transparent 100%); }
  .hero-layout { align-items: flex-start; padding-top: 135px; }
  .hero-copy { width: 100%; }
  h1 { font-size: clamp(2.75rem, 13vw, 4rem); }
  h1 em { display: block; }
  .hero-lead { font-size: 1rem; }
  .hero-actions { gap: 18px; }
  .hero-note { display: none; }
  .intro-grid, .method-grid, .contact-panel, .company-row, .legal-content { grid-template-columns: 1fr; }
  .intro-grid, .method-grid { gap: 30px; }
  .intro-copy { padding-top: 0; }
  .solutions-top { align-items: flex-start; flex-direction: column; margin-bottom: 45px; }
  .cards { grid-template-columns: 1fr; }
  .service-card, .service-card:nth-child(3) { min-height: 330px; border-left: 1px solid rgba(255,255,255,.17); border-bottom: 1px solid rgba(255,255,255,.17); }
  .service-icon { margin: 43px 0 25px; }
  .method-sticky, .legal-aside { position: static; }
  .steps li { grid-template-columns: 48px 1fr; gap: 15px; }
  .contact-panel { gap: 55px; padding: 42px 24px; border-radius: 12px; }
  .contact-panel h2 { font-size: 2.55rem; }
  .company dl { grid-template-columns: 1fr; gap: 20px; }
  .footer-top, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer nav { justify-content: flex-start; }
  .legal-content { gap: 35px; }
}

@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; }
}
