/* Anthaathi — wide black & white art-book monograph. No cards, no harsh lines, no mono font. Only the tree and butterfly carry colour. */

:root {
  --paper: #ffffff;
  --wash: #f5f5f5;
  --ink: #0a0a0a;
  --ink-2: #3a3a3a;
  --muted: #767676;
  --ghost: #e8e8e8;
  --bar-h: 68px;
  --pad: clamp(24px, 4.8vw, 76px);
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  color-scheme: light;
}

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

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(17px, 0.35vw + 15.8px, 19.5px);
  line-height: 1.66;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

h1,
h2,
h3,
p,
ol,
ul {
  margin: 0;
  padding: 0;
}

ol,
ul {
  list-style: none;
}

section[id] {
  scroll-margin-top: calc(var(--bar-h) + 12px);
}

:focus-visible {
  outline: 1.5px solid var(--ink);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: var(--pad);
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  font-family: var(--sans);
  font-size: 0.85rem;
  background: var(--ink);
  color: var(--paper);
}
.skip-link:focus {
  top: 12px;
}

/* ----------------------------------------------------- scroll progress */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 60;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    @keyframes grow-progress {
      from {
        transform: scaleX(0);
      }
      to {
        transform: scaleX(1);
      }
    }

    .scroll-progress {
      animation: grow-progress auto linear;
      animation-timeline: scroll(root block);
    }
  }
}

/* ---------------------------------------------------------------- sky */

.sky {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 50;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.sky.is-ready {
  opacity: 1;
}

/* ------------------------------------------------------------- topbar */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding-top: env(safe-area-inset-top, 0px);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--bar-h);
  padding-inline: var(--pad);
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.bar nav {
  margin-left: auto;
}
.nav {
  display: flex;
  gap: clamp(20px, 2.8vw, 44px);
  font-size: 0.98rem;
}
.nav a {
  color: var(--muted);
  transition: color 0.2s ease;
  padding-block: 4px;
}
.nav a:hover,
.nav a:focus-visible,
.nav a[aria-current="true"] {
  color: var(--ink);
  font-style: italic;
}

.bar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  appearance: none;
  background: transparent;
  color: var(--ink);
  border: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  padding: 8px 4px;
  cursor: pointer;
}

/* --------------------------------------------------- navigation drawer */

.Drawer {
  --drawer-width: min(20em, 82dvw, 100dvw - 24px);
  --drawer-backdrop: 0;
  inset: 0;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  overflow: visible;
}

.Drawer::backdrop {
  background: #0a0a0a;
  opacity: calc(var(--drawer-backdrop) * 0.35);
}

.Drawer-scroller {
  position: relative;
  display: grid;
  grid-template-columns: var(--drawer-width) 100%;
  overflow-x: scroll;
  overscroll-behavior: none;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}
.Drawer-scroller::-webkit-scrollbar {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .Drawer-scroller {
    scroll-behavior: smooth;
  }
}

.Drawer-scroller::after {
  content: "";
  scroll-snap-align: end;
  scroll-initial-target: nearest;
}

.Drawer-sheet {
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100svh;
  background: var(--paper);
  color: var(--ink);
  overflow-y: auto;
  scroll-snap-align: start;
  scrollbar-width: none;
  padding: 24px 28px max(28px, env(safe-area-inset-bottom, 0px));
}

.Drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
}

.Drawer-close {
  appearance: none;
  background: none;
  border: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--muted);
  padding: 6px 0;
  cursor: pointer;
}
.Drawer-close:hover {
  color: var(--ink);
}

.Drawer-links {
  display: grid;
  align-content: start;
  gap: 8px;
  margin-block: 12px;
}
.Drawer-links a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-block: 10px;
  font-size: 1.25rem;
  color: var(--ink-2);
  transition: color 0.2s ease;
}
.Drawer-links a:hover {
  color: var(--ink);
  font-style: italic;
}
.Drawer-links a em {
  min-width: 1.8em;
  font-style: italic;
  color: var(--muted);
}

