:root {
  --ink: #08111f;
  --ink-soft: #101d2d;
  --paper: #f5f7f8;
  --paper-2: #e9eef1;
  --white: #ffffff;
  --muted: #647384;
  --line: #cdd7dd;
  --aqua: #e8b75e;
  --aqua-deep: #9a671e;
  --gold: #f4cf83;
  --shadow: 0 24px 70px rgba(5, 16, 29, .16);
  --wrap: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.wrap { width: var(--wrap); margin-inline: auto; }
.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: 100; left: 12px; top: 12px; transform: translateY(-180%); background: var(--aqua); color: var(--ink); padding: 10px 16px; border-radius: 4px; font-weight: 800; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 50; inset: 0 0 auto; color: white; transition: background .25s ease, box-shadow .25s ease; }
.site-header.is-scrolled { background: rgba(8, 17, 31, .94); box-shadow: 0 10px 40px rgba(0,0,0,.2); backdrop-filter: blur(16px); }
.nav-wrap { width: var(--wrap); min-height: 82px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; font-weight: 900; }
.brand-logo { display: block; width: 168px; height: 65px; object-fit: cover; object-position: center 57%; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { text-decoration: none; color: rgba(255,255,255,.76); font-size: .93rem; font-weight: 650; transition: color .2s; }
.main-nav a:hover, .main-nav a:focus-visible, .main-nav a.is-active { color: white; }
.main-nav .nav-contact { color: var(--aqua); border: 1px solid rgba(232,183,94,.48); padding: 8px 14px; }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: white; padding: 11px; }
.menu-button span:not(.sr-only) { display: block; height: 2px; background: currentColor; margin: 5px 0; transition: transform .2s; }

