/* ==========================================================================
   WALIRU HANDMADE — styles
   Fonts live in fonts.css. Colors live right below.
   ========================================================================== */

:root {
  --bone:   #FBFAF8;
  --green:  #2F3E33;
  --terra:  #B35F42;
  --sage:   #738177;
  --ochre:  #A68949;
  --cream:  #FCF3D9;

  --terra-soft: #DFA085;            /* terracotta that reads on dark green */
  --ink:        #2F3E33;
  --line:       rgba(47, 62, 51, .16);
  --line-light: rgba(252, 243, 217, .22);

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(84px, 11vw, 150px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* faint paper grain over everything */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .32;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .18 0 0 0 0 .24 0 0 0 0 .2 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 1.5px dashed var(--terra); outline-offset: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--wide { max-width: 1640px; padding: 0 clamp(20px, 4vw, 72px); }
.section { padding: var(--section) 0; position: relative; }
.center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: .72rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 1.4rem;
}
.title {
  font-family: var(--font-title);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .2em;
  line-height: 1.25;
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  margin: 0;
}
.script {
  display: block;
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--terra);
  font-size: calc(1.2rem * var(--script-scale));
  line-height: 1.65;
  text-wrap: balance;
  letter-spacing: 0;
  padding-left: .12em;
  text-transform: none;
  margin: .35em 0 0;
}
.lead { font-size: 1.08rem; color: #4b5a4f; max-width: 34em; }
.muted { color: var(--sage); }
.section-head { margin-bottom: clamp(44px, 6vw, 72px); }
.section-head.center .lead { margin: 1.6rem auto 0; }

/* the "pending" marker for content Lore still has to send */
.tbd {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 400;
  font-size: .82em;
  letter-spacing: .02em;
  color: #7a6430;
  background: rgba(166, 137, 73, .13);
  border: 1px dashed rgba(166, 137, 73, .7);
  border-radius: 3px;
  padding: .05em .45em;
  white-space: nowrap;
}
.dark .tbd { color: #e3cf96; background: rgba(166, 137, 73, .18); }

/* ---------- ornaments: stitches + button ---------- */
.stitch {
  height: 1.5px;
  border: 0;
  margin: 0;
  background: repeating-linear-gradient(90deg, currentColor 0 9px, transparent 9px 16px);
  color: var(--terra);
  opacity: .7;
}
.ornament {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  color: var(--terra);
  margin: 0 auto;
  max-width: 260px;
}
.ornament .stitch { flex: 1; }
.ornament svg { width: 22px; height: 22px; flex: none; }

/* ---------- buttons ---------- */
.btn {
  --c: var(--terra);
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: .76rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.15em 2.1em;
  border: 1px solid var(--c);
  background: var(--c);
  color: var(--bone);
  border-radius: 0;
  cursor: pointer;
  position: relative;
  transition: background .35s var(--ease), color .35s var(--ease);
}
/* inner seam */
.btn::after {
  content: ""; position: absolute; inset: 4px;
  border: 1px dashed rgba(251, 250, 248, .55);
  pointer-events: none;
  transition: border-color .35s var(--ease);
}
.btn:hover { background: transparent; color: var(--c); }
.btn:hover::after { border-color: rgba(179, 95, 66, .45); }
.btn--ghost { background: transparent; color: var(--c); }
.btn--ghost::after { border-color: rgba(179, 95, 66, .35); }
.btn--ghost:hover { background: var(--c); color: var(--bone); }
.btn--ghost:hover::after { border-color: rgba(251, 250, 248, .55); }
.dark .btn--ghost { --c: var(--cream); }
.dark .btn--ghost::after { border-color: rgba(252, 243, 217, .35); }
.dark .btn--ghost:hover { color: var(--green); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

.link {
  font-weight: 400;
  font-size: .78rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--terra);
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}
.link:hover { color: var(--green); }

/* ---------- header ---------- */
.site-header { position: relative; z-index: 20; padding-top: 26px; }
.brand { display: block; width: clamp(150px, 15vw, 190px); margin: 0 auto; }
.brand img { width: 100%; }
.nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(251, 250, 248, .9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s;
}
.nav.is-stuck { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: center; min-height: 64px; position: relative; }
.nav__mini {
  position: absolute; left: var(--gutter);
  width: 38px; opacity: 0; transform: translateY(4px);
  transition: opacity .4s, transform .4s;
  pointer-events: none;
}
.nav.is-stuck .nav__mini { opacity: 1; transform: none; pointer-events: auto; }
.nav__list { list-style: none; display: flex; gap: clamp(18px, 3vw, 44px); margin: 0; padding: 0; }
.nav__list a {
  font-weight: 400;
  font-size: .72rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--green);
  padding: 6px 0;
  background: linear-gradient(var(--terra), var(--terra)) 0 100% / 0 1px no-repeat;
  transition: background-size .4s var(--ease), color .3s;
}
.nav__list a:hover, .nav__list a[aria-current] { color: var(--terra); background-size: 100% 1px; }
.nav__toggle { display: none; }

@media (max-width: 860px) {
  .nav__inner { justify-content: space-between; }
  .nav__mini { position: static; }
  .nav__toggle {
    display: inline-flex; align-items: center; gap: 10px;
    background: none; border: 0; color: var(--green); cursor: pointer;
    font: 400 .72rem/1 var(--font-body); letter-spacing: .26em; text-transform: uppercase;
    padding: 10px 0;
  }
  .nav__toggle span { display: block; width: 22px; height: 1px; background: currentColor; box-shadow: 0 6px 0 currentColor; transform: translateY(-3px); }
  .nav__list {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: center; gap: 22px;
    background: var(--bone);
    padding: 30px 0 38px;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.is-open .nav__list { display: flex; }
}

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 var(--section); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.hero h1 {
  font-family: var(--font-title);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .16em;
  line-height: 1.12;
  font-size: clamp(2rem, 3.9vw, 3.5rem);
  margin: 0;
}
.hero h1 .amp { color: var(--terra); }
.hero .script { font-size: calc(1.3rem * var(--script-scale)); margin: .6em 0 1.2em; max-width: 15em; line-height: 1.7; }
.hero .lead { margin-bottom: 2.4rem; }
.hero__figure { position: relative; margin: 0; justify-self: center; width: min(100%, 460px); }
.arch {
  border-radius: 999px 999px 0 0 / 50% 50% 0 0;
  overflow: hidden;
  background: #eeece8;
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero__figure .arch { aspect-ratio: 4 / 5.3; position: relative; z-index: 1; }
.hero__figure::before {
  content: "";
  position: absolute; inset: -18px -18px 26px 18px;
  border: 1px solid var(--terra);
  border-radius: 999px 999px 0 0 / 50% 50% 0 0;
  opacity: .55;
}
.hero__caption {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; gap: 12px;
  font-size: .78rem; letter-spacing: .06em; color: var(--sage);
  padding-top: 14px;
  border-top: 1px solid var(--line);
  margin-top: 0;
}
.hero__caption b { font-family: var(--font-title); font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--green); }
.hero__stars { position: absolute; z-index: 2; color: var(--ochre); width: 70px; right: -26px; top: 18%; }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__text { text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero .btn-row { justify-content: center; }
  .hero__figure { width: min(84%, 400px); }
}

/* ---------- watercolor discs ---------- */
.watercolor { margin: 0 auto; }
.watercolor img { width: 100%; }

/* ---------- legend ---------- */
.legend { text-align: center; padding-top: 0; padding-bottom: clamp(40px, 6vw, 80px); }
.legend .watercolor { width: clamp(200px, 24vw, 280px); margin-bottom: 8px; }
.legend .script { font-size: calc(1.9rem * var(--script-scale)); margin: 0 0 2.2rem; line-height: 1.4; }
.legend__verse {
  font-family: var(--font-title);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.9;
  color: var(--green);
  margin: 0 auto 2.2rem;
  max-width: 30em;
}
.legend .lead { margin: 2.2rem auto 0; }

/* ---------- souls carousel ---------- */
.souls { background: linear-gradient(var(--bone), #f6f3ec); }
.souls__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.carousel__ctrl { display: flex; gap: 10px; }
.round-btn {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent; color: var(--green);
  display: grid; place-items: center;
  cursor: pointer;
  transition: border-color .3s, color .3s, background .3s;
}
.round-btn:hover:not(:disabled) { border-color: var(--terra); color: var(--terra); }
.round-btn:disabled { opacity: .3; cursor: default; }
.round-btn svg { width: 18px; }

.carousel { position: relative; }
.carousel__viewport { overflow: hidden; cursor: grab; touch-action: pan-y; padding: 6px 0 26px; }
.carousel__viewport.is-dragging { cursor: grabbing; }
.carousel__track {
  display: flex; width: max-content;
  will-change: transform;
}
.carousel__rail {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: clamp(232px, 25vw, 318px);
  column-gap: clamp(18px, 2.4vw, 34px);
  padding-right: clamp(18px, 2.4vw, 34px);
}
.carousel__viewport img { -webkit-user-drag: none; user-select: none; }
.fox img { will-change: transform; transform-origin: 50% 80%; }
.carousel__progress {
  max-width: var(--wrap); margin: 18px auto 0; padding: 0 var(--gutter);
}
.carousel__progress div { overflow: hidden; height: 3px; background: linear-gradient(var(--line), var(--line)) 0 1px / 100% 1px no-repeat; position: relative; }
.carousel__progress span {
  position: absolute; left: 0; top: 0; height: 3px; background: var(--terra);
  width: 20%;
}

.soul-card { scroll-snap-align: start; text-decoration: none; color: inherit; display: block; }
.soul-card__img { aspect-ratio: 4 / 5.2; position: relative; }
.soul-card__img img {
  position: absolute; inset: 0;
  transition: opacity .7s var(--ease), transform 1.2s var(--ease);
  -webkit-user-drag: none; user-select: none;
}
.soul-card__img img + img { opacity: 0; }
.soul-card:hover .soul-card__img img { transform: scale(1.035); }
.soul-card:hover .soul-card__img img + img { opacity: 1; }
.soul-card__body { padding: 22px 4px 0; text-align: center; }
.soul-card__name {
  font-family: var(--font-title); font-weight: 400;
  text-transform: uppercase; letter-spacing: .26em;
  font-size: 1.05rem; margin: 0;
}
.soul-card .script { font-size: calc(.95rem * var(--script-scale)); margin: .3em 0 .8em; line-height: 1.65; }
.made-to-order {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .66rem; font-weight: 400; letter-spacing: .28em; text-transform: uppercase; color: var(--sage);
}
.made-to-order::before, .made-to-order::after { content: ""; width: 16px; height: 1px; background: repeating-linear-gradient(90deg, var(--terra) 0 4px, transparent 4px 7px); }
.souls__more { text-align: center; margin-top: clamp(48px, 6vw, 70px); }

/* ---------- what's inside (dark) ---------- */
.dark { background: var(--green); color: var(--cream); }
.dark .eyebrow { color: rgba(252, 243, 217, .6); }
.dark .script { color: var(--terra-soft); }
.dark .lead { color: rgba(252, 243, 217, .78); }
.dark .stitch { color: var(--terra-soft); }
.inside__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(48px, 8vw, 120px); align-items: start; }
.inside__box {
  margin-top: 46px;
  aspect-ratio: 1 / .78;
  border: 1px solid var(--line-light);
  position: relative;
  display: grid; place-items: center;
  max-width: 400px;
}
.inside__box::before { content: ""; position: absolute; inset: 10px; border: 1px dashed rgba(223, 160, 133, .5); }
.inside__box .logo-mask {
  width: 62%; aspect-ratio: 131.56 / 103.23;
  background: var(--cream);
  -webkit-mask: url("../img/brand/waliru-logo.svg") center / contain no-repeat;
          mask: url("../img/brand/waliru-logo.svg") center / contain no-repeat;
  opacity: .92;
}
.inside__box figcaption {
  position: absolute; bottom: -34px; left: 0; right: 0; text-align: center;
  font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: rgba(252, 243, 217, .55);
}
.inside__list { list-style: none; margin: 0; padding: 0; counter-reset: item; }
.inside__list li {
  display: grid; grid-template-columns: 54px 1fr; gap: 26px; align-items: start;
  padding: 30px 0;
  border-top: 1px solid var(--line-light);
}
.inside__list li:last-child { border-bottom: 1px solid var(--line-light); }
.inside__list svg { width: 46px; height: 46px; color: var(--terra-soft); }
.inside__list h3 {
  font-family: var(--font-title); font-weight: 400; margin: 0 0 .35em;
  font-size: 1rem; letter-spacing: .2em; text-transform: uppercase;
}
.inside__list h3 small { font-family: var(--font-body); font-size: .7rem; letter-spacing: .2em; color: var(--terra-soft); margin-right: 12px; }
.inside__list p { margin: 0; color: rgba(252, 243, 217, .74); font-size: .98rem; }

@media (max-width: 860px) {
  .inside__grid { grid-template-columns: 1fr; }
  .inside__box { margin: 46px auto 40px; }
}

/* ---------- how to order ---------- */
.order .watercolor { width: clamp(260px, 30vw, 380px); margin-bottom: 18px; }
/* How to order: steps joined by a stitched thread that waves between them.
   The thread itself is drawn by main.js (drawThread) from the circle positions. */
.steps {
  list-style: none; margin: 0; padding: 0 0 20px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  column-gap: clamp(26px, 3.4vw, 54px);
  position: relative;
}
.steps__thread { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.steps__thread path { fill: none; }
.steps__line, .steps__seg { stroke: var(--terra); stroke-width: 1.4; stroke-dasharray: 7 6; stroke-linecap: round; }
.steps__line { opacity: .75; }
.steps__seg { opacity: 0; stroke: #8e3f26; stroke-width: 1.8; transition: opacity .5s ease; }
.steps__seg.is-hot { opacity: 1; }
.steps__mask { stroke: #fff; stroke-width: 14; stroke-linecap: round; }
.step { position: relative; z-index: 1; text-align: center; }
.step:nth-of-type(even) { margin-top: clamp(100px, 11vw, 150px); }
.step__num {
  width: 74px; height: 74px; border-radius: 50%;
  display: grid; place-items: center;
  /* a sewing button: domed terracotta, a raised rim, two holes stitched with cream thread */
  background: radial-gradient(circle at 34% 28%, #cf7b5b 0%, #b35f42 48%, #974a31 100%);
  color: var(--cream);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, .12),
    inset 0 2px 3px rgba(255, 255, 255, .25),
    0 3px 6px rgba(47, 62, 51, .22),
    0 0 0 8px var(--bone);
  font-family: var(--font-title); font-size: 1.05rem; letter-spacing: .06em;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .25);
  position: relative; margin: 0 auto 24px;
}
.step__num::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='50' cy='50' r='39' fill='none' stroke='%23000' stroke-opacity='.22' stroke-width='1.6'/><circle cx='50' cy='51.5' r='39' fill='none' stroke='%23fff' stroke-opacity='.22' stroke-width='1.2'/><circle cx='50' cy='18.5' r='5.2' fill='%235a2a1b'/><circle cx='50' cy='81.5' r='5.2' fill='%235a2a1b'/><g stroke='%23FCF3D9' stroke-width='2.4' stroke-linecap='round'></g></svg>") center / 100% 100% no-repeat;
}
.step h3 {
  font-family: var(--font-title); font-weight: 400; margin: 0;
  font-size: .98rem; letter-spacing: .18em; text-transform: uppercase; line-height: 1.4;
}
.step p { font-size: .97rem; color: #4b5a4f; margin: .8em 0 0; }
.step .note { font-size: .86rem; color: var(--sage); margin-top: .7em; }
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 70px; }
  .step:nth-of-type(even) { margin-top: 90px; }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; row-gap: 56px; }
  .step { text-align: left; display: grid; grid-template-columns: 74px 1fr; column-gap: 18px; align-items: center; }
  .step__num { margin: 0; }
  .step p { grid-column: 2; }
  .step:nth-of-type(even) { margin-top: 0; margin-left: 34px; }
}

/* ---------- found home ---------- */
.found { background: var(--cream); }
.found__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.found .watercolor { width: min(100%, 360px); }
.quote { margin: 0; }
.quote p {
  font-family: var(--font-title); font-weight: 300; font-style: italic;
  font-size: clamp(1.25rem, 2.1vw, 1.65rem); line-height: 1.6; color: var(--green);
  margin: 1.4rem 0 1.6rem;
}
.quote p::before { content: "“"; color: var(--terra); font-size: 2.4em; line-height: 0; vertical-align: -.42em; margin-right: .08em; font-style: normal; }
.quote footer { font-size: .76rem; letter-spacing: .24em; text-transform: uppercase; color: var(--sage); }
@media (max-width: 860px) {
  .found__grid { grid-template-columns: 1fr; text-align: center; }
}

/* ---------- artist ---------- */
.artist__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.artist__photo { position: relative; width: min(100%, 420px); justify-self: center; }
.artist__photo .arch {
  aspect-ratio: 4 / 5.2;
  background: #f1ede5;
  border: 1px dashed rgba(115, 129, 119, .55);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center;
  color: var(--sage); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; padding: 30px;
}
.artist__photo .watercolor { position: absolute; width: 42%; right: -14%; bottom: -8%; }
.artist .lead { max-width: none; }
.artist__sign { font-family: var(--font-script); color: var(--terra); font-size: calc(2rem * var(--script-scale)); line-height: 1; margin: .2em 0 1em; }
@media (max-width: 860px) {
  .artist__grid { grid-template-columns: 1fr; }
  .artist__photo .watercolor { right: -6%; }
}

/* ---------- faq ---------- */
.faq__list { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 4px;
  font-family: var(--font-title); font-weight: 400; font-size: 1.08rem; letter-spacing: .02em;
  transition: color .3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--terra); }
.faq summary i {
  flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); position: relative;
  transition: transform .4s var(--ease), border-color .3s;
}
.faq summary i::before, .faq summary i::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1px; background: var(--terra);
  transform: translate(-50%, -50%);
}
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.faq details[open] summary i { border-color: var(--terra); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__answer { padding: 0 60px 28px 4px; color: #4b5a4f; }
.faq__answer p:last-child { margin-bottom: 0; }

/* ---------- contact / footer ---------- */
.contact { padding-bottom: 0; }
.contact .logo-mask {
  width: 150px; aspect-ratio: 131.56 / 103.23; margin: 0 auto 30px;
  background: var(--cream);
  -webkit-mask: url("../img/brand/waliru-logo.svg") center / contain no-repeat;
          mask: url("../img/brand/waliru-logo.svg") center / contain no-repeat;
}
.contact__cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light);
  margin-top: clamp(48px, 6vw, 70px);
}
.contact__card {
  padding: 40px 24px; text-align: center; text-decoration: none; color: var(--cream);
  transition: background .4s;
}
.contact__card + .contact__card { border-left: 1px solid var(--line-light); }
.contact__card:hover { background: rgba(252, 243, 217, .05); }
.contact__card svg { width: 26px; height: 26px; color: var(--terra-soft); margin: 0 auto 16px; display: block; }
.contact__card span { display: block; font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(252, 243, 217, .55); margin-bottom: 6px; }
.contact__card strong { font-family: var(--font-title); font-weight: 400; font-size: 1.05rem; letter-spacing: .06em; }
.footer-line {
  padding: 34px 0 40px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(252, 243, 217, .55);
}
@media (max-width: 760px) {
  .contact__cards { grid-template-columns: 1fr; }
  .contact__card + .contact__card { border-left: 0; border-top: 1px solid var(--line-light); }
  .footer-line { justify-content: center; text-align: center; }
}