.Drawer-foot {
  display: grid;
  gap: 16px;
  padding-top: 24px;
}
.Drawer-foot .btn {
  justify-content: center;
}
.Drawer-meta {
  font-style: italic;
  font-size: 0.92rem;
  color: var(--muted);
}

@supports (animation-timeline: scroll()) {
  .Drawer {
    timeline-scope: --drawer-fade;
    animation: fade-drawer-backdrop linear both;
    animation-timeline: --drawer-fade;
  }

  .Drawer-scroller {
    scroll-timeline: --drawer-fade x;
  }

  @property --drawer-backdrop {
    syntax: "<number>";
    inherits: true;
    initial-value: 0;
  }

  @keyframes fade-drawer-backdrop {
    0% {
      --drawer-backdrop: 1;
    }
    100% {
      --drawer-backdrop: 0;
    }
  }
}

/* --------------------------------------------------------------- hero */

.hero {
  position: relative;
  min-height: calc(100vh - var(--bar-h));
  min-height: calc(100svh - var(--bar-h));
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 1fr auto auto auto;
  column-gap: clamp(18px, 3vw, 48px);
  padding: 0 var(--pad);
  overflow: hidden;
}

.hero-lead {
  grid-column: 1 / 7;
  grid-row: 2;
  align-self: end;
  max-width: 31rem;
  padding-block: clamp(20px, 3.5vh, 40px);
  position: relative;
  color: var(--ink-2);
  font-size: clamp(1.08rem, 0.5vw + 0.96rem, 1.28rem);
  line-height: 1.58;
}
.eyebrow {
  font-style: italic;
  font-size: 0.96rem;
  color: var(--muted);
  margin-bottom: 14px;
}

/* the tree the butterfly comes back to — kept untouched */
.tree {
  grid-column: 8 / -1;
  grid-row: 1 / 4;
  align-self: end;
  justify-self: center;
  width: 100%;
  height: clamp(320px, 68vh, 700px);
  margin-top: 16px;
  position: relative;
  pointer-events: none;
}
.tree svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.tree-branches path {
  fill: none;
  stroke: #1c1c1c;
  stroke-linecap: round;
  opacity: 0.82;
}
.tree-leaves path {
  fill: #8fbf7a;
  stroke: #4f8a43;
  stroke-width: 0.6;
}
.tree-leaves path:nth-child(3n) {
  fill: #a9cf8e;
}
.tree-leaves path:nth-child(4n + 1) {
  fill: #6fa65e;
}
.tree-ground {
  fill: #ededed;
}

.hero-title {
  grid-column: 1 / 9;
  grid-row: 3;
  position: relative;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 9.2vw, 10.6rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.036em;
  padding-bottom: clamp(20px, 3.5vh, 44px);
  margin-left: -0.03em;
  outline: none;
}
.hero-title span {
  display: block;
}
.hero-title span + span {
  font-style: italic;
  font-weight: 300;
  color: var(--muted);
}

.hero-foot {
  grid-column: 1 / -1;
  grid-row: 4;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px clamp(22px, 3.2vw, 48px);
  padding: 16px 0 max(28px, env(safe-area-inset-bottom, 0px));
}
.cell {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.96rem;
  color: var(--ink-2);
  transition: color 0.2s ease;
}
.cell em {
  font-style: italic;
  color: var(--muted);
}
a.cell:hover {
  color: var(--ink);
  font-style: italic;
}
.cell-end {
  margin-left: auto;
  font-style: italic;
  font-size: 0.94rem;
  color: var(--muted);
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes hero-rise {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .hero-lead {
    animation: hero-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
  }
  .hero-title {
    animation: hero-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
  }
}

/* ------------------------------------------------------- scroll reveal */

@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes quiet-enter {
      from {
        opacity: 0.18;
        transform: translateY(18px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .reveal {
      animation: quiet-enter auto linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 24%;
    }
  }
}

/* -------------------------------------------------------------- spreads */

.spread {
  position: relative;
  padding: clamp(88px, 11vw, 168px) var(--pad);
  background: var(--paper);
}

.spread-head {
  display: grid;
  grid-template-columns: minmax(72px, 14vw) minmax(0, 1fr);
  align-items: baseline;
  column-gap: clamp(20px, 3vw, 48px);
  margin-bottom: clamp(48px, 6.5vw, 96px);
}

.chapter-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 200;
  font-size: clamp(3.6rem, 7vw, 7.5rem);
  line-height: 0.85;
  color: var(--ghost);
  user-select: none;
}

.spread-head-copy h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.8vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 14px;
}

