@import url("https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,400;0,600;1,400&family=Literata:ital,opsz,wght@0,7..72,500;0,7..72,650;1,7..72,500;1,7..72,650&display=swap");

:root {
  --ink: #0b1210;
  --moss: #1a2a22;
  --amber: #c9a36a;
  --parchment: #f3eee4;
  --mist: #8a8a82;
  --font-display: "Literata", "Georgia", serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --hair: 1px solid var(--amber);
  --pad-section: clamp(96px, 12vw, 140px) 0;
  --measure: 40rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  opacity: 0.82;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
}

h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 500;
}

p {
  margin: 0 0 1.15rem;
}

.surface-ink {
  background: #0b1210;
  color: #f3eee4;
}

.surface-parchment {
  background: #f3eee4;
  color: #0b1210;
}

.surface-moss {
  background: #1a2a22;
  color: #f3eee4;
}

.surface-amber {
  background: #c9a36a;
  color: #0b1210;
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.measure {
  max-width: var(--measure);
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 1rem;
}

.hairline {
  height: 1px;
  background: var(--amber);
  border: 0;
  margin: 0;
}

.section {
  padding: var(--pad-section);
}

.section + .section {
  border-top: var(--hair);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: inherit;
  border: 1px solid currentColor;
  cursor: pointer;
  text-decoration: none;
  transition: filter 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  filter: brightness(1.06);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  opacity: 1;
}

.btn-amber {
  background: #c9a36a;
  color: #0b1210;
  border-color: #c9a36a;
}

.btn-outline {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}

.site-header {
  position: relative;
  z-index: 40;
  border-bottom: var(--hair);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.15rem;
}

.brand small {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  box-shadow: 0 1px 0 var(--amber);
}

.hero {
  min-height: 92vh;
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0 4.5rem;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  padding-bottom: 0.85rem;
}

.hero-top .desde {
  color: var(--amber);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 2rem;
  align-items: end;
  padding-top: 4.5rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--amber);
  font-weight: 650;
}

.hero-sub {
  max-width: 520px;
  color: rgba(243, 238, 228, 0.8);
  font-size: 1.05rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 0;
}

.hero-photo {
  position: relative;
  margin-bottom: -3.2rem;
  border: var(--hair);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.hero-photo img {
  width: 100%;
  height: min(58vh, 520px);
  object-fit: cover;
}

.trust {
  margin-top: 2.4rem;
  font-size: 12px;
  color: var(--mist);
  letter-spacing: 0.08em;
}

.lede {
  font-size: 1.12rem;
  line-height: 1.8;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 2.5rem 0 0;
}

.stat-row strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: var(--amber);
  font-weight: 650;
  line-height: 1;
}

.stat-row span {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.92rem;
  color: var(--mist);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.paper-card {
  position: relative;
  padding: 1.6rem 1.4rem 1.4rem;
  border: var(--hair);
  background: linear-gradient(180deg, rgba(243, 238, 228, 0.04), transparent);
}

.paper-card .mono {
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  color: var(--amber);
}

.pull-quote {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.pull-quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.35;
  max-width: 46rem;
}

.pull-quote cite {
  display: block;
  margin-top: 1.1rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
}

.threads {
  display: grid;
  gap: 1.6rem;
}

.thread {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  gap: 1rem;
  align-items: start;
}

.thread .num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--amber);
  line-height: 1;
}

.essay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.essay-card {
  position: relative;
  overflow: hidden;
  padding: 2rem 1.35rem 1.4rem;
  border: var(--hair);
  min-height: 16rem;
}

.essay-card .watermark {
  position: absolute;
  right: -0.2rem;
  top: -0.6rem;
  font-family: var(--font-display);
  font-size: 5.4rem;
  font-weight: 650;
  color: rgba(201, 163, 106, 0.12);
  line-height: 1;
  pointer-events: none;
}

