/* ============================================================
   dalmaolah.com — single stylesheet, no build required
   ============================================================
   Editing tips:
   - Brand colors  → see :root section below
   - Fonts         → see :root + @font-face section
   - Spacing       → --gutter and --section-y are global rhythm
============================================================ */

/* ---------- FONTS (self-hosted variable fonts) ---------- */
/* Files needed: /fonts/Fraunces-Variable.woff2 + /fonts/Manrope-Variable.woff2
   If missing, the site falls back to Georgia / system fonts — still elegant. */

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('/fonts/Fraunces-Variable.woff2') format('woff2-variations'),
       url('/fonts/Fraunces-Variable.woff2') format('woff2');
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/Manrope-Variable.woff2') format('woff2-variations'),
       url('/fonts/Manrope-Variable.woff2') format('woff2');
}

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Warm neutrals palette */
  --paper: #FBF8F3;
  --bone: #F2EDE4;
  --cream: #EDE5D6;
  --sand: #E0D4BE;
  --greige: #B6A98E;
  --clay: #8C7E63;
  --ink: #1F1C17;
  --graphite: #2D2A24;
  --muted: #6F6857;
  --line: #E6DECF;

  /* Typography */
  --font-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4rem, 9vw, 8rem);
  --max-w: 88rem;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- RESET + BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-family: var(--font-sans);
  background-color: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  font-size: 16px;
  line-height: 1.65;
}

body {
  margin: 0;
  background-color: var(--paper);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ink);
}

p { margin: 0; }

::selection {
  background: var(--ink);
  color: var(--paper);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- LAYOUT HELPERS ---------- */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section-y { padding-block: var(--section-y); }
.section-top { padding-top: var(--section-y); }
.section-bottom { padding-bottom: var(--section-y); }

.hair {
  height: 1px;
  background: var(--line);
  width: 100%;
  border: 0;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.italic-accent {
  font-style: italic;
  font-weight: 300;
  color: var(--greige);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  z-index: 100;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 248, 243, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(230, 222, 207, 0.6);
}

.site-header__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  font-family: var(--font-display);
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}
.brand-link__name { font-weight: 500; }
.brand-link__role {
  font-style: italic;
  font-weight: 300;
  color: var(--muted);
  margin-left: 0.5rem;
  font-size: 1rem;
}

.nav-primary {
  display: none;
  gap: 2rem;
  align-items: center;
}
.nav-primary a {
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  transition: color 300ms var(--ease);
}
.nav-primary a:hover,
.nav-primary a[aria-current="page"] { color: var(--ink); }

.menu-toggle {
  margin-right: -0.5rem;
  padding: 0.5rem;
  color: var(--ink);
}
.menu-toggle svg { width: 1.25rem; height: 1.25rem; }

.nav-mobile {
  display: none;
  border-top: 1px solid rgba(230, 222, 207, 0.6);
  background: var(--paper);
}
.nav-mobile.is-open { display: block; }
.nav-mobile nav {
  padding: 1.5rem var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.nav-mobile a {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--muted);
}
.nav-mobile a[aria-current="page"] { color: var(--ink); }

@media (min-width: 768px) {
  .site-header__inner { height: 5rem; }
  .brand-link { font-size: 1.25rem; }
  .nav-primary { display: flex; }
  .menu-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  transition: all 400ms var(--ease);
}
.btn--primary {
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.5rem;
}
.btn--primary:hover { background: var(--graphite); }
.btn--ghost {
  color: var(--ink);
  border-bottom: 1px solid rgba(31, 28, 23, 0.4);
  padding-bottom: 0.25rem;
}
.btn--ghost:hover { border-color: var(--ink); }

.link-underline {
  position: relative;
  display: inline-block;
  color: inherit;
}
.link-underline::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 400ms var(--ease);
}
.link-underline:hover::after {
  transform-origin: left;
  transform: scaleX(1);
}

/* ---------- HERO ---------- */
.hero {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-top: 2.5rem;
  padding-bottom: var(--section-y);
}

