:root {
  --ink: #071312;
  --ink-soft: #102321;
  --paper: #f7f7f2;
  --paper-2: #eef3ef;
  --white: #ffffff;
  --muted: #667370;
  --line: rgba(7, 19, 18, 0.13);
  --line-dark: rgba(255, 255, 255, 0.16);
  --accent: #05b8b4;
  --accent-dark: #037f7c;
  --warm: #e8603f;
  --shadow: 0 22px 70px rgba(7, 19, 18, 0.16);
  --header-h: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.no-scroll {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 1000;
  background: var(--accent);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 800;
  transition: top 180ms ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  inset: 18px 22px auto;
  z-index: 100;
  height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 12px 14px 12px 18px;
  color: var(--white);
  background: rgba(7, 19, 18, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  backdrop-filter: blur(18px);
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 19, 18, 0.92);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 154px;
  min-width: 132px;
  height: 48px;
  overflow: hidden;
}

.brand img,
.footer-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 6px;
  transition: color 180ms ease, background 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.header-cta,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.header-cta {
  gap: 9px;
  padding: 0 15px;
  font-weight: 800;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 46px;
}

.lucide {
  width: 19px;
  height: 19px;
  stroke-width: 2;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 19, 18, 0.94) 0%, rgba(7, 19, 18, 0.68) 44%, rgba(7, 19, 18, 0.18) 100%),
    linear-gradient(180deg, rgba(7, 19, 18, 0.2) 0%, rgba(7, 19, 18, 0.56) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 44px));
  margin: 0 auto;
  padding: 154px 0 60px;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 740px;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 5.8rem;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.32rem;
  line-height: 1.55;
}

.hero-actions,
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 15px 38px rgba(5, 184, 180, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #35d6d1;
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.btn-dark {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 15px 38px rgba(7, 19, 18, 0.14);
}

.btn-dark:hover,
.btn-dark:focus-visible {
  background: var(--ink-soft);
}

.hero-proof {
  width: min(760px, 100%);
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-proof div {
  flex: 1 1 190px;
  min-width: 180px;
  display: grid;
  gap: 7px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
}

.hero-proof .lucide {
  color: var(--accent);
}

.hero-proof strong {
  font-size: 1rem;
  line-height: 1.2;
}

.hero-proof span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.scroll-cue {
  position: absolute;
  right: 34px;
  bottom: 28px;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  animation: cueBounce 1.8s ease-in-out infinite;
}

.section {
  padding: 104px 0;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 42px);
}

.section-shell {
  width: min(1160px, calc(100% - 44px));
  margin: 0 auto;
}

.intro-band {
  background: var(--ink);
  color: var(--white);
  border-top: 1px solid var(--line-dark);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
  padding: 30px 0;
  align-items: center;
}

.intro-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 800;
}

.intro-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.06rem;
}

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

.section-heading.compact {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2,
.split-content h2,
.faq-grid h2,
.contact-panel h2 {
  margin: 0;
  font-size: 3.2rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.split-content > p,
.contact-panel > p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 690px;
}

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

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

.service-card {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(7, 19, 18, 0.1) 0%, rgba(7, 19, 18, 0.86) 100%);
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.service-card:hover img {
  transform: scale(1.06);
}

.service-card > div {
  position: relative;
  z-index: 2;
  padding: 26px;
}

.service-card .lucide,
.value-item .lucide,
.contact-links .lucide {
  color: var(--accent);
}

.service-card h3,
.value-item h3,
.process-card h3 {
  margin: 12px 0 8px;
  font-size: 1.28rem;
  line-height: 1.2;
}

.service-card p,
.value-item p,
.process-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.service-card-feature {
  min-height: 380px;
  background:
    linear-gradient(135deg, rgba(5, 184, 180, 0.2), rgba(232, 96, 63, 0.14)),
    var(--ink-soft);
}

.service-card-feature::before,
.service-card-feature img {
  display: none;
}

.service-card-feature p {
  margin-bottom: 22px;
}

.service-card-feature a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 800;
}

.split-section {
  background: var(--white);
}

.split-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 62px;
  align-items: center;
}

.split-media {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 580px;
  object-fit: cover;
}

.media-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  display: grid;
  gap: 2px;
  padding: 16px 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.media-badge span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.media-badge strong {
  font-size: 1.35rem;
}

