/* palette: bg=#EAD9B8 fg=#1F2D1F accent=#3F6B4E */
/* fonts: display="PT Serif" body="Karla" mono="Space Mono" */

:root {
  --bg: #EAD9B8;
  --bg-alt: #DBC598;
  --bg-deep: #1F2D1F;
  --fg: #1F2D1F;
  --fg-soft: #3A4937;
  --muted: #7C6E54;
  --accent: #3F6B4E;
  --accent-deep: #2A4934;
  --terracotta: #C8643A;
  --border: rgba(31, 45, 31, 0.16);
  --border-soft: rgba(31, 45, 31, 0.08);
  --serif: 'PT Serif', ui-serif, Georgia, serif;
  --sans: 'Karla', ui-sans-serif, -apple-system, system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, 'SF Mono', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: 'kern', 'liga', 'ss01';
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--accent); color: var(--bg); }

/* ───────────────── reusable bits ───────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .container { padding: 0 40px; } }
@media (min-width: 1100px) { .container { padding: 0 56px; } }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

.section {
  padding: clamp(80px, 12vw, 160px) 0;
  position: relative;
}
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-deep); color: #DCC8A0; }
.section--dark .eyebrow { color: var(--terracotta); }

.section__head {
  display: grid;
  gap: 24px;
  margin-bottom: clamp(48px, 7vw, 88px);
  max-width: 920px;
}
@media (min-width: 900px) {
  .section__head { grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: end; }
}

.section__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
}
.section__title em {
  font-style: italic;
  color: var(--accent);
}
.section--dark .section__title em { color: var(--terracotta); }

.section__lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.65;
  color: var(--fg-soft);
  max-width: 56ch;
  margin: 0;
}
.section--dark .section__lead { color: #C5B998; }

/* ───────────────── reveal ───────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ───────────────── header ───────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(234, 217, 184, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow 0.4s var(--ease), padding 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.header[data-scrolled="true"] {
  box-shadow: 0 1px 0 rgba(31, 45, 31, 0.08), 0 16px 40px -28px rgba(31, 45, 31, 0.18);
  padding: 12px 0;
  border-bottom-color: var(--border-soft);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
  flex: 0 0 36px;
  box-shadow: inset 0 -10px 14px rgba(0,0,0,0.18), inset 0 6px 8px rgba(255,255,255,0.12);
}
.brand__mark::after {
  content: '';
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: var(--terracotta);
  box-shadow: inset 0 -3px 4px rgba(0,0,0,0.2);
}
.brand__name { font-weight: 400; }
.brand__name strong { font-weight: 700; }

.nav {
  display: none;
}
@media (min-width: 900px) {
  .nav {
    display: flex;
    gap: 36px;
    align-items: center;
  }
}
.nav a {
  font-size: 14px;
  letter-spacing: 0.01em;
  position: relative;
  padding: 6px 0;
  color: var(--fg-soft);
  transition: color 0.25s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.nav a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--accent);
}

.header__cta {
  display: none;
}
@media (min-width: 900px) {
  .header__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 22px;
    border: 1px solid var(--fg);
    border-radius: 9999px;
    font-size: 13px;
    letter-spacing: 0.04em;
    transition: background 0.25s var(--ease), color 0.25s var(--ease);
  }
  .header__cta:hover { background: var(--fg); color: var(--bg); }
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
  margin-right: -12px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--fg);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (min-width: 900px) { .menu-toggle { display: none; } }

.mobile-menu {
  position: fixed;
  inset: 76px 0 0 0;
  background: var(--bg);
  z-index: 90;
  padding: 48px 32px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.mobile-menu[data-open="true"] {
  opacity: 1;
  transform: none;
  pointer-events: all;
}
.mobile-menu a {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.mobile-menu .mobile-menu__cta {
  margin-top: 24px;
  padding: 16px 28px;
  border: 1px solid var(--fg);
  border-radius: 9999px;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.04em;
  align-self: flex-start;
}
@media (min-width: 900px) { .mobile-menu { display: none; } }

/* ───────────────── hero ───────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  padding-bottom: clamp(56px, 8vw, 96px);
  padding-top: 64px;
  overflow: hidden;
  background: var(--bg);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 12s var(--ease) forwards;
  filter: saturate(0.92) brightness(0.86);
}
@keyframes heroZoom {
  from { transform: scale(1.12); }
  to   { transform: scale(1); }
}
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(31,45,31,0.05) 0%, rgba(31,45,31,0.55) 100%),
    linear-gradient(75deg, rgba(31,45,31,0.45) 0%, rgba(31,45,31,0.05) 60%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  color: #F2E5C8;
}
.hero .eyebrow { color: #E5C48F; }

.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 8.5rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  margin: 24px 0 32px;
  max-width: 17ch;
}
.hero__title em {
  font-style: italic;
  color: #E89C66;
}
.hero__sub {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  line-height: 1.55;
  max-width: 50ch;
  margin: 0 0 40px;
  color: rgba(242, 229, 200, 0.86);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 9999px;
  font-size: 14px;
  letter-spacing: 0.03em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  border: 1px solid transparent;
}
.btn--primary {
  background: var(--terracotta);
  color: #FBEFD8;
}
.btn--primary:hover {
  background: #B05330;
  transform: translateY(-2px);
}
.btn--ghost {
  border-color: rgba(242, 229, 200, 0.5);
  color: #F2E5C8;
}
.btn--ghost:hover {
  border-color: #F2E5C8;
  background: rgba(242, 229, 200, 0.08);
}
.btn--solid {
  background: var(--fg);
  color: var(--bg);
}
.btn--solid:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
}
.btn--outline {
  border-color: var(--fg);
}
.btn--outline:hover {
  background: var(--fg);
  color: var(--bg);
}
.btn .arrow { display: inline-block; transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.hero__meta {
  margin-top: clamp(60px, 8vw, 110px);
  display: grid;
  gap: 16px;
  border-top: 1px solid rgba(242, 229, 200, 0.22);
  padding-top: 24px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(242, 229, 200, 0.72);
}
@media (min-width: 700px) {
  .hero__meta {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}
.hero__meta div span {
  display: block;
  color: #E89C66;
  margin-bottom: 4px;
}

/* ───────────────── services grid ───────────────── */
.services-grid {
  display: grid;
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 720px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  background: var(--bg);
  padding: 40px 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background 0.35s var(--ease);
  position: relative;
  min-height: 360px;
}
.service-card:hover { background: var(--bg-alt); }
.service-card__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.service-card__icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 12px;
}
.service-card__icon svg { width: 100%; height: 100%; }
.service-card h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 400;
  margin: 0;
}
.service-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-soft);
  margin: 0;
}
.service-card__tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 16px;
}
.service-card__tags span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 9999px;
}