a.essay-card {
  color: inherit;
  text-decoration: none;
  display: block;
}

a.essay-card:hover {
  opacity: 1;
  box-shadow: 0 10px 28px rgba(11, 18, 16, 0.08);
}

.essay-card .more {
  font-size: 0.88rem;
  color: var(--amber);
  margin: 0;
}

.article-hero {
  margin: 0 0 2rem;
}

.article-hero img {
  width: 100%;
  height: min(52vh, 28rem);
  object-fit: cover;
}

.article-kicker {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 0.7rem;
}

.article-meta {
  color: var(--mist);
  font-size: 0.92rem;
  margin: 0 0 1.6rem;
}

.article-body {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 500;
}

.article-body p:first-of-type::first-letter {
  float: left;
  font-size: 4.2rem;
  line-height: 0.8;
  padding: 0.15rem 0.5rem 0 0;
  color: var(--amber);
}

.article-pager {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: var(--hair);
  font-size: 0.92rem;
}

.feed {
  display: grid;
  gap: 0;
}

.feed-item {
  display: grid;
  grid-template-columns: 7.5rem 1fr auto;
  gap: 1.2rem;
  align-items: baseline;
  padding: 1.35rem 0;
  border-bottom: var(--hair);
  text-decoration: none;
  color: inherit;
}

.feed-item:hover {
  opacity: 1;
  color: inherit;
}

.feed-item time {
  color: var(--mist);
  font-size: 0.88rem;
}

.feed-item h2,
.feed-item h3 {
  font-size: 1.35rem;
  margin: 0;
}

.feed-item .more {
  color: var(--amber);
  font-size: 0.88rem;
  white-space: nowrap;
}

.featured-essay {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.featured-essay img {
  width: 100%;
  height: 22rem;
  object-fit: cover;
}

.letter {
  width: min(42rem, 100%);
  margin-inline: auto;
}

.letter p:first-of-type::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 4.4rem;
  line-height: 0.8;
  padding: 0.2rem 0.55rem 0 0;
  color: var(--amber);
}

.aside-note {
  font-size: 12px;
  line-height: 1.55;
  color: var(--mist);
  border-left: var(--hair);
  padding-left: 0.85rem;
  margin: 1.2rem 0 1.6rem;
}

.signoff {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-style: italic;
}

.portrait-frame {
  border: var(--hair);
}

.portrait-frame img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.gallery-duo {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-duo img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border: var(--hair);
}

.faq-list {
  max-width: 46rem;
}

.faq-item {
  border-bottom: var(--hair);
  padding: 1.1rem 0;
}

.faq-item h2,
.faq-item button {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.28rem;
  background: none;
  border: 0;
  color: currentColor;
  width: 100%;
  text-align: left;
  cursor: pointer;
  padding: 0;
}

.faq-item .answer {
  padding-top: 0.7rem;
}

.contact-stack {
  display: grid;
  gap: 2.2rem;
  max-width: 42rem;
}

.form {
  display: grid;
  gap: 1rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.form input,
.form textarea,
.form select {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--ink);
  background: #fff;
  color: var(--ink);
  width: 100%;
}

.form textarea {
  min-height: 10rem;
  resize: vertical;
}

.consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-weight: 400;
}

