:root {
  --ink: #070b14;
  --navy: #111936;
  --navy-2: #1f2844;
  --sand: #f3efe8;
  --paper: #fbfaf7;
  --line: #ded7cc;
  --gold: #c8a66f;
  --bronze: #7b654f;
  --olive: #536659;
  --mist: #eef4f1;
  --white: #ffffff;
  --muted: #6d7280;
  --shadow: 0 24px 70px rgba(7, 11, 20, 0.18);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.is-locked {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(200, 166, 111, 0.75);
  outline-offset: 4px;
}

.skip-link {
  background: var(--white);
  border-radius: 0 0 var(--radius) 0;
  color: var(--navy);
  left: 0;
  padding: 12px 16px;
  position: fixed;
  top: -60px;
  transition: top 180ms ease;
  z-index: 200;
}

.skip-link:focus {
  top: 0;
}

.sr-only {
  clip: rect(0 0 0 0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.container {
  margin: 0 auto;
  max-width: var(--container);
  padding: 0 24px;
  width: 100%;
}

.site-header {
  left: 0;
  padding: 20px 0;
  position: fixed;
  right: 0;
  top: 0;
  transition: background 220ms ease, border-color 220ms ease, padding 220ms ease;
  z-index: 100;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(7, 11, 20, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 0;
  backdrop-filter: blur(18px);
}

.nav-shell {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1280px;
  padding: 0 20px;
  position: relative;
}

.brand-link {
  align-items: center;
  display: inline-flex;
  height: 54px;
  position: relative;
  width: 184px;
  z-index: 110;
}

.brand-logo {
  height: auto;
  left: 0;
  max-height: 54px;
  object-fit: contain;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: opacity 180ms ease;
  width: 170px;
}

.brand-logo--dark {
  opacity: 0;
}

.brand-logo--light {
  filter: brightness(0) invert(1);
  opacity: 1;
}

.site-header.is-scrolled .brand-logo--dark {
  opacity: 0;
}

.site-header.is-scrolled .brand-logo--light {
  opacity: 1;
}

.nav-panel {
  align-items: center;
  background: rgba(0, 0, 0, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.88);
  display: flex;
  gap: 6px;
  padding: 6px;
}

.nav-panel a {
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  padding: 10px 12px;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-panel a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.nav-panel .nav-cta {
  background: var(--white);
  color: var(--ink);
  margin-left: 4px;
}

.nav-panel .nav-cta:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-1px);
}

.menu-toggle {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  display: none;
  height: 44px;
  justify-content: center;
  padding: 0;
  position: relative;
  width: 44px;
  z-index: 110;
}

.menu-toggle__line {
  background: var(--white);
  display: block;
  height: 2px;
  position: absolute;
  transition: transform 180ms ease, opacity 180ms ease;
  width: 18px;
}

.menu-toggle__line:nth-child(1) {
  transform: translateY(-6px);
}

.menu-toggle__line:nth-child(3) {
  transform: translateY(6px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(1) {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(3) {
  transform: rotate(-45deg);
}

.hero {
  background: var(--ink);
  color: var(--white);
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.hero-media,
.cta-media {
  background-position: center;
  background-size: cover;
  inset: 0;
  position: absolute;
}

.hero-media {
  background-image: url("assets/studio-s-hero.jpg");
  filter: saturate(0.82) contrast(1.04);
  opacity: 0.78;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 11, 20, 0.98) 0%, rgba(7, 11, 20, 0.78) 38%, rgba(7, 11, 20, 0.2) 100%),
    linear-gradient(0deg, rgba(7, 11, 20, 0.96) 0%, rgba(7, 11, 20, 0) 44%);
  inset: 0;
  position: absolute;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(260px, 380px);
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1280px;
  min-height: calc(100vh - 110px);
  padding: 170px 20px 168px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.hero-copy {
  align-self: end;
  min-width: 0;
}

.eyebrow {
  align-items: center;
  color: var(--gold);
  display: flex;
  font-size: 12px;
  font-weight: 800;
  gap: 12px;
  letter-spacing: 0.14em;
  line-height: 1.25;
  margin: 0 0 20px;
  text-transform: uppercase;
}

.eyebrow::before {
  background: currentColor;
  content: "";
  display: inline-block;
  height: 1px;
  width: 36px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(48px, 7vw, 104px);
  letter-spacing: 0;
  line-height: 0.94;
  margin-bottom: 28px;
  max-width: 780px;
}

h2 {
  color: var(--navy);
  font-size: clamp(34px, 4vw, 62px);
  letter-spacing: 0;
  line-height: 1.02;
  margin-bottom: 22px;
}

h3 {
  color: var(--navy);
  font-size: 21px;
  letter-spacing: 0;
  line-height: 1.18;
  margin-bottom: 12px;
}

.hero-text {
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(18px, 2vw, 22px);
  max-width: 690px;
}

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

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  gap: 10px;
  justify-content: center;
  min-height: 50px;
  padding: 14px 20px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button svg {
  fill: none;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 18px;
}

.button--primary {
  background: var(--gold);
  color: var(--ink);
}

.button--primary:hover {
  background: #d9bd88;
  transform: translateY(-2px);
}

.button--secondary {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--white);
}

.button--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

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

.button--light:hover {
  background: var(--gold);
}

.hero-note {
  align-self: center;
  border-left: 1px solid rgba(255, 255, 255, 0.26);
  max-width: 360px;
  min-width: 0;
  padding-left: 26px;
}

.hero-note p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}

.hero-metrics {
  align-items: end;
  bottom: 32px;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  left: 50%;
  max-width: 1280px;
  padding: 0 20px;
  position: absolute;
  transform: translateX(-50%);
  width: 100%;
  z-index: 1;
}

.hero-metrics div {
  border-left: 1px solid rgba(255, 255, 255, 0.24);
  min-height: 76px;
  padding: 8px 18px 0;
}

.hero-metrics strong {
  color: var(--gold);
  display: block;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
}

.hero-metrics span {
  color: rgba(255, 255, 255, 0.7);
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-top: 8px;
}

.section {
  padding: 112px 0;
}

.two-column {
  display: grid;
  gap: 64px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
}

.intro-copy {
  color: #404653;
  font-size: 20px;
  min-width: 0;
  padding-top: 44px;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

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

.system-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 260px;
  padding: 28px;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.system-card:hover {
  border-color: rgba(200, 166, 111, 0.8);
  box-shadow: 0 18px 42px rgba(17, 25, 54, 0.08);
  transform: translateY(-4px);
}

.system-card__number {
  color: var(--gold);
  display: block;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 58px;
}

.system-card p,
.service-card p,
.sector-list p,
.process-step p,
.proof-card p,
.footer-grid p {
  color: #555d6a;
  margin-bottom: 0;
}

.section--dark {
  background: var(--navy);
  color: var(--white);
}

.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

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

.section-heading p:not(.eyebrow) {
  color: #606878;
  font-size: 20px;
}

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

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

.service-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  min-height: 440px;
  overflow: hidden;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(200, 166, 111, 0.52);
  transform: translateY(-4px);
}

.service-card img {
  aspect-ratio: 16 / 9;
  filter: saturate(0.88);
  height: auto;
  object-fit: cover;
  width: 100%;
}

.service-card div {
  padding: 26px;
}

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

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

.image-text {
  align-items: center;
  display: grid;
  gap: 72px;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1fr);
}

.image-text--reverse {
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1fr);
}

.image-stack {
  min-height: 650px;
  position: relative;
}

.image-stack::before {
  background: var(--mist);
  border-radius: var(--radius);
  content: "";
  inset: 58px 44px 46px 0;
  position: absolute;
}

.image-stack img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  position: absolute;
}

.image-stack__primary {
  height: 560px;
  left: 0;
  top: 0;
  width: 62%;
}

.image-stack__secondary {
  bottom: 0;
  height: 360px;
  right: 0;
  width: 58%;
}

.content-block > p:not(.eyebrow) {
  color: #404653;
  font-size: 20px;
  margin-bottom: 34px;
}

.content-block,
.section-kicker {
  min-width: 0;
}

.sector-list {
  display: grid;
  gap: 18px;
}

.sector-list article {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

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

.process-track {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 54px;
}

.process-step {
  border-left: 1px solid var(--line);
  min-height: 250px;
  padding: 26px 26px 10px;
  position: relative;
}

.process-step::before {
  background: var(--gold);
  border-radius: 999px;
  content: "";
  height: 11px;
  left: -6px;
  position: absolute;
  top: 32px;
  width: 11px;
}

.process-step span {
  color: var(--bronze);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 54px;
  text-transform: uppercase;
}

.section--proof {
  background: linear-gradient(180deg, var(--paper) 0%, #eef4f1 100%);
}

.proof-layout {
  display: grid;
  gap: 72px;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
}

.proof-copy {
  align-self: start;
  position: sticky;
  top: 120px;
}

.proof-copy p:not(.eyebrow) {
  color: #404653;
  font-size: 20px;
}

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

.proof-card {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(17, 25, 54, 0.08);
  border-radius: var(--radius);
  min-height: 270px;
  padding: 30px;
}

.proof-card strong {
  color: var(--gold);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin-bottom: 52px;
  text-transform: uppercase;
}

.cta-section {
  background: var(--ink);
  color: var(--white);
  min-height: 640px;
  overflow: hidden;
  position: relative;
}

.cta-media {
  background-image:
    linear-gradient(90deg, rgba(7, 11, 20, 0.92), rgba(7, 11, 20, 0.34)),
    url("assets/studio-s-moroccan-terrace.jpg");
  filter: saturate(0.9);
}

.cta-shell {
  padding-bottom: 118px;
  padding-top: 118px;
  position: relative;
  z-index: 1;
}

.cta-shell h2 {
  color: var(--white);
  max-width: 760px;
}

.cta-shell p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
  max-width: 640px;
}

.site-footer {
  background: var(--paper);
  color: var(--navy);
  padding: 60px 0 26px;
}

.footer-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr 1fr 0.8fr;
}

.footer-logo {
  height: auto;
  margin-bottom: 22px;
  width: 180px;
}

.footer-grid h2 {
  font-size: 13px;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.footer-grid a {
  color: #555d6a;
  display: block;
  margin-bottom: 8px;
  transition: color 180ms ease;
}

.footer-grid a:hover {
  color: var(--navy);
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid var(--line);
  color: #737986;
  display: flex;
  font-size: 13px;
  justify-content: space-between;
  margin-top: 44px;
  padding-top: 24px;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

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

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-panel {
    align-items: stretch;
    background: rgba(7, 11, 20, 0.96);
    border: 0;
    border-radius: 0;
    bottom: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    left: 0;
    min-height: 100vh;
    opacity: 0;
    padding: 110px 24px 24px;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .nav-panel a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    font-size: 24px;
    padding: 18px 0;
  }

  .nav-panel .nav-cta {
    align-items: center;
    border: 0;
    border-radius: var(--radius);
    display: inline-flex;
    font-size: 16px;
    justify-content: center;
    margin: 24px 0 0;
    padding: 16px 20px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: calc(100vh - 96px);
    padding-bottom: 220px;
  }

  .hero-note {
    align-self: start;
    margin-top: 42px;
  }

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

  .two-column,
  .image-text,
  .image-text--reverse,
  .proof-layout {
    grid-template-columns: 1fr;
  }

  .intro-copy {
    padding-top: 0;
  }

  .system-grid,
  .service-grid,
  .process-track,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-copy {
    position: static;
  }
}

@media (max-width: 680px) {
  .container {
    padding: 0 18px;
  }

  .nav-shell,
  .hero-grid,
  .hero-metrics {
    max-width: 100vw;
  }

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

  .brand-link {
    width: 150px;
  }

  .brand-logo {
    width: 138px;
  }

  .hero-grid {
    padding: 132px 18px 270px;
  }

  .hero-copy,
  .hero-note {
    max-width: min(100%, 360px);
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 11, 20, 0.98), rgba(7, 11, 20, 0.62)),
      linear-gradient(0deg, rgba(7, 11, 20, 0.98) 0%, rgba(7, 11, 20, 0.24) 58%);
  }

  h1 {
    font-size: clamp(44px, 13.5vw, 58px);
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(34px, 10vw, 46px);
  }

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

  .hero-metrics {
    bottom: 22px;
    gap: 12px 0;
    padding: 0 18px;
  }

  .hero-metrics div {
    min-height: 70px;
    padding-left: 14px;
  }

  .section {
    padding: 78px 0;
  }

  .system-grid,
  .service-grid,
  .process-track,
  .proof-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .system-card,
  .service-card,
  .process-step,
  .proof-card {
    min-height: auto;
  }

  .image-stack {
    min-height: 520px;
  }

  .image-stack::before {
    inset: 42px 18px 54px 0;
  }

  .image-stack__primary {
    height: 420px;
    width: 72%;
  }

  .image-stack__secondary {
    height: 270px;
    width: 68%;
  }

  .cta-section {
    min-height: 560px;
  }

  .cta-shell {
    padding-bottom: 86px;
    padding-top: 86px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}
