:root {
  --bg: #0e0d0b;
  --bg-soft: #151311;
  --bg-panel: #191714;
  --bg-panel-2: #201d19;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.06);
  --line: rgba(228, 205, 168, 0.14);
  --line-soft: rgba(255, 255, 255, 0.08);
  --ink: #f5efe5;
  --ink-soft: #c3b7a4;
  --ink-muted: #958878;
  --brass: #d7ac72;
  --brass-deep: #b88b54;
  --shadow-lg: 0 36px 100px rgba(0, 0, 0, 0.44);
  --shadow-md: 0 18px 42px rgba(0, 0, 0, 0.28);
  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max-width: 1240px;
  --heading-font: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --body-font: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(215, 172, 114, 0.08), transparent 20%),
    radial-gradient(circle at right center, rgba(215, 172, 114, 0.05), transparent 24%),
    linear-gradient(180deg, #0b0908 0%, #11100e 26%, #100f0d 100%);
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(transparent 0 97%, rgba(255, 255, 255, 0.02) 100%),
    linear-gradient(90deg, transparent 0 97%, rgba(255, 255, 255, 0.02) 100%);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black 25%, transparent 82%);
  opacity: 0.4;
}

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

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

main,
header,
footer,
section {
  position: relative;
  z-index: 1;
}

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.section-space {
  padding: 6rem 0;
}

.section-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--brass);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

p {
  margin: 0;
  color: var(--ink-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 1.05rem 0;
  background: rgba(11, 10, 8, 0.78);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.brand-mark {
  font-family: var(--heading-font);
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.brand-sub {
  margin-top: 0.42rem;
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.4rem;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--body-font);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

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

.button-primary {
  color: #100d0a;
  background: linear-gradient(135deg, #ebc489 0%, #c89961 100%);
  border-color: rgba(215, 172, 114, 0.55);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: linear-gradient(135deg, #f2cf98 0%, #d5a56f 100%);
}

.button-outline {
  color: var(--ink);
  border-color: rgba(215, 172, 114, 0.45);
  background: rgba(255, 255, 255, 0.02);
}

.button-outline:hover,
.button-outline:focus-visible {
  border-color: rgba(215, 172, 114, 0.82);
  background: rgba(255, 255, 255, 0.04);
}

.hero {
  padding: 1.4rem 0 4.5rem;
}

.hero-shell {
  position: relative;
  min-height: 44rem;
  border: 1px solid rgba(215, 172, 114, 0.12);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #0f0d0b;
}

.hero-shell img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 10, 8, 0.84) 0%, rgba(12, 10, 8, 0.64) 34%, rgba(12, 10, 8, 0.22) 66%, rgba(12, 10, 8, 0.1) 100%),
    radial-gradient(circle at left center, rgba(215, 172, 114, 0.12), transparent 32%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 41rem;
  padding: 5rem 4rem 4rem;
}

.hero-copy h1 {
  font-size: clamp(3.2rem, 7vw, 6.25rem);
  max-width: 10ch;
}

.hero-copy h1 span {
  color: var(--brass);
}

.hero-copy p {
  margin: 1.55rem 0 1.9rem;
  max-width: 32rem;
  font-size: 1.14rem;
  color: #ddd3c5;
}

.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 2.1rem;
  color: var(--ink-muted);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-scroll::after {
  content: "";
  width: 1px;
  height: 2.6rem;
  background: linear-gradient(180deg, rgba(215, 172, 114, 0.9), transparent);
}

.services-shell,
.projects-shell,
.quote-shell,
.split-shell,
.journal-shell,
.page-banner,
.legal-card,
.contact-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(24, 21, 18, 0.96), rgba(17, 15, 13, 0.96));
  box-shadow: var(--shadow-md);
}

.services-shell,
.projects-shell,
.quote-shell,
.split-shell,
.journal-shell {
  padding: 2rem;
}

.section-top h2,
.page-head h1,
.legal-card h1,
.contact-card h1 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.section-top p {
  max-width: 28rem;
}

.services-grid,
.projects-grid,
.journal-grid,
.info-grid,
.value-grid,
.contact-grid,
.legal-links,
.page-grid {
  display: grid;
  gap: 1.2rem;
}

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

.service-card,
.project-card,
.journal-card,
.info-card,
.value-card,
.contact-card,
.legal-link-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  transition: transform 180ms ease, border-color 180ms ease;
}

.service-card:hover,
.project-card:hover,
.journal-card:hover,
.legal-link-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 172, 114, 0.3);
}

.service-card img,
.project-card img,
.journal-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-copy,
.project-copy,
.journal-copy,
.info-card,
.value-card,
.legal-link-card,
.contact-card {
  padding: 1.35rem;
}

.service-icon {
  width: 2.35rem;
  height: 2.35rem;
  margin-bottom: 0.95rem;
  color: var(--brass);
}

