:root {
  --bg: #ffffff;
  --ink: #0f1111;
  --muted: #626b6b;
  --line: #e4e8e8;
  --soft: #f4f7f6;
  --accent: #005a65;
  --accent-dark: #004b55;
  --accent-hover: #00717d;
  --accent-soft: #e2f0f1;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 76px;
  padding: 8px clamp(14px, 2.6vw, 34px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(15, 17, 17, 0.08);
  box-shadow: 0 10px 30px rgba(15, 17, 17, 0.08);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: auto;
  height: clamp(52px, 4.6vw, 62px);
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.35vw, 18px);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

nav a {
  position: relative;
  padding: 8px 0;
  opacity: 0.76;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

nav a:hover,
nav a.is-active,
.text-link:hover,
.site-footer a:hover {
  color: var(--accent);
  opacity: 1;
}

nav a.is-active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #0f1111;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.18) 60%, rgba(0, 0, 0, 0.06)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.48));
  pointer-events: none;
}

.hero-compare {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  border-radius: 0;
}

.compare-full .compare-range {
  z-index: 4;
}

.hero-content {
  position: relative;
  z-index: 5;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(96px, 14vh, 132px) 0 clamp(78px, 11vh, 108px);
  pointer-events: none;
  text-shadow: 0 16px 44px rgba(0, 0, 0, 0.46);
}

.hero-content a {
  pointer-events: auto;
}

.eyebrow,
.section-label {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 32px rgba(0, 90, 101, 0.18);
  backdrop-filter: blur(8px);
}

.hero h1,
.section h2,
.page-hero h1 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.02;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 1;
}

.hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions,
.offer {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 26px;
  text-shadow: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
}

.button-primary {
  background: var(--accent);
  color: #fff;
}

.button-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(76px, 11vw, 136px) 0;
}

.manifest-grid,
.section-heading,
.featured-story,
.offer,
.contact,
.story-layout,
.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.section-heading,
.featured-story,
.offer,
.contact,
.story-layout,
.legal-layout {
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
}

.manifest h2,
.section-heading h2,
.process h2,
.offer h2,
.contact h2,
.page-hero h1 {
  font-size: clamp(34px, 5.4vw, 70px);
}

.manifest p,
.section-heading p,
.featured-copy p,
.realization-card p,
.process p,
.offer p,
.contact p,
address,
.story-copy p,
.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 17px;
}

.manifest p:first-child {
  margin-top: 6px;
}

.smrnc-focus {
  position: relative;
  width: fit-content;
  margin: 30px 0 28px;
  padding: 18px 22px 8px 0;
  overflow: visible;
}

.smrnc-focus::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0;
  width: min(70vw, 310px);
  height: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(0, 90, 101, 0));
  pointer-events: none;
}

.smrnc-word {
  position: relative;
  z-index: 1;
  color: var(--accent);
  font-size: clamp(58px, 9vw, 112px);
  font-weight: 860;
  line-height: 0.82;
  letter-spacing: 0;
}

.smrnc-word::after {
  content: ".";
  color: var(--accent);
  font-size: 0.72em;
}

.stories,
.about,
.contact,
.offer {
  border-top: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 42px;
}

.featured-story {
  align-items: center;
}

.compare {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dce2e2;
  border-radius: 8px;
}

.hero .hero-compare {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  border-radius: 0;
}

.compare img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-before,
.compare-after-wrap {
  position: absolute;
  inset: 0;
}

.compare-after-wrap {
  width: 52%;
  overflow: hidden;
  border-right: 3px solid var(--accent);
  box-shadow: 8px 0 24px rgba(0, 0, 0, 0.22);
}

.compare-after {
  width: calc(100% / var(--compare-width, 0.52));
  max-width: none;
}

