@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-400.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-500.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-600.woff2") format("woff2");
}

@font-face {
  font-family: "Squada One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/squada-one-400.woff2") format("woff2");
}

:root {
  --coastal: #204666;
  --slate: #162f46;
  --sea-glass: #9ebbc5;
  --cloud: #fbfdfe;
  --sand: #e2d4c2;
  --ink: #163047;
  --soft-ink: #557083;
  --line: #d9e2e7;
  --display: "Squada One", "Arial Narrow", sans-serif;
  --body: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
}

body {
  margin: 0;
  width: 100%;
  max-width: none;
  padding: 0;
  background: var(--cloud);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

button, input, select, textarea { font: inherit; }
[hidden] { display: none !important; }
button, a { -webkit-tap-highlight-color: transparent; }
.card-link { color: inherit; text-decoration: none; display: contents; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.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;
  left: 24px;
  top: -80px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--coastal);
  color: white;
  transition: top 180ms ease;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 92px;
  background: rgba(251, 253, 254, 0.96);
  border-bottom: 1px solid rgba(32, 70, 102, 0.11);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(1480px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.brand {
  width: 168px;
  height: 78px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.brand-full {
  width: 162px;
  max-height: 74px;
  object-fit: contain;
}
.brand-mark { display: none; }

.primary-nav {
  color: var(--slate);
  font-size: 0.89rem;
  font-weight: 500;
}

.primary-menu,
.primary-menu ul,
.footer-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.25vw, 38px);
}
.primary-menu > li { position: relative; }
.primary-menu > li > a { position: relative; padding: 9px 0; display: inline-block; }
.primary-menu > li:not(.menu-item-cta) > a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--coastal);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}
.primary-menu > li:not(.menu-item-cta) > a:hover::after,
.primary-menu > li:not(.menu-item-cta) > a:focus-visible::after { transform: scaleX(1); }
.primary-menu .sub-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -18px;
  width: max-content;
  min-width: 210px;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--cloud);
  box-shadow: 0 16px 34px rgba(22, 47, 70, .12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease;
}
.primary-menu .sub-menu a {
  display: block;
  padding: 10px 12px;
}
.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.primary-menu .menu-item-cta > a {
  min-height: 44px;
  padding: 10px 19px;
  border: 1px solid var(--coastal);
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--coastal);
  color: white;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.primary-menu .menu-item-cta > a:hover,
.primary-menu .menu-item-cta > a:focus-visible {
  border-color: #173c58;
  background: #173c58;
  transform: translateY(-2px);
}
.menu-toggle { display: none; }

.button {
  min-height: 54px;
  padding: 14px 26px;
  border: 1px solid var(--coastal);
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--coastal);
  color: white;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.button:hover,
.button:focus-visible {
  border-color: #173c58;
  background: #173c58;
  transform: translateY(-2px);
}
.button-small { min-height: 44px; padding: 10px 19px; font-size: 0.84rem; }
.button-outline {
  border-color: var(--coastal);
  background: transparent;
  color: var(--coastal);
}
.button-outline:hover,
.button-outline:focus-visible {
  border-color: var(--coastal);
  background: rgba(32, 70, 102, .08);
  color: var(--coastal);
}

.text-link {
  padding: 8px 0 5px;
  border-bottom: 1px solid currentColor;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--coastal);
  font-size: 0.93rem;
  font-weight: 600;
  transition: gap 180ms ease;
}
.text-link:hover,
.text-link:focus-visible { gap: 16px; }
.text-link.dark { color: var(--ink); }

.eyebrow {
  margin: 0 0 20px;
  color: var(--coastal);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.3;
  text-transform: uppercase;
}
.eyebrow-light { color: var(--sea-glass); }

.hero {
  position: relative;
  min-height: calc(100svh - 92px);
  overflow: hidden;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  animation: hero-settle 1.6s ease both;
}

.hero-wash {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(251,253,254,.98) 0%, rgba(251,253,254,.91) 36%, rgba(251,253,254,.18) 69%, rgba(251,253,254,.04) 100%),
    linear-gradient(0deg, rgba(32,70,102,.16), transparent 32%);
}

