:root {
  --bg: #f6f1e8;
  --bg-deep: #efe5d6;
  --surface: rgba(255, 251, 245, 0.78);
  --surface-strong: #fffaf3;
  --ink: #171717;
  --ink-soft: #575349;
  --ink-muted: #7b756a;
  --accent: #bc5b36;
  --accent-deep: #8e4528;
  --sage: #6c7c6b;
  --line: rgba(23, 23, 23, 0.12);
  --line-strong: rgba(23, 23, 23, 0.18);
  --shadow: 0 20px 45px rgba(39, 28, 15, 0.08);
  --radius: 24px;
  --radius-sm: 18px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(108, 124, 107, 0.16), transparent 30%),
    radial-gradient(circle at 82% 10%, rgba(188, 91, 54, 0.16), transparent 26%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  min-height: 100vh;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(23, 23, 23, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 23, 23, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 80%);
}

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 1;
}

h1,
h2,
h3,
h4 {
  font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
  line-height: 0.98;
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

h3 {
  font-size: clamp(1.15rem, 1.9vw, 1.55rem);
}

p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

a {
  color: inherit;
}

a:hover {
  color: var(--accent-deep);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

iframe {
  width: 100%;
  border: 0;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section-gap {
  padding-block: clamp(3rem, 5vw, 5rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(246, 241, 232, 0.72);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--ink), #32312d);
  color: #fff;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.brand-text {
  font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.menu-toggle {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.92);
  padding: 0.55rem 0.95rem;
  font: inherit;
  display: none;
}

.menu-list,
.footer-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.35rem;
}

.menu-list a,
.footer-menu a {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink-soft);
}

.menu-list a:hover,
.footer-menu a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  overflow: clip;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.75;
}

.hero::before {
  inset: 6% auto auto -5%;
  width: 18rem;
  height: 18rem;
  background: rgba(108, 124, 107, 0.14);
}

.hero::after {
  inset: auto -8% 8% auto;
  width: 22rem;
  height: 22rem;
  background: rgba(188, 91, 54, 0.12);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr);
  gap: 1.35rem;
  align-items: start;
  padding-block: clamp(3.5rem, 6vw, 6.5rem);
}

.hero-copy {
  padding-top: 1.4rem;
}

.hero-home-grid {
  min-height: min(52rem, calc(100vh - 82px));
}

.eyebrow,
.panel-label,
.meta,
.stat-card span {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
}

.eyebrow,
.panel-label {
  color: var(--sage);
}

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  max-width: 52ch;
  color: var(--ink-soft);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.stat-card,
.hero-panel,
.card,
.panel,
.cta-band,
.split-band {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 1rem 1.05rem;
  backdrop-filter: blur(16px);
}

.stat-card strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  letter-spacing: -0.04em;
}

.stat-card span {
  color: var(--ink-muted);
}

.hero-stack {
  display: grid;
  gap: 1rem;
}

.hero-panel,
.panel,
.cta-band {
  padding: 1.4rem;
  backdrop-filter: blur(16px);
}

.studio-note {
  background: linear-gradient(180deg, rgba(255, 250, 243, 0.92), rgba(244, 237, 227, 0.88));
}

.compact-panel p:last-child,
.hero-panel p:last-child,
.panel p:last-child {
  margin-bottom: 0;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.3rem;
}

.btn {
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  padding: 0.8rem 1.2rem;
  transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  color: #fff;
  background: #2a2825;
}

.btn-secondary,
.btn-tertiary {
  border: 1px solid var(--line-strong);
  background: rgba(255, 250, 243, 0.9);
}

.btn-tertiary {
  color: var(--accent-deep);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.section-head a {
  color: var(--ink-soft);
  text-decoration: none;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  gap: 1.2rem;
  padding: 1.4rem;
}

.info-panel {
  margin-top: 0;
  background: rgba(255, 250, 243, 0.9);
}

.feature-list,
.link-list {
  margin: 0;
  padding-left: 1.1rem;
}

.feature-list li,
.link-list li {
  margin-bottom: 0.65rem;
  color: var(--ink-soft);
}

.feature-list li:last-child,
.link-list li:last-child {
  margin-bottom: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(23, 23, 23, 0.22);
}

.card-link-wrap {
  display: block;
  text-decoration: none;
  height: 100%;
}

.card-media {
  padding: 0.45rem 0.45rem 0;
}

.card-media img,
.gallery-grid img,
.single-cover img {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  object-fit: cover;
}

.card-media img {
  aspect-ratio: 16 / 10;
}

.card-body {
  padding: 1.1rem 1.15rem 1.2rem;
}

.meta {
  margin-bottom: 0.55rem;
  color: var(--ink-muted);
}

.page-title,
.single-layout article {
  max-width: 820px;
}

.single-cover {
  margin-block: 1.2rem 1.35rem;
}

.single-content > * + * {
  margin-top: 1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.gallery-grid figure {
  margin: 0;
}

.gallery-grid img {
  aspect-ratio: 4 / 3;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cta-band h2 {
  max-width: 16ch;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.7);
  backdrop-filter: blur(18px);
}

.footer-grid {
  padding-block: 2.4rem 1.5rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
}

.footer-menu {
  flex-direction: column;
  gap: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 0.9rem 1.2rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .split-band,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-home-grid {
    min-height: auto;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .section-head,
  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-band h2,
  h1 {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 81px;
    padding: 0.8rem 1rem 1rem;
    background: rgba(246, 241, 232, 0.97);
    border-bottom: 1px solid var(--line);
    display: none;
  }

  .primary-nav.open {
    display: block;
  }

  .menu-list {
    flex-direction: column;
    gap: 0.85rem;
  }

  .card-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .panel,
  .split-band,
  .cta-band,
  .stat-card {
    padding: 1.05rem;
  }
}