.compare-range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.compare::before {
  content: "";
  position: absolute;
  top: 50%;
  left: var(--handle-left, 52%);
  z-index: 2;
  width: 54px;
  height: 54px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
  pointer-events: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.compare::after {
  content: "‹ ›";
  position: absolute;
  top: 50%;
  left: var(--handle-left, 52%);
  z-index: 3;
  color: #fff;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1;
  transform: translate(-50%, -56%);
  pointer-events: none;
}

.compare-label {
  position: absolute;
  z-index: 5;
  bottom: 16px;
  padding: 6px 10px;
  border-radius: 4px;
  color: #fff;
  background: var(--accent-dark);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
  pointer-events: none;
}

.compare-label-before {
  left: 16px;
}

.compare-label-after {
  right: 16px;
}

.featured-copy h3,
.realization-card h3,
.process h3,
.person-card h3,
.legal-content h3,
.story-copy h2,
.legal-content h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.08;
  font-size: clamp(25px, 3vw, 42px);
}

.legal-content h3 {
  margin-top: 28px;
  font-size: clamp(21px, 2vw, 28px);
}

.featured-copy p {
  margin: 22px 0;
}

.text-link {
  display: inline-flex;
  margin-top: 6px;
  color: var(--accent-dark);
  font-weight: 760;
}

.text-link::after {
  content: "→";
  margin-left: 8px;
}

.realization-grid,
.about-grid,
.gallery-grid {
  display: grid;
  gap: 22px;
}

.realization-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.realization-card,
.person-card,
.gallery-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.realization-card {
  display: flex;
  flex-direction: column;
}

.realization-card img,
.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.realization-card-image {
  display: block;
  overflow: hidden;
}

.realization-card-image img {
  transition: transform 220ms ease;
}

.realization-card-image:hover img {
  transform: scale(1.035);
}

.realization-card > div,
.person-copy {
  padding: 22px;
}

.realization-card > div {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.realization-card h3 {
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.08;
  display: -webkit-box;
  min-height: 2.16em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.realization-card > div > p:not(.eyebrow) {
  display: -webkit-box;
  min-height: 4.5em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.realization-card .text-link {
  margin-top: auto;
}

.realization-card p:last-child,
.person-card p:last-child {
  margin-bottom: 0;
}

.about-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-team-photo {
  margin: 0 0 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.about-team-photo img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: center;
}

.about-statement {
  max-width: 920px;
  margin: 0 auto 32px;
  color: var(--accent-dark);
  font-size: clamp(28px, 4.8vw, 58px);
  font-weight: 840;
  line-height: 1.05;
  text-align: center;
}

.person-card {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  align-items: stretch;
}

.person-card-reverse {
  grid-template-columns: 1fr 0.8fr;
}

.person-card-reverse .person-photo {
  order: 2;
}

.person-photo {
  min-height: 420px;
  overflow: hidden;
}

.person-photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
}

.process {
  width: 100%;
  max-width: none;
  background: var(--soft);
  padding-left: max(18px, calc((100vw - var(--max)) / 2));
  padding-right: max(18px, calc((100vw - var(--max)) / 2));
}

.process h2 {
  max-width: 1080px;
}

.smrnc-inline {
  color: var(--accent-dark);
  font-weight: 860;
  white-space: nowrap;
}

.smrnc-inline::after {
  content: ".";
  color: var(--accent);
}

.cycle {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.cycle::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.cycle-item {
  position: relative;
  z-index: 1;
  min-height: 250px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.cycle-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 34px;
  border-radius: 50%;
  color: #fff;
  background: var(--accent-dark);
  font-weight: 800;
}

.cycle-item h3 {
  font-size: 25px;
}

.offer {
  align-items: center;
}

.section.offer {
  gap: clamp(22px, 4vw, 46px);
  padding-top: clamp(50px, 7vw, 78px);
  padding-bottom: clamp(50px, 7vw, 78px);
}

.offer-heading {
  display: grid;
  align-content: start;
}

.offer-heading .button {
  justify-self: start;
  margin-top: 22px;
}

.offer-copy {
  display: grid;
  gap: 12px;
  align-self: center;
}

.offer-copy p {
  margin: 0;
}

.offer-note {
  padding: 14px 16px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
}

address {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  font-style: normal;
}

address a {
  color: var(--ink);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 760;
  line-height: 1.1;
}

.contact-links {
  align-content: start;
  gap: 14px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--ink);
  font-weight: 760;
}

.contact-link svg {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-link span {
  overflow-wrap: anywhere;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfd7d7;
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(0, 89, 100, 0.14);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .check {
  grid-template-columns: auto 1fr;
  align-items: start;
  font-weight: 560;
  color: var(--muted);
}

.contact-form .check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.contact-form .check a {
  color: var(--accent-dark);
  text-decoration: underline;
}

.contact-form .button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-status[data-status="success"] {
  color: var(--accent-dark);
}

.form-status[data-status="error"] {
  color: #9f2d20;
}

.site-footer {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 30px 0 38px;
  display: grid;
  grid-template-columns: minmax(180px, 0.65fr) minmax(300px, 1fr);
  gap: 22px 48px;
  align-items: start;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.site-footer div {
  display: grid;
  gap: 6px;
}

.site-footer strong {
  color: var(--ink);
}

.footer-brand img {
  width: min(220px, 100%);
}

.footer-info,
.footer-contact {
  align-content: start;
  gap: 12px;
}

.footer-contact .contact-link {
  font-size: clamp(15px, 1.5vw, 19px);
}

.footer-contact .contact-link svg {
  width: 28px;
  height: 28px;
  padding: 6px;
}

.site-footer .footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  color: var(--muted);
  line-height: 1.45;
}

.page-main {
  padding-top: 76px;
}

.case-hero {
  width: min(var(--max), calc(100% - 36px));
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
  gap: clamp(28px, 5.5vw, 70px);
  align-items: flex-start;
  margin: 0 auto;
  min-height: clamp(560px, calc(82svh - 76px), 640px);
  padding: clamp(28px, 5vw, 56px) 0 clamp(28px, 4.8vw, 56px);
}

.case-hero h1,
.case-cta h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.02;
  font-size: clamp(34px, 5.2vw, 62px);
}

.case-hero p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 20px);
}

.case-hero-media {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
}

.case-hero-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  max-height: 430px;
  object-fit: cover;
}