.consent input {
  width: auto;
  margin-top: 0.3rem;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-wrap {
  position: relative;
}

.map-wrap iframe {
  width: 100%;
  height: 360px;
  border: var(--hair);
  filter: sepia(0.4) saturate(0.7);
}

.success {
  border: var(--hair);
  padding: 1rem 1.1rem;
  margin-bottom: 1.2rem;
}

.error-banner {
  border: 1px solid #7a2e2e;
  background: #f7e8e4;
  color: #0b1210;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
}

.field-error {
  color: #7a2e2e;
  font-size: 0.85rem;
  font-weight: 400;
}

.wait-banner {
  border: var(--hair);
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
}

.site-footer {
  padding: 3rem 0 2.2rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer-legal {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: var(--hair);
  font-size: 0.88rem;
  max-width: 46rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  padding: 1.1rem 1.2rem;
  border: var(--hair);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.cookie-banner .btn-outline {
  color: #f3eee4;
  border: 1px solid #c9a36a;
  background: rgba(243, 238, 228, 0.1);
}

.cookie-panel {
  display: none;
  margin-top: 0.8rem;
}

.cookie-banner.is-open .cookie-panel {
  display: block;
}

.underline-draw {
  background-image: linear-gradient(var(--amber), var(--amber));
  background-size: 0 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
}

.js .reveal .underline-draw.is-visible,
.js .reveal.is-visible .underline-draw,
.underline-draw.is-visible {
  background-size: 100% 1px;
  transition: background-size 0.7s ease;
}

.mini-faq {
  display: grid;
  gap: 1.4rem;
  max-width: var(--measure);
}

.legal-body h2 {
  margin-top: 2rem;
}

.legal-body ol,
.legal-body ul {
  padding-left: 1.2rem;
}

.photo-caption {
  font-size: 12px;
  color: var(--mist);
  margin-top: 0.4rem;
  letter-spacing: 0.04em;
}

.cta-band {
  text-align: left;
}

@media (max-width: 860px) {
  h1 {
    font-size: clamp(1.5rem, 5.6vw, 1.85rem);
  }

  .wrap {
    width: min(1120px, calc(100% - 1.5rem));
  }

  .hero {
    min-height: auto;
    padding: 1.4rem 0 2.4rem;
  }

  .hero-top {
    flex-wrap: wrap;
    letter-spacing: 0.1em;
    gap: 0.35rem 0.8rem;
  }

  .hero-grid,
  .pillars,
  .essay-grid,
  .gallery-duo,
  .footer-grid,
  .stat-row,
  .featured-essay {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .featured-essay > *,
  .gallery-duo > * {
    min-width: 0;
  }

  .hero-grid {
    padding-top: 1.6rem;
    gap: 1.4rem;
  }

  .hero-photo {
    margin-bottom: 0;
  }

  .hero-photo img,
  .portrait-frame img,
  .gallery-duo img,
  .featured-essay img,
  .article-hero img {
    height: 13.5rem;
  }

  .brand {
    flex-wrap: wrap;
  }

  .nav-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.7rem 0 0.85rem;
  }

  .nav-links {
    width: 100%;
    gap: 0.45rem 0.9rem;
  }

  .feed-item {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .feed-item time {
    font-size: 0.78rem;
  }

  .feed-item .more {
    display: none;
  }

  .article-pager,
  .hero-cta {
    flex-wrap: wrap;
  }

  .article-pager {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }

  .article-pager a {
    overflow-wrap: anywhere;
  }

  .map-wrap iframe {
    height: 240px;
  }

  .cookie-banner {
    left: 0.7rem;
    right: 0.7rem;
    bottom: 0.7rem;
    padding: 0.8rem 0.85rem;
    font-size: 0.88rem;
  }

  .cookie-banner p {
    margin: 0;
  }

  .cookie-actions {
    margin-top: 0.55rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
  }

  .cookie-actions .btn {
    flex: none;
    width: 100%;
    min-height: 2.55rem;
    padding: 0.4rem 0.45rem;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .cookie-actions .btn[data-cookie="tweak"] {
    grid-column: 1 / -1;
  }

  .section {
    padding: 3.2rem 0;
  }

  .article-body p:first-of-type::first-letter,
  .letter p:first-of-type::first-letter {
    font-size: 3.1rem;
  }

  .essay-card .watermark {
    font-size: 4rem;
  }
}

@media (max-width: 560px) {
  .hero-cta .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

.js .reveal {
  opacity: 1;
  transform: none;
}

.js .reveal.is-pending {
  opacity: 0;
  transform: translateY(16px);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