.spread-head-copy p {
  font-size: clamp(1.12rem, 1.4vw, 1.38rem);
  font-style: italic;
  color: var(--muted);
  max-width: 36rem;
}

.spread-head-split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

/* ---------------------------------------------------- Chapter I: Platforms */

.catalogue {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
}

.catalogue-row {
  display: grid;
  grid-template-columns: minmax(72px, 14vw) minmax(0, 4.5fr) minmax(0, 5.5fr);
  column-gap: clamp(20px, 3vw, 48px);
  align-items: baseline;
  padding: clamp(32px, 4vw, 56px) clamp(18px, 2.4vw, 36px);
  margin-inline: calc(clamp(18px, 2.4vw, 36px) * -1);
  transition: background-color 0.35s cubic-bezier(0.22, 1, 0.36, 1), color 0.35s ease;
}

.catalogue-row:hover {
  background: var(--ink);
  color: var(--paper);
}

.row-num {
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.4rem, 2.2vw, 2.2rem);
  color: var(--muted);
  transition: color 0.35s ease;
}

.row-title h3 {
  font-size: clamp(2.4rem, 4.6vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.row-kind {
  font-style: italic;
  color: var(--muted);
  margin-top: 10px;
  font-size: 0.98rem;
  transition: color 0.35s ease;
}

.row-desc p {
  color: var(--ink-2);
  max-width: 36rem;
  font-size: clamp(1.04rem, 1.15vw, 1.2rem);
  line-height: 1.62;
  transition: color 0.35s ease;
}

.row-notes {
  margin-top: 18px;
  font-style: italic;
  font-size: 0.92rem !important;
  color: var(--muted) !important;
}

.catalogue-row:hover .row-num,
.catalogue-row:hover .row-kind,
.catalogue-row:hover .row-notes {
  color: #a3a3a3 !important;
}

.catalogue-row:hover .row-desc p {
  color: #e6e6e6;
}

/* -------------------------------------------------------- Chapter II: Craft */

.craft-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(36px, 4.5vw, 64px) clamp(24px, 3.2vw, 52px);
  margin-left: calc(14vw + clamp(20px, 3vw, 48px));
}

.craft-n {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 200;
  font-size: clamp(3.6rem, 5.5vw, 5.8rem);
  line-height: 0.88;
  color: var(--ghost);
  margin-bottom: 18px;
  transition: color 0.3s ease;
}

.craft-grid li:hover .craft-n {
  color: var(--ink);
}

.craft-grid h3 {
  font-size: clamp(1.45rem, 1.9vw, 1.95rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.14;
  margin-bottom: 12px;
}

.craft-grid p {
  color: var(--ink-2);
  max-width: 24rem;
}

.colophon-note {
  margin-top: clamp(56px, 7vw, 96px);
  margin-left: calc(14vw + clamp(20px, 3vw, 48px));
  max-width: 46rem;
  font-size: clamp(1.02rem, 1.2vw, 1.18rem);
  color: var(--muted);
  line-height: 1.65;
}
.colophon-note em {
  color: var(--ink);
  font-style: italic;
}

/* ------------------------------------ Chapter III: Continuity (Dark Spread) */

.spread-dark {
  background: var(--ink);
  color: var(--paper);
  min-height: min(86vh, 840px);
  display: grid;
  align-content: center;
}

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

.continuity-wrap {
  max-width: 68rem;
  margin-inline: auto;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: clamp(28px, 4vw, 48px);
}

.continuity-kicker {
  font-size: 1rem;
  color: #8f8f8f;
  letter-spacing: 0.04em;
}
.continuity-kicker em {
  font-style: italic;
  color: #cfcfcf;
}

.tamil {
  font-size: clamp(4.2rem, 13vw, 14rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.statement {
  max-width: 42rem;
  font-size: clamp(1.3rem, 2.1vw, 2.2rem);
  font-weight: 300;
  line-height: 1.48;
  color: #cfcfcf;
}

.statement em {
  font-style: italic;
  font-weight: 400;
  color: var(--paper);
}

/* ----------------------------------------------------- Chapter IV: Questions */

.faq-toggle {
  appearance: none;
  background: none;
  border: 0;
  padding: 4px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease;
}
.faq-toggle:hover {
  color: var(--ink);
}
.faq-toggle[aria-expanded="true"] .expand,
.faq-toggle[aria-expanded="false"] .collapse {
  display: none;
}

.faq {
  margin-left: calc(14vw + clamp(20px, 3vw, 48px));
  max-width: 56rem;
  display: grid;
  gap: 6px;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 16px;
  margin-inline: -16px;
  font-size: clamp(1.22rem, 1.8vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.3;
  transition: background-color 0.22s ease;
}
.faq summary:hover {
  background: var(--wash);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.2em;
  line-height: 1;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.25s ease, color 0.25s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  color: var(--ink);
}
.faq details::details-content {
  interpolate-size: allow-keywords;
  overflow: clip;
  contain: layout;
}
.faq details:not([open])::details-content {
  block-size: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .faq details::details-content {
    transition: block-size, content-visibility, display;
    transition-duration: 0.28s;
    transition-timing-function: ease-in-out;
    transition-behavior: allow-discrete;
  }
}
.faq details p {
  color: var(--ink-2);
  max-width: 42rem;
  padding: 2px 0 24px;
}
.faq a {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(10, 10, 10, 0.35);
}
.faq a:hover {
  text-decoration-color: var(--ink);
}

/* ------------------------------------------------------- Chapter V: Contact */

.spread-contact {
  position: relative;
  overflow: hidden;
  min-height: min(94vh, 920px);
}
.contact-inner {
  position: relative;
  z-index: 2;
}

.contact-map {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.contact-map.is-ready {
  opacity: 1;
}
.contact-map-canvas {
  width: 100%;
  height: 100%;
}
.contact-map::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.94) 36%, rgba(255, 255, 255, 0.35) 62%, rgba(255, 255, 255, 0) 82%),
    linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0) 14%, rgba(255, 255, 255, 0) 86%, #fff 100%);
}
.contact-map .maplibregl-canvas {
  outline: none;
}
.map-pin {
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: none;
}
.map-pin-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 6px rgba(10, 10, 10, 0.08), 0 0 0 1px #fff inset;
}
.map-pin-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.86rem;
  line-height: 1.35;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  padding: 4px 8px;
}
.map-credit {
  position: absolute;
  right: var(--pad);
  bottom: 14px;
  z-index: 2;
  font-family: var(--sans);
  font-size: 0.7rem;
  color: var(--muted);
}
.map-credit a:hover {
  color: var(--ink);
}

