:root {
  --ink: #07111e;
  --ink-2: #0c1a2b;
  --panel: #0e2033;
  --paper: #f5f3ee;
  --white: #ffffff;
  --muted: #677180;
  --line: rgba(10, 24, 40, 0.12);
  --line-light: rgba(255,255,255,0.16);
  --amber: #e7a428;
  --amber-2: #f2bc53;
  --max: 1200px;
  --radius: 20px;
  --shadow: 0 28px 80px rgba(4, 13, 25, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--amber); color: var(--ink); }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 112px 0; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #8b6419;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--amber); }
.kicker-light { color: #ffd98f; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -0.045em; }
h2 { font-size: clamp(2.25rem, 4vw, 4.4rem); line-height: 1.02; margin-bottom: 0; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(to bottom, rgba(4,10,18,0.62), rgba(4,10,18,0));
  transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease;
}
.site-header.scrolled {
  background: rgba(6, 16, 28, 0.9);
  backdrop-filter: blur(18px);
  border-color: rgba(255,255,255,.12);
}
.nav-wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--white); }
.brand-mark { width: 39px; height: 39px; color: var(--amber-2); display: grid; place-items: center; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: grid; line-height: 1; gap: 4px; }
.brand-text strong { font-size: 13px; letter-spacing: .18em; }
.brand-text small { font-size: 9px; letter-spacing: .34em; color: rgba(255,255,255,.62); }
.primary-nav { display: flex; align-items: center; gap: 28px; font-size: 13px; font-weight: 650; }
.primary-nav a { color: rgba(255,255,255,.78); transition: color .2s ease; }
.primary-nav a:hover { color: var(--white); }
.primary-nav .nav-cta { padding: 11px 18px; border: 1px solid rgba(255,255,255,.35); color: var(--white); }
.menu-toggle { display: none; border: 0; background: transparent; color: white; width: 42px; height: 42px; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: currentColor; margin: 6px 0; transition: transform .25s ease; }

.hero { min-height: 760px; height: 100vh; max-height: 960px; position: relative; color: var(--white); display: flex; align-items: flex-end; overflow: hidden; }
.hero-media {
  position: absolute; inset: 0;
  background: url("https://images.unsplash.com/photo-1690508313456-bf8c851e8319?auto=format&fit=crop&fm=jpg&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&ixlib=rb-4.1.0&q=60&w=3000") center 42% / cover no-repeat;
  transform: scale(1.035);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(4,12,22,.91) 0%, rgba(4,12,22,.62) 45%, rgba(4,12,22,.15) 80%),
    linear-gradient(0deg, rgba(4,12,22,.86) 0%, transparent 48%);
}
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(to right, black, transparent 72%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; padding-bottom: 146px; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; color: #ffd686; margin-bottom: 24px; }
.hero h1 { margin-bottom: 28px; font-size: clamp(4rem, 8vw, 7.8rem); line-height: .88; max-width: 1050px; font-weight: 800; }
.hero h1 em { font-family: "DM Serif Display", serif; font-weight: 400; color: var(--amber-2); letter-spacing: -.025em; }
.hero-copy { max-width: 680px; font-size: clamp(1rem, 1.5vw, 1.22rem); color: rgba(255,255,255,.76); margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 0 22px; font-size: 13px; font-weight: 800; letter-spacing: .025em; border: 1px solid transparent; transition: transform .22s ease, background .22s ease, border-color .22s ease; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--amber); color: #15202b; }
.btn-primary:hover { background: #f0b13a; }
.btn-ghost { color: white; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.035); }
.btn-ghost:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.08); }
.btn-light { color: var(--ink); background: white; }
.hero-rail { position: absolute; z-index: 2; right: 3.5vw; bottom: 86px; display: flex; align-items: center; gap: 11px; writing-mode: vertical-rl; transform: rotate(180deg); color: rgba(255,255,255,.48); font-size: 10px; letter-spacing: .17em; text-transform: uppercase; }
.hero-rail i { width: 1px; height: 24px; background: rgba(255,255,255,.24); }