.values-list {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

.value-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.value-item h3 {
  margin: 0 0 5px;
}

.value-item p {
  color: var(--muted);
}

.process-section {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(7, 19, 18, 0.92), rgba(7, 19, 18, 0.96)),
    url("assets/motion-dark.gif") center / cover fixed;
}

.process-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

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

.process-card {
  position: relative;
  min-height: 440px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.process-card img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  margin-bottom: 26px;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.18));
}

.process-card span {
  display: inline-flex;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
}

.process-card p {
  color: rgba(255, 255, 255, 0.74);
}

.showcase-section {
  background: var(--paper-2);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--muted);
  font-weight: 800;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.filter-button.active,
.filter-button:hover,
.filter-button:focus-visible {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.filter-button.is-hidden {
  display: none;
}

.realisation-board {
  display: grid;
  gap: 34px;
}

.realisation-project {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.realisation-project.is-hidden {
  display: none;
}

.realisation-project-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: start;
  margin-bottom: 18px;
}

.project-kicker,
.project-meta {
  display: inline-flex;
  width: fit-content;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.realisation-project h3 {
  margin: 8px 0 6px;
  font-size: 1.8rem;
  line-height: 1.12;
}

.realisation-project p {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
}

.project-meta {
  padding: 8px 10px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  text-transform: none;
}

.project-media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 190px;
  grid-auto-flow: dense;
  gap: 12px;
}

.media-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  display: grid;
  align-content: end;
  padding: 16px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  text-align: left;
  background: var(--ink);
  box-shadow: 0 14px 34px rgba(7, 19, 18, 0.13);
}

.media-card.featured {
  grid-column: span 2;
  grid-row: span 2;
}

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

.media-card img,
.media-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease, opacity 220ms ease;
}

.media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 19, 18, 0.04), rgba(7, 19, 18, 0.78));
}

.media-card span,
.media-card strong,
.media-play {
  position: relative;
  z-index: 1;
}

.media-card > span:not(.media-play) {
  width: fit-content;
  margin-bottom: 8px;
  padding: 5px 8px;
  border-radius: 6px;
  color: var(--ink);
  background: var(--accent);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.media-card strong {
  font-size: 1.18rem;
  line-height: 1.1;
}

.media-card:hover img,
.media-card:hover video,
.media-card:focus-visible img,
.media-card:focus-visible video {
  transform: scale(1.06);
}

.media-card.is-load-hidden,
.media-card.is-global-hidden {
  display: none;
}

.media-play {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(7, 19, 18, 0.64);
  backdrop-filter: blur(10px);
}

.project-more-wrap {
  display: none;
  justify-content: center;
  margin-top: 18px;
}

.project-more-wrap.is-hidden {
  display: none;
}

.realisations-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.realisations-more-wrap.is-hidden {
  display: none;
}

.quote-section {
  color: var(--white);
  background: var(--ink);
}

.quote-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  align-items: start;
}

.quote-mark {
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 9rem;
  line-height: 0.8;
}

.quote-text {
  max-width: 900px;
  margin: 0;
  font-size: 2.1rem;
  line-height: 1.25;
}

.quote-author {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
}

.reviews-section {
  background: var(--white);
}

.reviews-widget {
  min-height: 230px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 46px rgba(7, 19, 18, 0.08);
}

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

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 20px;
  font-weight: 900;
  cursor: pointer;
}

summary::after {
  content: "+";
  color: var(--accent-dark);
  font-size: 1.3rem;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.contact-section {
  padding-bottom: 0;
  color: var(--white);
  background: var(--ink);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 26px;
  align-items: start;
}

.contact-panel,
.contact-form {
  border-radius: 8px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.06);
}

.contact-panel {
  padding: 34px;
}

.contact-panel > p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-links a {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: center;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

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

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  padding: 14px 15px;
  outline: 0;
  transition: border-color 180ms ease, background 180ms ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 142px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.12);
}

.form-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
}

.form-note.is-success {
  color: var(--accent);
}

.form-note.is-error {
  color: #ffb49e;
}

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

.map-frame {
  position: relative;
  width: min(1160px, calc(100% - 44px));
  height: 380px;
  margin: 54px auto 0;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 8px 8px 0 0;
  background:
    linear-gradient(rgba(5, 13, 12, 0.82), rgba(5, 13, 12, 0.82)),
    repeating-linear-gradient(90deg, transparent 0 76px, rgba(255, 255, 255, 0.08) 77px),
    repeating-linear-gradient(0deg, transparent 0 76px, rgba(255, 255, 255, 0.08) 77px);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0.72;
  filter: grayscale(1) invert(0.88) contrast(0.95) saturate(0.6);
}