/* ───────────────── manifesto ───────────────── */
.manifesto {
  text-align: center;
}
.manifesto__quote {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4.4vw, 3.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 400;
  font-style: italic;
  max-width: 22ch;
  margin: 0 auto;
  color: #F2E5C8;
}
.manifesto__quote span { color: var(--terracotta); font-style: italic; }
.manifesto__mark {
  font-family: var(--serif);
  font-size: 6rem;
  line-height: 1;
  color: var(--terracotta);
  opacity: 0.4;
  margin-bottom: -24px;
}
.manifesto__attribution {
  margin-top: 40px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242, 229, 200, 0.6);
}

/* ───────────────── selected work ───────────────── */
.work-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.work-item {
  display: grid;
  gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  transition: padding 0.35s var(--ease);
  align-items: center;
}
@media (min-width: 900px) {
  .work-item {
    grid-template-columns: 0.4fr 1fr 1.5fr 0.5fr;
    gap: 48px;
    padding: 44px 0;
  }
}
.work-item:hover {
  padding-left: 16px;
}
.work-item__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.work-item__title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-weight: 400;
  margin: 0;
}
.work-item__desc {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--fg-soft);
  margin: 0;
}
.work-item__meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: right;
}
.work-feature {
  margin-top: 64px;
  display: grid;
  gap: 32px;
}
@media (min-width: 900px) {
  .work-feature {
    grid-template-columns: 1.3fr 1fr;
    gap: 56px;
    align-items: end;
  }
}
.work-feature__media {
  aspect-ratio: 16/11;
  overflow: hidden;
  background: var(--bg-alt);
  border-radius: 4px;
}
.work-feature__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.work-feature__media:hover img { transform: scale(1.04); }
.work-feature__caption .eyebrow { margin-bottom: 14px; }
.work-feature__caption h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
}
.work-feature__caption p {
  margin: 0 0 24px;
  color: var(--fg-soft);
}

/* ───────────────── process ───────────────── */
.process-grid {
  display: grid;
  gap: 1px;
  background: var(--border);
}
@media (min-width: 900px) { .process-grid { grid-template-columns: repeat(3, 1fr); } }
.process-step {
  background: var(--bg-alt);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 380px;
}
.process-step__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 4rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 16px;
}
.process-step h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 400;
  margin: 0;
}
.process-step p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--fg-soft);
  margin: 0;
}
.process-step__time {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ───────────────── team ───────────────── */
.team-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 720px) { .team-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

.team-card {
  display: flex;
  flex-direction: column;
}
.team-card__photo {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-alt);
  margin-bottom: 24px;
  border-radius: 2px;
}
.team-card__photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.85);
  transition: transform 1s var(--ease), filter 0.6s var(--ease);
}
.team-card:hover .team-card__photo img { transform: scale(1.04); filter: saturate(1); }
.team-card h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 400;
  margin: 0 0 4px;
}
.team-card__role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.team-card__bio {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--fg-soft);
  margin: 0;
}