.hero-content {
  width: min(1480px, calc(100% - 96px));
  min-height: calc(100svh - 92px);
  margin: 0 auto;
  padding: clamp(72px, 9vh, 118px) 0 96px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hero-eyebrow { animation: rise-in 600ms 80ms ease both; }
.hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--coastal);
  font-family: var(--display);
  font-size: clamp(4.4rem, 7vw, 7.25rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.88;
  text-transform: uppercase;
  animation: rise-in 650ms 140ms ease both;
}
.hero h1 span { display: block; }

.hero-copy {
  max-width: 580px;
  margin: 36px 0 0;
  color: #284a64;
  font-size: clamp(1rem, 1.2vw, 1.17rem);
  line-height: 1.75;
  animation: rise-in 650ms 210ms ease both;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 30px;
  animation: rise-in 650ms 280ms ease both;
}

.hero-note {
  position: absolute;
  right: 48px;
  bottom: 30px;
  margin: 0;
  color: rgba(251,253,254,.92);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-shadow: 0 1px 12px rgba(22,48,71,.4);
  text-transform: uppercase;
}

.section-shell {
  width: min(1380px, calc(100% - 96px));
  margin: 0 auto;
  padding: 140px 0;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr);
  align-items: center;
  gap: clamp(70px, 9vw, 150px);
}

.philosophy h2,
.section-heading h2,
.process h2,
.about h2,
.closing-cta h2,
.planning-panel h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 0.98;
  text-transform: uppercase;
}

.philosophy h2 {
  max-width: 700px;
  color: var(--coastal);
  font-size: clamp(3.4rem, 5vw, 5.6rem);
}

.philosophy-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 34px 0 30px;
  color: var(--soft-ink);
  font-size: clamp(1.08rem, 1.4vw, 1.32rem);
  line-height: 1.7;
}

.editorial-image { position: relative; margin: 0; }
.editorial-image::before {
  position: absolute;
  top: -22px;
  right: -22px;
  width: 44%;
  height: 36%;
  border-top: 1px solid var(--sea-glass);
  border-right: 1px solid var(--sea-glass);
  content: "";
}
.editorial-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.editorial-image figcaption {
  max-width: 300px;
  margin: 18px 0 0 auto;
  color: var(--soft-ink);
  font-size: 0.78rem;
  font-style: italic;
}

.expertise { padding-top: 80px; }

.section-heading {
  margin-bottom: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .65fr);
  align-items: end;
  gap: 70px;
}
.section-heading h2 {
  max-width: 780px;
  color: var(--coastal);
  font-size: clamp(3.5rem, 5.5vw, 6rem);
}
.section-heading > p {
  margin: 0 0 8px;
  color: var(--soft-ink);
  font-size: 1rem;
  line-height: 1.75;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
}

.expertise-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: var(--slate);
}
.expertise-card:nth-child(1),
.expertise-card:nth-child(4) { grid-column: span 5; }
.expertise-card:nth-child(2),
.expertise-card:nth-child(3) { grid-column: span 7; }
.expertise-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}
.expertise-card:nth-child(2) img { object-position: 64% center; }
.expertise-card:hover img { transform: scale(1.025); }

.card-overlay {
  position: absolute;
  inset: 0;
  padding: clamp(26px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  background: linear-gradient(0deg, rgba(14,36,54,.93), rgba(14,36,54,.04) 70%);
  color: white;
}
.card-number {
  position: absolute;
  top: 28px;
  left: 30px;
  margin: 0;
  color: rgba(255,255,255,.75);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}
.card-overlay h3 {
  max-width: 620px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 3.3vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 0.98;
  text-transform: uppercase;
}
.card-overlay > p:last-child {
  max-width: 540px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.86);
  font-size: 0.93rem;
  line-height: 1.6;
}