.contact-mail-row {
  margin-left: calc(14vw + clamp(20px, 3vw, 48px));
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px 28px;
}
.contact-mail {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2.1rem, 5.6vw, 5.8rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.04;
  word-break: break-word;
  transition: opacity 0.25s ease;
}
.contact-mail:hover,
.contact-mail:focus-visible {
  opacity: 0.6;
}
.copy-mail {
  appearance: none;
  background: var(--wash);
  border: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.96rem;
  padding: 8px 16px;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.copy-mail:hover {
  background: var(--ink);
  color: var(--paper);
}

.contact-grid {
  margin-left: calc(14vw + clamp(20px, 3vw, 48px));
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(40px, 5vw, 88px);
  margin-top: clamp(44px, 5.5vw, 72px);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 22px;
  background: rgba(255, 255, 255, 0.9);
  padding: 0;
}
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.field {
  display: grid;
  gap: 8px;
}
.field-label {
  font-style: italic;
  font-size: 0.94rem;
  color: var(--muted);
  transition: color 0.2s ease;
}
.field:focus-within .field-label {
  color: var(--ink);
}
.field-label i {
  font-style: normal;
  opacity: 0.75;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: 400 1rem/1.45 var(--serif);
  color: var(--ink);
  background: var(--wash);
  border: 0;
  border-radius: 0;
  padding: 13px 16px;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea {
  resize: vertical;
  min-height: 7.5rem;
}
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 16px) 52%, calc(100% - 11px) 52%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
  cursor: pointer;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #efefef;
  box-shadow: inset 0 -2px 0 var(--ink);
}
.field [aria-invalid="true"] {
  box-shadow: inset 0 -2px 0 var(--ink);
}
.field-error {
  min-height: 0;
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--ink);
}
.field-error:empty {
  display: none;
}
.field-error::before {
  content: "— ";
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 6px;
}
.form-status {
  font-size: 0.96rem;
  color: var(--ink-2);
}
.form-status a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-form.is-sent .field-row,
.contact-form.is-sent .field,
.contact-form.is-sent button {
  display: none;
}
.contact-form.is-sent .form-status {
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  font-style: italic;
  color: var(--ink);
}