.metrics { position: relative; z-index: 4; margin-top: -72px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); box-shadow: var(--shadow); }
.metric { padding: 34px 30px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric strong { display: block; font-size: clamp(2rem, 3vw, 3.1rem); line-height: 1; letter-spacing: -.055em; margin-bottom: 10px; }
.metric span { color: var(--muted); font-size: 12px; font-weight: 700; }

.two-col { display: grid; grid-template-columns: 1.05fr .8fr; gap: 10vw; align-items: start; }
.section-heading h2 { max-width: 760px; }
.about-copy { padding-top: 48px; }
.about-copy p { color: #4f5a67; font-size: 1.04rem; margin-bottom: 19px; }
.text-link { display: inline-flex; gap: 15px; align-items: center; margin-top: 12px; font-size: 13px; font-weight: 800; border-bottom: 1px solid rgba(8,17,30,.25); padding-bottom: 7px; }
.text-link span { color: #9d6c12; }

.services { background: #eceae4; }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 52px; }
.section-heading-row > p { max-width: 380px; margin-bottom: 8px; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 330px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; background: rgba(255,255,255,.17); transition: background .25s ease, transform .25s ease; }
.service-card:hover { background: rgba(255,255,255,.65); transform: translateY(-4px); }
.service-index { position: absolute; top: 24px; right: 25px; color: #9aa0a8; font-size: 11px; font-weight: 800; }
.service-icon { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(10,24,40,.2); font-size: 24px; margin-bottom: 48px; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 13px; }
.service-card p { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.service-card a { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 800; color: #805817; }

.projects { background: var(--paper); }
.project-grid { display: grid; grid-template-columns: 1.12fr .88fr; grid-template-rows: 320px 320px; gap: 18px; }
.project-card { position: relative; overflow: hidden; min-height: 320px; color: white; background: var(--ink); }
.project-card-large { grid-row: 1 / span 2; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.project-card-large img { object-position: 52% center; }
.project-card:hover img { transform: scale(1.055); }
.project-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,15,26,.9) 0%, rgba(5,15,26,.22) 58%, rgba(5,15,26,.05) 100%); }
.project-content { position: absolute; inset: auto 0 0 0; padding: 30px; }
.project-tag { display: inline-block; color: #ffd681; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.project-content h3 { font-size: 1.5rem; margin-bottom: 6px; }
.project-card-large .project-content h3 { font-size: 2.2rem; }
.project-content p { color: rgba(255,255,255,.68); font-size: 13px; max-width: 390px; margin-bottom: 14px; }
.project-content a { font-size: 12px; font-weight: 800; display: inline-flex; gap: 8px; }

.sustainability { color: white; background: var(--ink); position: relative; overflow: hidden; }
.sustainability::before { content: ""; position: absolute; width: 640px; height: 640px; right: -180px; top: -220px; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255,255,255,.018), 0 0 0 160px rgba(255,255,255,.012); }
.sustainability-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 8vw; align-items: center; }
.sustainability-copy h2 { max-width: 600px; }
.sustainability-copy p { color: rgba(255,255,255,.65); max-width: 580px; margin: 28px 0 34px; }
.commitment-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.commitment { padding: 28px; min-height: 210px; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.commitment strong { font-size: 10px; letter-spacing: .14em; color: var(--amber-2); }
.commitment h3 { font-size: 1.13rem; margin: 42px 0 8px; }
.commitment p { color: rgba(255,255,255,.55); font-size: 13px; margin: 0; }

.industries-head { max-width: 760px; margin-bottom: 48px; }
.industry-list { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.industry-list span { padding: 28px 18px; text-align: center; border-right: 1px solid var(--line); font-size: 13px; font-weight: 800; }
.industry-list span:last-child { border-right: 0; }

.contact-section { padding: 110px 0; background: #12253a; color: white; }
.contact-grid { display: grid; grid-template-columns: .9fr 1fr; gap: 9vw; align-items: start; }
.contact-copy h2 { font-size: clamp(2.6rem, 4.6vw, 5rem); line-height: .98; max-width: 610px; }
.contact-copy > p { color: rgba(255,255,255,.65); max-width: 550px; margin: 28px 0 44px; }
.contact-detail { display: grid; gap: 4px; }
.contact-detail span { color: rgba(255,255,255,.48); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; }
.contact-detail strong { color: #ffd486; font-size: 15px; }
.contact-form { padding: 34px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.12); }
.contact-form label { display: grid; gap: 8px; margin-bottom: 16px; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.64); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06); color: white; padding: 13px 14px; outline: none; border-radius: 0; text-transform: none; transition: border-color .2s ease, background .2s ease; }
.contact-form textarea { resize: vertical; min-height: 108px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--amber); background: rgba(255,255,255,.085); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,.32); }
.btn-submit { border: 0; }
.form-note { margin: 10px 0 0; color: rgba(255,255,255,.38); font-size: 11px; }

.site-footer { background: #050d16; color: white; padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 50px; }
.brand-footer { margin-bottom: 18px; }
.footer-about { color: rgba(255,255,255,.45); font-size: 13px; max-width: 280px; }
.footer-links { display: grid; align-content: start; gap: 9px; }
.footer-links strong { color: rgba(255,255,255,.88); font-size: 12px; margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,.48); font-size: 12px; transition: color .2s ease; }
.footer-links a:hover { color: white; }
.footer-bottom { margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.09); display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.32); font-size: 10px; }
.footer-bottom p { margin: 0; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .72s ease, transform .72s cubic-bezier(.2,.65,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.service-card:nth-child(2), .commitment:nth-child(2) { transition-delay: .07s; }
.service-card:nth-child(3), .commitment:nth-child(3) { transition-delay: .14s; }
.service-card:nth-child(4), .commitment:nth-child(4) { transition-delay: .07s; }
.service-card:nth-child(5) { transition-delay: .14s; }
.service-card:nth-child(6) { transition-delay: .21s; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 200; transform: translate(-50%, 24px); background: white; color: var(--ink); padding: 12px 18px; box-shadow: 0 12px 40px rgba(0,0,0,.22); font-size: 12px; font-weight: 750; opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 960px) {
  .section { padding: 90px 0; }
  .menu-toggle { display: block; position: relative; z-index: 102; }
  .primary-nav { position: fixed; inset: 0; z-index: 101; background: #07111e; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; padding: 90px 32px 40px; transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
  .primary-nav.open { transform: translateX(0); }
  .primary-nav a { font-size: 2rem; color: white; font-weight: 800; letter-spacing: -.03em; }
  .primary-nav .nav-cta { border: 0; padding: 0; color: var(--amber-2); }
  .menu-toggle.open span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle.open span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .hero { min-height: 720px; }
  .hero h1 { font-size: clamp(3.6rem, 10vw, 6.5rem); }
  .hero-rail { display: none; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .two-col, .sustainability-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-copy { padding-top: 0; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .project-grid { grid-template-columns: 1fr; grid-template-rows: 520px 330px 330px; }
  .project-card-large { grid-row: auto; }
  .industry-list { grid-template-columns: 1fr 1fr; }
  .industry-list span { border-bottom: 1px solid var(--line); }
  .industry-list span:nth-child(even) { border-right: 0; }
  .industry-list span:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 2; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 76px 0; }
  .nav-wrap { min-height: 72px; }
  .brand-mark { width: 34px; height: 34px; }
  .hero { height: 840px; max-height: none; align-items: flex-end; }
  .hero-media { background-position: 58% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(4,12,22,.93) 0%, rgba(4,12,22,.6) 75%), linear-gradient(0deg, rgba(4,12,22,.94) 0%, transparent 50%); }
  .hero-content { padding-bottom: 122px; }
  .hero h1 { font-size: clamp(3.4rem, 16vw, 5rem); line-height: .9; }
  .hero-copy { font-size: .97rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .metrics { margin-top: -78px; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric { padding: 24px 18px; }
  .metric strong { font-size: 2rem; }
  .section-heading-row { display: block; margin-bottom: 34px; }
  .section-heading-row > p { margin-top: 22px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 285px; }
  .project-grid { grid-template-rows: 470px 310px 310px; }
  .project-content { padding: 24px; }
  .project-card-large .project-content h3 { font-size: 1.75rem; }
  .commitment-grid { grid-template-columns: 1fr; }
  .commitment { min-height: 170px; }
  .commitment h3 { margin-top: 28px; }
  .industry-list { grid-template-columns: 1fr; }
  .industry-list span, .industry-list span:nth-child(even) { border-right: 0; border-bottom: 1px solid var(--line); }
  .industry-list span:last-child { grid-column: auto; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 24px 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-grid > :last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

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