:root {
  color-scheme: dark;
  --ink: #070706;
  --charcoal: #10100e;
  --smoke: #191815;
  --line: rgba(246, 239, 224, 0.14);
  --text: #f3eadc;
  --muted: #b8ad9c;
  --dim: #807666;
  --gold: #d4b36a;
  --green: #496552;
  --wine: #7a2436;
  --white: #fffaf0;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--text);
  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;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(18px, 4vw, 52px);
  background: linear-gradient(to bottom, rgba(7, 7, 6, 0.82), rgba(7, 7, 6, 0));
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  border-bottom: 1px solid var(--line);
  background: rgba(7, 7, 6, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  position: relative;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(212, 179, 106, 0.68);
  color: var(--gold);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 1px;
  background: rgba(212, 179, 106, 0.48);
  transform: rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 130px clamp(20px, 6vw, 80px) 8vh;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  filter: saturate(0.82) contrast(1.05) brightness(0.62);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 7, 6, 0.94), rgba(7, 7, 6, 0.56) 42%, rgba(7, 7, 6, 0.2)),
    linear-gradient(0deg, var(--ink), rgba(7, 7, 6, 0.02) 40%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 0.98;
}

h1 {
  max-width: 11ch;
  margin-bottom: 24px;
  font-size: clamp(4rem, 11vw, 9rem);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.35rem, 5vw, 5rem);
}

h3 {
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 400;
}

.hero-content p {
  max-width: 620px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.26rem);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  padding: 12px 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button.primary {
  border-color: var(--gold);
  background: var(--gold);
  color: #17110a;
}

.button.primary:hover {
  background: #e5c37a;
}

.button.ghost:hover {
  border-color: rgba(246, 239, 224, 0.4);
  background: rgba(246, 239, 224, 0.06);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  background: var(--charcoal);
}

.intro-band div {
  min-height: 138px;
  padding: 28px clamp(18px, 4vw, 54px);
  border-right: 1px solid var(--line);
}

.intro-band div:last-child {
  border-right: 0;
}

.stat {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.stat-text {
  font-size: clamp(1.28rem, 2.2vw, 2.45rem);
  line-height: 1.08;
}

.intro-band span:last-child {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(74px, 10vw, 140px) clamp(20px, 5vw, 42px);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.75fr);
  gap: clamp(32px, 7vw, 110px);
  align-items: start;
}

.story-emblem {
  width: min(300px, 100%);
  margin-top: 30px;
}

.story-copy {
  color: var(--muted);
  font-size: 1.05rem;
}

.story-copy p + p {
  margin-top: 24px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
  gap: 36px;
  align-items: end;
  margin-bottom: 44px;
}

.section-heading > p {
  margin-bottom: 8px;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 270px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008));
}

.service-card p,
.portfolio-item p,
.process-panel p {
  color: var(--muted);
}

.portfolio {
  display: block;
  padding: clamp(74px, 10vw, 140px) clamp(20px, 6vw, 80px);
  background:
    linear-gradient(120deg, rgba(73, 101, 82, 0.22), rgba(122, 36, 54, 0.1) 55%, rgba(7, 7, 6, 0)),
    var(--smoke);
}

.portfolio-copy {
  max-width: var(--max);
  margin: 0 auto 44px;
}

.portfolio-copy p {
  max-width: 760px;
  margin-top: 24px;
  color: var(--muted);
}

.portfolio-grid {
  display: grid;
  max-width: var(--max);
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.portfolio-item {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0b0b0a;
}

.portfolio-item.tall {
  min-height: 640px;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.76) brightness(0.72);
  transition: transform 500ms ease, filter 500ms ease;
}

.portfolio-item:hover img {
  transform: scale(1.035);
  filter: saturate(0.9) brightness(0.82);
}

.portfolio-item div {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px;
  background: linear-gradient(0deg, rgba(7, 7, 6, 0.94), rgba(7, 7, 6, 0));
}

.portfolio-item span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.portfolio-item p {
  max-width: 420px;
  margin-bottom: 0;
}

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

.partner-heading {
  margin-bottom: 26px;
}

.partner-link {
  display: grid;
  width: min(320px, 100%);
  align-items: center;
  justify-items: center;
  margin: 0 auto;
  border: 1px solid rgba(212, 179, 106, 0.34);
  padding: 24px 28px;
  background: rgba(212, 179, 106, 0.045);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.partner-link img {
  width: min(230px, 72vw);
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.26));
}

.partner-link:hover,
.partner-link:focus-visible {
  border-color: var(--gold);
  background: rgba(212, 179, 106, 0.09);
  transform: translateY(-2px);
}

.process-panel {
  max-width: 760px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.process-panel p {
  margin: 0;
  font-size: 1.12rem;
}

.contact {
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(70px, 9vw, 120px) clamp(20px, 6vw, 80px);
  background: var(--charcoal);
  border-block: 1px solid var(--line);
}

.contact > div {
  max-width: 720px;
}

.contact p {
  max-width: 540px;
  margin: 24px 0 0;
  color: var(--muted);
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  letter-spacing: 0;
}

.contact-details a {
  color: var(--gold);
}

.contact-details a + a {
  color: var(--text);
}

.contact-details a:hover,
.contact-details a:focus-visible {
  color: var(--white);
}

.contact-details .map-link {
  display: inline-grid;
  width: fit-content;
  gap: 4px;
  margin-top: 4px;
  border: 1px solid rgba(212, 179, 106, 0.52);
  padding: 12px 14px;
  color: var(--text);
  background: rgba(212, 179, 106, 0.055);
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.contact-details .map-link small {
  color: var(--gold);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-details .map-link:hover,
.contact-details .map-link:focus-visible {
  border-color: var(--gold);
  background: rgba(212, 179, 106, 0.11);
  color: var(--white);
}

.disclaimer {
  padding: 24px clamp(20px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
  background: #0b0b0a;
}

.disclaimer p {
  max-width: var(--max);
  margin: 0 auto;
  color: var(--dim);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 6vw, 80px);
  color: var(--dim);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .intro-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-band div:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 920px) {
  .site-nav {
    position: fixed;
    inset: 74px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    background: rgba(10, 10, 9, 0.96);
    backdrop-filter: blur(18px);
  }

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

  .site-nav a {
    padding: 18px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .nav-toggle {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    gap: 0;
    border: 1px solid var(--line);
    background: rgba(7, 7, 6, 0.42);
    color: var(--text);
  }

  .nav-toggle span {
    width: 18px;
    height: 1px;
    background: currentColor;
  }

  .intro-band,
  .story-grid,
  .section-heading,
  .portfolio-grid,
  .process-panel {
    grid-template-columns: 1fr;
  }

  .intro-band div,
  .service-card,
  .process-panel {
    border-right: 0;
  }

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

  .portfolio-item,
  .portfolio-item.tall {
    min-height: 560px;
  }
}

@media (max-width: 620px) {
  .brand {
    font-size: 0.82rem;
  }

  .hero {
    min-height: 88svh;
    padding-top: 112px;
  }

  h1 {
    font-size: clamp(3.25rem, 18vw, 5rem);
  }

  .hero-actions,
  .contact {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 250px;
  }

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