.studio {
  font-style: normal;
  display: grid;
  gap: 10px;
  align-self: end;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.studio p {
  font-size: clamp(1.12rem, 1.4vw, 1.38rem);
  line-height: 1.44;
}
.studio-link {
  justify-self: start;
  font-size: 0.96rem;
  font-style: italic;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(10, 10, 10, 0.35);
}
.studio-link:hover {
  text-decoration-color: var(--ink);
}

/* ------------------------------------------------------------ buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 22px;
  font: 500 0.9rem/1 var(--sans);
  letter-spacing: -0.01em;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.22s ease, color 0.22s ease;
  white-space: nowrap;
}
.btn span {
  transition: transform 0.25s ease;
}
.btn:hover span {
  transform: translateX(3px);
}
.btn-solid {
  background: var(--ink);
  color: var(--paper);
}
.btn-solid:hover {
  background: #2c2c2c;
}
.btn-ghost {
  background: var(--wash);
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn-bar {
  min-height: 36px;
  padding: 0 16px;
  font-size: 0.84rem;
}
.btn[disabled] {
  opacity: 0.55;
  cursor: progress;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* ------------------------------------------------------------- footer */

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px 32px;
  padding: 40px var(--pad) max(40px, env(safe-area-inset-bottom, 0px));
  font-size: 0.9rem;
  color: var(--muted);
  background: var(--paper);
}
.footer-left {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 24px;
}
.footer-top {
  font-style: italic;
  color: var(--ink-2);
  transition: color 0.2s ease;
}
.footer-top:hover {
  color: var(--ink);
}
.credit a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(10, 10, 10, 0.25);
}
.credit a:hover {
  color: var(--ink);
  text-decoration-color: var(--ink);
}

/* --------------------------------------------------------- responsive */

@media (max-width: 1100px) {
  .craft-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  :root {
    --bar-h: 62px;
  }
  .bar nav {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
  }
  .hero-lead,
  .hero-title {
    grid-column: 1 / -1;
  }
  .tree {
    grid-column: 1 / -1;
    grid-row: 1;
    align-self: stretch;
    justify-self: stretch;
    width: auto;
    height: auto;
    min-height: 260px;
    margin: 12px calc(var(--pad) * -0.5) 12px;
  }
  .cell-end {
    margin-left: 0;
    width: 100%;
  }
  .spread-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .catalogue-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .craft-grid {
    grid-template-columns: 1fr;
  }
  .craft-grid,
  .colophon-note,
  .faq,
  .contact-mail-row,
  .contact-grid {
    margin-left: 0;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .contact-mail {
    font-size: clamp(1.7rem, 8vw, 3rem);
  }
  .contact-map::after {
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.94) 45%, rgba(255, 255, 255, 0.2) 70%, rgba(255, 255, 255, 0) 100%);
  }
  .spread-contact {
    min-height: 0;
    padding-bottom: 340px;
  }
}

@media (max-width: 520px) {
  .hero-title {
    font-size: 13.5vw;
  }
  .btn-bar {
    display: none;
  }
}
