:root {
  --black: #030303;
  --ink: #101010;
  --soft-black: #171717;
  --graphite: #242424;
  --grey: #77736f;
  --line: rgba(255, 255, 255, 0.14);
  --dark-line: rgba(0, 0, 0, 0.11);
  --stone: #d3cdc7;
  --paper: #f3f1ee;
  --white: #ffffff;
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

a,
button {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

.cursor-light {
  position: fixed;
  z-index: 0;
  top: 0;
  left: 0;
  width: 420px;
  height: 420px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 62%);
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 220ms ease;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 220ms ease, border-color 220ms ease, padding 220ms ease;
}

.site-header.is-scrolled {
  padding-top: 10px;
  padding-bottom: 10px;
  background: rgba(3, 3, 3, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 76px;
  height: 76px;
  background: var(--black);
  overflow: hidden;
}

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

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.main-nav a,
.header-cta {
  transition: color 180ms ease, opacity 180ms ease;
}

.main-nav a:hover,
.header-cta:hover {
  color: var(--stone);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 150px clamp(20px, 6vw, 90px) 72px;
  color: var(--white);
}

.hero-bg,
.hero-bg::after,
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(0.28) contrast(1.1);
  transform: scale(1.04);
}

.hero-bg::after {
  content: "";
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.68) 45%, rgba(0, 0, 0, 0.2)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.05) 48%);
}

.hero-grid {
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.8), transparent 76%);
}

.hero-content {
  max-width: 840px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--stone);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.02;
}

h1,
h2 {
  font-family: "Oswald", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin-bottom: 26px;
  font-size: clamp(4rem, 9vw, 9.5rem);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 5.5vw, 6rem);
}

h3 {
  margin-bottom: 10px;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 1.55rem;
  font-weight: 500;
  text-transform: uppercase;
}

.hero-content > p:not(.eyebrow) {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 21px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-light {
  background: var(--white);
  color: var(--black);
}

.button-ghost {
  color: var(--white);
}

.hero-panel {
  position: absolute;
  right: clamp(20px, 5vw, 76px);
  bottom: 76px;
  z-index: 2;
  width: min(340px, calc(100% - 40px));
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(18px);
}

.hero-panel img {
  width: 86px;
  height: 86px;
  object-fit: cover;
}

.hero-panel span,
.hero-panel strong {
  display: block;
}

.hero-panel span {
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
}

.hero-panel strong {
  color: var(--white);
  line-height: 1.25;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 3;
  width: 28px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  transform: translateX(-50%);
}

.scroll-indicator span {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: var(--white);
  transform: translateX(-50%);
  animation: scrollDot 1.5s ease-in-out infinite;
}

@keyframes scrollDot {
  0%, 100% {
    opacity: 0.4;
    transform: translate(-50%, 0);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, 15px);
  }
}

.statement,
.expertises,
.gallery-section,
.contact-section {
  padding: clamp(78px, 10vw, 136px) clamp(20px, 6vw, 90px);
}

.statement {
  background: var(--paper);
}

.statement-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(290px, 0.82fr);
  gap: clamp(34px, 7vw, 112px);
  align-items: end;
}

.statement h2,
.section-heading h2 {
  max-width: 980px;
}

.statement-copy {
  max-width: 560px;
  color: var(--grey);
  font-size: 1.06rem;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--black);
  color: var(--white);
}

.stat {
  min-height: 230px;
  padding: clamp(34px, 5vw, 62px);
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  margin-bottom: 18px;
  font-family: "Oswald", Arial, sans-serif;
  font-size: clamp(3.2rem, 7vw, 7rem);
  line-height: 0.9;
}

.stat:nth-child(2) strong::after {
  content: "%";
}

.stat span {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 700;
}

.expertises {
  background: var(--white);
}

.section-heading {
  max-width: 1040px;
  margin-bottom: clamp(38px, 6vw, 74px);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--dark-line);
  border: 1px solid var(--dark-line);
}

.service-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 44px);
  background: var(--white);
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.service-card:hover {
  z-index: 1;
  background: var(--black);
  color: var(--white);
  transform: translateY(-8px);
}

.service-card span {
  margin-bottom: auto;
  color: var(--grey);
  font-family: "Oswald", Arial, sans-serif;
  letter-spacing: 0.16em;
}

.service-card p {
  margin-bottom: 0;
  color: var(--grey);
}

.service-card:hover p {
  color: rgba(255, 255, 255, 0.68);
}

.focus-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
  padding: clamp(78px, 10vw, 136px) clamp(20px, 6vw, 90px);
  background: #ded9d3;
}