/* ---------- gallery page ---------- */
.page-hero { text-align: center; padding: clamp(50px, 7vw, 90px) 0 clamp(50px, 6vw, 80px); }
.page-hero h1 { font-family: var(--font-title); font-weight: 400; text-transform: uppercase; letter-spacing: .2em; font-size: clamp(2rem, 4vw, 3.2rem); margin: 0; }
.page-hero .lead { margin: 1.8rem auto 0; }
.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(40px, 5vw, 70px) clamp(22px, 3vw, 44px);
}
.gallery .soul-card:nth-child(3n+2) { margin-top: clamp(0px, 6vw, 80px); }
.gallery .soul-card__story { font-size: .95rem; color: #4b5a4f; margin: .4em auto 1.2em; max-width: 24em; }
.gallery .link { font-size: .68rem; }
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .soul-card:nth-child(3n+2) { margin-top: 0; }
  .gallery .soul-card:nth-child(2n) { margin-top: clamp(0px, 8vw, 60px); }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery .soul-card:nth-child(2n) { margin-top: 0; }
}
.gallery-cta { text-align: center; }
.gallery-cta .btn-row { justify-content: center; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}
.contact__card span.tbd { display: inline; font-size: .8rem; letter-spacing: .04em; text-transform: none; margin: 0; color: #e3cf96; }

/* ---------- language switch (top left corner) ---------- */
.lang {
  position: absolute; top: 26px; left: var(--gutter);
  display: flex; align-items: center; gap: 6px;
  font-size: .7rem; letter-spacing: .24em; color: var(--sage);
}
.lang button {
  background: none; border: 0; padding: 6px 2px; cursor: pointer;
  font: 400 .7rem/1 var(--font-body); letter-spacing: .24em; color: var(--sage);
  border-bottom: 1px solid transparent; transition: color .3s, border-color .3s;
}
.lang button:hover { color: var(--terra); }
.lang button[aria-pressed="true"] { color: var(--terra); border-bottom-color: var(--terra); }
@media (max-width: 560px) { .lang { top: 14px; } }

/* artist portrait */
.artist__photo .arch:has(img) { border: 0; padding: 0; display: block; }
.artist__photo .arch img { object-position: 50% 30%; }

/* "see the whole gallery" button */
.btn--more { padding-left: 2.6em; padding-right: 2.6em; }
.btn--more svg { width: 22px; height: 11px; transition: transform .35s var(--ease); }
.btn--more:hover svg { transform: translateX(5px); }

/* ---------- souls gallery grid (like byloregarcia.com/illustration) ---------- */
.grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(3rem, 4vw, 4.5rem) clamp(1.5rem, 2.6vw, 3rem);
}
.grid-card__link { display: block; color: inherit; text-decoration: none; }
.grid-card__img { aspect-ratio: 4 / 5; position: relative; }
.grid-card__img img {
  position: absolute; inset: 0;
  transition: opacity .7s var(--ease), transform .6s var(--ease);
  -webkit-user-drag: none;
}
.grid-card__img img + img { opacity: 0; }
.grid-card__meta { padding: 1.1rem 0 1.15rem; border-bottom: 1px solid var(--line); }
.grid-card__cat {
  display: block; margin-bottom: .45rem;
  font-size: .66rem; font-weight: 400; letter-spacing: .28em; text-transform: uppercase; color: var(--sage);
}
.grid-card__row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.grid-card__name {
  margin: 0; font-family: var(--font-title); font-weight: 400;
  font-size: 1.1rem; letter-spacing: .24em; text-transform: uppercase;
  transition: color .3s;
}
.grid-card__arrow { width: 22px; height: 11px; color: var(--terra); transition: transform .35s var(--ease); flex: none; }
@media (hover: hover) {
  .grid-card__link:hover .grid-card__img img { transform: scale(1.03); }
  .grid-card__link:hover .grid-card__img img + img { opacity: 1; }
  .grid-card__link:hover .grid-card__name { color: var(--terra); }
  .grid-card__link:hover .grid-card__arrow { transform: translateX(4px); }
}
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.25rem 2.5rem; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; row-gap: 2.75rem; } }

/* the sleeping fox, printed in cream straight on the dark green */
.inside__box { aspect-ratio: 1 / .9; }
.inside__fox {
  width: 78%; aspect-ratio: 168.06 / 134.03;
  background: var(--cream);
  -webkit-mask: url("../img/brand/zorro-dormido.svg") center / contain no-repeat;
          mask: url("../img/brand/zorro-dormido.svg") center / contain no-repeat;
}