.service-copy h3,
.project-copy h3,
.journal-copy h3,
.value-card h3,
.contact-card h2,
.legal-link-card h3 {
  font-size: 1.7rem;
}

.service-copy p,
.project-copy p,
.journal-copy p,
.value-card p,
.contact-card p,
.legal-link-card p,
.info-card p {
  margin-top: 0.55rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  color: var(--brass);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.link-arrow::after {
  content: "\2192";
}

.projects-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.project-meta {
  margin-top: 0.35rem;
  color: var(--ink-muted);
  font-size: 0.93rem;
}

.quote-shell {
  background:
    radial-gradient(circle at top left, rgba(215, 172, 114, 0.08), transparent 22%),
    linear-gradient(180deg, #171411 0%, #14110f 100%);
}

.quote-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.quote-copy blockquote {
  margin: 0;
  color: var(--ink);
  font-family: var(--heading-font);
  font-size: clamp(2rem, 3.6vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.quote-copy cite {
  display: block;
  margin-top: 1rem;
  color: var(--brass);
  font-style: normal;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.value-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.value-card {
  min-height: 100%;
}

.value-icon {
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 0.8rem;
  color: var(--brass);
}

.split-shell {
  padding: 0;
  overflow: hidden;
}

.split-grid {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
}

.split-grid img {
  height: 100%;
  min-height: 24rem;
  object-fit: cover;
}

.split-copy {
  padding: 2.4rem 2.1rem;
}

.split-copy h2 {
  font-size: clamp(2.1rem, 4vw, 3.7rem);
}

.split-copy p {
  margin-top: 1rem;
}

.detail-list,
.legal-list,
.contact-list {
  margin: 1.2rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.detail-list li,
.legal-list li,
.contact-list li {
  margin-bottom: 0.6rem;
}

.page-banner {
  overflow: hidden;
}

.page-grid {
  grid-template-columns: 1.05fr 0.95fr;
}

.page-head {
  padding: 2.2rem;
}

.page-head p {
  margin-top: 1rem;
  max-width: 34rem;
}

.page-grid img {
  height: 100%;
  min-height: 24rem;
  object-fit: cover;
}

.journal-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-text {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 1.4rem;
}

.info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.025);
}

.info-card strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--ink);
  font-size: 1.1rem;
}

.legal-links {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.legal-link-card h3 {
  font-size: 1.35rem;
}

.cookie-center-zone {
  padding: 1rem 0 0;
}

#cookie-script-anchor {
  width: min(100%, 900px);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

#cookie-script-anchor:not(:empty) {
  min-height: 190px;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(215, 172, 114, 0.18);
}

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

.contact-card {
  border-radius: var(--radius-xl);
}

.legal-shell {
  padding: 1.5rem 0 4rem;
}

.legal-card {
  padding: 2.25rem;
}

.legal-card h2 {
  margin-top: 2rem;
  font-size: 1.95rem;
}

.legal-card h3 {
  margin: 1.25rem 0 0.45rem;
  font-size: 1.1rem;
  font-family: var(--body-font);
  letter-spacing: 0;
}

.legal-card p + p {
  margin-top: 0.9rem;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  margin-top: 0.85rem;
  color: var(--ink-muted);
  font-size: 0.94rem;
}

.footer-shell {
  margin-top: 4.5rem;
  padding: 3rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at bottom right, rgba(215, 172, 114, 0.08), transparent 24%),
    linear-gradient(180deg, #100e0c 0%, #0b0a09 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr 0.9fr;
  gap: 1.5rem;
}

.footer-card h3 {
  margin: 0 0 1rem;
  color: var(--brass);
  font-size: 0.86rem;
  font-family: var(--body-font);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.footer-card li,
.footer-card p {
  color: var(--ink-soft);
}

.footer-brand-copy {
  margin-top: 1rem;
  max-width: 18rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 1120px) {
  .services-grid,
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journal-grid,
  .info-grid,
  .legal-links,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .site-header {
    position: static;
  }

  .nav-row {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 0.85rem 1rem;
  }

  .hero-shell {
    min-height: 38rem;
  }

  .hero-copy {
    padding: 3.2rem 1.5rem 2.4rem;
    max-width: none;
  }

  .hero-copy h1 {
    font-size: clamp(2.6rem, 12vw, 4rem);
    max-width: 8ch;
  }

  .hero-copy p {
    font-size: 1rem;
    max-width: 18rem;
  }

  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  button {
    width: 100%;
  }

  .section-space {
    padding: 4.3rem 0;
  }

  .section-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-shell,
  .projects-shell,
  .quote-shell,
  .split-shell,
  .journal-shell,
  .page-head,
  .legal-card {
    padding: 1.4rem;
  }

  .split-copy {
    padding: 1.6rem;
  }

  .services-grid,
  .projects-grid,
  .journal-grid,
  .info-grid,
  .value-grid,
  .legal-links,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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