:root {
  --line: rgba(247, 240, 229, 0.14);
  --paper: #f3ece2;
  --ink: #ece5db;
  --muted: rgba(236, 229, 219, 0.7);
  --brass: #c7a06a;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
  --max: 1180px;
  --header-h: 86px;
}

/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(199, 160, 106, 0.18), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(123, 140, 111, 0.12), transparent 25%),
    linear-gradient(180deg, #121514 0%, #0f1110 50%, #101211 100%);
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mix-blend-mode: screen;
}

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

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

p {
  margin: 0;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site {
  position: relative;
  z-index: 1;
}

.container {
  width: min(var(--max), calc(100vw - 40px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(15, 17, 16, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.site-header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand__mark {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  flex: none;
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.brand__text {
  display: grid;
  gap: 2px;
}

.brand__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand__name {
  font-size: 1.02rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.94rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav a {
  color: var(--muted);
  transition: color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.menu-toggle span {
  width: 16px;
  height: 2px;
  background: currentColor;
  position: relative;
  display: inline-block;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
}

.menu-toggle span::before {
  top: -5px;
}

.menu-toggle span::after {
  top: 5px;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: stretch;
  overflow: clip;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 9, 9, 0.62) 0%, rgba(8, 9, 9, 0.46) 36%, rgba(8, 9, 9, 0.08) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.22)),
    var(--hero-image) center 42% / cover no-repeat;
  filter: brightness(1.08) saturate(1.05);
  transform: scale(1.03);
}

.hero--home .hero__backdrop {
  background:
    linear-gradient(90deg, rgba(8, 9, 9, 0.64) 0%, rgba(8, 9, 9, 0.42) 30%, rgba(8, 9, 9, 0.08) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.22)),
    var(--hero-image) 28% 42% / cover no-repeat;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  min-height: calc(100svh - var(--header-h));
  padding: clamp(32px, 5vw, 72px) 0;
}

.hero--home .hero__content {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
}

.hero--solo .hero__content {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
}

.hero--contact {
  min-height: auto;
  background:
    radial-gradient(circle at 82% 22%, rgba(199, 160, 106, 0.16), transparent 26%),
    radial-gradient(circle at 18% 100%, rgba(123, 140, 111, 0.18), transparent 32%),
    linear-gradient(135deg, #111513 0%, #171a18 54%, #0c0e0d 100%);
}

.hero--contact .hero__backdrop {
  background:
    linear-gradient(90deg, rgba(8, 9, 9, 0.78) 0%, rgba(8, 9, 9, 0.42) 54%, rgba(8, 9, 9, 0.62) 100%),
    radial-gradient(circle at 70% 42%, rgba(199, 160, 106, 0.12), transparent 24%);
  filter: none;
  transform: none;
}

.hero--contact .hero__content {
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.74fr);
  min-height: min(760px, calc(100svh - var(--header-h)));
}

.hero--contact .hero__copy {
  max-width: 620px;
}

.hero--contact h1 {
  max-width: 12.5ch;
}

.hero--contact .hero__lede {
  max-width: 34rem;
}

.hero--contact .hero__visual {
  min-height: auto;
  justify-content: flex-end;
}

.hero--contact .hero__float {
  width: min(100%, 430px);
  border-radius: 30px;
  transform: none;
}

.hero--contact .hero__float img {
  aspect-ratio: 4 / 5;
  object-position: center 55%;
}

.hero__copy {
  max-width: 720px;
  padding: 0 0 24px;
}

.hero--home .hero__copy {
  max-width: 540px;
}

.hero--home [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
}

.hero--home.is-loaded [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--brass);
  opacity: 0.7;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3rem, 6.2vw, 5.8rem);
  max-width: 13.5ch;
  text-wrap: balance;
}

.hero--home h1 {
  max-width: 9.8ch;
}

.hero__title-line {
  display: inline;
}

.hero__lede {
  margin-top: 1.4rem;
  max-width: 32rem;
  font-size: clamp(1.05rem, 1.45vw, 1.32rem);
  line-height: 1.72;
  color: rgba(243, 236, 226, 0.88);
}

.hero--home .hero__lede {
  max-width: 28rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
  will-change: transform;
}

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

.button--solid {
  background: var(--paper);
  color: #111;
  border-color: var(--paper);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.04);
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 2.25rem;
  max-width: 40rem;
}

.meta-item {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.meta-item strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.meta-item span {
  display: block;
  margin-top: 6px;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}

.hero__visual {
  position: relative;
  align-self: stretch;
  min-height: 70svh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__float {
  width: min(100%, 560px);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  transform: translateY(8px);
}

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

/* Sections */
.section {
  padding: clamp(60px, 8vw, 110px) 0;
}

.section--gallery {
  padding-bottom: clamp(120px, 14vw, 200px);
}

.section--story {
  padding-top: clamp(120px, 14vw, 200px);
}

.section--quote {
  padding-top: clamp(96px, 11vw, 160px);
}

.section--contact {
  padding-top: clamp(96px, 11vw, 160px);
}

.section--tight {
  padding-top: clamp(40px, 5vw, 72px);
}

.section + .section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(20px, 3vw, 34px);
}

.section-heading h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.section-heading p {
  max-width: 58rem;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
}

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

.feature {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.feature h3 {
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.feature p {
  color: var(--muted);
  line-height: 1.7;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.gallery-item {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: start;
  margin: 0;
  position: relative;
  min-width: 0;
}

.gallery-item.wide {
  grid-column: span 8;
}

.gallery-item.tall {
  grid-column: span 4;
}

.gallery-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow);
  transition: transform 220ms ease, filter 220ms ease;
}

.gallery-item:hover img {
  transform: scale(1.02);
}

.gallery-item figcaption {
  padding: 0 4px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.gallery-item figcaption strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.quote {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.quote span {
  color: var(--muted);
  display: block;
  margin-top: 12px;
  font-size: 1rem;
  font-family: "Iowan Old Style", Georgia, serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Story and clients */
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
}

.story-grid .section-heading {
  margin-bottom: 18px;
}

.story-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.story-list div {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  line-height: 1.6;
}

.story-image {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.clients-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}

.clients-block {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.clients-list {
  columns: 2;
  column-gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.clients-list li {
  break-inside: avoid;
  padding: 0 0 12px;
  color: var(--muted);
  line-height: 1.5;
}

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

/* Details and contact */
.details-list {
  display: grid;
  gap: 14px;
}

.detail-row {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.detail-row dt {
  color: var(--paper);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  margin-bottom: 4px;
}

.detail-row dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}

.callouts {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.callout {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.callout strong {
  display: block;
  margin-bottom: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.callout p {
  color: var(--muted);
  line-height: 1.7;
}

.contact-card {
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(247, 240, 229, 0.08), rgba(247, 240, 229, 0.03));
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

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

.contact-card__body {
  padding: clamp(18px, 3vw, 28px);
}

.contact-card__body h3 {
  font-size: clamp(1.7rem, 2.8vw, 2.7rem);
  margin-bottom: 10px;
}

.contact-card__body p {
  color: var(--muted);
  line-height: 1.7;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.site-footer {
  padding: 28px 0 54px;
  color: rgba(236, 229, 219, 0.56);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

/* Reveal motion */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

.hero [data-reveal] {
  transition-delay: 60ms;
}

.hero [data-reveal="2"] {
  transition-delay: 160ms;
}

.hero [data-reveal="3"] {
  transition-delay: 260ms;
}

/* Responsive */
@media (max-width: 1100px) {
  .hero__content,
  .story-grid,
  .clients-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 48svh;
  }

  .hero--contact .hero__content {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero--contact .hero__visual {
    min-height: auto;
    justify-content: flex-start;
  }

  .hero--contact .hero__float {
    width: min(100%, 520px);
  }

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

  .gallery-item,
  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: span 6;
  }

  .clients-list {
    columns: 1;
  }
}

@media (max-width: 780px) {
  :root {
    --header-h: 70px;
  }

  .site-header__inner {
    gap: 14px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .brand__mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .brand {
    gap: 12px;
  }

  .brand__text {
    gap: 1px;
  }

  .brand__eyebrow {
    font-size: 0.58rem;
    letter-spacing: 0.2em;
    line-height: 1.15;
  }

  .brand__name {
    font-size: 0.78rem;
    line-height: 1.08;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: grid;
    gap: 0;
    padding: 14px 20px 20px;
    background: rgba(15, 17, 16, 0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-120%);
    transition: transform 220ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .menu-toggle {
    display: inline-flex;
  }

  h1 {
    font-size: 2.2rem;
  }

  .hero__content {
    padding-top: 18px;
  }

  .hero--home .hero__content {
    grid-template-columns: 1fr;
  }

  .hero--home .hero__copy {
    max-width: min(100%, 22rem);
  }

  .hero--home h1 {
    max-width: 100%;
    line-height: 1.06;
  }

  .hero__title-line {
    display: block;
    white-space: nowrap;
  }

  .hero--home .hero__lede {
    max-width: 17rem;
  }

  .hero--home .hero__actions {
    display: grid;
    justify-items: start;
    max-width: 17rem;
    margin-top: 1.35rem;
  }

  .hero--home .hero__backdrop {
    background:
      linear-gradient(90deg, rgba(8, 9, 9, 0.76) 0%, rgba(8, 9, 9, 0.5) 54%, rgba(8, 9, 9, 0.12) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.24)),
      var(--hero-mobile-image) 36% 0% / cover no-repeat;
  }

  .hero--contact .hero__content {
    min-height: auto;
    padding-top: 42px;
    padding-bottom: 54px;
  }

  .hero--contact h1 {
    max-width: 10.8ch;
    font-size: clamp(2.75rem, 12vw, 4rem);
    line-height: 0.98;
  }

  .hero--contact .hero__lede {
    max-width: 19.5rem;
    line-height: 1.62;
  }

  .hero--contact .hero__actions {
    display: grid;
    justify-items: start;
  }

  .hero--contact .hero__float {
    width: min(100%, 420px);
    margin-top: 8px;
    border-radius: 26px;
  }

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

  .section-heading p,
  .hero__lede {
    font-size: 1rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section--gallery {
    padding-bottom: clamp(96px, 14vw, 140px);
  }

  .section--story {
    padding-top: clamp(96px, 14vw, 140px);
  }

  .section--quote,
  .section--contact {
    padding-top: clamp(72px, 12vw, 110px);
  }

  .gallery-item,
  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: span 1;
  }

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

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

  [data-reveal],
  .button,
  .gallery-item img,
  .site-nav {
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
