:root {
  --ink: #17201e;
  --muted: #66706d;
  --paper: #f6f4ef;
  --paper-strong: #ffffff;
  --line: #ded9cf;
  --teal: #0e4f56;
  --teal-dark: #0a3338;
  --clay: #a85d3b;
  --gold: #d9a441;
  --shadow: 0 20px 55px rgba(23, 32, 30, 0.14);
  --radius: 8px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 96px 0;
}

.section--light {
  background: var(--paper-strong);
}

.section--dark {
  color: #f7fbfa;
  background:
    linear-gradient(135deg, rgba(14, 79, 86, 0.94), rgba(10, 51, 56, 0.98)),
    var(--teal-dark);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 20px;
  align-items: center;
  height: var(--header-height);
  padding: 0 max(20px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid transparent;
  color: #fff;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(14, 79, 86, 0.1);
  box-shadow: 0 10px 35px rgba(23, 32, 30, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  color: inherit;
  flex: 0 0 42px;
  font-size: 0.9rem;
}

.brand__text {
  display: grid;
  gap: 2px;
  min-width: 0;
  line-height: 1.05;
}

.brand__text span:first-child {
  opacity: 0.78;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand__text span:last-child {
  font-size: 0.98rem;
  white-space: nowrap;
}

.site-nav {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-nav a,
.nav-dropdown__toggle {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--radius);
  color: inherit;
  background: transparent;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}

.site-nav a:hover,
.site-nav a.is-active,
.nav-dropdown__toggle:hover {
  background: rgba(255, 255, 255, 0.18);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a.is-active,
.site-header.is-open .site-nav a:hover,
.site-header.is-open .site-nav a.is-active,
.site-header.is-scrolled .nav-dropdown__toggle:hover,
.site-header.is-open .nav-dropdown__toggle:hover {
  color: var(--teal);
  background: rgba(14, 79, 86, 0.08);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__toggle {
  gap: 6px;
}

.nav-dropdown__toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 160ms ease;
}

.nav-dropdown.is-open .nav-dropdown__toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  display: grid;
  min-width: 292px;
  padding: 10px;
  border: 1px solid rgba(14, 79, 86, 0.12);
  border-radius: var(--radius);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
  backdrop-filter: blur(16px);
}

.nav-dropdown.is-open .nav-dropdown__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-nav .nav-dropdown__menu a {
  gap: 10px;
  justify-content: flex-start;
  min-height: 38px;
  padding: 0 12px;
  color: var(--ink);
  white-space: nowrap;
}

.site-nav .nav-dropdown__menu a svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  color: var(--teal);
}

.site-nav .nav-dropdown__menu a:hover,
.site-nav .nav-dropdown__menu a.is-active {
  color: var(--teal);
  background: rgba(14, 79, 86, 0.08);
}

.header-cta,
.nav-toggle,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.header-cta {
  padding: 0 16px;
  color: var(--ink);
  background: #fff;
}

.site-header.is-scrolled .header-cta,
.site-header.is-open .header-cta {
  color: #fff;
  background: var(--teal);
}

.header-cta:hover,
.button:hover,
.nav-toggle:hover {
  transform: translateY(-1px);
}

.header-cta svg,
.button svg,
.nav-toggle svg,
.contact__items svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.nav-toggle {
  display: none;
  width: 44px;
  color: inherit;
  background: rgba(255, 255, 255, 0.18);
}

.hero {
  display: grid;
  align-items: end;
  min-height: 88vh;
  padding: calc(var(--header-height) + 72px) 0 34px;
  color: #fff;
  overflow: hidden;
}

.hero__media,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__media {
  background-image: url("assets/hero.png");
  background-image: image-set(
    url("assets/hero.webp") type("image/webp"),
    url("assets/hero.png") type("image/png")
  );
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(8, 17, 17, 0.76), rgba(8, 17, 17, 0.42) 48%, rgba(8, 17, 17, 0.1)),
    linear-gradient(180deg, rgba(8, 17, 17, 0.58), rgba(8, 17, 17, 0.1) 38%, rgba(8, 17, 17, 0.62));
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1120px;
}

.eyebrow,
.section-label {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 960px;
  font-size: 4.7rem;
}

.hero__name {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.22em;
  white-space: nowrap;
}

.hero__name span {
  display: inline-block;
}

.hero__lead {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.18rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-width: 0;
  padding: 0 20px;
  border: 1px solid transparent;
  text-align: center;
}

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

.button--primary:hover {
  background: var(--teal-dark);
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

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

.button--light {
  color: var(--teal-dark);
  background: #fff;
}

.hero__proof {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 64px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.18);
}

.hero__proof div {
  padding: 22px;
  background: rgba(14, 24, 24, 0.52);
  backdrop-filter: blur(14px);
}

.hero__proof strong,
.hero__proof span {
  display: block;
}

.hero__proof strong {
  margin-bottom: 4px;
  font-size: 1rem;
}

.hero__proof span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.intro__grid,
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 72px;
  align-items: start;
}

