:root {
  --ink: #0d1b1e;
  --teal: #0b7c8c;
  --mint: #d7f6f7;
  --bright: #4dd4d6;
  --white: #fff;
  --muted: #516166;
  --line: #d5e4e5;
  --sand: #f4efe6;
  --paper: #f7fbfb;
  --radius: 22px;
  --font: "Outfit", Arial, Helvetica, sans-serif;
  --display: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.65 var(--font);
}
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-family: var(--display);
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
h3 { font-size: 1.22rem; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.8rem, 5.4vw, 5.4rem); max-width: 11ch; }
h2 { font-size: clamp(2.05rem, 3.4vw, 3.4rem); max-width: 16ch; }
p { max-width: 65ch; }
a { color: inherit; }
img { display: block; width: 100%; height: auto; object-fit: cover; }
svg { flex: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.container { width: min(100% - 48px, 1180px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 5px; z-index: 100; background: var(--white); padding: 10px; }
.skip:focus { left: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 251, 251, 0.86);
  border-bottom: 1px solid rgba(213, 228, 229, 0.8);
  backdrop-filter: blur(18px);
}
.header-inner {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.brand-mark {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--teal), #095e6a);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  font-size: 22px;
  box-shadow: 0 8px 18px #0b7c8c33;
}
.brand-name { font-size: 1.08rem; }
.nav { display: flex; gap: 23px; align-items: center; }
.nav a, .footer-links a { text-decoration: none; font-weight: 700; font-size: 0.88rem; }
.nav a:hover, .footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav .nav-cta {
  background: var(--ink);
  color: #fff;
  padding: 10px 17px;
  border-radius: 999px;
}
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}
.menu-toggle svg { width: 23px; height: 23px; }

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: max(720px, calc(100svh - 78px));
  overflow: hidden;
  color: #fff;
  background: #071417;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 18, 22, 0.5) 0%, rgba(7, 18, 22, 0.58) 46%, rgba(7, 16, 20, 0.82) 100%),
    radial-gradient(70% 55% at 50% 46%, rgba(7, 16, 20, 0.28), transparent 72%);
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  padding: 48px 0;
}
.hero-kicker {
  margin: 0 0 22px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bright);
}
.hero h1 {
  max-width: 16ch;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(3.1rem, 6.2vw, 6rem);
  text-wrap: balance;
}
.hero-lead {
  margin: 22px auto 0;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.16rem;
}
.hero .button-row { justify-content: center; }
.hero .button {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}
.hero .button:hover {
  background: var(--bright);
  border-color: var(--bright);
  color: #062428;
  box-shadow: none;
}
.hero .button.secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.48);
}
.hero .button.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.hero-rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 16, 20, 0.42);
  backdrop-filter: blur(18px);
}
.hero-rail ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-rail li {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 84px;
  padding: 18px 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-rail li:last-child { border-right: 0; }
.hero-rail span {
  font-family: var(--display);
  color: var(--bright);
  font-size: 1.05rem;
}
.hero-rail strong {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  color: #075e6a;
  margin-bottom: 18px;
}
.dark .eyebrow { color: var(--bright); }

.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--teal);
  border: 2px solid var(--teal);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.25;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.button:hover {
  background: #075e6a;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px #0b7c8c33;
}
.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: #899da0;
}
.button.secondary:hover { background: #e8f7f7; }

.section { padding: 112px 0; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.85fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 48px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.section-head p { max-width: 46ch; color: var(--muted); margin-bottom: 0; }
.section-head.stacked {
  display: block;
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 28px;
}
.band {
  background: #0c1618;
  color: #fff;
}
.band .section-head { border-bottom-color: rgba(255, 255, 255, 0.14); }
.band .section-head p,
.dark .section-head p { color: #c5d4d6; }

.services { background: #fff; }
.services-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 72px;
  align-items: start;
}
.services-visual { margin: 0; position: sticky; top: 108px; }
.services-visual img { aspect-ratio: 4 / 5; }
.services-visual figcaption {
  margin-top: 14px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.service-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.service-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 8px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.service-list span {
  font-family: var(--display);
  font-size: 1.45rem;
  line-height: 1;
  color: var(--teal);
}
.service-list h3 { margin: 2px 0 6px; }
.service-list p { margin: 0; color: var(--muted); }

.sector-index {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.sector-index article {
  min-height: 196px;
  padding: 28px 26px 32px;
  background: #0c1618;
}
.sector-index span {
  display: block;
  margin-bottom: 28px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--bright);
}
.sector-index h3 { margin-bottom: 8px; }
.sector-index p { margin: 0; color: #c5d4d6; }

.approach { background: #f3f6f6; }
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.step { background: #f3f6f6; padding: 28px 26px 34px; }
.step-index {
  font-family: var(--display);
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  line-height: 0.9;
  color: #c5d8da;
  margin-bottom: 28px;
}
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); }

.notice {
  margin: -28px 0 36px;
  max-width: 68ch;
  color: var(--muted);
  font-size: 0.95rem;
}
.case-stack { display: grid; gap: 84px; }
.case-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.case-row.reverse img { order: 2; }
.case-row img { aspect-ratio: 5 / 4; }
.case-meta {
  color: #075e6a;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
}
.case-row h3 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  font-weight: 560;
  margin: 10px 0 0;
}
.case-row dl {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 14px 20px;
  margin: 28px 0 0;
}
.case-row dt {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--teal);
}
.case-row dd { margin: 0; color: var(--muted); }

.section.quotes { background: var(--sand); }
.quote-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.quote-card {
  padding-top: 22px;
  border-top: 2px solid var(--ink);
}
.quote-card blockquote {
  margin: 0 0 28px;
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.6vw, 1.55rem);
  font-weight: 560;
  line-height: 1.28;
}
.quote-card .person { font-weight: 800; }
.quote-card .role { color: #5d5348; font-size: 0.88rem; margin-top: 4px; }

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: center;
}
.about-media { margin: 0; }
.about-media img { aspect-ratio: 4 / 5; }
.about-chip {
  display: block;
  margin-top: 14px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.about-grid .accent {
  margin: 8px 0 22px;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  font-weight: 560;
  line-height: 1.25;
}

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.achievement { background: #0c1618; padding: 32px 28px 36px; }
.achievement-num {
  display: block;
  margin-bottom: 36px;
  font-family: var(--display);
  font-size: clamp(2.4rem, 3vw, 3.2rem);
  line-height: 0.9;
  color: var(--bright);
}
.achievement h3 { margin-bottom: 8px; }
.achievement p { margin: 0; color: #c5d4d6; }

.journal {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 56px;
  align-items: start;
}
.journal a { text-decoration: none; display: block; }
.journal a:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.journal time {
  display: block;
  margin: 18px 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #075e6a;
}
.journal-lead img { aspect-ratio: 16 / 10; }
.journal-lead h3 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 2.2vw, 2.2rem);
  font-weight: 560;
  margin-bottom: 10px;
}
.journal-lead p,
.journal-list p { margin: 0; color: var(--muted); }
.journal-list { border-top: 1px solid var(--line); }
.journal-list article { border-bottom: 1px solid var(--line); }
.journal-list time { margin-top: 0; }
.journal-list a { padding: 26px 0; }
.journal-list h3 { margin-bottom: 8px; }

.faq-split {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 64px;
  align-items: start;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1.08rem;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:after {
  content: "+";
  color: var(--teal);
  font-size: 1.35rem;
  line-height: 1;
}
.faq-list details[open] summary:after { content: "−"; }
.faq-list p { margin: 0 48px 18px 0; color: var(--muted); }

.contact { padding-block: 96px; }
.contact-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: start;
}
.contact h2 { max-width: 12ch; }
.contact-method {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 22px 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.contact-method .icon {
  margin-top: 3px;
  width: 22px;
  height: 22px;
  stroke: var(--bright);
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-method a { color: #fff; }
.form h3 { margin-bottom: 8px; font-size: 1.35rem; }
.form label {
  display: block;
  margin-top: 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c5d4d6;
}
.form input, .form textarea {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  padding: 12px 0;
  margin-top: 4px;
  color: #fff;
  background: transparent;
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-bottom-color: var(--bright); }
.form .button {
  width: auto;
  min-width: 180px;
  margin-top: 28px;
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}
.form .button:hover {
  background: var(--bright);
  border-color: var(--bright);
  color: #062428;
  box-shadow: none;
}
.form small { display: block; color: #9eb0b3; margin-top: 14px; }

.site-footer {
  background: #071012;
  color: #e9f5f5;
  padding: 72px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 1fr; gap: 48px; }
.site-footer h3 {
  margin: 0 0 16px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bright);
}
.site-footer p { color: #bdd0d2; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 48px;
  padding-top: 22px;
  color: #9eb0b3;
  font-size: 0.84rem;
}
.site-footer .brand { color: #fff; }

.terms-hero {
  background:
    radial-gradient(700px 280px at 8% 0%, #d9f7f8 0%, transparent 60%),
    #eefafa;
  padding: 83px 0 65px;
}
.terms-hero h1 { max-width: none; }
.terms-content { max-width: 820px; padding-block: 75px; }
.terms-content h2 { font-size: 1.65rem; margin: 38px 0 12px; }
.terms-content p, .terms-content li { color: #34474b; }
.terms-content li { margin: 7px 0; }

.cookie {
  position: fixed;
  z-index: 40;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 650px;
  margin: auto;
  display: none;
  align-items: center;
  gap: 20px;
  background: #121619;
  color: #fff;
  padding: 20px 22px;
  border-radius: 16px;
  box-shadow: 0 14px 40px #0005;
}
.cookie.show { display: flex; }
.cookie p { margin: 0; line-height: 1.45; font-size: 0.91rem; }
.cookie-actions { display: flex; gap: 8px; flex: none; }
.cookie button {
  border: 1px solid #fff;
  background: #fff;
  color: #121619;
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 800;
}
.cookie button.deny { background: transparent; color: #fff; }

.has-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
}
.has-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

:focus-visible { outline: 3px solid #ef9f3c; outline-offset: 3px; }

@media (max-width: 1100px) {
  .nav { gap: 14px; }
  .nav a { font-size: 0.8rem; }
  .hero { min-height: max(640px, calc(100svh - 78px)); }
  .services-layout { gap: 40px; }
  .sector-index, .commitment-grid { grid-template-columns: 1fr 1fr; }
  .commitment-grid article:last-child { grid-column: span 2; }
}

@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .services-layout, .process, .quote-row, .journal, .faq-split, .case-row, .case-row.reverse {
    grid-template-columns: 1fr;
  }
  .services-visual { position: static; order: -1; }
  .services-visual img { aspect-ratio: 16 / 10; }
  .case-row.reverse img { order: 0; }
  .case-stack { gap: 56px; }
}

@media (max-width: 850px) {
  .container { width: min(100% - 36px, 560px); }
  .header-inner { height: 67px; }
  .brand-name { font-size: 0.94rem; }
  .menu-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: 67px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 15px 18px 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: 0 15px 25px #0001;
  }
  .nav.open { display: flex; }
  .nav a { font-size: 1rem; padding: 10px 5px; }
  .nav .nav-cta { text-align: center; margin-top: 8px; }
  .about-grid, .contact-panel, .sector-index, .commitment-grid { grid-template-columns: 1fr; }
  .commitment-grid article:last-child { grid-column: auto; }
  .hero { min-height: max(680px, calc(100svh - 67px)); }
  .hero-inner { padding: 40px 0; }
  .hero h1 { font-size: clamp(2.6rem, 11vw, 3.8rem); }
  .section { padding: 64px 0; }
  .section-head p { margin-top: 16px; }
  .case-row dl { grid-template-columns: 1fr; gap: 4px 0; }
  .case-row dt { margin-top: 12px; }
  .about-grid { gap: 28px; }
  .about-media { order: -1; }
  .about-media img { aspect-ratio: 4 / 3; }
  .contact { padding-block: 64px; }
  .contact-panel { gap: 36px; }
  .form .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cookie {
    display: none;
    flex-direction: column;
    align-items: stretch;
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
  .cookie.show { display: flex; }
  .cookie-actions button { flex: 1; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .container { width: min(100% - 56px, 930px); }
  .hero h1 { font-size: clamp(3.2rem, 6vw, 4.6rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