.hero { position: relative; min-height: 780px; overflow: hidden; color: white; background: radial-gradient(circle at 18% 20%, rgba(24, 80, 88, .38), transparent 33%), radial-gradient(circle at 90% 10%, rgba(232, 183, 94, .14), transparent 24%), var(--ink); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, black, transparent 82%); }
.hero-grid { position: relative; z-index: 1; min-height: 780px; padding: 150px 0 90px; display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: clamp(48px, 7vw, 100px); }
.eyebrow { margin: 0 0 18px; color: var(--aqua-deep); font-size: .78rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.hero .eyebrow { color: var(--aqua); display: flex; align-items: center; gap: 10px; }
.hero .eyebrow span { width: 28px; height: 1px; background: currentColor; }
.hero h1 { margin: 0; max-width: 620px; font-size: clamp(4rem, 7vw, 7.5rem); line-height: .88; letter-spacing: -.075em; }
.hero h1 em { display: block; color: var(--aqua); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.hero-lead { max-width: 620px; margin: 30px 0; color: #bcc8d2; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.65; }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 11px 20px; border: 1px solid transparent; text-decoration: none; font-weight: 800; font-size: .92rem; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--aqua); color: var(--ink); }
.button.primary:hover { background: #f3cf84; }
.button.secondary { border-color: rgba(255,255,255,.3); color: white; }
.button.secondary:hover { border-color: white; background: rgba(255,255,255,.06); }
.hero-facts { display: flex; gap: 24px; margin: 42px 0 0; }
.hero-facts div { padding-left: 13px; border-left: 1px solid rgba(232,183,94,.38); }
.hero-facts dt { color: #7f90a0; font-size: .72rem; text-transform: uppercase; letter-spacing: .11em; }
.hero-facts dd { margin: 2px 0 0; color: white; font-weight: 750; }
.hero-visual { position: relative; margin: 0; min-height: 530px; box-shadow: var(--shadow); }
.hero-visual::before { content: ""; position: absolute; z-index: 2; inset: 16px; border: 1px solid rgba(255,255,255,.2); pointer-events: none; }
.hero-visual img { width: 100%; height: 530px; object-fit: cover; filter: saturate(.82) contrast(1.06); }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(4,10,18,.88)); }
.hero-visual figcaption { position: absolute; z-index: 3; left: 38px; bottom: 34px; display: grid; }
.hero-visual figcaption span { color: var(--aqua); font-size: .72rem; text-transform: uppercase; letter-spacing: .13em; font-weight: 800; }
.hero-visual figcaption strong { font-size: 2.2rem; letter-spacing: -.04em; }
.hero-visual figcaption small { color: #c7d0d7; }
.frame-label { position: absolute; z-index: 3; right: -20px; top: 50px; padding: 9px 14px; background: var(--gold); color: var(--ink); font-size: .72rem; font-weight: 900; letter-spacing: .12em; transform: rotate(90deg); }
.hero-line { position: absolute; z-index: 2; bottom: 0; left: calc((100% - min(1180px, calc(100% - 40px))) / 2); width: 160px; height: 5px; background: var(--aqua); }

.section { padding: 120px 0; }
.section-heading { display: grid; grid-template-columns: 1fr .75fr; gap: 60px; align-items: end; margin-bottom: 55px; }
h2 { margin: 0; font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: 1.02; letter-spacing: -.055em; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.project-feature { display: grid; grid-template-columns: 1.18fr .82fr; background: white; box-shadow: var(--shadow); }
.project-image { position: relative; min-height: 560px; overflow: hidden; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.project-feature:hover .project-image img { transform: scale(1.025); }
.project-status { position: absolute; top: 24px; left: 24px; padding: 8px 12px; background: var(--ink); color: var(--aqua); font-size: .75rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.project-copy { padding: clamp(42px, 6vw, 78px); align-self: center; }
.project-index { color: var(--aqua-deep); font-size: .75rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.project-copy h3 { margin: 0; font-size: clamp(3rem, 5vw, 5rem); line-height: .95; letter-spacing: -.065em; }
.project-subtitle { margin: 8px 0 28px; color: var(--aqua-deep); font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; }
.project-copy > p:not(.project-index):not(.project-subtitle) { color: var(--muted); }
.project-points { margin: 26px 0 34px; padding: 0; list-style: none; }
.project-points li { position: relative; padding: 9px 0 9px 22px; border-bottom: 1px solid var(--paper-2); }
.project-points li::before { content: ""; position: absolute; left: 0; top: 19px; width: 7px; height: 7px; background: var(--aqua-deep); }
.text-link { color: var(--aqua-deep); font-weight: 850; text-underline-offset: 4px; }
.project-note { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; margin-top: 24px; padding: 34px 40px; background: var(--ink-soft); color: #c8d2da; }
.project-note p { max-width: 800px; margin: 0; }
.project-note strong { color: white; }
.project-note > span { color: var(--aqua); font-size: 2rem; font-weight: 900; letter-spacing: .08em; }

.method { background: var(--ink); color: white; }
.method-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 9vw, 130px); }
.method-intro { position: sticky; top: 130px; align-self: start; }
.method-intro .eyebrow { color: var(--aqua); }
.method-intro p:last-child { color: #aab7c2; font-size: 1.06rem; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.15); }
.process-list li { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 30px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.process-list > li > span { color: var(--aqua); font-size: .78rem; font-weight: 900; letter-spacing: .12em; }
.process-list h3 { margin: 0 0 6px; font-size: 1.5rem; }
.process-list p { margin: 0; color: #aab7c2; }

.about { background: var(--paper-2); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(50px, 8vw, 110px); align-items: center; }
.about-visual { position: relative; }
.about-visual img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 55% center; box-shadow: var(--shadow); }
.about-visual img.brand-art { aspect-ratio: auto; object-fit: contain; background: #090a0b; }
.about-stamp { position: absolute; right: -32px; bottom: 40px; min-width: 220px; padding: 22px; background: var(--aqua); color: var(--ink); }
.about-stamp span { display: block; font-size: .72rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.about-stamp strong { display: block; margin-top: 6px; font-size: 1.4rem; line-height: 1.1; }
.large-copy { font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.5; letter-spacing: -.02em; }
.about-copy > p:not(.eyebrow):not(.large-copy) { color: var(--muted); }
.values { margin-top: 35px; display: grid; gap: 14px; }
.values div { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.values span { color: var(--muted); }

.contact { padding: 95px 0; color: white; background: var(--aqua-deep); }
.contact-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 70px; align-items: end; }
.contact .eyebrow { color: #fff0c8; }
.contact h2 { max-width: 700px; font-size: clamp(2.4rem, 4.5vw, 4.4rem); }
.contact-action { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.35); }
.contact-action a { font-size: clamp(1.15rem, 2.2vw, 1.8rem); font-weight: 900; text-underline-offset: 6px; }
.contact-action p { margin-bottom: 0; color: #f0ddbc; }

.site-footer { padding: 70px 0 24px; background: #050b13; color: #aab7c2; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .7fr; gap: 70px; }
.footer-grid > div p { max-width: 390px; }
.footer-brand { color: white; }
.footer-grid nav { display: flex; flex-direction: column; gap: 8px; }
.footer-grid nav strong { margin-bottom: 7px; color: white; }
.footer-grid nav a { color: #aab7c2; text-decoration: none; }
.footer-grid nav a:hover { color: var(--aqua); }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; margin-top: 55px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; }

.legal-page { min-height: 100vh; background: var(--paper); }
.legal-header { position: static; background: var(--ink); color: white; }
.legal-header .nav-wrap { min-height: 82px; }
.back-link { color: var(--aqua); font-weight: 800; text-decoration: none; }
.legal { max-width: 820px; padding: 90px 0 120px; }
.legal h1 { margin: 0 0 45px; font-size: clamp(3rem, 7vw, 5.7rem); line-height: .95; letter-spacing: -.065em; }
.legal h2 { margin: 45px 0 10px; font-size: 1.55rem; letter-spacing: -.025em; }
.legal p, .legal address, .legal li { color: #465564; }
.legal address { font-style: normal; }
.legal a { color: var(--aqua-deep); text-underline-offset: 3px; }
.legal-footer { padding-top: 35px; }
.error-page { min-height: 100vh; display: grid; place-items: center; background: var(--ink); color: white; }
.error-card { width: min(720px, calc(100% - 40px)); text-align: center; }
.error-code { color: var(--aqua); font-size: .85rem; font-weight: 900; letter-spacing: .18em; }
.error-card h1 { margin: 10px 0 20px; font-size: clamp(3rem, 8vw, 6rem); line-height: 1; letter-spacing: -.06em; }
.error-card p { color: #aab7c2; font-size: 1.1rem; }
.error-card .button { margin-top: 20px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

@media (max-width: 900px) {
  :root { --wrap: min(100% - 30px, 720px); }
  .menu-button { display: block; }
  .main-nav { position: absolute; left: 15px; right: 15px; top: 72px; display: none; padding: 18px; background: var(--ink-soft); border: 1px solid rgba(255,255,255,.14); box-shadow: var(--shadow); }
  .main-nav.is-open { display: grid; }
  .main-nav a { padding: 10px; }
  .main-nav .nav-contact { text-align: center; }
  .menu-button[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(3.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-of-type(3) { transform: translateY(-3.5px) rotate(-45deg); }
  .hero, .hero-grid { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; padding: 125px 0 75px; }
  .hero-copy { max-width: 680px; }
  .hero-visual { min-height: 440px; }
  .hero-visual img { height: 440px; }
  .section { padding: 90px 0; }
  .section-heading, .project-feature, .method-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .section-heading { gap: 20px; }
  .project-image { min-height: 430px; }
  .method-intro { position: static; }
  .about-visual { max-width: 620px; }
  .about-stamp { right: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  :root { --wrap: calc(100% - 26px); }
  .nav-wrap { min-height: 70px; }
  .brand-logo { width: 140px; height: 54px; }
  .hero-grid { padding-top: 110px; gap: 48px; }
  .hero h1 { font-size: clamp(3.6rem, 18vw, 5rem); }
  .hero-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .hero-visual, .hero-visual img { min-height: 390px; height: 390px; }
  .frame-label { right: -27px; }
  .hero-visual figcaption { left: 27px; bottom: 25px; }
  .section { padding: 72px 0; }
  .project-image { min-height: 320px; }
  .project-copy { padding: 35px 24px 42px; }
  .project-copy h3 { font-size: 3.3rem; }
  .project-note { grid-template-columns: 1fr; padding: 28px 24px; }
  .project-note > span { justify-self: end; }
  .process-list li { grid-template-columns: 42px 1fr; }
  .about-stamp { position: relative; right: auto; bottom: auto; margin: -55px 18px 0 auto; width: 210px; }
  .values div { grid-template-columns: 1fr; gap: 2px; }
  .contact { padding: 72px 0; }
  .contact-grid { gap: 35px; }
  .contact-action { padding: 20px 0 0; border: 0; border-top: 1px solid rgba(255,255,255,.35); }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-grid > div { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 4px; }
  .legal { padding: 65px 0 90px; }
}

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