.hero__grid {
  display: grid;
  gap: 2.5rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 6rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin-top: 1rem;
}

.hero__lead {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 38rem;
}

.hero__ctas {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.hero__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bone);
}
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .hero { padding-top: 5rem; }
  .hero__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: end;
    gap: 3rem;
  }
  .hero__text { grid-column: span 5 / span 5; padding-bottom: 2rem; }
  .hero__media-wrap { grid-column: span 7 / span 7; }
  .hero__media { aspect-ratio: 5 / 6; }
}

/* ---------- PAGE HEADER (non-home pages) ---------- */
.page-header {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 3rem var(--gutter) 0;
}
@media (min-width: 768px) { .page-header { padding-top: 5rem; } }

.page-header__title {
  font-size: clamp(3rem, 9vw, 6rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin-top: 1rem;
}
.page-header__lead {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 52rem;
}

/* ---------- SECTION TITLES ---------- */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}
.section-head__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: -0.025em;
  margin-top: 0.5rem;
}
@media (min-width: 768px) { .section-head { margin-bottom: 4.5rem; } }

/* ---------- PROJECT GRID ---------- */
.project-grid {
  display: grid;
  gap: 4rem 2rem;
}
@media (min-width: 768px) {
  .project-grid { grid-template-columns: repeat(2, 1fr); gap: 4rem 2.5rem; }
}
@media (min-width: 1024px) {
  .project-grid--three { grid-template-columns: repeat(3, 1fr); }
  .project-grid--all { grid-template-columns: repeat(3, 1fr); }
}

.project-card { display: block; }
.project-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bone);
}
.project-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease);
  will-change: transform;
}
.project-card:hover .project-card__media img { transform: scale(1.03); }

.project-card__meta {
  margin-top: 1.25rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.project-card__title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.project-card__year {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  flex-shrink: 0;
}
.project-card__category {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  font-style: italic;
  color: var(--muted);
}
.project-card__desc {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Alternating editorial aspect ratios for variety */
.project-card:nth-child(3n+2) .project-card__media { aspect-ratio: 3 / 4; }
.project-card:nth-child(3n+3) .project-card__media { aspect-ratio: 5 / 6; }

/* ---------- CATEGORY FILTER ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}
.filters a {
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  transition: color 300ms var(--ease);
}
.filters a:hover,
.filters a[aria-current="true"] { color: var(--ink); }

/* ---------- APPROACH SECTION ---------- */
.approach {
  background: rgba(242, 237, 228, 0.5);
  border-block: 1px solid rgba(230, 222, 207, 0.6);
}
.approach__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: var(--section-y) var(--gutter);
  display: grid;
  gap: 3rem;
}
.approach__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-top: 0.5rem;
}
.approach__text {
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(31, 28, 23, 0.85);
  max-width: 52rem;
}
@media (min-width: 768px) {
  .approach__inner { grid-template-columns: repeat(12, 1fr); }
  .approach__head { grid-column: span 4 / span 4; }
  .approach__body { grid-column: 6 / span 7; }
  .approach__text { font-size: 1.25rem; }
}

/* ---------- CTA SECTION ---------- */
.cta {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: var(--section-y) var(--gutter);
  text-align: center;
}
.cta__title {
  margin-top: 1.25rem;
  font-size: clamp(1.75rem, 5vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
  max-width: 52rem;
  margin-inline: auto;
}
.cta__ctas {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

/* ---------- PROJECT DETAIL PAGE ---------- */
.project-hero {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 3rem var(--gutter) 0;
}
@media (min-width: 768px) { .project-hero { padding-top: 5rem; } }

.project-hero__title {
  margin-top: 1rem;
  font-size: clamp(2.5rem, 8vw, 6rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
}
.project-hero__location {
  margin-top: 1rem;
  font-style: italic;
  color: var(--muted);
}

.project-cover {
  max-width: var(--max-w);
  margin: 3rem auto;
  padding-inline: var(--gutter);
}
.project-cover__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bone);
}
.project-cover__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 768px) {
  .project-cover { margin: 4rem auto 6rem; }
  .project-cover__img { aspect-ratio: 16 / 9; }
}