/* ───────────────── CTA / form ───────────────── */
.cta {
  background: var(--bg-deep);
  color: #F2E5C8;
}
.cta .container {
  display: grid;
  gap: 56px;
}
@media (min-width: 980px) { .cta .container { grid-template-columns: 1fr 1.1fr; gap: 96px; } }

.cta__intro h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 24px 0 28px;
}
.cta__intro h2 em { color: var(--terracotta); font-style: italic; }
.cta__intro p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(242, 229, 200, 0.78);
  max-width: 42ch;
  margin: 0 0 36px;
}
.cta__intro .eyebrow { color: var(--terracotta); }
.cta__contacts {
  display: grid;
  gap: 18px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  border-top: 1px solid rgba(242, 229, 200, 0.18);
  padding-top: 28px;
  color: rgba(242, 229, 200, 0.85);
}
.cta__contacts strong {
  display: block;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 4px;
  font-size: 10.5px;
}

.form {
  display: grid;
  gap: 22px;
}
.form__row {
  display: grid;
  gap: 22px;
}
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form__field label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242, 229, 200, 0.6);
}
.form__field input,
.form__field select,
.form__field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(242, 229, 200, 0.28);
  padding: 12px 0 14px;
  font-family: var(--sans);
  font-size: 16px;
  color: #F2E5C8;
  outline: none;
  transition: border-color 0.25s var(--ease);
  border-radius: 0;
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  border-bottom-color: var(--terracotta);
}
.form__field textarea {
  resize: vertical;
  min-height: 120px;
}
.form__field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, rgba(242,229,200,0.6) 50%), linear-gradient(135deg, rgba(242,229,200,0.6) 50%, transparent 50%);
  background-position: calc(100% - 16px) center, calc(100% - 11px) center;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 30px;
}
.form__field select option { color: var(--fg); background: var(--bg); }
.form__field input::placeholder, .form__field textarea::placeholder {
  color: rgba(242, 229, 200, 0.4);
}
.form__submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: start;
  padding: 16px 32px;
  background: var(--terracotta);
  color: #FBEFD8;
  border-radius: 9999px;
  font-size: 14px;
  letter-spacing: 0.04em;
  margin-top: 12px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.form__submit:hover { background: #A85230; transform: translateY(-2px); }
.form__legal {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(242, 229, 200, 0.55);
  margin: 12px 0 0;
}
.form__legal a { color: var(--terracotta); border-bottom: 1px solid rgba(200,100,58,0.4); }

/* ───────────────── footer ───────────────── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 80px 0 48px;
}
.footer__top {
  display: grid;
  gap: 56px;
  margin-bottom: 64px;
}
@media (min-width: 900px) {
  .footer__top { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; }
}
.footer__brand .brand { margin-bottom: 24px; }
.footer__brand p {
  max-width: 36ch;
  font-size: 14px;
  line-height: 1.7;
  color: var(--fg-soft);
  margin: 0 0 28px;
}
.footer__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
}
.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 11px;
  font-size: 14px;
  color: var(--fg-soft);
}
.footer__col a:hover { color: var(--fg); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: grid;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
@media (min-width: 800px) {
  .footer__bottom {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}
.footer__bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.footer__bottom-links a:hover { color: var(--fg); }

/* ───────────────── interior page hero ───────────────── */
.page-hero {
  padding: clamp(120px, 16vw, 200px) 0 clamp(60px, 8vw, 100px);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.page-hero__grid {
  display: grid;
  gap: 32px;
  align-items: end;
}
@media (min-width: 900px) {
  .page-hero__grid { grid-template-columns: 1.2fr 1fr; gap: 80px; }
}
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 7.5vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 24px 0 0;
  max-width: 14ch;
}
.page-hero h1 em { color: var(--accent); font-style: italic; }
.page-hero__lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--fg-soft);
  max-width: 50ch;
  margin: 0;
}

/* ───────────────── about specifics ───────────────── */
.about-portrait {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 4px;
}
.about-portrait img {
  width: 100%; height: 100%; object-fit: cover;
}
.about-grid {
  display: grid;
  gap: 64px;
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 96px; align-items: start; }
}
.about-text p {
  font-size: 17px;
  line-height: 1.75;
  margin: 0 0 22px;
  color: var(--fg-soft);
}
.about-text p:first-child::first-letter {
  font-family: var(--serif);
  font-size: 4.5rem;
  line-height: 0.85;
  float: left;
  margin: 6px 12px 0 -2px;
  color: var(--accent);
  font-style: italic;
}