.process { background: var(--coastal); color: white; }
.process .section-shell { padding: 132px 0; }
.process-intro { max-width: 880px; }
.process h2 { font-size: clamp(3.6rem, 5.7vw, 6.4rem); }
.process-grid {
  margin: 84px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}
.process-grid li {
  min-height: 260px;
  padding: 30px 36px 10px;
  border-top: 1px solid rgba(158,187,197,.52);
  border-left: 1px solid rgba(158,187,197,.34);
}
.process-grid li:first-child { border-left: 0; padding-left: 0; }
.process-grid li > span {
  display: block;
  color: var(--sea-glass);
  font-family: var(--display);
  font-size: 2.1rem;
}
.process-grid h3 {
  margin: 44px 0 12px;
  font-family: var(--display);
  font-size: 2.8rem;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}
.process-grid p {
  max-width: 350px;
  margin: 0;
  color: rgba(255,255,255,.74);
  font-size: 0.94rem;
  line-height: 1.7;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(420px, .86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(70px, 10vw, 160px);
}
.about-image { position: relative; }
.about-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-image p {
  position: absolute;
  right: -32px;
  bottom: -26px;
  margin: 0;
  padding: 13px 17px;
  background: var(--sand);
  color: var(--slate);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}
.about h2 {
  max-width: 780px;
  color: var(--coastal);
  font-size: clamp(3.6rem, 5.5vw, 6rem);
}
.about-lede {
  margin: 36px 0 18px;
  color: var(--slate);
  font-size: 1.22rem;
  line-height: 1.65;
}
.about-copy > p:not(.eyebrow):not(.about-lede) {
  max-width: 720px;
  margin: 0 0 30px;
  color: var(--soft-ink);
  font-size: 0.98rem;
  line-height: 1.78;
}

.inspiration { padding-top: 60px; }
.inspiration-heading { margin-bottom: 54px; }
.story-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: 48px 22px;
}
.story { grid-column: span 5; }
.story:nth-child(3) { grid-column: 7 / span 6; }
.story-feature { grid-column: span 7; }
.story-wide {
  grid-column: 2 / span 10;
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  align-items: center;
  gap: 42px;
}
.story img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 500ms ease;
}
.story-feature img { aspect-ratio: 16 / 10; }
.story:nth-child(2) img,
.story:nth-child(3) img { aspect-ratio: 4 / 5; }
.story-wide img { aspect-ratio: 16 / 10; }
.story:hover img { transform: scale(1.012); }
.story-copy { padding-top: 22px; }
.story-copy > p {
  margin: 0 0 12px;
  color: var(--coastal);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.story-copy h3 {
  margin: 0 0 12px;
  color: var(--coastal);
  font-family: var(--display);
  font-size: clamp(2.3rem, 3vw, 3.8rem);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}
.story-copy span {
  display: block;
  max-width: 630px;
  color: var(--soft-ink);
  font-size: 0.91rem;
  line-height: 1.7;
}

.closing-cta {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  padding: 128px 48px;
  display: grid;
  place-items: center;
  background: var(--coastal);
  color: white;
  text-align: center;
}
.closing-cta > img {
  position: absolute;
  right: -7vw;
  bottom: -19vw;
  width: min(680px, 52vw);
  opacity: 0.055;
}
.closing-cta > div { position: relative; z-index: 1; max-width: 960px; }
.closing-cta h2 { margin-bottom: 42px; font-size: clamp(3.8rem, 6.5vw, 7.1rem); }
.button-light { border-color: white; background: white; color: var(--coastal); }
.button-light:hover,
.button-light:focus-visible {
  border-color: var(--sea-glass);
  background: var(--sea-glass);
  color: var(--ink);
}

.return-top {
  display: flex;
  justify-content: center;
  padding: 20px 24px;
  background: var(--cloud);
}
.return-top a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--coastal);
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.return-top a span:last-child {
  font-family: var(--body);
  font-size: 1.15rem;
  transition: transform 180ms ease;
}
.return-top a:hover span:last-child,
.return-top a:focus-visible span:last-child { transform: translateY(-3px); }