/* How to order: half the empty space under the buttons */
.section.order { padding-bottom: calc(var(--section) / 2); }

/* What's inside: roomier script line, and the sleeping fox big and unframed */
#inside .script { line-height: 2; }
.inside__box { border: 0; max-width: none; aspect-ratio: auto; margin: 40px auto 0; display: flex; flex-direction: column; align-items: center; background: none; }
.inside__box::before { display: none; }
.inside__box .inside__fox { width: 100%; max-width: 560px; }
.inside__box figcaption { position: static; margin-top: 22px; }
@media (min-width: 861px) {
  /* about twice its previous size: it may spill a little past the column, centered on it */
  .inside__box { width: 145%; margin-left: -22.5%; margin-right: -22.5%; }
  .inside__box .inside__fox { max-width: 620px; }
}

/* legend on a full-width cream band; Souls starts right after on bone */
.section.legend { padding-bottom: 0; }
.legend__band { background: var(--cream); padding: 96px 0; }
.section.souls { background: var(--bone); padding-top: 96px; }

/* ---------- How to order: sewn in as you scroll ---------- */
.step__stitches { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.step__stitches .st { fill: none; stroke: var(--cream); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.steps--anim .step__num { opacity: 0; transform: scale(.35) rotate(-25deg); }
.steps--anim .step__stitches .st { stroke-dashoffset: 1; }
.steps--anim .step h3, .steps--anim .step p { opacity: 0; transform: translateY(14px); }
.steps--anim .step.is-sewn .step__num {
  animation: sewOn 1s cubic-bezier(.34, 1.45, .55, 1) forwards;
}
.steps--anim .step.is-sewn .st1 { transition: stroke-dashoffset .55s ease .55s; stroke-dashoffset: 0; }
.steps--anim .step.is-sewn .st2 { transition: stroke-dashoffset .55s ease 1.05s; stroke-dashoffset: 0; }
.steps--anim .step h3, .steps--anim .step p { transition: opacity .5s ease, transform .5s ease; }
.steps--anim .step.is-sewn h3 { opacity: 1; transform: none; transition: opacity .9s ease 1.35s, transform .9s ease 1.35s; }
.steps--anim .step.is-sewn p { opacity: 1; transform: none; transition: opacity .9s ease 1.5s, transform .9s ease 1.5s; }
@keyframes sewOn {
  0%   { opacity: 0; transform: scale(.35) rotate(-25deg); }
  60%  { opacity: 1; transform: scale(1.08) rotate(4deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}
.steps--anim .step__num { transition: opacity .6s ease, transform .6s ease; }
.steps--anim .step.is-sewn .step__num.is-done { animation: none; opacity: 1; transform: none; }
/* hover: the button turns a little on its thread, like a real fabric button */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .steps--anim .step.is-sewn .step__num.is-done:hover { animation: buttonTwist .9s ease-in-out; }
}
@keyframes buttonTwist {
  0%, 100% { transform: rotate(0); }
  35% { transform: rotate(10deg); }
  70% { transform: rotate(-3deg); }
}

/* the leaping fox lives inside the cream band, just above the script line */
.legend__band .watercolor.fox { margin: 0 auto 32px; }
.legend__band .script { margin-top: 0; }

/* How to order, pinned while the thread is sewn (large screens only; set by main.js) */
.order-pin { position: relative; }
.section.order.order--pinned { position: sticky; padding-top: 20px; padding-bottom: 20px; }
.order--pinned .section-head { margin-bottom: 28px; }
.order--pinned .watercolor { width: 300px; margin-bottom: 4px; }
.order--pinned .watercolor img { aspect-ratio: 1 / .57; object-fit: cover; object-position: 50% 42%; }
.order--pinned .steps { padding-bottom: 0; }
.order--pinned .step:nth-of-type(even) { margin-top: 70px; }
.order--pinned .order__cta { margin-top: 30px; }
.order--tight .watercolor { width: 180px; }
.section.order.order--tight { padding-top: 12px; padding-bottom: 12px; }
.order--tight .eyebrow { margin-bottom: .6rem; }
.order--tight .section-head { margin-bottom: 16px; }
.order--tight .step:nth-of-type(even) { margin-top: 44px; }
.order--tight .step__num { margin-bottom: 14px; }
.order--tight .order__cta { margin-top: 18px; }

/* ---------- footer: curved top, WhatsApp + Instagram only ---------- */
.contact, .site-foot {
  border-top-left-radius: 50% clamp(36px, 6vw, 90px);
  border-top-right-radius: 50% clamp(36px, 6vw, 90px);
}
.section.contact { padding-top: calc(var(--section) / 2); }
.contact .logo-mask { margin-bottom: 18px; }
.contact__cards {
  display: flex; justify-content: center; gap: clamp(48px, 9vw, 140px);
  border: 0; margin-top: clamp(24px, 3vw, 36px);
}
.contact__card { padding: 18px 10px; background: none; }
.contact__card + .contact__card { border: 0; }
.contact__card:hover { background: none; }
.contact__card:hover strong { color: var(--terra-soft); }
.contact__card strong { transition: color .3s; }
.contact .footer-line { padding: 22px 0 26px; }

/* compact footer for subpages: about a third of the homepage one */
.site-foot { padding-top: clamp(40px, 5vw, 64px); }
.site-foot__row { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.site-foot__logo .logo-mask {
  display: block; width: 92px; aspect-ratio: 131.56 / 103.23; background: var(--cream);
  -webkit-mask: url("../img/brand/waliru-logo.svg") center / contain no-repeat;
          mask: url("../img/brand/waliru-logo.svg") center / contain no-repeat;
}
.site-foot__links { display: flex; gap: clamp(28px, 5vw, 72px); }
.site-foot .contact__card { display: grid; grid-template-columns: auto auto; column-gap: 12px; align-items: center; text-align: left; padding: 8px 0; }
.site-foot .contact__card svg { grid-row: span 2; margin: 0; }
.site-foot .contact__card span { margin: 0; }
.site-foot .footer-line { padding: 22px 0 26px; margin-top: 18px; border-top: 1px solid var(--line-light); }

@media (max-width: 760px) {
  .contact__cards { flex-direction: column; align-items: center; gap: 4px; }
  .site-foot__row, .site-foot__links { flex-direction: column; align-items: center; }
  .site-foot__links { gap: 6px; }
  .site-foot .contact__card { text-align: center; grid-template-columns: 1fr; }
  .site-foot .contact__card svg { grid-row: auto; margin: 0 auto 8px; }
}
/* the arch overlaps the section above, so its corners show that section's colour */
.contact, .site-foot { position: relative; margin-top: calc(-1 * clamp(36px, 6vw, 90px)); }
.section.contact { padding-top: calc(var(--section) / 2 + clamp(36px, 6vw, 90px) * .5); }
.site-foot { padding-top: calc(clamp(40px, 5vw, 64px) + clamp(36px, 6vw, 90px) * .5); }

/* footer, revised: straight top edge + a stitched terracotta line 24px below it */
.contact, .site-foot { border-radius: 0; margin-top: 0; }
.section.contact { padding-top: calc(var(--section) / 2); }
.site-foot { padding-top: clamp(48px, 5vw, 64px); }
.contact::before, .site-foot::before {
  content: ""; position: absolute; top: 24px; height: 1.4px;
  left: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
  right: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
  background: repeating-linear-gradient(90deg, var(--terra) 0 7px, transparent 7px 13px);
  opacity: .9;
}
.contact .logo-mask { margin-bottom: 8px; }
.contact .contact__card { padding-bottom: 8px; }
.contact .footer-line { padding-top: 12px; }

/* What's inside → How to order spacing */
#inside.section { padding-bottom: 80px; }
.section.order { padding-top: 96px; }
.order-pin { padding-top: 76px; }               /* when pinned, the 96px sits above the sticky block */

/* footer stitch: same thread as "From a whisper to your door" (1.4px, 7px stitch, round ends, terracotta) */
.contact::before, .site-foot::before {
  height: 3px; top: 23px; opacity: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='3'%3E%3Cline x1='.7' y1='1.5' x2='7.7' y2='1.5' stroke='%23B35F42' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") left center / 13px 3px repeat-x;
}
/* half the space between the stitch and the logo */
.section.contact { padding-top: calc(25px + (var(--section) / 2 - 25px) / 2); }
.site-foot { padding-top: calc(25px + (clamp(48px, 5vw, 64px) - 25px) / 2); }

/* ---------- gallery: "Handmade details" info card, two cells wide ---------- */
.grid-info {
  grid-column: span 2;
  position: relative;
  background: var(--green); color: var(--bone);
  border-radius: 6px;
  padding: clamp(40px, 5vw, 72px) clamp(32px, 5vw, 76px);
  display: flex; flex-direction: column; justify-content: center;
}
/* a fine thread stitched all around, just inside the edge */
.grid-info::before {
  content: ""; position: absolute; inset: 12px; border-radius: 3px;
  border: 1px dashed rgba(251, 250, 248, .45); pointer-events: none;
}
.grid-info__title {
  margin: 0 0 clamp(26px, 3vw, 40px);
  font-family: var(--font-script); font-weight: 400; color: var(--bone);
  font-size: calc(1.6rem * var(--script-scale)); line-height: 1.3;
}
.grid-info__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.grid-info__list li {
  display: grid; grid-template-columns: 44px 1fr; gap: 22px; align-items: center;
  padding: 18px 0;
  border-top: 1px dashed rgba(251, 250, 248, .25);
}
.grid-info__list li:last-child { border-bottom: 1px dashed rgba(251, 250, 248, .25); }
.grid-info__list svg { width: 40px; height: 40px; fill: none; stroke: var(--bone); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.grid-info__list p { margin: 0; line-height: 1.5; }
.grid-info__list strong {
  display: block; font-family: var(--font-title); font-weight: 400;
  font-size: .9rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 2px;
}
.grid-info__list span { color: rgba(251, 250, 248, .78); font-size: .98rem; }
@media (max-width: 560px) { .grid-info { grid-column: span 1; } }

/* Handmade details: content centred as one block, with more air */
.grid-info { align-items: center; justify-content: center; padding: clamp(48px, 5vw, 80px) clamp(44px, 7vw, 110px); }
.grid-info__title { width: 100%; max-width: 540px; text-align: center; padding: 0 .2em; }
.grid-info__list { width: 100%; max-width: 540px; }
.grid-info__list li { padding: 24px 0; gap: 26px; }
.grid-info__list span { font-size: 1.08rem; }
.grid-info__list strong { margin-bottom: 4px; }

/* ==========================================================================
   CONTACT · Creation Journal: an open sketchbook on the workshop table
   ========================================================================== */
.desk {
  padding: clamp(36px, 5vw, 70px) var(--gutter) clamp(80px, 9vw, 130px);
  /* a pale linen cloth under the notebook */
  background:
    repeating-linear-gradient(0deg, rgba(166, 137, 73, .06) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(166, 137, 73, .05) 0 1px, transparent 1px 4px),
    radial-gradient(ellipse at 50% 40%, #f3ead8 0%, #ece0c8 70%, #e6d8bd 100%);
}
.journal {
  position: relative; max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 34px 1fr;
  filter: drop-shadow(0 18px 28px rgba(47, 62, 51, .18)) drop-shadow(0 2px 3px rgba(47, 62, 51, .12));
}
.journal__page {
  position: relative; min-height: 660px;
  padding: clamp(36px, 4.5vw, 64px) clamp(28px, 4vw, 58px);
  /* cream cotton paper with a little fibre */
  background:
    radial-gradient(circle at 20% 30%, rgba(166, 137, 73, .06) 0 1px, transparent 1.5px) 0 0 / 23px 23px,
    radial-gradient(circle at 70% 80%, rgba(115, 129, 119, .05) 0 1px, transparent 1.5px) 0 0 / 31px 31px,
    var(--cream);
}
.journal__page--left { border-radius: 6px 2px 2px 6px; box-shadow: inset -26px 0 30px -22px rgba(47, 62, 51, .28); }
.journal__page--right { border-radius: 2px 6px 6px 2px; box-shadow: inset 26px 0 30px -22px rgba(47, 62, 51, .28); }
/* the spine: exposed coptic stitches across the fold */
.journal__spine {
  position: relative;
  background: linear-gradient(90deg, #e7dcc0, #d9cba9 50%, #e7dcc0);
}
.journal__spine::before {
  content: ""; position: absolute; left: 50%; top: 40px; bottom: 40px; width: 26px; transform: translateX(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='96'%3E%3Cg fill='none' stroke='%23B35F42' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M3 18 Q13 12 23 18 M3 24 Q13 30 23 24'/%3E%3Cpath d='M13 15v12' stroke-dasharray='2 2'/%3E%3C/g%3E%3Ccircle cx='3' cy='21' r='1.6' fill='%235a2a1b'/%3E%3Ccircle cx='23' cy='21' r='1.6' fill='%235a2a1b'/%3E%3C/svg%3E") center top / 26px 96px repeat-y;
}

/* left page: the sketch held by washi tape, with ink notes */
.sketch { position: relative; margin: 30px auto 0; width: min(78%, 340px); transform: rotate(-2deg); background: #fffdf6; padding: 14px 14px 18px; box-shadow: 0 6px 14px rgba(47, 62, 51, .14); }
.sketch img { width: 100%; filter: grayscale(1) contrast(1.25) brightness(1.06) sepia(.25); mix-blend-mode: multiply; }
.sketch__tbd { position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%) rotate(2deg); }
.washi { position: absolute; width: 108px; height: 30px; opacity: .88; z-index: 2; }
.washi--stitch {
  top: -12px; left: -26px; transform: rotate(-28deg);
  background:
    linear-gradient(90deg, transparent 0 8px, transparent 8px) ,
    repeating-linear-gradient(90deg, #B35F42 0 6px, transparent 6px 11px) center / 100% 1.4px no-repeat,
    #efe3c8;
  clip-path: polygon(3% 0, 97% 4%, 100% 100%, 0 96%);
}
.washi--terra {
  bottom: 18px; right: -30px; transform: rotate(-36deg);
  background: rgba(179, 95, 66, .72);
  clip-path: polygon(0 6%, 100% 0, 96% 100%, 4% 94%);
}
.note {
  position: absolute; font-family: var(--font-script); color: #6d3a26;
  font-size: calc(1.05rem * var(--script-scale)); line-height: 1; white-space: nowrap;
}
.note i { font-style: normal; font-family: var(--font-body); font-size: .9rem; margin: 0 6px; color: var(--terra); }
.note--1 { top: 9%; right: 9%; }
.note--2 { bottom: 16%; left: 7%; }
.note--3 { bottom: 7%; right: 10%; }

/* right page: the form */
.journal__title { margin: 0; font-family: var(--font-script); font-weight: 400; color: var(--terra); font-size: calc(2rem * var(--script-scale)); line-height: 1.3; }
.journal__sub { margin: .4rem 0 2rem; font-family: var(--font-title); font-weight: 300; font-style: italic; font-size: 1.15rem; color: var(--green); }
.journal__form { display: grid; gap: 22px; }
.field { display: block; }
.field__label { display: block; font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--sage); margin-bottom: 4px; padding: 0; }
/* writing lines that look like running stitches */
.stitch-line, .field input, .field select, .field textarea {
  width: 100%; border: 0; border-radius: 0; outline: 0; background-color: transparent;
  font: 400 1.05rem/1.9 var(--font-body); color: var(--green); padding: 2px 2px 4px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='3'%3E%3Cline x1='.7' y1='1.5' x2='7.7' y2='1.5' stroke='%23B35F42' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x; background-position: left bottom; background-size: 13px 3px;
}
.field textarea {
  resize: vertical; line-height: 2.1rem; padding-top: 0;
  background-repeat: repeat; background-size: 13px 2.1rem; background-position: left calc(2.1rem - 3px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='3'%3E%3Cline x1='.7' y1='1.5' x2='7.7' y2='1.5' stroke='%23B35F42' stroke-opacity='.55' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.field input:focus, .field textarea:focus, .field select:focus { background-color: rgba(179, 95, 66, .05); }
.opts { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.opts legend { margin-bottom: 8px; }
.opt { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 1rem; color: var(--green); }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt__box { flex: none; width: 24px; height: 24px; border: 1.2px dashed rgba(179, 95, 66, .7); border-radius: 3px; display: grid; place-items: center; background: #fffdf6; }
.xstitch { width: 18px; height: 18px; fill: none; stroke: var(--terra); stroke-width: 2.4; stroke-linecap: round; }
.xstitch path { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset .25s ease; }
.opt input:checked + .opt__box .x1 { stroke-dashoffset: 0; }
.opt input:checked + .opt__box .x2 { stroke-dashoffset: 0; transition-delay: .2s; }
.opt input:focus-visible + .opt__box { outline: 1.5px dashed var(--terra); outline-offset: 3px; }
.field--soul { margin-top: 4px; padding-left: 36px; }
.journal__send { justify-self: start; margin-top: 6px; }
.journal__send svg { width: 22px; height: 11px; }
.journal__status { margin: 0; min-height: 1.4em; font-size: .92rem; color: var(--terra); }
.journal__status.is-ok { color: var(--green); }
.journal__spec-btn {
  position: absolute; right: clamp(22px, 3vw, 40px); bottom: clamp(18px, 2.4vw, 30px);
  background: none; border: 0; padding: 4px 0; cursor: pointer;
  font: 400 .72rem/1 var(--font-body); letter-spacing: .22em; text-transform: uppercase; color: var(--terra);
  border-bottom: 1px dashed currentColor;
}
.journal__spec-btn:hover { color: var(--green); }

/* technical sketch overlay */
.spec { border: 0; padding: 0; background: transparent; max-width: min(560px, 92vw); }
.spec::backdrop { background: rgba(47, 62, 51, .55); }
.spec__sheet {
  position: relative; background: var(--cream); color: var(--green);
  padding: clamp(32px, 5vw, 52px); border-radius: 4px;
  background-image: linear-gradient(rgba(115, 129, 119, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(115, 129, 119, .12) 1px, transparent 1px);
  background-size: 22px 22px;
}
.spec__sheet::before { content: ""; position: absolute; inset: 10px; border: 1px dashed rgba(179, 95, 66, .55); pointer-events: none; }
.spec__close { position: absolute; top: 14px; right: 18px; background: none; border: 0; font-size: 1.8rem; line-height: 1; color: var(--terra); cursor: pointer; }
.spec__title { margin: 0 0 18px; font-family: var(--font-script); font-weight: 400; color: var(--terra); font-size: calc(1.5rem * var(--script-scale)); }
.spec__list { margin: 0; }
.spec__list div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 11px 0; border-top: 1px dashed rgba(47, 62, 51, .25); }
.spec__list dt { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--sage); padding-top: 3px; }
.spec__list dd { margin: 0; }
.spec__note { margin: 16px 0 0; }

@media (max-width: 900px) {
  .journal { grid-template-columns: 1fr; }
  .journal__spine { height: 30px; }
  .journal__spine::before { top: 50%; bottom: auto; left: 30px; right: 30px; width: auto; height: 26px; transform: translateY(-50%) rotate(0); background-size: 96px 26px; background-repeat: repeat-x;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='26'%3E%3Cg fill='none' stroke='%23B35F42' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M18 3 Q12 13 18 23 M24 3 Q30 13 24 23'/%3E%3C/g%3E%3Ccircle cx='21' cy='3' r='1.6' fill='%235a2a1b'/%3E%3Ccircle cx='21' cy='23' r='1.6' fill='%235a2a1b'/%3E%3C/svg%3E"); }
  .journal__page { min-height: 0; border-radius: 6px 6px 2px 2px; box-shadow: none; }
  .journal__page--right { border-radius: 2px 2px 6px 6px; padding-bottom: 70px; }
  .journal__page--left { padding-bottom: 90px; }
}
/* journal fixes */
.field[hidden] { display: none; }
.journal__title { line-height: 1.55; }
.journal__sub { margin-top: .2rem; }
.field textarea {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 34' preserveAspectRatio='none'%3E%3Cline x1='.7' y1='32.5' x2='7.7' y2='32.5' stroke='%23B35F42' stroke-opacity='.6' stroke-width='1.3' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  background-size: 13px 2.1rem; background-position: left top; background-repeat: repeat;
}
.note { z-index: 3; }
.note--1 { top: 4.5%; right: 7%; }
.journal__sub { margin-top: .9rem; }
@media (max-width: 900px) {
  .journal__page--left { padding-bottom: 150px; }
  .note--2 { bottom: 78px; left: 8%; }
  .note--3 { bottom: 30px; right: 8%; }
  .journal__title { font-size: calc(1.45rem * var(--script-scale)); }
}

/* journal, round 2 */
.journal__sub { margin-top: 1.5rem; }
.field__label small { font-size: inherit; letter-spacing: .1em; text-transform: none; opacity: .8; }
/* the ink notes sit right under the photo instead of at the bottom of the page */
.note--2, .note--3 { position: relative; display: block; left: auto; right: auto; bottom: auto; }
.note--2 { margin: 38px 0 0 6%; }
.note--3 { margin: 18px 6% 0 0; text-align: right; }
.journal__page--left { padding-bottom: clamp(36px, 4.5vw, 64px); }
@media (max-width: 900px) {
  /* form first, then the sketch */
  .journal__page--right { order: 1; border-radius: 6px 6px 2px 2px; padding-bottom: 70px; }
  .journal__spine { order: 2; }
  .journal__page--left { order: 3; border-radius: 2px 2px 6px 6px; padding-bottom: 50px; }
  .note--2, .note--3 { bottom: auto; }
}
.journal__sub { margin-top: 2.6rem; }

/* ==========================================================================
   Creation Journal, round 3: the notebook as an object on the bone page
   ========================================================================== */
.desk { background: var(--bone); padding: clamp(30px, 4vw, 60px) var(--gutter) clamp(80px, 9vw, 120px); }
.journal {
  max-width: 1100px; filter: none;
  padding: 14px; border-radius: 12px;
  /* the cover peeking out behind the pages: dark terracotta cloth */
  background:
    repeating-linear-gradient(45deg, rgba(0,0,0,.05) 0 2px, transparent 2px 5px),
    linear-gradient(160deg, #7d3d29, #5e2c1d);
  box-shadow: 0 22px 40px -18px rgba(47, 62, 51, .45), 0 4px 10px rgba(47, 62, 51, .14);
}
.journal__page--left { border-radius: 4px 0 0 4px; }
.journal__page--right { border-radius: 0 4px 4px 0; }

/* left page: the sketch straight on the paper */
.sketch { width: min(86%, 400px); margin: 10px auto 0; padding: 0; background: none; box-shadow: none; transform: none; }
.sketch__art { position: relative; aspect-ratio: 400 / 520; }
.sketch__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: none; mix-blend-mode: multiply; }
.sketch__placeholder {
  position: absolute; inset: 8% 14% 4% 18%; display: grid; place-items: center;
  border: 1.2px dashed rgba(115, 129, 119, .6); border-radius: 4px;
  font: 400 .72rem/1 var(--font-body); letter-spacing: .26em; text-transform: uppercase; color: var(--sage);
}
.sketch__art.has-sketch .sketch__placeholder { display: none; }
.sketch .washi--stitch { top: 2%; left: 4%; }
.sketch .washi--terra { bottom: 6%; right: -2%; }
.sketch__ink { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.sketch__ink path { fill: none; stroke: #6d3a26; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.sketch .ink { position: absolute; font-family: var(--font-script); color: #6d3a26; font-size: calc(1rem * var(--script-scale)); line-height: 1; white-space: nowrap; }
.ink--measure { left: 1%; top: 50%; transform: translate(-28%, -50%) rotate(-90deg); }
.ink--eyes { right: -4%; top: 14%; }
.ink--body { right: -6%; top: 47%; }
.ink--dress { left: 4%; bottom: -3%; }
/* old photo notes and frame are gone */
.note { display: none; }

@media (max-width: 900px) {
  /* one single page: form first, then the sketch, no spine */
  .journal { padding: 10px; }
  .journal__spine { display: none; }
  .journal__page--right { border-radius: 4px 4px 0 0; box-shadow: none; }
  .journal__page--left { border-radius: 0 0 4px 4px; box-shadow: none; padding-top: 10px; }
  .ink--eyes, .ink--body { right: -2%; }
}
/* labels start where their arrows begin */
.ink--eyes { left: 83%; right: auto; top: 14.5%; }
.ink--body { left: 85%; right: auto; top: 46%; }
.ink--dress { left: -6%; bottom: auto; top: 91%; }
.sketch__placeholder { align-items: end; padding-bottom: 14px; }
@media (max-width: 900px) { .ink--eyes { left: 76%; } .ink--body { left: 78%; } }
.sketch { width: min(64%, 320px); margin: 10px 0 0 12%; }
.sketch__placeholder { align-items: start; padding: 14px 0 0; }
.ink--dress { left: -14%; top: 93%; }
@media (max-width: 900px) { .sketch { width: 62%; margin-left: 14%; } }
.sketch .washi--terra { top: 3%; right: 6%; bottom: auto; transform: rotate(30deg); width: 92px; }
@media (max-width: 900px) {
  .journal__page--left { overflow: hidden; padding: 24px 18px 64px; }
  .sketch { width: 56%; margin: 6px 0 0 16%; }
  .sketch .ink { font-size: calc(.72rem * var(--script-scale)); }
  .sketch .washi { width: 62px; height: 20px; }
  .ink--eyes { left: 82%; } .ink--body { left: 84%; } .ink--dress { left: -12%; top: 94%; }
}

/* ==========================================================================
   Creation Journal, round 4: the whole open notebook fits one desktop screen
   (3:2, at most ~85% of the screen height / 760px)
   ========================================================================== */
.journal__actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
@media (min-width: 901px) {
  .desk { padding-top: clamp(20px, 3vh, 40px); padding-bottom: clamp(40px, 6vh, 80px); }
  .journal {
    --jh: min(85vh, 760px);
    height: var(--jh);
    width: min(1100px, calc(var(--jh) * 1.5), 100%);
    margin: 0 auto;
  }
  .journal__page { min-height: 0; height: 100%; overflow: hidden; padding: clamp(18px, 3.2vh, 34px) clamp(22px, 2.6vw, 40px); }

  /* right page, compact */
  .journal__page--right { display: flex; flex-direction: column; }
  .journal__title { font-size: calc(1rem * var(--script-scale)); line-height: 1.5; }
  .journal__sub { margin: .1rem 0 clamp(10px, 1.8vh, 18px); font-size: 1rem; }
  .journal__form { grid-template-columns: 1fr 1fr; column-gap: 22px; row-gap: clamp(6px, 1.3vh, 11px); }
  .journal__form .opts, .journal__form .field:has(textarea), .journal__actions, .journal__status { grid-column: 1 / -1; }
  .field input, .field select { line-height: 1.6; font-size: .98rem; }
  .field textarea { line-height: 1.9rem; background-size: 13px 1.9rem; font-size: .98rem; }
  .field__label { margin-bottom: 0; font-size: .64rem; }
  .opts { gap: 3px; }
  .opts legend { margin-bottom: 4px; }
  .opt { font-size: .93rem; gap: 10px; }
  .opt__box { width: 20px; height: 20px; }
  .xstitch { width: 15px; height: 15px; }
  .field--soul { margin-top: 0; }
  .journal__send { margin-top: 0; padding: 1em 1.8em; }
  .journal__spec-btn { position: static; }
  .journal__status { min-height: 1.2em; font-size: .85rem; }

  /* left page: the sketch scaled to the page height, centred */
  .journal__page--left { display: flex; align-items: center; justify-content: center; padding: 3% 4%; }
  .sketch { height: 82%; width: auto; aspect-ratio: 400 / 520; margin: 0; }
  .sketch__art { height: 100%; }
  .sketch .ink { font-size: calc(.86rem * var(--script-scale)); }
}
@media (min-width: 901px) {
  .sketch { height: 64%; transform: translateX(-14%); }
  .journal__page--right { justify-content: center; }
  .journal__sub { margin-top: .5rem; }
}
@media (min-width: 901px) {
  .sketch { transform: translateX(-8%); }
  .ink--dress { left: 2%; top: 93%; }
}
@media (min-width: 901px) and (max-height: 740px) {
  .journal__form { row-gap: 5px; }
  .field textarea { line-height: 1.7rem; background-size: 13px 1.7rem; }
  .journal__sub { margin-bottom: 8px; }
  .journal__status { min-height: 0; }
}

/* ==========================================================================
   Creation Journal, round 5: a real open notebook (curved pages, no stitches)
   ========================================================================== */
@media (min-width: 901px) {
  .journal { grid-template-columns: 1fr 1fr; position: relative; }
  /* the fold: one fine, slightly darker line where the pages meet */
  .journal__spine {
    position: absolute; top: 14px; bottom: 14px; left: 50%; width: 1px; transform: translateX(-.5px);
    background: rgba(94, 60, 30, .35); z-index: 3;
  }
  .journal__spine::before { display: none; }

  /* pages curving into the spine: shade near the fold + a little light on top */
  .journal__page { box-shadow: none; }
  .journal__page::after {
    content: ""; position: absolute; top: 0; bottom: 0; width: 76px; pointer-events: none; z-index: 2;
  }
  .journal__page--left::after {
    right: 0;
    background:
      radial-gradient(ellipse 60px 120px at 100% 0%, rgba(255, 255, 255, .55), transparent 70%),
      linear-gradient(to left, rgba(94, 60, 30, .24), rgba(94, 60, 30, .08) 35%, transparent);
  }
  .journal__page--right::after {
    left: 0;
    background:
      radial-gradient(ellipse 60px 120px at 0% 0%, rgba(255, 255, 255, .55), transparent 70%),
      linear-gradient(to right, rgba(94, 60, 30, .24), rgba(94, 60, 30, .08) 35%, transparent);
  }
  /* thickness: the edges of stacked sheets on the outer sides */
  .journal__page--left {
    box-shadow: -1px 0 0 #e6dbbf, -2px 0 0 #f3ead5, -3px 0 0 #e2d5b6, -4px 0 0 #efe4cb, -5px 0 0 #ddd0af;
  }
  .journal__page--right {
    box-shadow: 1px 0 0 #e6dbbf, 2px 0 0 #f3ead5, 3px 0 0 #e2d5b6, 4px 0 0 #efe4cb, 5px 0 0 #ddd0af;
  }

  /* sketch annotations stay inside the left page, clear of the fold */
  .sketch { height: 58%; transform: translateX(-20%); }
  .ink--eyes { left: 84%; top: 14%; }
  .ink--body { left: 86%; top: 45%; }
  .ink--dress { left: 6%; top: 93%; }

  .journal__sub { margin-top: 1rem; }
  .journal__page--right { justify-content: center; }
  .journal__status:empty { display: none; }
}

/* bookmark ribbon: terracotta cloth hanging from the bottom of the spine */
.journal::after {
  content: ""; position: absolute; left: calc(50% + 18px); top: calc(100% - 22px);
  width: 16px; height: 78px; z-index: 4;
  background: linear-gradient(90deg, #a5543a, #B35F42 40%, #9c4f35);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 84%, 0 100%);
  filter: drop-shadow(0 3px 3px rgba(47, 62, 51, .25));
}
@media (max-width: 900px) { .journal { position: relative; } .journal::after { left: calc(50% - 8px); } }

/* the plain tape is now Lore's photographed tape (assets/img/art/cinta.png) */
.sketch .washi--terra {
  width: 112px; height: 83px; top: -5%; right: -4%; bottom: auto;
  background: url("../img/art/cinta.png") center / contain no-repeat;
  clip-path: none; opacity: 1; transform: scaleX(-1);
  filter: drop-shadow(0 1px 1px rgba(47, 62, 51, .12));
}
@media (max-width: 900px) { .sketch .washi--terra { width: 76px; height: 56px; } }
@media (min-width: 901px) { .sketch .washi--terra { top: -10%; right: 6%; } }
#artist .script { padding-left: .5em; margin-left: 0; }  /* Romantically's "t" swings left of its box */

/* in-page anchors land below the sticky menu */
section[id], footer[id] { scroll-margin-top: 72px; }
/* while jumping straight to a section from another page: no smooth scroll, no reveal animations */
html.jumping { scroll-behavior: auto !important; }
html.jumping .reveal { transition: none !important; }

/* ---------- gallery rhythm: arched cameo / clean rectangle ---------- */
.grid-card__img.is-rect { border-radius: 0; }
.grid-card__img::after {
  content: ""; position: absolute; inset: 7px; z-index: 2; pointer-events: none;
  border: 1.2px dashed var(--terra); border-radius: inherit;
  opacity: 0; transition: opacity .5s ease;
}
.grid-card__img.arch::after { border-radius: 999px 999px 0 0 / 50% 50% 0 0; }
.grid-card__img.is-rect::after { border-radius: 0; }
@media (hover: hover) {
  .grid-card__link:hover .grid-card__img::after { opacity: .9; }
  .grid-card__link:hover .grid-card__img img { transform: scale(1.025); }
}

/* ---------- hero: clean arch, compact title ---------- */
.hero__figure::before { display: none; }
.hero h1.hero__title { font-size: clamp(2rem, 3.2vw, 3rem); letter-spacing: .13em; line-height: 1.18; }
.hero__title span { display: inline-block; white-space: nowrap; }
@media (max-width: 560px) { .hero__title span { white-space: normal; } }

/* ==========================================================================
   FAQ page: editorial two columns (sticky intro 35% / stitched accordion 65%)
   ========================================================================== */
.faq-split-wrap { padding: clamp(50px, 6vw, 90px) 0 var(--section); }
.faq-split { display: grid; grid-template-columns: 35fr 65fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-split__sticky { position: sticky; top: calc(64px + 32px); }
.faq-split__title { font-family: var(--font-title); font-weight: 400; text-transform: uppercase; letter-spacing: .2em; font-size: clamp(1.9rem, 3.2vw, 2.8rem); margin: 0; line-height: 1.2; }
.faq-split__sticky .script { padding-left: .5em; }
.faq-card {
  position: relative; margin-top: clamp(28px, 3vw, 40px);
  background: var(--green); color: var(--bone); border-radius: 6px;
  padding: clamp(26px, 3vw, 38px);
}
.faq-card::before { content: ""; position: absolute; inset: 9px; border: 1px dashed rgba(251, 250, 248, .5); border-radius: 3px; pointer-events: none; }
.faq-card__title { margin: 0 0 .6em; font-family: var(--font-title); font-weight: 400; font-size: 1.15rem; letter-spacing: .04em; color: var(--bone); }
.faq-card p { margin: 0 0 1.4em; color: rgba(251, 250, 248, .8); font-size: .97rem; }
.faq-card .btn { position: relative; z-index: 1; }

/* the accordion: stitched dividers, terracotta button that turns into a cross-stitch */
.faq-split__list .faq__list { max-width: none; margin: 0; border-top: 0; }
.faq-split__list details { border-bottom: 0; position: relative; }
.faq-split__list .faq__list::before,
.faq-split__list details::after {
  content: ""; display: block; height: 3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='3'%3E%3Cline x1='.7' y1='1.5' x2='7.7' y2='1.5' stroke='%23B35F42' stroke-opacity='.7' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E") left center / 13px 3px repeat-x;
}
.faq-split__list summary { padding: 24px 4px; }
.faq-split__list summary i {
  width: 30px; height: 30px; border-color: var(--terra);
  transition: transform .45s cubic-bezier(.34, 1.3, .6, 1), background .3s;
}
.faq-split__list summary i::before, .faq-split__list summary i::after { width: 11px; height: 1.2px; background: var(--terra); }
.faq-split__list summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: none; }
.faq-split__list details[open] summary i { transform: rotate(45deg); }   /* + becomes a cross-stitch × */
.faq-split__list details[open] summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-split__list summary:hover i { background: rgba(179, 95, 66, .08); }
.faq-split__list .faq__answer { color: #4a443d; line-height: 1.85; padding: 0 60px 28px 4px; }

@media (max-width: 900px) {
  .faq-split { grid-template-columns: 1fr; }
  .faq-split__sticky { position: static; }
  .faq-split__list .faq__answer { padding-right: 8px; }
}
.faq-card .btn { padding-left: 1.5em; padding-right: 1.5em; letter-spacing: .18em; white-space: nowrap; }
/* the whole left column is the sticky element (a grid item can stick within the grid) */
.faq-split__side { position: sticky; top: calc(64px + 32px); }
.faq-split__sticky { position: static; }
@media (max-width: 900px) { .faq-split__side { position: static; } }

/* The artist: a small process photo pinned at the lower left of the portrait */
.artist__process {
  position: absolute; left: -12%; bottom: 9%; width: 38%; margin: 0; z-index: 2;
  background: var(--bone); padding: 6px; transform: rotate(-3deg);
  box-shadow: 0 8px 18px -8px rgba(47, 62, 51, .35);
}
.artist__process::after { content: ""; position: absolute; inset: 11px; border: 1px dashed rgba(251, 250, 248, .7); pointer-events: none; }
.artist__process img { width: 100%; aspect-ratio: 720 / 682; object-fit: cover; }
@media (max-width: 860px) { .artist__process { left: -4%; width: 36%; } }

/* shipping country select: stitched line + small terracotta arrow */
.field--country { position: relative; }
.field--country select {
  padding-right: 22px;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23B35F42' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='3'%3E%3Cline x1='.7' y1='1.5' x2='7.7' y2='1.5' stroke='%23B35F42' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat, repeat-x;
  background-position: right 4px center, left bottom;
  background-size: 10px 6px, 13px 3px;
}
.field__note { display: block; margin-top: 4px; font-size: .78rem; line-height: 1.35; color: var(--sage); }
.field__note[hidden] { display: none; }
/* "other country" note sits under the country select, beside WhatsApp, so the page doesn't grow */
@media (min-width: 901px) {
  .field__note--country { grid-column: 1; margin-top: 0; align-self: center; }
  .field--wa { grid-column: 2; }
}
@media (min-width: 901px) and (max-height: 760px) {
  .journal__page--right { padding-top: 14px; padding-bottom: 14px; }
  .journal__sub { margin: .55rem 0 6px; }
  .opts { gap: 0; }
  .opt { line-height: 1.35; font-size: .9rem; }
  .opt__box { width: 18px; height: 18px; }
  .opts legend { margin-bottom: 2px; }
}
/* the send status floats at the foot of the page so it never pushes the form out */
@media (min-width: 901px) {
  .journal__page--right .journal__status { position: absolute; left: clamp(22px, 2.6vw, 40px); right: clamp(22px, 2.6vw, 40px); bottom: 8px; margin: 0; display: block; }
}
/* country select shows a soft placeholder until a country is chosen */
.field--country select:invalid { color: rgba(115, 129, 119, .75); }
.field--country select option { color: var(--green); }
@media (min-width: 901px) { .field__note--country { grid-column: 1; } }

/* What's inside: no roman numerals; the shorter list sits centred against the left column */
.inside__list h3 small { display: none; }
@media (min-width: 861px) {
  .inside__grid { align-items: center; }
  .inside__list li { padding: 34px 0; }
}
/* What's inside: the list starts level with the title; leftover space stays below */
@media (min-width: 861px) {
  .inside__grid { align-items: start; }
  .inside__list { margin-top: var(--inside-offset, 48px); }
}

/* ---------- Found home: rotating reviews ---------- */
.reviews { display: grid; }
.review { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 0s linear 1s; }
.review.is-active { opacity: 1; visibility: visible; transition: opacity 1s ease; }
.quote p.review__tr { display: none; }
html[lang="es"] .quote p.review__tr {
  display: block; margin: -.4rem 0 1.4rem;
  font-family: var(--font-body); font-style: normal; font-size: .95rem; line-height: 1.6; color: var(--sage);
}
.quote p.review__tr::before { content: none; }
.reviews__dots { display: flex; gap: 10px; margin-top: 22px; }
.reviews__dots:empty { display: none; }
.reviews__dots button {
  width: 9px; height: 9px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--terra); background: transparent; transition: background .3s;
}
.reviews__dots button[aria-selected="true"] { background: var(--terra); }
@media (max-width: 860px) { .reviews__dots { justify-content: center; } }

/* reviews: score line, stars, "see original review" and its overlay */
.reviews__score { margin: 1.2rem 0 0; font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--sage); }
.review__stars { display: block; margin: 1.1rem 0 -.6rem; color: var(--terra); font-size: .95rem; letter-spacing: .22em; }
.review__src {
  background: none; border: 0; padding: 0; cursor: pointer; color: var(--terra);
  font: inherit; letter-spacing: inherit; text-transform: inherit;
  border-bottom: 1px dashed currentColor;
}
.review__src:hover { color: var(--green); }
.review-shot { border: 0; padding: 0; background: transparent; max-width: min(92vw, 720px); max-height: 90vh; overflow: visible; }
.review-shot::backdrop { background: rgba(47, 62, 51, .6); }
.review-shot img { display: block; max-width: 100%; max-height: 86vh; width: auto; border-radius: 4px; box-shadow: 0 20px 40px rgba(0, 0, 0, .3); background: #fff; }
.review-shot__close {
  position: absolute; top: -16px; right: -16px; width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: var(--terra); color: var(--bone); font-size: 1.4rem; line-height: 1; cursor: pointer;
}

/* ---------- large view of a soul (opens from the carousel) ---------- */
.soul-view {
  border: 0; padding: 0; background: transparent; overflow: visible;
  max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh;
  display: none; align-items: center; justify-content: center; gap: clamp(8px, 3vw, 40px);
}
.soul-view[open] { display: flex; }
.soul-view::backdrop { background: rgba(47, 62, 51, .82); }
.soul-view__fig { margin: 0; text-align: center; }
.soul-view__fig img {
  display: block; height: min(80vh, 1000px); width: auto; max-width: 78vw; aspect-ratio: 4 / 5; object-fit: cover;
  background: #ece8e0; border-radius: 4px; box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
  opacity: 0; transition: opacity .45s ease;
}
.soul-view__fig img.is-in { opacity: 1; }
.soul-view__name { margin-top: 14px; font-family: var(--font-title); letter-spacing: .26em; text-transform: uppercase; color: var(--bone); font-size: 1rem; }
.soul-view__close {
  position: fixed; top: 20px; right: 24px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(251, 250, 248, .6); background: transparent; color: var(--bone); font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.soul-view__nav {
  flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid rgba(251, 250, 248, .55); background: transparent; color: var(--bone); transition: background .3s, border-color .3s;
}
.soul-view__nav svg { width: 20px; height: 10px; }
.soul-view__nav:hover, .soul-view__close:hover { background: var(--terra); border-color: var(--terra); }
.soul-view__nav[hidden] { display: none; }
.soul-view__dots { position: fixed; bottom: 22px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.soul-view__dots span { width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--bone); }
.soul-view__dots span.is-on { background: var(--bone); }
@media (max-width: 640px) {
  .soul-view { gap: 0; }
  .soul-view__fig img { max-width: 86vw; height: auto; width: 86vw; }
  .soul-view__nav { position: fixed; bottom: 14px; width: 44px; height: 44px; }
  .soul-view__nav--prev { left: 18px; } .soul-view__nav--next { right: 18px; }
  .soul-view__dots { bottom: 30px; }
}
.soul-card { cursor: zoom-in; }

/* gallery photos: clean rectangles with a hairline edge, no stitch, no shadow */
.grid-card__img, .grid-card__img.is-rect { border-radius: 4px; border: 1px solid #e8e4dc; }
.grid-card__img::after { display: none; }
/* Handmade details: five details + a button */
.grid-info__list li { padding: 15px 0; }
.grid-info__btn { align-self: center; margin-top: clamp(22px, 3vw, 32px); }
/* legend: Waliru the fox */
.legend__fox { margin: 1.4rem auto 0; }
/* keep the five-detail card the same height as a soul card */
@media (min-width: 561px) {
  .grid-info { padding-top: 34px; padding-bottom: 34px; }
  .grid-info__title { margin-bottom: 14px; font-size: calc(1.35rem * var(--script-scale)); }
  .grid-info__list li { padding: 10px 0; }
  .grid-info__btn { margin-top: 20px; }
}

/* gallery photos: an inner running stitch instead of the hairline */
.grid-card__img, .grid-card__img.is-rect { border: 0; border-radius: 4px; }
.grid-card__img::after, .grid-card__img.is-rect::after {
  display: block; inset: 10px; opacity: 1; border-radius: 3px;
  border: 1px dashed var(--terra); transition: border-color .5s ease;
}
@media (hover: hover) {
  .grid-card__link:hover .grid-card__img::after { border-color: var(--green); opacity: 1; }
}
/* Handmade details: room under the script title so no letter touches the first line */
@media (min-width: 561px) {
  .grid-info__title { margin-bottom: 30px; line-height: 1.2; }
  .grid-info__list li { padding: 8px 0; }
}
@media (min-width: 561px) { .grid-info__title { line-height: 1.5; margin-bottom: 26px; } .grid-info__list li { padding: 7px 0; } .grid-info { padding-top: 26px; padding-bottom: 28px; } }
@media (min-width: 561px) { .grid-info__title { margin-bottom: 50px; } .grid-info__list li { padding: 5px 0; gap: 22px; } .grid-info { padding-top: 18px; padding-bottom: 22px; } .grid-info__btn { margin-top: 16px; } }
.soul-view__quote { position: fixed; bottom: 54px; left: 50%; transform: translateX(-50%); }
.grid-card__link { cursor: zoom-in; }
@media (max-width: 640px) { .soul-view__quote { bottom: 70px; white-space: nowrap; } }
.soul-view__quote { position: static; transform: none; margin-top: 16px; }
.soul-view.has-quote .soul-view__fig img { height: min(68vh, 900px); }
@media (max-width: 640px) { .soul-view__quote { bottom: auto; } .soul-view.has-quote .soul-view__fig img { height: auto; max-height: 62vh; } }

/* ---------- photo dots on soul cards ---------- */
.soul-card__img .pic, .grid-card__img .pic { opacity: 0; }
.soul-card__img .pic.is-on, .grid-card__img .pic.is-on { opacity: 1; }
/* hover is now driven by the dots script, not by "second image" CSS */
.soul-card:hover .soul-card__img img.pic:not(.is-on),
.grid-card__link:hover .grid-card__img img.pic:not(.is-on) { opacity: 0; }
.soul-card:hover .soul-card__img img.pic.is-on,
.grid-card__link:hover .grid-card__img img.pic.is-on { opacity: 1; }
.pic-dots { display: flex; justify-content: center; gap: 7px; height: 10px; margin: 12px 0 2px; }
.pic-dot { width: 7px; height: 7px; border-radius: 50%; background: #d9d4cb; cursor: pointer; transition: background .3s; }
.pic-dot.is-on { background: var(--terra); }
/* a little more room to tap on phones */
@media (hover: none) { .pic-dot { width: 8px; height: 8px; } .pic-dots { gap: 10px; } }
.soul-card__body { padding-top: 12px; }
.grid-card .pic-dots + .grid-card__meta { padding-top: .6rem; }
/* the large view uses the same colours for its dots */
.soul-view__dots span { border-color: #d9d4cb; }
.soul-view__dots span.is-on { background: var(--terra); border-color: var(--terra); }

/* gallery: "See more souls" */
.gallery-more { text-align: center; margin-top: clamp(40px, 5vw, 64px); }
.grid-card[hidden] { display: none; }

/* gallery closing tile: "Your soul doesn't exist yet?" */
.grid-card--ask { display: flex; }
.grid-card--ask[hidden] { display: none; }
.grid-ask {
  position: relative; flex: 1; border-radius: 4px; background: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 40px 28px; min-height: 100%;
}
.grid-ask::after { content: ""; position: absolute; inset: 10px; border: 1px dashed var(--terra); border-radius: 3px; pointer-events: none; }
.grid-ask__title { margin: 0 0 .7em; font-family: var(--font-title); font-weight: 400; font-size: 1.1rem; letter-spacing: .2em; text-transform: uppercase; line-height: 1.5; }
.grid-ask p { margin: 0 0 1.8em; color: #4b5a4f; }
.grid-ask .btn { position: relative; z-index: 1; }

/* homepage carousel: inner running stitch that follows the arch */
.soul-card__img::after {
  content: ""; position: absolute; inset: 10px; z-index: 2; pointer-events: none;
  border: 1px dashed var(--terra); border-radius: 999px 999px 3px 3px / 50% 50% 3px 3px;
  transition: border-color .5s ease;
}
@media (hover: hover) { .soul-card:hover .soul-card__img::after { border-color: var(--green); } }
/* the closing tile matches the photo frames (4:5), aligned to their top */
.grid-card--ask { display: block; }
.grid-ask { aspect-ratio: 4 / 5; min-height: 0; }
/* carousel cards show a single photo: no dots, so the name sits where it did before */
.soul-card__body { padding-top: 22px; }

/* Creation Journal: Lore's own paper texture (assets/img/art/papel.jpg, seamless tile).
   Only the paper changes: the fold shading, light, sheet edges and shadow stay on top. */
.journal__page { background: url("../img/art/papel.jpg") 0 0 / 768px 768px repeat, var(--cream); }

/* Creation Journal: Lore's real sketch (assets/img/art/boceto.png, transparent) */
.sketch__art { aspect-ratio: 842 / 1300; }
.sketch { aspect-ratio: 842 / 1300; }
.sketch__art img { object-fit: contain; }
.ink--measure { left: -2%; top: 51%; }
.ink--eyes { left: 92%; top: 8%; }
.ink--body { left: 86%; top: 42%; }
.ink--dress { left: 76%; top: 69%; }
@media (min-width: 901px) {
  .sketch { height: 70%; transform: translateX(-16%); }
  .ink--eyes { left: 92%; top: 8%; } .ink--body { left: 86%; top: 42%; } .ink--dress { left: 76%; top: 69%; }
}
@media (max-width: 900px) {
  .ink--eyes { left: 90%; } .ink--body { left: 84%; } .ink--dress { left: 74%; top: 69%; }
}
@media (min-width: 901px) { .sketch { height: 80%; transform: translateX(-18%); } }
@media (max-width: 900px) { .sketch { width: 46%; height: auto; margin: 6px 0 0 18%; transform: none; } .sketch .ink { font-size: calc(.6rem * var(--script-scale)); } .ink--dress { left: 70%; } }

/* Creation Journal: two fabric swatches taped in the lower right corner of the sketch page */
.swatches { position: absolute; right: 7%; bottom: 6%; width: 190px; height: 170px; z-index: 3; pointer-events: none; }
.swatch { position: absolute; width: 112px; height: auto; filter: drop-shadow(0 2px 3px rgba(47, 62, 51, .22)); }
.swatch--1 { left: 0; top: 18px; transform: rotate(-9deg); }
.swatch--2 { right: 0; top: 40px; transform: rotate(7deg); }
.swatches__tape {
  position: absolute; left: 50%; top: 4px; width: 104px; height: 77px; transform: translateX(-50%) rotate(-4deg);
  background: url("../img/art/cinta.png") center / contain no-repeat;
  filter: drop-shadow(0 1px 1px rgba(47, 62, 51, .12));
}
@media (max-width: 900px) {
  .swatches { right: 5%; bottom: 3%; width: 128px; height: 116px; }
  .swatch { width: 74px; }
  .swatch--1 { top: 12px; } .swatch--2 { top: 26px; }
  .swatches__tape { width: 72px; height: 54px; }
}
/* note beside the swatches, in the same ink as the sketch notes */
.swatches__note {
  position: absolute; right: 100%; top: -34px; margin-right: -24px; white-space: nowrap;
  font-family: var(--font-script); color: #6d3a26; font-size: calc(.86rem * var(--script-scale)); line-height: 1;
}
.swatches__arrow { position: absolute; left: -36px; top: -16px; width: 46px; height: 32px; fill: none; stroke: #6d3a26; stroke-width: 1.1; stroke-linecap: round; }
@media (max-width: 900px) {
  .swatches__note { font-size: calc(.6rem * var(--script-scale)); top: -26px; margin-right: -14px; }
  .swatches__arrow { left: -26px; top: -12px; width: 34px; height: 24px; }
}
/* note sits under the swatches so it never meets the other notes or the drawing */
.swatches { bottom: 11%; }
.swatches__note { right: 0; top: calc(100% + 6px); margin: 0; }
.swatches__arrow { left: auto; right: calc(100% - 52px); top: calc(100% - 4px); width: 34px; height: 24px; transform: scale(-1, -1); }
@media (max-width: 900px) {
  .swatches { bottom: 9%; }
  .swatches__note { top: calc(100% + 4px); margin: 0; }
  .swatches__arrow { width: 26px; height: 18px; right: calc(100% - 36px); }
}
@media (min-width: 901px) { .swatches { bottom: 8.5%; } }
@media (max-width: 900px) { .journal__page--left { padding-bottom: 170px; } .swatches { bottom: 40px; } }
.ink--yarn { left: 94%; top: 28%; }
@media (max-width: 900px) { .ink--yarn { left: 92%; } }

/* Creation Journal: small grey hints */
.field__hint { display: block; margin-top: 4px; font-size: .78rem; line-height: 1.4; color: var(--sage); }
.journal__reply { grid-column: 1 / -1; margin: 6px 0 0; font-size: .78rem; color: var(--sage); }
.field--soul { margin: 2px 0 4px; }
/* "See technical sketch" only where the sketch isn't beside the form (phones) */
@media (min-width: 901px) { .journal__spec-btn { display: none; } }
@media (min-width: 901px) and (max-height: 760px) { .field__hint { margin-top: 1px; font-size: .74rem; line-height: 1.3; } .journal__reply { margin-top: 2px; } .field--soul { margin: 0 0 2px; } }
@media (min-width: 901px) and (max-height: 860px) { .field__hint { margin-top: 1px; font-size: .74rem; line-height: 1.3; } .journal__reply { margin-top: 2px; } .field--soul { margin: 0 0 2px; } .journal__form { row-gap: 6px; } .opts { gap: 1px; } }

/* Creation Journal: technical sketch link back on desktop; room at the foot of the page
   for the reply time and the error message */
@media (min-width: 901px) {
  .journal__spec-btn { display: inline-block; }
  .journal__page--right { padding-bottom: 46px; }
  .journal__page--right .journal__status { bottom: 16px; }
}
.journal__status:empty { display: none; }
/* status back in the flow, right under the reply time; spacing trimmed so it all fits */
@media (min-width: 901px) {
  .journal__page--right .journal__status { position: static; margin: 2px 0 0; font-size: .8rem; line-height: 1.35; }
  .journal__page--right { padding-top: 18px; padding-bottom: 24px; justify-content: flex-start; }
  .journal__sub { margin: .4rem 0 8px; }
  .journal__form { row-gap: 5px; }
  .field textarea { line-height: 1.7rem; background-size: 13px 1.7rem; }
}
/* short laptop screens: everything a touch tighter so reply time + error stay inside the page */
@media (min-width: 901px) and (max-height: 760px) {
  .journal__page--right { padding-top: 10px; padding-bottom: 14px; }
  .journal__title { font-size: calc(.9rem * var(--script-scale)); line-height: 1.35; }
  .journal__sub { margin: .25rem 0 4px; font-size: .92rem; }
  .field input, .field select { line-height: 1.4; font-size: .92rem; }
  .field textarea { line-height: 1.5rem; background-size: 13px 1.5rem; font-size: .92rem; }
  .opt { line-height: 1.25; font-size: .86rem; }
  .field__label { font-size: .58rem; }
  .field__hint { font-size: .7rem; }
  .journal__send { padding: .8em 1.6em; }
  .journal__page--right .journal__status { font-size: .74rem; line-height: 1.25; }
}
@media (min-width: 901px) { .journal__page--right { justify-content: center; } }
/* technical sheet: air around the script title */
.spec .eyebrow { margin-bottom: .4rem; }
.spec__title { margin: 16px 0 34px; line-height: 1.3; }
.spec__list div { grid-template-columns: 140px 1fr; }
.spec { max-width: min(660px, 92vw); } .spec__title { margin: 34px 0 46px; } .spec__list div { grid-template-columns: 130px 1fr; padding: 9px 0; }
/* technical sheet: always centred and fully visible (it scrolls inside if the screen is short) */
.spec { position: fixed; inset: 0; margin: auto; width: min(660px, calc(100vw - 32px)); max-width: none;
        height: fit-content; max-height: calc(100dvh - 32px); overflow: auto; }
.spec__sheet { margin: 0; }
.spec__title { padding-left: .35em; }

/* ==========================================================================
   Creation Journal, 2026-11-20
   ========================================================================== */
/* "yarn hair": a little further from the fold (the arrow is shortened to match) */
.ink--yarn { left: 91%; } .sketch .ink--yarn { line-height: 1.7; top: 25.5%; }
@media (max-width: 900px) { .ink--yarn { left: 89%; } }
/* room for the script title's swashes above the subtitle */
.journal__sub { margin-top: 1.1rem; }
@media (min-width: 901px) { .journal__sub { margin-top: .9rem; } }
@media (min-width: 901px) and (max-height: 760px) { .journal__sub { margin-top: .75rem; } }

/* phones and portrait tablets: one single page, only the form */
@media (max-width: 900px) {
  .journal__spine, .journal::after { display: none; }
  .journal { padding: 10px; border-radius: 10px; }
  .journal__page--right { border-radius: 4px; padding: 30px clamp(20px, 5vw, 44px) 34px; }
  /* the script title always fits on one line inside the page */
  .journal__title { font-size: min(2.3rem, calc((100vw - 104px) / 13.6)); line-height: 1.7; white-space: nowrap; }
  .journal__sub { margin-top: min(2.5rem, calc((100vw - 104px) / 13.6 * 1.1)); }
  .journal__form { grid-template-columns: 1fr; row-gap: 20px; }
  .journal__form > * { grid-column: 1; }
  /* 16px or more so iPhone doesn't zoom in when a field is tapped */
  .field input, .field select, .field textarea, .opt { font-size: 16px; }
  .journal__actions { flex-direction: column; align-items: stretch; gap: 18px; }
  .journal__send { width: 100%; justify-content: center; justify-self: stretch; }
  .journal__spec-btn { display: inline-block; position: static; align-self: center; }
  /* the technical sheet fills the screen */
  .spec { width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; }
  .spec__sheet { min-height: 100%; border-radius: 0; }
}

/* ==========================================================================
   Creation Journal on phones and portrait tablets: the sketch is the second
   page, under the form; big notes around the drawing; the fabric scraps
   right under it
   ========================================================================== */
.sketch__ink--m { display: none; }
.m-br { display: none; }
@media (max-width: 900px) { .m-br { display: inline; } }
@media (max-width: 900px) {
  .journal__page--right { order: 1; border-radius: 4px; }
  .journal__page--left { order: 2; display: block; margin-top: 10px; border-radius: 4px; box-shadow: none;
    padding: 26px clamp(10px, 3vw, 36px) 18px; overflow: hidden; }
  .journal__page--left::after { display: none; }
  .journal .sketch { width: min(94%, 560px); height: auto; margin: 0 auto; transform: none; aspect-ratio: 842 / 1300; container-type: inline-size; }
  .journal .sketch__art { height: 100%; }
  .sketch__ink { display: none; }
  .sketch__ink.sketch__ink--m { display: block; }
  .journal .sketch .ink { font-size: 6.3cqw; line-height: 1.3; white-space: nowrap; right: auto; bottom: auto; transform: none; }
  .journal .sketch .ink--eyes { left: 45%; top: -2.5%; }
  .journal .sketch .ink--yarn { left: 75.5%; top: 49.5%; font-size: 5.7cqw; }
  .journal .sketch .ink--body { left: -2%; top: -3.5%; }
  .journal .sketch .ink--dress { left: 61%; top: 69.5%; }
  .journal .sketch .ink--measure { left: 6.5%; top: 50%; white-space: nowrap; font-size: 5.6cqw; transform: translate(-50%, -50%) rotate(-90deg); transform-origin: center; }
  /* the scraps sit right under the drawing, with their note */
  .journal .swatches { position: relative; right: auto; bottom: auto; margin: -34px auto 30px; width: 150px; height: 128px; }
  .journal .swatch { width: 86px; }
  .journal .swatches__note { right: 50%; transform: translateX(50%); top: calc(100% + 2px); font-size: calc(.95rem * var(--script-scale)); }
  .journal .swatches__arrow { display: none; }
  /* technical sheet: smaller title with air between its lines; label above, text below */
  .spec__title { font-size: calc(1.2rem * var(--script-scale)); line-height: 2.25; margin: 14px 0 22px; }
  .spec__list div { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; }
}

/* "See technical sheet" at the foot of the sketch page: phones only */
.journal .journal__sheet-btn { display: none; }
@media (max-width: 900px) {
  .journal .journal__sheet-btn { display: table; position: static; margin: 0 auto 6px; }
  .journal .swatches { margin-bottom: 58px; }
}

/* ==========================================================================
   Phones (≤640px), 2026-11-20: script lines with room to breathe, hero
   kicker on two lines, legend verses that fit, bigger carousel cards
   ========================================================================== */
.verse { display: block; text-wrap: balance; }
.p-br { display: none; }
@media (max-width: 640px) {
  /* every script line: a bit smaller, more air between lines, never past the margins */
  .script { font-size: calc(1.02rem * var(--script-scale)); line-height: 2.3; padding-left: .45em; padding-right: .45em; max-width: 100%; }
  .hero .script { font-size: calc(1.1rem * var(--script-scale)); line-height: 2; max-width: none; }
  .legend .script { font-size: calc(1.35rem * var(--script-scale)); line-height: 2.4; }
  #inside .script { line-height: 2.1; }
  .grid-info__title { line-height: 1.8; padding: 0 .4em; }

  /* hero kicker: two even lines */
  .hero__kicker { letter-spacing: .22em; line-height: 2; }
  .hero__kicker .eb-sep { display: none; }
  .p-br { display: inline; }

  /* legend poem: margin at both sides, one verse per line (long ones split evenly) */
  .legend__verse { font-size: clamp(14px, 3.95vw, 17px); line-height: 1.9; padding: 0 4px; }

  /* souls carousel: one big card in the middle, the next ones peeking */
  .carousel__rail { grid-auto-columns: 80vw; column-gap: 14px; padding-right: 14px; }
}

/* phones: Romantically has very long ascenders and descenders; this much room keeps lines from ever meeting */
@media (max-width: 640px) {
  .script, .hero .script, #inside .script, .legend .script { line-height: 2.6; }
}
@media (max-width: 640px) {
  .grid-info .grid-info__title { font-size: calc(1.15rem * var(--script-scale)); line-height: 2.5; margin-bottom: 18px; }
}

/* Lore's hand-drawn icons (assets/img/icons) */
.grid-info__icon { width: 40px; height: 40px; object-fit: contain; display: block; }
.grid-info__list li img.grid-info__icon[src*="carrete"] { transform: scale(1.12); }
/* gallery closing tile: loose spool, script line, content centred */
.grid-ask { padding: 28px 26px; }
.grid-ask__icon { display: block; height: 130px; width: auto; margin: 0 auto 14px; position: relative; z-index: 1; }
.grid-ask__title { margin-bottom: .55em; }
.grid-ask .grid-ask__script { font-size: calc(.88rem * var(--script-scale)); line-height: 1.9; margin: 0 0 .45em; padding: 0 .4em; }
.grid-ask p { margin-bottom: 1.4em; }
/* closing tile, round 2: the group fills the tile better; air under the script line */
.grid-ask .grid-ask__icon { height: 140px; margin-bottom: 26px; }
.grid-ask .grid-ask__title { margin-bottom: .75em; }
.grid-ask .grid-ask__script { margin-bottom: 1.1em; }
.grid-ask p { margin-bottom: 2.2em; }

/* ==========================================================================
   Menu with Lore's crayon icons; dotted terracotta stitch under the active
   or hovered menu word (sewn left to right)
   ========================================================================== */
.nav__list a {
  background: repeating-linear-gradient(90deg, var(--terra) 0 5px, transparent 5px 9px) 0 100% / 0 1.5px no-repeat;
  transition: background-size .4s linear, color .3s;
}
.nav__list a[aria-current] { color: var(--terra); background-size: calc(100% - .26em) 1.5px; }
.nav__list a:hover { background-size: 0 1.5px; }
.nav__list a[aria-current]:hover { background-size: calc(100% - .26em) 1.5px; }
@media (hover: hover) {
  .nav__list a:hover { color: var(--terra); background-size: calc(100% - .26em) 1.5px; }
}
@media (max-width: 860px) {
  .nav__toggle { padding: 10px 4px; gap: 0; font-size: 0; letter-spacing: 0; }
  .nav__toggle span { display: none; }
  .nav__icon { display: block; height: auto; }
  .nav__icon--open { width: 26px; }
  .nav__icon--close { width: 14px; margin: 0 6px; display: none; }
  .nav.is-open .nav__icon--open { display: none; }
  .nav.is-open .nav__icon--close { display: block; }
}
/* footer: Lore's crayon Instagram, same visual size as the envelope */
.contact__card .contact__icon { width: 24px; height: 24px; object-fit: contain; display: block; margin: 0 auto 16px; }
.site-foot .contact__card .contact__icon { grid-row: span 2; margin: 0; }
@media (max-width: 760px) { .site-foot .contact__card .contact__icon { grid-row: auto; margin: 0 auto 8px; } }

/* ==========================================================================
   Phone/tablet menu: full-screen dark green sheet that fades in (0.3 s);
   cream logo, EN / ES and Lore's cream crayon X on top; cream links centred
   ========================================================================== */
.nav__sheet-top { display: none; }
@media (max-width: 860px) {
  .nav { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(251, 250, 248, .97); }
  html.menu-open, html.menu-open body { overflow: hidden; }

  .nav__list {
    display: flex; position: fixed; inset: 0; z-index: 100; height: 100vh; height: 100dvh;
    flex-direction: column; align-items: center; justify-content: center; gap: 30px;
    padding: 80px 0 40px; margin: 0;
    background: var(--green); border: 0;
    opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s;
  }
  .nav.is-open .nav__list { display: flex; opacity: 1; visibility: visible; transition: opacity .3s ease, visibility 0s; }
  .nav__list a { color: var(--bone); font-size: .9rem; }
  /* no stitch when the menu opens; it is sewn only under the word being tapped */
  .nav__list a, .nav__list a[aria-current], .nav__list a:hover, .nav__list a[aria-current]:hover { color: var(--bone); background-size: 0 1.5px; }
  .nav__list a:active, .nav__list a:focus-visible { background-size: calc(100% - .26em) 1.5px; }

  .nav__sheet-top {
    display: flex; align-items: center; justify-content: space-between;
    position: fixed; top: 0; left: 0; right: 0; z-index: 101; height: 72px; padding: 0 var(--gutter);
    opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s;
  }
  .nav.is-open .nav__sheet-top { opacity: 1; visibility: visible; transition: opacity .3s ease, visibility 0s; }
  .nav__sheet-logo { display: block; }
  .nav__sheet-logo .logo-mask {
    display: block; width: 64px; aspect-ratio: 131.56 / 103.23; background: var(--bone);
    -webkit-mask: url("../img/brand/waliru-logo.svg") center / contain no-repeat;
            mask: url("../img/brand/waliru-logo.svg") center / contain no-repeat;
  }
  .lang--sheet { position: static; margin-right: 44px; }
  .lang--sheet, .lang--sheet button { color: rgba(251, 250, 248, .7); }
  .lang--sheet button[aria-pressed="true"] { color: var(--bone); border-bottom-color: var(--bone); }

  /* the toggle sits on top of the sheet, top right */
  .nav.is-open .nav__toggle { position: fixed; top: 16px; right: var(--gutter); z-index: 102; }
}

/* phone menu, round 2: no logo on top (only the X); sleeping fox + EN / ES at the bottom */
.nav__sheet-foot { display: none; }
@media (max-width: 860px) {
  .nav__list { padding: 72px 0 190px; }
  .nav__sheet-foot {
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 101; padding: 0 0 max(30px, env(safe-area-inset-bottom));
    opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s;
  }
  .nav.is-open .nav__sheet-foot { opacity: 1; visibility: visible; transition: opacity .3s ease, visibility 0s; }
  .nav__sheet-fox {
    display: block; width: 90px; aspect-ratio: 168.06 / 134.03; background: var(--bone);
    -webkit-mask: url("../img/brand/zorro-dormido.svg") center / contain no-repeat;
            mask: url("../img/brand/zorro-dormido.svg") center / contain no-repeat;
  }
  .nav__sheet-foot .lang--sheet { margin: 0; }
  /* active language: the same dotted terracotta stitch as the menu */
  .nav__sheet-foot .lang--sheet button { border-bottom: 0; padding-bottom: 7px; background: repeating-linear-gradient(90deg, var(--terra) 0 5px, transparent 5px 9px) 0 100% / 0 1.5px no-repeat; }
  .nav__sheet-foot .lang--sheet button[aria-pressed="true"] { background-size: calc(100% - .24em) 1.5px; }
}

/* gallery closing strip: full width, after all the souls (spool left, words right; stacked on phones) */
.gallery-ask { margin-top: clamp(48px, 6vw, 80px); }
.gallery-ask .grid-ask {
  aspect-ratio: auto; min-height: 0;
  flex-direction: row; justify-content: center; align-items: center; gap: clamp(32px, 5vw, 72px);
  text-align: left; padding: clamp(40px, 5vw, 60px) clamp(32px, 6vw, 90px);
}
.gallery-ask .grid-ask__icon { margin: 0; flex: none; }
.gallery-ask .grid-ask__text { display: flex; flex-direction: column; align-items: flex-start; }
.gallery-ask .grid-ask__script { padding-left: .2em; }
@media (max-width: 640px) {
  .gallery-ask .grid-ask { flex-direction: column; text-align: center; gap: 22px; padding: 44px 26px; }
  .gallery-ask .grid-ask__text { align-items: center; }
}

/* "None of them is yours yet?": no lonely word at the end of the paragraph */
.gallery-cta .lead { text-wrap: balance; max-width: 34em; margin-left: auto; margin-right: auto; }

/* phone menu, round 3: Lore's paw print; current section marked on open;
   a tapped option sews its stitch before the menu closes; full-width language stitch */
@media (max-width: 860px) {
  .nav__sheet-fox { display: none; }
  .nav__sheet-paw { display: block; width: 80px; height: auto; }
  .nav__list a[aria-current], .nav__list a[aria-current]:hover { background-size: calc(100% - .26em) 1.5px; }
  .nav__list a.is-tapped { background-size: calc(100% - .26em) 1.5px; transition: background-size .4s linear; }
  .nav__sheet-foot .lang--sheet button,
  .nav__sheet-foot .lang--sheet button[aria-pressed="true"] { position: relative; background: none; }
  .nav__sheet-foot .lang--sheet button[aria-pressed="true"]::after {
    content: ""; position: absolute; left: 2px; bottom: 0; width: calc(100% - 4px - .24em); height: 1.5px;
    background: linear-gradient(90deg, var(--terra) 0 60%, transparent 60%) 0 0 / 7px 1.5px round;
  }
}