.map-card {
  position: absolute;
  left: 24px;
  top: 24px;
  max-width: 340px;
  display: grid;
  gap: 8px;
  padding: 18px;
  color: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(7, 19, 18, 0.88);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

.map-card span {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.map-card strong {
  font-size: 1.05rem;
  line-height: 1.35;
}

.map-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  color: var(--accent);
  font-weight: 900;
}

.site-footer {
  color: rgba(255, 255, 255, 0.74);
  background: #050d0c;
  border-top: 1px solid var(--line-dark);
  padding: 54px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  width: 160px;
  height: 62px;
  margin-bottom: 14px;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.site-footer a,
.site-footer span {
  display: block;
  margin: 8px 0;
}

.site-footer a:hover {
  color: var(--accent);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 72px 24px 34px;
  background: rgba(5, 13, 12, 0.92);
}

.lightbox.is-open {
  display: grid;
}

.lightbox img,
.lightbox video {
  max-width: min(1080px, 100%);
  max-height: 78svh;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.lightbox img[hidden],
.lightbox video[hidden] {
  display: none;
}

.lightbox p {
  margin: 16px 0 0;
  color: var(--white);
  font-weight: 900;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

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

.lightbox-nav {
  top: 50%;
  width: 54px;
  height: 54px;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.lightbox-nav.is-hidden {
  display: none;
}

.lightbox-close:hover,
.lightbox-close:focus-visible,
.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255, 255, 255, 0.12);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 1;
  transform: translateY(24px);
  transition: transform 700ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroDrift {
  from {
    transform: scale(1.05) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.11) translate3d(-1.4%, -1%, 0);
  }
}

@keyframes cueBounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

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

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
    grid-column: 3;
  }

  .header-cta {
    display: none;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(7, 19, 18, 0.97);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  }

  .site-header.nav-open .main-nav {
    display: flex;
  }

  .main-nav a {
    padding: 14px 13px;
  }

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

  .split-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split-media,
  .split-media img {
    min-height: 440px;
  }

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

@media (max-width: 760px) {
  :root {
    --header-h: 68px;
  }

  .site-header {
    inset: 12px 12px auto;
    padding: 10px;
  }

  .brand {
    width: 126px;
    min-width: 126px;
    height: 42px;
  }

  .hero {
    min-height: 91svh;
  }

  .hero-content {
    width: min(100% - 28px, 1160px);
    padding: 128px 0 42px;
  }

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

  .hero-lead {
    font-size: 1.08rem;
  }

  .hero-proof {
    gap: 18px;
  }

  .hero-proof div {
    min-width: 124px;
  }

  .scroll-cue {
    display: none;
  }

  .section {
    padding: 74px 0;
  }

  .section-shell,
  .map-frame {
    width: min(100% - 28px, 1160px);
  }

  .intro-grid,
  .faq-grid,
  .quote-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .section-heading h2,
  .split-content h2,
  .faq-grid h2,
  .contact-panel h2 {
    font-size: 2.28rem;
  }

  .services-grid,
  .process-grid,
  .project-media-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card-feature {
    min-height: 340px;
  }

  .process-card {
    min-height: auto;
  }

  .process-card img {
    height: 150px;
  }

  .realisation-project-header {
    grid-template-columns: 1fr;
  }

  .project-media-grid {
    grid-auto-rows: 250px;
  }

  .media-card.featured,
  .media-card.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .quote-mark {
    font-size: 5rem;
  }

  .quote-text {
    font-size: 1.55rem;
  }

  .contact-panel,
  .contact-form {
    padding: 22px;
  }

  .map-frame {
    height: 330px;
  }

  .map-card {
    left: 14px;
    right: 14px;
    top: 14px;
    max-width: none;
  }

  .lightbox {
    padding-inline: 14px;
  }

  .lightbox-nav {
    width: 44px;
    height: 44px;
  }

  .lightbox-prev {
    left: 14px;
  }

  .lightbox-next {
    right: 14px;
  }
}

@media (max-width: 460px) {
  .hero h1 {
    font-size: 3.05rem;
  }

  .btn {
    width: 100%;
  }

  .filter-button {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .reveal,
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
