@font-face {
  font-family: "AlexBrush";
  src: url("../fonts/AlexBrush-Regular.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "AERON";
  src: url("../fonts/AERON___.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "SwirlScript";
  src: url("../fonts/SwirlScript.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "ACalling";
  src: url("../fonts/A-Calling.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "AirApparent";
  src: url("../fonts/HFF-Air-Apparent.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Airstream";
  src: url("../fonts/Airstream.woff2") format("woff2");
  font-display: swap;
}

:root {
  --bg: #f7f1ea;
  --bg-deep: #eaded1;
  --paper: rgba(255, 251, 246, 0.84);
  --paper-strong: #fffaf5;
  --ink: #261d19;
  --muted: #6f5d53;
  --accent: #8f5458;
  --accent-deep: #6d3439;
  --accent-soft: #ccb095;
  --gold: #c8a26b;
  --line: rgba(73, 51, 40, 0.12);
  --shadow: 0 24px 64px rgba(77, 55, 43, 0.13);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.85), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(204, 176, 149, 0.3), transparent 24%),
    linear-gradient(180deg, #fbf6f1 0%, #f4ece3 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 55%);
}

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

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

.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;
}

.page-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 16px 14px 0;
}

.site-header__inner,
.hero__inner,
.section,
.intro-band__inner,
.site-footer__panel,
.site-footer__legal {
  width: min(var(--container), calc(100% - 24px));
  margin: 0 auto;
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  background: rgba(251, 246, 241, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 36px rgba(74, 49, 38, 0.08);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

.brand__script {
  font-family: "AlexBrush", cursive;
  font-size: clamp(1.7rem, 2.4vw, 2.5rem);
  line-height: 0.95;
  color: var(--accent-deep);
}

.brand__label,
.eyebrow,
.editorial-card__kicker,
.process-card__number,
.nav-toggle {
  font-family: "AERON", "Trebuchet MS", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand__label {
  font-size: 0.64rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(143, 84, 88, 0.08);
  color: var(--accent-deep);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff7f1;
  font-weight: 700;
  box-shadow: 0 16px 32px rgba(109, 52, 57, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 22px 40px rgba(109, 52, 57, 0.24);
}

.button--outline,
.button--ghost {
  background: transparent;
  color: var(--accent-deep);
  border-color: rgba(109, 52, 57, 0.16);
  box-shadow: none;
}

.hero {
  padding: 36px 0 24px;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 28px;
  align-items: center;
}

.hero__copy,
.editorial-card,
.process-card,
.contact-card,
.intro-band__inner,
.site-footer__panel {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: var(--paper);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero__copy {
  padding: clamp(28px, 5vw, 54px);
  border-radius: var(--radius-xl);
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.74rem;
  color: var(--accent);
}

.hero h1,
.section__header h2,
.split-story__copy h2,
.site-footer h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.96;
}

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

.hero__lede,
.section__header p,
.editorial-card p,
.split-story__copy p,
.process-card p,
.contact-card,
.site-footer__copy p {
  color: var(--muted);
  font-size: 1.04rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__notes,
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__notes {
  margin-top: 30px;
}

.hero__notes span,
.pill-list span {
  padding: 10px 14px;
  border: 1px solid rgba(109, 52, 57, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--accent-deep);
  font-size: 0.92rem;
  font-weight: 600;
}

.hero__visual {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 16px;
  min-height: 640px;
}

.hero-card,
.gallery-card,
.stack-card {
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow);
  background: var(--paper-strong);
}

.hero-card {
  position: relative;
  min-height: 300px;
}

.hero-card--tall {
  grid-row: span 2;
}

.hero-card img,
.gallery-card img,
.stack-card img {
  height: 100%;
  object-fit: cover;
}

.hero-card figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(34, 23, 18, 0.62);
  color: #fffaf6;
  font-size: 0.94rem;
}

.intro-band {
  padding: 8px 0 0;
}

.intro-band__inner {
  padding: 18px 24px;
  border-radius: 999px;
  text-align: center;
  color: var(--accent-deep);
  font-size: 0.98rem;
}

.section {
  padding: 76px 0;
}

.section__header {
  max-width: 780px;
  margin-bottom: 26px;
}

.section__header h2,
.split-story__copy h2,
.site-footer h2 {
  font-size: clamp(2.4rem, 4.8vw, 4.4rem);
}

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

.editorial-card,
.process-card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.editorial-card__kicker,
.process-card__number {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 0.8rem;
}

.editorial-card h3,
.process-card h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  line-height: 1;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 16px;
}

.gallery-card {
  min-height: 280px;
}

.gallery-card--wide {
  grid-column: span 2;
}

.gallery-card--tall {
  grid-row: span 2;
  min-height: 576px;
}

.split-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 24px;
  align-items: center;
}

.split-story__stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.stack-card {
  min-height: 380px;
}

.stack-card--offset {
  transform: translateY(48px);
}

.site-footer {
  padding-top: 32px;
  padding-bottom: 48px;
}

.site-footer__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 18px;
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--radius-xl);
}

.contact-card {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.6);
}

.contact-card__link {
  font-size: 1.24rem;
  font-weight: 700;
  color: var(--accent-deep);
}