.page-hero {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(64px, 10vw, 116px) 0 clamp(40px, 7vw, 72px);
}

.legal-hero {
  padding: clamp(40px, 7vw, 72px) 0 24px;
}

.legal-hero p:not(.eyebrow) {
  margin: 18px 0 0;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.story-layout {
  align-items: center;
}

.case-compare-section {
  padding-top: 0;
  padding-bottom: clamp(42px, 6vw, 72px);
}

.case-compare {
  width: min(1080px, 100%);
  margin: 0 auto;
  aspect-ratio: 16 / 8.5;
}

.case-story-grid,
.case-challenges,
.case-success,
.case-report-section,
.final-gallery-section,
.case-cta {
  padding-top: clamp(44px, 6vw, 76px);
  padding-bottom: clamp(44px, 6vw, 76px);
}

.case-compare-section .section-heading,
.case-challenges .section-heading,
.case-report-section .section-heading,
.final-gallery-section .section-heading {
  margin-bottom: clamp(28px, 3.8vw, 40px);
}

.case-story-grid,
.case-success,
.case-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.42fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.case-story {
  max-width: 800px;
}

.fact-card {
  position: sticky;
  top: 100px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.fact-card h2 {
  margin: 0 0 20px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.08;
}

.fact-card dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.fact-card div {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.fact-card dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fact-card dd {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 680;
}

.challenge-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.challenge-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.challenge-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.challenge-grid h3 {
  margin: 0;
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.08;
}

.challenge-grid p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.case-success {
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.72fr);
  align-items: center;
}

.case-success figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
}

.case-success img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.timeline-gallery,
.final-gallery {
  display: grid;
  gap: 18px;
}

.timeline-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.final-gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-card-wide {
  grid-column: span 2;
}

.final-gallery .gallery-card-wide img {
  aspect-ratio: 16 / 10;
}

.case-cta {
  align-items: center;
  border-top: 1px solid var(--line);
}

.case-cta-copy {
  display: grid;
  gap: 22px;
}

.case-cta-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.case-cta-copy .button {
  justify-self: start;
}

.story-copy h2,
.legal-content h2 {
  margin-top: 34px;
}

.story-copy h2:first-child,
.legal-content h2:first-child {
  margin-top: 0;
}

.fact-list,
.story-points {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.fact-list li,
.story-points li {
  padding-left: 22px;
  position: relative;
  color: var(--ink);
}

.fact-list li::before,
.story-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.gallery-section {
  border-top: 1px solid var(--line);
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-card figcaption {
  padding: 12px 14px 15px;
  color: var(--muted);
  font-size: 14px;
}

.gallery-card button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: zoom-in;
}

.gallery-card button img {
  transition: transform 220ms ease;
}

.gallery-card button:hover img {
  transform: scale(1.025);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: clamp(16px, 3vw, 34px);
  background: rgba(5, 18, 20, 0.92);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-media {
  min-height: 0;
  display: grid;
  place-items: center;
}

.lightbox-media img {
  max-width: 100%;
  max-height: calc(100vh - 150px);
  object-fit: contain;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.44);
}

.lightbox-caption {
  max-width: 980px;
  margin: 14px auto 0;
  color: #fff;
  text-align: center;
  font-size: clamp(15px, 1.8vw, 18px);
}

.lightbox-button {
  position: absolute;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 89, 100, 0.82);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-button:hover {
  background: var(--accent-hover);
}

.lightbox-close {
  top: 18px;
  right: 18px;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

.legal-layout {
  display: block;
  padding-top: clamp(14px, 2vw, 22px);
}

.legal-aside {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
}

.legal-aside strong {
  color: var(--ink);
  font-size: 15px;
}

.legal-aside span,
.legal-aside a {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.legal-aside span:not(:last-child)::after,
.legal-aside a:not(:last-child)::after {
  content: "";
  width: 1px;
  height: 1em;
  margin-left: 14px;
  background: var(--line);
}

.legal-aside a {
  color: var(--accent-dark);
  overflow-wrap: anywhere;
}

.legal-content {
  max-width: 940px;
  margin: 34px auto 0;
}

.legal-content p,
.legal-content li {
  font-size: 16px;
  line-height: 1.62;
}

.legal-content p {
  margin: 12px 0;
}

.legal-content ul {
  margin: 12px 0 18px;
  padding-left: 21px;
}

.legal-content li + li {
  margin-top: 7px;
}

.legal-content h2 {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: clamp(23px, 2.5vw, 34px);
}

.legal-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.legal-content h3 {
  margin-top: 24px;
  font-size: clamp(19px, 1.8vw, 25px);
}

.legal-related {
  margin-top: 38px;
  padding: 24px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: var(--soft);
}

.legal-related + .legal-related {
  margin-top: 18px;
}

.legal-related h2 {
  margin: 0;
  padding-top: 0;
  border-top: 0;
}

@media (max-width: 980px) {
  .site-header {
    position: fixed;
    min-height: 72px;
    align-items: center;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: inline-grid;
    gap: 5px;
    place-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(0, 90, 101, 0.18);
    border-radius: 8px;
    background: #fff;
    color: var(--accent);
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 0;
    padding: 8px;
    border: 1px solid rgba(0, 90, 101, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 44px rgba(15, 17, 17, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-header.is-menu-open nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  nav a {
    padding: 13px 12px;
    border-radius: 6px;
  }

  nav a::after {
    display: none;
  }

  nav a.is-active {
    background: var(--accent-soft);
  }

  .brand img {
    height: 54px;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero-content {
    padding-top: clamp(92px, 13vh, 124px);
    padding-bottom: clamp(66px, 9vh, 86px);
  }

  .manifest-grid,
  .section-heading,
  .featured-story,
  .offer,
  .contact,
  .story-layout,
  .case-hero,
  .case-story-grid,
  .case-success,
  .case-cta,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .case-hero {
    min-height: 0;
  }

  .fact-card {
    position: static;
  }

  .case-hero-media img {
    max-height: none;
  }

  .case-compare {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 8.5;
  }

  .challenge-grid,
  .timeline-gallery,
  .final-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .offer-heading .button {
    margin-top: 18px;
  }

  .realization-grid,
  .about-grid,
  .cycle,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .cycle::before {
    display: none;
  }

  .person-card {
    grid-template-columns: 1fr;
  }

  .person-card-reverse .person-photo {
    order: 0;
  }

  .person-photo {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .person-photo img {
    min-height: 0;
  }

  .about-team-photo img {
    aspect-ratio: 4 / 3;
  }

  .legal-aside {
    align-items: flex-start;
  }

  .legal-content {
    margin-top: 28px;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 72px;
    padding: 8px 16px;
  }

  .brand img {
    width: auto;
    max-width: 78vw;
    height: 52px;
  }

  .hero {
    align-items: start;
  }

  .hero .compare-after-wrap,
  .hero .compare-range,
  .hero .compare-label,
  .hero .compare::before,
  .hero .compare::after {
    display: none;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding-top: 98px;
    padding-bottom: 72px;
  }

  .hero .eyebrow {
    margin-bottom: 20px;
  }

  .hero h1 {
    line-height: 1.04;
  }

  .hero p:not(.eyebrow) {
    margin-top: 20px;
  }

  .hero-actions {
    gap: 14px;
    margin-top: 28px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .compare::before {
    width: 46px;
    height: 46px;
  }

  .compare-label {
    bottom: 12px;
  }

  .lightbox {
    padding: 12px;
  }

  .lightbox-media img {
    max-height: calc(100vh - 126px);
  }

  .lightbox-button {
    width: 40px;
    height: 40px;
  }

  .page-main {
    padding-top: 72px;
  }

  .case-hero {
    width: calc(100% - 32px);
    padding-top: 24px;
  }

  .case-compare {
    aspect-ratio: 16 / 8.5;
  }

  .challenge-grid,
  .timeline-gallery,
  .final-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-card-wide {
    grid-column: auto;
  }

  .case-cta-copy .button {
    width: 100%;
  }

  .case-story-grid,
  .case-challenges,
  .case-success,
  .case-report-section,
  .final-gallery-section,
  .case-cta {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .legal-hero {
    padding-bottom: 16px;
  }

  .legal-layout {
    padding-top: 22px;
  }

  .legal-aside {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 16px;
  }

  .legal-aside span,
  .legal-aside a {
    display: inline;
  }

  .legal-aside span::after,
  .legal-aside a::after {
    display: none;
  }

  .legal-content {
    margin-top: 24px;
  }

  .legal-content h2 {
    margin-top: 28px;
    padding-top: 22px;
  }

  .legal-related {
    padding: 18px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-brand img {
    width: min(190px, 72vw);
  }
}

@media (max-width: 620px) and (max-height: 700px) {
  .hero-content {
    padding-top: 86px;
    padding-bottom: 58px;
  }

  .hero .eyebrow {
    margin-bottom: 16px;
  }

  .hero p:not(.eyebrow) {
    margin-top: 16px;
  }

  .hero-actions {
    gap: 12px;
    margin-top: 22px;
  }

  .case-hero {
    padding-top: 18px;
    padding-bottom: 22px;
  }

  .case-hero h1,
  .case-cta h2 {
    font-size: clamp(31px, 9vw, 40px);
  }

  .case-compare {
    aspect-ratio: 16 / 8.5;
  }
}

@media (min-width: 981px) and (max-height: 820px) {
  .case-hero {
    padding-top: 24px;
    padding-bottom: 32px;
  }

  .case-hero h1 {
    font-size: clamp(34px, 4.8vw, 58px);
  }

  .case-hero p:not(.eyebrow) {
    font-size: 18px;
  }

  .case-hero-media img {
    max-height: 380px;
  }

  .case-story-grid,
  .case-challenges,
  .case-success,
  .case-report-section,
  .final-gallery-section,
  .case-cta {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}