.focus-image {
  min-height: 660px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--black);
}

.focus-image img {
  width: 100%;
  height: 100%;
  min-height: 660px;
  object-fit: cover;
  object-position: center;
  transition: transform 700ms ease;
}

.focus-image:hover img {
  transform: scale(1.06);
}

.focus-content {
  max-width: 680px;
}

.timeline {
  display: grid;
  gap: 24px;
  margin-top: 38px;
}

.timeline div {
  position: relative;
  padding-left: 36px;
}

.timeline span {
  position: absolute;
  top: 6px;
  left: 0;
  width: 13px;
  height: 13px;
  background: var(--black);
}

.timeline div::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: -25px;
  left: 6px;
  width: 1px;
  background: rgba(0, 0, 0, 0.2);
}

.timeline div:last-child::before {
  display: none;
}

.timeline strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 800;
}

.timeline p {
  margin-bottom: 0;
  color: var(--grey);
}

.gallery-section {
  background: var(--black);
  color: var(--white);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.gallery-item {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  background: var(--graphite);
  opacity: 0.66;
  transition: opacity 180ms ease, transform 180ms ease, outline-color 180ms ease;
}

.gallery-item.active,
.gallery-item:hover {
  opacity: 1;
  transform: translateY(-4px);
}

.gallery-item.active {
  outline: 2px solid var(--white);
  outline-offset: -2px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.gallery-preview {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(280px, 0.9fr);
  align-items: stretch;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.gallery-preview img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.gallery-preview div {
  align-self: end;
  padding: clamp(28px, 5vw, 58px);
}

.gallery-preview p:last-child {
  max-width: 430px;
  color: rgba(255, 255, 255, 0.68);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
  gap: clamp(36px, 8vw, 116px);
  align-items: start;
  background: var(--paper);
}

.contact-copy {
  max-width: 780px;
}

.contact-copy p:not(.eyebrow) {
  max-width: 560px;
  color: var(--grey);
}

.contact-card {
  display: grid;
  gap: 24px;
  padding: 34px;
  background: var(--black);
  color: var(--white);
  box-shadow: var(--shadow);
}

.contact-card img {
  width: 128px;
}

.contact-lines strong,
.contact-lines span,
.contact-actions a {
  display: block;
}

.contact-lines strong {
  margin-bottom: 8px;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 1.55rem;
  text-transform: uppercase;
}

.contact-lines span,
.contact-card p {
  color: rgba(255, 255, 255, 0.66);
}

.contact-actions {
  display: grid;
  gap: 8px;
}

.contact-actions a {
  width: fit-content;
  font-size: 1.15rem;
  font-weight: 900;
}

.contact-card p {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 90px);
  background: var(--black);
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 680ms ease, transform 680ms ease;
}

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

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

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

  .menu-toggle {
    justify-self: end;
    order: 3;
    display: grid;
    gap: 5px;
    width: 44px;
    height: 44px;
    place-content: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
  }

  .menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--white);
    transition: transform 180ms ease, opacity 180ms ease;
  }

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

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

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

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(420px, 86vw);
    height: 100vh;
    display: grid;
    align-content: center;
    justify-content: stretch;
    gap: 0;
    padding: 92px 34px 34px;
    background: rgba(3, 3, 3, 0.96);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 260ms ease;
  }

  body.menu-open .main-nav {
    transform: translateX(0);
  }

  .main-nav a {
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    color: var(--white);
    font-family: "Oswald", Arial, sans-serif;
    font-size: 2rem;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .header-cta {
    justify-self: end;
    order: 2;
  }

  .statement-layout,
  .focus-section,
  .gallery-preview,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .service-cards,
  .gallery,
  .stats-band {
    grid-template-columns: 1fr;
  }

  .stat {
    min-height: 190px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 46px;
  }
}

@media (max-width: 600px) {
  .site-header {
    padding: 12px 16px;
    gap: 12px;
  }

  .brand {
    width: 58px;
    height: 58px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 13px;
  }

  .hero {
    padding: 124px 18px 58px;
  }

  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2.45rem;
  }

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

  .hero-panel {
    grid-template-columns: 72px 1fr;
    width: 100%;
  }

  .hero-panel img {
    width: 72px;
    height: 72px;
  }

  .focus-image,
  .focus-image img {
    min-height: 460px;
  }

  .gallery-preview img {
    height: 380px;
  }

  .contact-card {
    padding: 26px;
  }

  .site-footer {
    display: grid;
  }
}