.contact-card__social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
}

.contact-card__social a {
  color: var(--muted);
}

.site-footer__legal {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.font-lab {
  padding-bottom: 28px;
}

.font-lab-hero {
  padding-bottom: 24px;
}

.font-lab-hero__grid,
.font-lab-shell__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  width: min(var(--container), calc(100% - 24px));
  margin: 0 auto;
}

.font-lab-hero__copy,
.font-lab-hero__panel,
.font-sidebar__panel,
.font-toolbar,
.font-card,
.font-empty {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: var(--paper);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.font-lab-hero__copy,
.font-lab-hero__panel,
.font-sidebar__panel,
.font-toolbar,
.font-empty {
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 34px);
}

.font-lab-hero__panel {
  display: grid;
  gap: 18px;
  align-content: start;
}

.font-input {
  display: grid;
  gap: 10px;
}

.font-input__label,
.font-card__label,
.font-toolbar__count,
.font-sidebar__block h3 {
  font-family: "AERON", "Trebuchet MS", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.font-input__label,
.font-card__label,
.font-sidebar__block h3 {
  margin: 0;
  font-size: 0.72rem;
  color: var(--accent);
}

.font-input input {
  width: 100%;
  min-height: 60px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font-size: 1.06rem;
}

.font-input input:focus {
  outline: 2px solid rgba(143, 84, 88, 0.2);
  outline-offset: 2px;
}

.font-lab-hero__actions {
  display: grid;
  gap: 12px;
}

.font-lab-hero__hint,
.font-sidebar__description,
.font-card__description,
.font-empty p {
  color: var(--muted);
}

.font-sidebar__panel {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 20px;
}

.font-sidebar__preview {
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: 26px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.65), rgba(234, 222, 209, 0.6)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent);
  border: 1px solid rgba(109, 52, 57, 0.08);
  color: var(--accent-deep);
  font-size: clamp(2.1rem, 4vw, 3.9rem);
  line-height: 1.05;
  text-align: center;
  word-break: break-word;
}

.font-sidebar__block {
  display: grid;
  gap: 12px;
}

.tag-list,
.size-chip-row,
.filter-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-pill,
.size-chip,
.filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(109, 52, 57, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--accent-deep);
  font-size: 0.9rem;
}

.filter-chip {
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-chip.is-active,
.filter-chip:hover,
.filter-chip:focus-visible {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff7f1;
  border-color: transparent;
}

.size-list {
  display: grid;
  gap: 10px;
}

.size-item {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(109, 52, 57, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.54);
}

.size-item strong {
  color: var(--ink);
}

.size-item span {
  color: var(--muted);
  font-size: 0.95rem;
}

.font-catalog {
  display: grid;
  gap: 18px;
}

.font-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.font-toolbar__count {
  margin: 0;
  font-size: 0.76rem;
  color: var(--muted);
  white-space: nowrap;
}

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

.font-card {
  border-radius: 26px;
  overflow: hidden;
}

.font-card.is-selected {
  outline: 2px solid rgba(143, 84, 88, 0.2);
  outline-offset: 2px;
}

.font-card__button {
  width: 100%;
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 0;
  background: transparent;
  text-align: left;
  color: inherit;
  cursor: pointer;
}

.font-card__topline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}

.font-card__name {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  line-height: 1;
}

.font-card__themes,
.font-card__focus {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.font-card__preview {
  min-height: 140px;
  display: grid;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid rgba(109, 52, 57, 0.08);
  border-bottom: 1px solid rgba(109, 52, 57, 0.08);
  color: var(--accent-deep);
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.05;
  word-break: break-word;
}

.font-card__group {
  display: grid;
  gap: 10px;
}

.font-empty {
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal--delay-1 {
  transition-delay: 0.08s;
}

.reveal--delay-2 {
  transition-delay: 0.16s;
}

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

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 2px 0;
  background: var(--accent-deep);
}

@media (max-width: 1100px) {
  .hero__inner,
  .split-story__grid,
  .site-footer__panel,
  .font-lab-hero__grid,
  .font-lab-shell__grid {
    grid-template-columns: 1fr;
  }

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

  .gallery-card--wide {
    grid-column: span 2;
  }

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

  .stack-card--offset {
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .site-header__inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
    border-radius: 28px;
  }

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

  .desktop-cta {
    display: none;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    padding-top: 8px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding-inline: 0;
  }

  .hero,
  .section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

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

  .hero__visual,
  .editorial__grid,
  .process-grid,
  .gallery-grid,
  .split-story__stack,
  .site-footer__panel,
  .font-grid,
  .font-lab-hero__grid,
  .font-lab-shell__grid {
    grid-template-columns: 1fr;
  }

  .font-toolbar {
    align-items: start;
    flex-direction: column;
  }

  .font-sidebar__panel {
    position: static;
  }

  .gallery-card--wide,
  .gallery-card--tall,
  .hero-card--tall {
    grid-column: auto;
    grid-row: auto;
    min-height: 320px;
  }

  .intro-band__inner {
    border-radius: 30px;
  }
}

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

  .reveal,
  .reveal--delay-1,
  .reveal--delay-2,
  .button {
    transition: none;
  }
}