.project-meta {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-bottom: var(--section-y);
  display: grid;
  gap: 3rem;
}
.project-meta dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
}
.project-meta dt { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.project-meta dd { margin: 0.25rem 0 0; color: var(--ink); }

.project-meta__intro {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  line-height: 1.3;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.project-meta__desc {
  margin-top: 2rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 52rem;
}

.materials-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.materials-chips span {
  border: 1px solid var(--line);
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  color: var(--muted);
}

@media (min-width: 768px) {
  .project-meta { grid-template-columns: repeat(12, 1fr); }
  .project-meta__aside { grid-column: span 4 / span 4; }
  .project-meta__body { grid-column: 6 / span 7; }
}

/* ---------- GALLERY ---------- */
.gallery {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 0 var(--gutter) var(--section-y);
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .gallery { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .gallery > figure:nth-child(even) { transform: translateY(3rem); }
}
.gallery figure {
  margin: 0;
  overflow: hidden;
}
.gallery figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease);
}
.gallery figure:hover img { transform: scale(1.03); }
.gallery figure:nth-child(6n+1) { aspect-ratio: 4 / 5; }
.gallery figure:nth-child(6n+2) { aspect-ratio: 3 / 2; }
.gallery figure:nth-child(6n+3) { aspect-ratio: 1 / 1; }
.gallery figure:nth-child(6n+4) { aspect-ratio: 4 / 5; }
.gallery figure:nth-child(6n+5) { aspect-ratio: 3 / 4; }
.gallery figure:nth-child(6n+6) { aspect-ratio: 16 / 10; }

/* ---------- PROJECT PREV/NEXT NAV ---------- */
.project-nav {
  background: rgba(242, 237, 228, 0.4);
  border-top: 1px solid rgba(230, 222, 207, 0.6);
}
.project-nav__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 4rem var(--gutter);
  display: grid;
  gap: 2.5rem;
}
.project-nav__title {
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  letter-spacing: -0.025em;
  margin-top: 0.5rem;
}
.project-nav__category {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  font-style: italic;
  color: var(--muted);
}
.project-nav__all {
  padding: 0 var(--gutter) 3rem;
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  justify-content: center;
}
@media (min-width: 768px) {
  .project-nav__inner { grid-template-columns: 1fr 1fr; }
  .project-nav__next { text-align: right; }
}

/* ---------- ABOUT PAGE ---------- */
.about {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 3rem var(--gutter) var(--section-y);
  display: grid;
  gap: 3rem;
}
.about__portrait {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bone);
}
.about__portrait img { width: 100%; height: 100%; object-fit: cover; }

.about__title {
  margin-top: 0.75rem;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
}
.about__body {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(31, 28, 23, 0.85);
  max-width: 52rem;
}

.signature {
  margin-top: 3rem;
  max-width: 260px;
}
.signature img { width: 100%; height: auto; opacity: 0.9; }
.signature__name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--greige);
}
.signature__caption {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.5rem;
}

.about__ctas {
  margin-top: 3rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .about { padding-top: 5rem; grid-template-columns: repeat(12, 1fr); gap: 4rem; align-items: start; }
  .about__portrait-wrap { grid-column: span 5 / span 5; }
  .about__text { grid-column: 7 / span 6; }
}