.facts {
  display: grid;
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 700px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts__item {
  background: var(--bg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.facts__num {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent);
  font-weight: 400;
}
.facts__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}
.facts__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-soft);
}

.values {
  display: grid;
  gap: 32px;
}
@media (min-width: 900px) { .values { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.value {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}
.value__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.value h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
}
.value p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-soft);
  margin: 0;
}

/* ───────────────── services page specifics ───────────────── */
.service-detail {
  display: grid;
  gap: 40px;
  padding: clamp(56px, 8vw, 100px) 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
@media (min-width: 900px) {
  .service-detail { grid-template-columns: 0.8fr 1.6fr 1fr; gap: 64px; }
}
.service-detail__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  line-height: 1;
  color: var(--accent);
  font-weight: 400;
}
.service-detail h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 20px;
}
.service-detail p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-soft);
  margin: 0 0 16px;
}
.service-detail__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.service-detail__list li {
  font-size: 14px;
  line-height: 1.55;
  padding-left: 22px;
  position: relative;
  color: var(--fg-soft);
}
.service-detail__list li::before {
  content: '◆';
  position: absolute;
  left: 0; top: 1px;
  color: var(--terracotta);
  font-size: 10px;
}
.service-detail__meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

/* ───────────────── contact page specifics ───────────────── */
.contact-grid {
  display: grid;
  gap: 56px;
}
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 96px; } }
.contact-info {
  display: grid;
  gap: 28px;
}
.contact-info__block {
  border-top: 1px solid var(--border);
  padding-top: 22px;
}
.contact-info__block h3 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
  font-weight: 400;
}
.contact-info__block p {
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1.3;
  margin: 0;
  letter-spacing: -0.005em;
}
.contact-info__block p span {
  display: block;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--fg-soft);
  margin-top: 6px;
}

.contact-form {
  background: var(--bg-deep);
  color: #F2E5C8;
  padding: 48px 40px;
  border-radius: 4px;
}
.contact-form h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.contact-form > p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(242, 229, 200, 0.7);
  margin: 0 0 32px;
}

/* ───────────────── legal pages ───────────────── */
.legal {
  padding: clamp(120px, 16vw, 180px) 0 clamp(80px, 12vw, 120px);
  max-width: 800px;
  margin: 0 auto;
}
.legal h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  line-height: 1.05;
}
.legal__updated {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 48px;
  display: block;
}
.legal h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  margin: 56px 0 16px;
  line-height: 1.2;
}
.legal p, .legal li {
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--fg-soft);
}
.legal ul, .legal ol {
  padding-left: 22px;
  margin: 16px 0 24px;
}
.legal a { color: var(--accent); border-bottom: 1px solid rgba(63, 107, 78, 0.3); }
.legal a:hover { border-bottom-color: var(--accent); }

/* ───────────────── thanks page ───────────────── */
.thanks {
  min-height: 80vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 24px;
}
.thanks__inner { max-width: 580px; }
.thanks h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 24px 0;
}
.thanks h1 em { color: var(--accent); font-style: italic; }
.thanks p {
  color: var(--fg-soft);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 36px;
}

/* ───────────────── cookie popup ───────────────── */
.cookie-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  background: rgba(31, 45, 31, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
@media (min-width: 700px) { .cookie-popup { align-items: center; justify-content: flex-start; padding: 36px; } }
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card {
  background: var(--bg);
  padding: 32px 32px 28px;
  max-width: 460px;
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px -12px rgba(31,45,31,0.45);
  transform: translateY(20px);
  transition: transform 0.5s var(--ease);
}
.cookie-popup[data-open="true"] .cookie-popup__card { transform: none; }
.cookie-popup__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.cookie-popup__card h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.cookie-popup__card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg-soft);
  margin: 0 0 20px;
}
.cookie-popup__card p a { color: var(--accent); border-bottom: 1px solid rgba(63,107,78,0.4); }
.cookie-popup__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-popup__actions button {
  padding: 11px 24px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-size: 13px;
  letter-spacing: 0.03em;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.cookie-popup__actions button:hover { transform: translateY(-1px); }
.cookie-popup__actions button:last-child {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.cookie-popup__actions button:last-child:hover { background: var(--accent-deep); border-color: var(--accent-deep); }

/* ───────────────── ornaments ───────────────── */
.section--has-ornament { position: relative; }
.section--has-ornament::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 1px; height: 56px;
  background: var(--border);
  transform: translateX(-50%);
}

/* ───────────────── focus ───────────────── */
:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 4px;
}
button:focus-visible, a:focus-visible {
  outline-offset: 6px;
  border-radius: 2px;
}

@media (max-width: 600px) {
  .work-feature__caption { padding: 0; }
}