.site-footer {
  padding: 72px 48px 28px;
  background: #152e43;
  color: rgba(255,255,255,.82);
}
.footer-grid,
.footer-bottom { width: min(1380px, 100%); margin: 0 auto; }
.footer-grid {
  padding-bottom: 54px;
  display: grid;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  gap: 54px;
}
.footer-brand img { width: 180px; }
.footer-grid > p {
  margin: 0;
  color: var(--sea-glass);
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
  font-size: 0.78rem;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
}
.footer-grid nav a:hover,
.footer-grid nav a:focus-visible { color: white; }
.footer-social {
  grid-column: 3;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(158,187,197,.38);
  display: grid;
  place-items: center;
  color: var(--sea-glass);
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.footer-social a:hover,
.footer-social a:focus-visible {
  border-color: white;
  color: white;
  transform: translateY(-2px);
}
.footer-social svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}
.footer-social .social-fill {
  fill: currentColor;
  stroke: none;
}
.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255,255,255,.5);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.planning-backdrop {
  position: fixed;
  inset: 0;
  z-index: 180;
  padding: 24px;
  display: grid;
  place-items: center;
  background: rgba(15,36,54,.72);
  backdrop-filter: blur(10px);
  animation: fade-in 180ms ease both;
}

.planning-backdrop[hidden] {
  display: none;
}
.planning-panel {
  position: relative;
  width: min(680px, 100%);
  max-height: calc(100svh - 48px);
  overflow: auto;
  padding: clamp(34px, 6vw, 64px);
  background: var(--cloud);
  box-shadow: 0 30px 90px rgba(11,32,49,.26);
  animation: rise-in 260ms ease both;
}
.planning-close {
  position: absolute;
  top: 16px;
  right: 19px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--coastal);
  cursor: pointer;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
}
.planning-panel h2 { color: var(--coastal); font-size: clamp(3.2rem, 8vw, 5.6rem); }
.planning-panel > p:not(.eyebrow),
.form-confirmation > p:not(.eyebrow) { margin: 24px 0 28px; color: var(--soft-ink); }
.planning-panel form { display: grid; gap: 17px; }
.website-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.form-status {
  margin: 1rem 0;
  padding: .85rem 1rem;
  border-left: 3px solid var(--sea-glass);
  background: rgba(158,187,197,.18);
  color: var(--coastal);
}
.form-status-error {
  border-left-color: #9f3f3f;
  background: rgba(159,63,63,.08);
  color: #792f2f;
}
.planning-panel label {
  display: grid;
  gap: 7px;
  color: var(--slate);
  font-size: 0.78rem;
  font-weight: 600;
}
.planning-panel input,
.planning-panel select,
.planning-panel textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #b9cbd4;
  border-radius: 0;
  background: white;
  color: var(--ink);
  outline: 0;
}
.planning-panel input:focus,
.planning-panel select:focus,
.planning-panel textarea:focus {
  border-color: var(--coastal);
  box-shadow: 0 0 0 3px rgba(158,187,197,.3);
}
.planning-panel form .button { margin-top: 8px; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease var(--reveal-delay, 0ms), transform 650ms ease var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

.legal-nav {
  width: min(1480px, calc(100% - 48px));
  margin: 22px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(251, 253, 254, .16);
}
.legal-menu {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  list-style: none;
  color: rgba(251, 253, 254, .78);
  font-size: .78rem;
}
.legal-menu a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
}
.legal-menu a:hover,
.legal-menu a:focus-visible { text-decoration-color: currentColor; }