/* ---------- SERVICES PAGE ---------- */
.services-list {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 0 var(--gutter) var(--section-y);
  list-style: none;
  padding-left: var(--gutter);
  border-top: 1px solid var(--line);
}
.services-list li {
  border-bottom: 1px solid var(--line);
}
.service-item {
  display: grid;
  gap: 1.5rem;
  padding: 2.5rem 0;
  align-items: baseline;
}
.service-item__num {
  font-family: var(--font-display);
  color: var(--greige);
  font-size: 1.5rem;
}
.service-item__title {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.service-item__short {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-style: italic;
  color: var(--muted);
}
.service-item__desc {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(31, 28, 23, 0.8);
}
@media (min-width: 768px) {
  .service-item {
    grid-template-columns: 1fr 4fr 7fr;
    gap: 2.5rem;
    padding: 3.5rem 0;
  }
  .service-item__num { font-size: 1.875rem; }
  .service-item__desc { font-size: 1.125rem; }
}

/* ---------- CONTACT PAGE ---------- */
.contact-grid {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 3rem var(--gutter) var(--section-y);
  display: grid;
  gap: 4rem;
}
.contact-grid__title {
  margin-top: 1rem;
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
}
.contact-grid__lead {
  margin-top: 2rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 38rem;
}
.contact-list {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  padding: 0;
}
.contact-list dt {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
  .contact-grid { padding-top: 5rem; grid-template-columns: repeat(12, 1fr); }
  .contact-grid__intro { grid-column: span 5 / span 5; }
  .contact-grid__form { grid-column: 7 / span 6; }
}

/* ---------- FORM ---------- */
.form { display: flex; flex-direction: column; gap: 1.5rem; }
.form__row { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .form__row { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }

.field-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.field {
  display: block;
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 300ms ease;
}
.field:focus { outline: none; border-bottom-color: var(--ink); }
.field::placeholder { color: var(--greige); }
textarea.field { resize: vertical; min-height: 7rem; }
.form__honey { position: absolute; left: -9999px; height: 0; width: 0; overflow: hidden; }
.form__submit { padding-top: 0.5rem; display: flex; align-items: center; gap: 1rem; }
.form-status { font-size: 0.75rem; color: var(--muted); }
.form-fineprint { font-size: 0.75rem; color: rgba(111, 104, 87, 0.8); margin-top: 1.5rem; max-width: 38rem; }

/* ---------- PRIVACY / TEXT-HEAVY PAGES ---------- */
.text-page {
  max-width: 52rem;
  margin-inline: auto;
  padding: 3rem var(--gutter) var(--section-y);
}
@media (min-width: 768px) { .text-page { padding-top: 5rem; } }

.text-page h1 {
  margin-top: 1rem;
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
}
.text-page .updated {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.text-page h2 {
  margin-top: 3rem;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.text-page p {
  margin-top: 1.5rem;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(31, 28, 23, 0.85);
}
@media (min-width: 768px) { .text-page p { font-size: 1.125rem; } }

/* ---------- 404 PAGE ---------- */
.not-found {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: var(--section-y) var(--gutter);
  text-align: center;
}
.not-found__title {
  margin-top: 1rem;
  font-size: clamp(3rem, 9vw, 6rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
}
.not-found__lead {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 38rem;
  margin-inline: auto;
}
.not-found__ctas {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* ---------- FOOTER ---------- */
.site-footer {
  border-top: 1px solid rgba(230, 222, 207, 0.6);
  background: rgba(242, 237, 228, 0.4);
  margin-top: 7.5rem;
}
.site-footer__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 4rem var(--gutter);
  display: grid;
  gap: 3rem;
}
.site-footer__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--ink);
}
.site-footer__role {
  font-size: 0.875rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 0.25rem;
}
.site-footer__desc {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 1.5rem;
  max-width: 16rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; }
.site-footer__bottom {
  border-top: 1px solid rgba(230, 222, 207, 0.6);
  padding: 1.5rem var(--gutter);
  font-size: 0.75rem;
  color: var(--muted);
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.site-footer__bottom-links {
  display: flex;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .site-footer { margin-top: 7.5rem; padding-top: 0; }
  .site-footer__inner { grid-template-columns: repeat(3, 1fr); padding: 5.5rem var(--gutter); }
  .site-footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- ANIMATIONS ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.rise { animation: rise 900ms var(--ease) both; }
.rise-1 { animation-delay: 80ms; }
.rise-2 { animation-delay: 200ms; }
.rise-3 { animation-delay: 360ms; }
.rise-4 { animation-delay: 520ms; }

/* ---------- UTILITIES ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