.intro h2,
.section h2 {
  font-size: 2.9rem;
}

.intro__text {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 1.05rem;
}

.intro__text p {
  margin: 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-head p:last-child,
.process__sticky-inner p,
.contact__copy p {
  color: var(--muted);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper-strong);
  box-shadow: 0 12px 35px rgba(23, 32, 30, 0.07);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(14, 79, 86, 0.3);
  box-shadow: 0 18px 45px rgba(23, 32, 30, 0.12);
  outline: none;
}

.service-card__icon,
.step-card__number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border-radius: var(--radius);
}

.service-card__icon {
  color: var(--teal);
  background: rgba(14, 79, 86, 0.1);
}

.service-card__icon svg {
  width: 22px;
  height: 22px;
}

.service-card h3,
.work-card h3,
.step-card h3 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.3;
}

.service-card p,
.step-card p {
  margin: 16px 0 0;
  color: var(--muted);
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  color: #40504c;
  font-size: 0.94rem;
}

.service-card li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 10px;
  border-radius: 50%;
  background: var(--clay);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: auto;
  padding-top: 24px;
  color: var(--teal);
  font-weight: 900;
}

.service-card__link::after {
  content: "→";
  margin-left: 8px;
}

.process__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 72px;
  align-items: stretch;
}

.process .section-label {
  color: #efc878;
}

.process__sticky {
  align-self: stretch;
}

.process__sticky-inner {
  position: sticky;
  top: calc(var(--header-height) + 28px);
}

.process__sticky-inner p {
  color: rgba(255, 255, 255, 0.78);
  margin: 20px 0 30px;
}

.process__steps {
  display: grid;
  gap: 16px;
}

.step-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  opacity: 0;
  transform: translateY(34px);
  background: rgba(255, 255, 255, 0.08);
  transition:
    opacity 520ms ease var(--step-delay, 0ms),
    transform 520ms ease var(--step-delay, 0ms),
    border-color 180ms ease,
    background-color 180ms ease;
}

.step-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
}

.step-card__number {
  color: var(--teal-dark);
  background: #fff;
  font-weight: 900;
}

.step-card p {
  color: rgba(255, 255, 255, 0.76);
}

.showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.showcase__more {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.showcase__more .button {
  min-width: 180px;
}

.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 360px;
  padding: 24px;
  overflow: hidden;
  border-radius: var(--radius);
  color: #fff;
  isolation: isolate;
}

.work-card::before,
.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.work-card::before {
  background:
    linear-gradient(135deg, rgba(14, 79, 86, 0.8), rgba(168, 93, 59, 0.64)),
    image-set(
        url("assets/hero.webp") type("image/webp"),
        url("assets/hero.png") type("image/png")
      )
      center / cover;
  transform: scale(1.08);
}

.work-card::after {
  background: linear-gradient(180deg, transparent 20%, rgba(9, 17, 17, 0.78));
}

.work-card--two::before {
  background-position: 62% 48%;
  filter: saturate(1.05) contrast(1.04);
}

.work-card--three::before {
  background-position: 82% 52%;
  filter: grayscale(0.18) saturate(1.12);
}

.work-card span {
  display: inline-flex;
  width: max-content;
  margin-bottom: 12px;
  padding: 5px 9px;
  border-radius: 6px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  font-size: 0.8rem;
  font-weight: 900;
}

