:root {
  --ink: #171626;
  --paper: #f7f5f2;
  --muted: #666475;
  --coral: #e4564f;
  --gold: #e3b55f;
  --cyan: #77d8df;
  --line: rgba(23, 22, 38, 0.16);
  --shell: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Segoe UI", Arial, sans-serif; line-height: 1.55; }
a { color: inherit; }
.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; }

.site-header {
  position: fixed; z-index: 20; top: 0; left: 0; right: 0; height: 72px;
  display: flex; align-items: center; justify-content: space-between; padding: 0 max(24px, calc((100vw - 1180px) / 2));
  color: #fff; background: rgba(12, 11, 25, 0.78); border-bottom: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(16px);
}
.wordmark { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; font-size: 14px; text-transform: uppercase; }
.wordmark-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--gold); color: var(--gold); font-size: 12px; }
nav { display: flex; align-items: center; gap: 28px; }
nav a { color: rgba(255,255,255,.8); text-decoration: none; font-size: 14px; transition: color .2s ease; }
nav a:hover, nav a:focus-visible { color: #fff; }
.nav-contact { border-bottom: 1px solid var(--gold); padding-bottom: 3px; }
.menu-button { display: none; width: 42px; height: 42px; border: 0; background: transparent; padding: 10px; }
.menu-button span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: #fff; }

.image-section { position: relative; background-size: cover; background-position: center; isolation: isolate; }
.image-shade { position: absolute; inset: 0; z-index: -1; background: rgba(12, 10, 27, .58); }
.section-shell { width: var(--shell); margin: 0 auto; }
.eyebrow { margin: 0 0 18px; color: var(--gold); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.8px; }

.hero { min-height: 92vh; background-image: url("assets/3.jpg"); color: #fff; display: flex; align-items: center; background-position: center; }
.hero .image-shade { background: rgba(9, 8, 26, .5); }
.hero-content { width: var(--shell); margin: 0 auto; padding-top: 76px; }
.hero h1 { max-width: 760px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(64px, 9vw, 124px); line-height: .82; font-weight: 500; text-transform: uppercase; }
.hero-lead { max-width: 630px; margin: 32px 0 0; color: rgba(255,255,255,.88); font-size: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid transparent; text-decoration: none; font-weight: 700; font-size: 14px; }
.button-primary { background: var(--coral); color: #fff; }
.button-secondary { border-color: rgba(255,255,255,.55); color: #fff; }
.button-dark { background: var(--ink); color: #fff; }
.scroll-cue { position: absolute; left: max(24px, calc((100vw - 1180px) / 2)); bottom: 24px; color: rgba(255,255,255,.72); font-size: 12px; text-decoration: none; }
.scroll-cue span { margin-left: 12px; color: var(--gold); }

.project-section { min-height: 780px; padding: 140px 0; background-image: url("assets/4.jpg"); background-position: center; color: #fff; display: flex; align-items: center; }
.project-section .image-shade { background: rgba(14, 11, 30, .7); }
.project-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.section-heading h2 { margin: 0; max-width: 620px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 5.5vw, 72px); line-height: 1; font-weight: 500; }
.project-copy { max-width: 640px; padding-top: 42px; }
.project-copy > p { color: rgba(255,255,255,.75); }
.large-copy { color: #fff !important; font-size: 22px; line-height: 1.45; }
.fact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 44px 0 0; border-top: 1px solid rgba(255,255,255,.25); }
.fact-list div { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.fact-list dt { color: rgba(255,255,255,.55); font-size: 12px; text-transform: uppercase; }
.fact-list dd { margin: 4px 0 0; font-weight: 700; }

.experience-section { padding: 130px 0 0; background: #f7f5f2; }
.dark-heading { display: grid; grid-template-columns: 1fr 1fr; column-gap: 80px; margin-bottom: 64px; }
.dark-heading .eyebrow { grid-column: 1 / -1; }
.dark-heading p:last-child { align-self: end; max-width: 480px; margin: 0; color: var(--muted); font-size: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature-grid article { min-height: 250px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-grid span { color: var(--coral); font-size: 12px; font-weight: 800; }
.feature-grid h3 { margin: 46px 0 10px; font-size: 21px; }
.feature-grid p { margin: 0; color: var(--muted); font-size: 15px; }
.battle-image { height: min(68vw, 760px); min-height: 520px; margin-top: 110px; background-image: url("assets/2.jpg"); background-position: center; }
.battle-caption { position: absolute; left: max(24px, calc((100vw - 1180px) / 2)); bottom: 54px; max-width: 620px; color: #fff; }
.battle-caption span { display: block; color: var(--cyan); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.8px; }
.battle-caption h2 { margin: 10px 0 18px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 5vw, 64px); line-height: 1; font-weight: 500; }
.battle-caption p { max-width: 580px; margin: 0; color: rgba(255,255,255,.82); font-size: 17px; }

.development-section { padding: 130px 0; background: #fff; }
.development-section .dark-heading { grid-template-columns: 1fr; }
.development-flow { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; border-top: 1px solid var(--ink); }
.development-flow > div { padding: 30px 28px 0 0; }
.development-flow b { color: var(--coral); font-size: 12px; }
.development-flow h3 { margin: 48px 0 10px; font-size: 20px; }
.development-flow p { margin: 0; color: var(--muted); font-size: 15px; }
.principles { max-width: 880px; margin: 100px 0 0 auto; padding-left: 38px; border-left: 4px solid var(--gold); }
.principles p { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(26px, 3.5vw, 44px); line-height: 1.25; }

.contact-section { min-height: 680px; background-image: url("assets/1.jpg"); display: flex; align-items: center; text-align: center; }
.contact-section .image-shade { background: rgba(247,245,242,.33); }
.contact-content { width: min(760px, calc(100% - 48px)); margin: 0 auto; }
.contact-content .eyebrow { color: #6d5599; }
.contact-content h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(52px, 7vw, 88px); line-height: 1; font-weight: 500; }
.contact-content p { max-width: 680px; margin: 28px auto 34px; color: #4d4a60; font-size: 18px; }
footer { display: flex; justify-content: space-between; gap: 28px; padding: 28px max(24px, calc((100vw - 1180px) / 2)); background: var(--ink); color: rgba(255,255,255,.55); font-size: 11px; }
footer p { margin: 0; }

@media (max-width: 860px) {
  :root { --shell: min(100% - 32px, 680px); }
  .site-header { height: 64px; padding: 0 16px; }
  .menu-button { display: block; }
  nav { display: none; position: absolute; top: 64px; left: 0; right: 0; padding: 22px 16px; flex-direction: column; align-items: flex-start; gap: 18px; background: #171626; }
  nav.open { display: flex; }
  .hero { min-height: 88vh; background-position: 58% center; }
  .hero h1 { font-size: clamp(52px, 17vw, 78px); }
  .hero-lead { max-width: 520px; font-size: 17px; }
  .project-section { padding: 100px 0; background-position: 62% center; }
  .project-layout, .dark-heading { grid-template-columns: 1fr; gap: 24px; }
  .project-copy { padding-top: 10px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .development-flow { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .battle-image { min-height: 480px; background-position: 52% center; }
  footer { flex-direction: column; }
}

@media (max-width: 560px) {
  .wordmark > span:last-child { display: none; }
  .hero { min-height: 86vh; align-items: flex-end; padding-bottom: 110px; }
  .hero h1 { font-size: 50px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .section-heading h2 { font-size: 40px; }
  .fact-list, .feature-grid, .development-flow { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 210px; }
  .battle-image { min-height: 520px; background-position: 36% center; }
  .battle-caption { right: 16px; left: 16px; }
  .battle-caption p { font-size: 15px; }
  .development-section, .experience-section { padding-top: 90px; }
  .principles { margin-top: 70px; }
  .contact-section { min-height: 600px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