.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 300;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px;
  border: 1px solid rgba(158, 187, 197, .72);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  background: var(--cloud);
  box-shadow: 0 18px 55px rgba(22, 47, 70, .24);
}
.cookie-banner h2,
.cookie-dialog h2 {
  margin: 0 0 8px;
  color: var(--slate);
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1;
  text-transform: uppercase;
}
.cookie-banner p,
.cookie-dialog > p {
  max-width: 760px;
  margin: 0;
  color: var(--soft-ink);
  font-size: .88rem;
  line-height: 1.55;
}
.cookie-actions,
.cookie-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.cookie-actions .button,
.cookie-dialog-actions .button {
  min-height: 45px;
  padding: 10px 16px;
  font-size: .8rem;
}
.cookie-manage {
  padding: 10px 4px;
  border: 0;
  background: transparent;
  color: var(--coastal);
  cursor: pointer;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.cookie-dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 320;
  padding: 24px;
  display: grid;
  place-items: center;
  background: rgba(16, 36, 52, .64);
}
.cookie-dialog {
  position: relative;
  width: min(680px, 100%);
  max-height: min(760px, calc(100svh - 48px));
  padding: 34px;
  overflow-y: auto;
  background: var(--cloud);
  box-shadow: 0 24px 70px rgba(9, 28, 43, .35);
}
.cookie-dialog-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--coastal);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}
.cookie-category {
  margin-top: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
}
.cookie-category strong { color: var(--slate); }
.cookie-category p {
  margin: 4px 0 0;
  color: var(--soft-ink);
  font-size: .84rem;
  line-height: 1.5;
}
.cookie-category > span {
  color: var(--soft-ink);
  font-size: .75rem;
  font-weight: 600;
}
.cookie-toggle {
  width: 44px;
  height: 24px;
  accent-color: var(--coastal);
}
.cookie-dialog-actions {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.cookie-dialog-open { overflow: hidden; }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes hero-settle { from { transform: scale(1.018); } to { transform: scale(1); } }

@media (max-width: 1060px) {
  .header-inner { width: min(100% - 38px, 1480px); }
  .primary-menu { gap: 18px; }
  .hero-content,
  .section-shell { width: min(100% - 64px, 1380px); }
  .hero h1 { font-size: clamp(4rem, 8vw, 6.3rem); }
  .section-grid,
  .about-grid { gap: 58px; }
  .expertise-card:nth-child(n) { grid-column: span 6; }
  .story,
  .story-feature,
  .story:nth-child(3) { grid-column: span 6; }
  .story-wide { grid-column: span 12; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 78px; }
  .site-header { height: 78px; }
  .brand { width: 58px; height: 58px; }
  .brand-full { display: none; }
  .brand-mark {
    width: 56px;
    height: 50px;
    display: block;
    object-fit: contain;
  }
  .menu-toggle {
    position: relative;
    z-index: 3;
    width: 45px;
    height: 45px;
    border: 0;
    display: block;
    background: transparent;
  }
  .menu-toggle span:not(.sr-only) {
    position: absolute;
    right: 5px;
    width: 30px;
    height: 1.5px;
    background: var(--coastal);
    transition: top 180ms ease, transform 180ms ease, opacity 180ms ease;
  }
  .menu-toggle span:nth-child(1) { top: 14px; }
  .menu-toggle span:nth-child(2) { top: 22px; }
  .menu-toggle span:nth-child(3) { top: 30px; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }
  .primary-nav {
    position: fixed;
    top: 78px;
    right: 0;
    left: 0;
    height: calc(100svh - 78px);
    padding: 54px 32px;
    background: var(--cloud);
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }
  .primary-nav.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .primary-menu {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .primary-menu > li > a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--display);
    font-size: 2rem;
    text-transform: uppercase;
  }
  .primary-menu > li > a::after { display: none; }
  .primary-menu .sub-menu {
    position: static;
    width: auto;
    min-width: 0;
    padding: 4px 0 10px 20px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
  .primary-menu .sub-menu a {
    padding: 9px 0;
    font-size: 1rem;
  }
  .primary-menu .menu-item-cta { margin-top: 18px; }
  .primary-menu .menu-item-cta > a {
    padding: 13px 20px;
    border-bottom: 1px solid var(--coastal);
    display: inline-flex;
    font-family: var(--body);
    font-size: .9rem;
    text-transform: none;
  }
  .hero { min-height: calc(100svh - 78px); }
  .hero-image { object-position: 64% center; }
  .hero-wash {
    background:
      linear-gradient(90deg, rgba(251,253,254,.97) 0%, rgba(251,253,254,.84) 62%, rgba(251,253,254,.2) 100%),
      linear-gradient(0deg, rgba(32,70,102,.22), transparent 45%);
  }
  .hero-content { min-height: calc(100svh - 78px); }
  .hero-note { display: none; }
  .section-shell { padding: 100px 0; }
  .section-grid,
  .about-grid,
  .section-heading { grid-template-columns: 1fr; }
  .section-heading { gap: 24px; }
  .editorial-image { max-width: 620px; margin-left: auto; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid li,
  .process-grid li:first-child {
    min-height: 0;
    padding: 26px 0 34px;
    border-left: 0;
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 20px;
  }
  .process-grid h3 { margin-top: 0; }
  .about-image { max-width: 620px; }
  .footer-grid { grid-template-columns: 150px 1fr; }
  .footer-grid nav { grid-column: 1 / -1; justify-content: flex-start; }
  .footer-social { grid-column: 1 / -1; justify-content: flex-start; }
  .cookie-banner { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 620px) {
  .header-inner { width: calc(100% - 32px); }
  .hero-content,
  .section-shell { width: calc(100% - 40px); }
  .hero-content { padding: 58px 0 80px; justify-content: flex-end; }
  .hero h1 { font-size: clamp(3.55rem, 17vw, 5rem); line-height: .9; }
  .hero-copy { margin-top: 28px; font-size: .95rem; }
  .hero-actions { width: 100%; align-items: stretch; flex-direction: column; gap: 14px; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { align-self: flex-start; }
  .section-shell { padding: 84px 0; }
  .philosophy h2,
  .section-heading h2,
  .about h2 { font-size: clamp(3.05rem, 15vw, 4.5rem); }
  .editorial-image::before { display: none; }
  .expertise { padding-top: 40px; }
  .expertise-grid { gap: 14px; }
  .expertise-card:nth-child(n) { grid-column: span 12; min-height: 500px; }
  .card-overlay h3 { font-size: 2.85rem; }
  .process .section-shell { padding: 84px 0; }
  .process h2,
  .closing-cta h2 { font-size: clamp(3.25rem, 16vw, 5rem); }
  .process-grid { margin-top: 54px; }
  .process-grid li,
  .process-grid li:first-child { grid-template-columns: 50px 1fr; }
  .about-image p { right: 12px; bottom: 12px; max-width: calc(100% - 24px); }
  .story-grid { gap: 42px; }
  .story,
  .story-feature,
  .story:nth-child(3),
  .story-wide { grid-column: span 12; margin-top: 0; display: block; }
  .story img,
  .story-feature img,
  .story:nth-child(2) img,
  .story:nth-child(3) img,
  .story-wide img { aspect-ratio: 4 / 3; }
  .closing-cta { min-height: 560px; padding: 94px 22px; }
  .button-light { width: 100%; }
  .site-footer { padding: 60px 24px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid nav { grid-column: auto; }
  .footer-menu { align-items: flex-start; flex-direction: column; }
  .footer-social { grid-column: auto; justify-content: flex-start; }
  .footer-bottom { flex-direction: column; }
  .legal-nav { width: 100%; }
  .legal-menu { align-items: flex-start; flex-direction: column; gap: 12px; }
  .cookie-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: calc(100% - 20px);
    padding: 20px;
  }
  .cookie-actions { align-items: stretch; flex-direction: column; }
  .cookie-actions .button { width: 100%; }
  .cookie-manage { align-self: center; }
  .cookie-dialog-backdrop { padding: 10px; align-items: end; }
  .cookie-dialog { max-height: 94svh; padding: 30px 20px 24px; }
  .cookie-dialog-actions { align-items: stretch; flex-direction: column; }
  .cookie-dialog-actions .button { width: 100%; }
  .planning-backdrop { padding: 0; align-items: end; }
  .planning-panel { width: 100%; max-height: 94svh; padding: 48px 22px 30px; }
}

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