.contact {
  color: #fff;
  background:
    linear-gradient(120deg, rgba(10, 51, 56, 0.96), rgba(14, 79, 86, 0.82)),
    var(--teal-dark);
}

.contact .section-label {
  color: #efc878;
}

.contact__copy p {
  color: rgba(255, 255, 255, 0.8);
}

.contact__items {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.contact__items a,
.contact__items span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 750;
}

.contact__items svg {
  color: #efc878;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.94rem;
  font-weight: 800;
}

.contact-form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #efc878;
  box-shadow: 0 0 0 3px rgba(239, 200, 120, 0.18);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: #efc878;
  font-weight: 800;
}

.site-footer {
  background: #0b1615;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 800;
}

.page-hero {
  display: grid;
  align-items: end;
  min-height: 58vh;
  padding: calc(var(--header-height) + 84px) 0 72px;
  color: #fff;
  overflow: hidden;
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
}

.page-hero::before {
  background: url("assets/hero.png") center / cover;
  background: image-set(
      url("assets/hero.webp") type("image/webp"),
      url("assets/hero.png") type("image/png")
    )
    center / cover;
}

.page-hero::after {
  background:
    linear-gradient(90deg, rgba(8, 17, 17, 0.82), rgba(8, 17, 17, 0.54) 54%, rgba(8, 17, 17, 0.26)),
    linear-gradient(180deg, rgba(8, 17, 17, 0.58), rgba(8, 17, 17, 0.68));
}

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 840px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
  font-weight: 800;
}

.breadcrumbs a {
  color: #fff;
}

.page-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.1rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.page-hero p {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.14rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 42px;
  align-items: start;
}

.detail-main {
  display: grid;
  gap: 34px;
}

.detail-section,
.detail-panel,
.related-services,
.cta-band {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
}

.detail-section {
  padding: 34px;
}

.detail-section h2,
.detail-panel h2,
.related-services h2,
.cta-band h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.detail-section p {
  margin: 18px 0 0;
  color: var(--muted);
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(14, 79, 86, 0.07);
  color: #34423f;
  font-weight: 700;
}

.detail-list li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
}

.detail-panel {
  position: sticky;
  top: 102px;
  padding: 28px;
  box-shadow: 0 14px 38px rgba(23, 32, 30, 0.09);
}

.detail-panel p {
  margin: 16px 0 0;
  color: var(--muted);
}

.detail-panel .button {
  width: 100%;
  margin-top: 22px;
}

.panel-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.panel-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: #40504c;
}

.panel-list strong {
  color: var(--ink);
}

.service-links {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.service-links a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--teal);
  background: #fff;
  font-weight: 850;
}

.service-links a::after {
  content: "→";
}

.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 30px 34px;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(120deg, rgba(14, 79, 86, 0.96), rgba(168, 93, 59, 0.86)),
    var(--teal);
}

.cta-band p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.cta-band .button {
  color: var(--teal-dark);
  background: #fff;
}

.mini-process {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
}

.mini-process article {
  padding: 18px;
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  background: rgba(14, 79, 86, 0.07);
}

.mini-process h3 {
  margin: 0;
  font-size: 1.08rem;
}

.mini-process p {
  margin-top: 6px;
}

.realizations-intro {
  padding: 78px 0 28px;
}

.realizations-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 44px;
  align-items: center;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.realizations-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.realizations-intro__copy {
  max-width: 640px;
}

.realizations-section {
  padding-top: 40px;
}

.realizations {
  display: grid;
  gap: 104px;
}

.realization-item {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 48px;
  align-items: center;
}

.realization-item:nth-child(even) .realization-copy {
  order: 2;
}

.realization-item:nth-child(even) .realization-media {
  order: 1;
}

.realization-copy h2 {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 3.65rem;
  line-height: 1.04;
  letter-spacing: 0;
}

.realization-copy p {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.realization-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  color: var(--teal);
  font-size: 1.02rem;
  font-weight: 900;
}

.realization-link::after {
  content: "";
  width: 44px;
  height: 2px;
  background: currentColor;
}

.realization-media {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(130px, 1fr);
  grid-template-rows: repeat(2, minmax(150px, 1fr));
  gap: 12px;
}

.realization-media--wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: minmax(230px, 1fr);
}

.realization-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 0;
  object-fit: cover;
  background: var(--line);
}

.realization-media img:first-child {
  grid-row: 1 / span 2;
}

.realization-media--wide img:first-child {
  grid-row: auto;
}

.realization-media img:nth-child(2) {
  object-position: 68% 50%;
}

.realization-media img:nth-child(3) {
  object-position: 34% 72%;
}

.realizations-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.realizations-cta h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  line-height: 1.1;
}

.realizations-cta p {
  margin: 12px 0 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    padding: 0 20px;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 16px auto;
    display: none;
    grid-column: 1 / -1;
    justify-self: stretch;
    padding: 12px;
    border: 1px solid rgba(14, 79, 86, 0.1);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    color: var(--ink);
  }

  .nav-dropdown {
    display: grid;
  }

  .nav-dropdown__toggle {
    justify-content: space-between;
    width: 100%;
    color: var(--ink);
  }

  .nav-dropdown__menu {
    position: static;
    display: none;
    min-width: 0;
    margin: 4px 0 8px;
    padding: 8px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    background: rgba(14, 79, 86, 0.05);
    backdrop-filter: none;
  }

  .nav-dropdown.is-open .nav-dropdown__menu {
    display: grid;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-header.is-scrolled .nav-toggle,
  .site-header.is-open .nav-toggle {
    background: rgba(14, 79, 86, 0.08);
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .hero__proof,
  .services__grid,
  .showcase__grid,
  .intro__grid,
  .contact__grid,
  .process__grid,
  .detail-layout,
  .cta-band,
  .realizations-intro__grid,
  .realization-item,
  .realizations-cta {
    grid-template-columns: 1fr;
  }

  .intro__grid,
  .contact__grid,
  .process__grid {
    gap: 34px;
  }

  .process__sticky {
    align-self: start;
  }

  .process__sticky-inner {
    position: static;
  }

  .detail-panel {
    position: static;
  }

  .realizations {
    gap: 76px;
  }

  .realization-item:nth-child(even) .realization-copy,
  .realization-item:nth-child(even) .realization-media {
    order: initial;
  }

  .realization-copy h2 {
    font-size: 3rem;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(100% - 28px, 1120px);
  }

  .section {
    padding: 70px 0;
  }

  .site-header {
    padding: 0 14px;
  }

  .brand__text {
    max-width: 220px;
    overflow: hidden;
  }

  .brand__text span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 34px) 0 24px;
  }

  .hero__overlay {
    background:
      linear-gradient(90deg, rgba(8, 17, 17, 0.84), rgba(8, 17, 17, 0.58)),
      linear-gradient(180deg, rgba(8, 17, 17, 0.5), rgba(8, 17, 17, 0.76));
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .hero__name {
    display: grid;
    gap: 0;
    white-space: normal;
  }

  .hero__lead {
    font-size: 1.02rem;
    margin-top: 16px;
  }

  .hero__actions {
    display: grid;
    margin-top: 24px;
  }

  .button {
    width: 100%;
  }

  .hero__proof {
    margin-top: 28px;
  }

  .hero__proof div {
    padding: 14px 16px;
  }

  .hero__proof span {
    font-size: 0.86rem;
  }

  .intro h2,
  .section h2 {
    font-size: 2.12rem;
  }

  .service-card,
  .step-card,
  .contact-form {
    padding: 22px;
  }

  .work-card {
    min-height: 280px;
  }

  .page-hero {
    min-height: auto;
    padding: calc(var(--header-height) + 38px) 0 50px;
  }

  .page-hero h1 {
    font-size: 2.45rem;
  }

  .page-hero p {
    font-size: 1.02rem;
  }

  .realization-copy h2 {
    font-size: 2.35rem;
  }

  .realization-media,
  .realization-media--wide {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .realization-media img,
  .realization-media img:first-child {
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .detail-section,
  .detail-panel,
  .cta-band {
    padding: 22px;
  }

  .detail-list {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    flex-direction: column;
  }
}
