/* ==========================================================================
   Calmonta — site stylesheet
   Palette and typefaces come from the brand board:
     night #0D0D0D · umber #1C1A17 · saddle #3B2F22 · gilt #B8945A · vellum #F5F3EE
     Playfair Display (Latin display) · IRANYekanX (Persian + Latin text)
   Signature: the saddle-stitch "seam" — every section is a leather panel stitched
   to the next, and each seam sews itself in, stitch by stitch, as it scrolls in.
   All spacing uses logical properties so RTL (fa) and LTR (en) share one sheet.
   ========================================================================== */

/* ── Fonts ───────────────────────────────────────────────────────────────── */
/* Persian pages use the FaNum cut (Persian digits); English pages use the Latin-digit cut. */
@font-face { font-family: "YekanFa"; src: url("/fonts/IRANYekanXFaNum-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "YekanFa"; src: url("/fonts/IRANYekanXFaNum-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "YekanFa"; src: url("/fonts/IRANYekanXFaNum-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "YekanFa"; src: url("/fonts/IRANYekanXFaNum-DemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Yekan"; src: url("/fonts/IRANYekanX-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Yekan"; src: url("/fonts/IRANYekanX-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Yekan"; src: url("/fonts/IRANYekanX-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Yekan"; src: url("/fonts/IRANYekanX-DemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Playfair"; src: url("/fonts/playfair-normal.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair"; src: url("/fonts/playfair-italic.woff2") format("woff2"); font-weight: 400 600; font-style: italic; font-display: swap; }

/* ── Tokens ──────────────────────────────────────────────────────────────── */
:root {
  --night: #0D0D0D;
  --umber: #1C1A17;
  --saddle: #3B2F22;
  --gilt: #B8945A;
  --gilt-hi: #CDAE78;
  --vellum: #F5F3EE;
  --paper: #FBFAF7;
  --ash: #A69E92;      /* secondary text on night  (≈7.5:1) */
  --smoke: #6A6258;    /* secondary text on vellum (≈5.6:1) */
  --hair-d: rgba(245, 243, 238, .14);
  --hair-l: rgba(13, 13, 13, .12);

  --f-text: "YekanFa", "Yekan", Tahoma, sans-serif;
  --f-latin: "Playfair", Georgia, "Times New Roman", serif;
  --f-display: var(--f-text);

  --gut: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --hdr: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* One saddle stitch: a short slanted thread with a gap, repeated every 13px. */
  --stitch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='12'%3E%3Cpath d='M2.5 8.5 9.5 3.5' stroke='%23B8945A' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  --stitch-v: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='13'%3E%3Cpath d='M3.5 2.5 8.5 9.5' stroke='%23B8945A' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}
.lang-en {
  --f-text: "Yekan", Tahoma, sans-serif;
  --f-display: var(--f-latin);
}

/* ── Base ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body {
  margin: 0;
  background: var(--vellum);
  color: var(--night);
  font: 400 16px/1.95 var(--f-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
.lang-en body { font-size: 16.5px; line-height: 1.75; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { margin: 0; font-weight: inherit; }
dl, dd { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
::selection { background: var(--gilt); color: var(--night); }
:focus-visible { outline: 2px solid var(--gilt); outline-offset: 3px; }
main:focus { outline: none; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: fixed; inset-inline-start: 16px; top: -60px; z-index: 100;
  padding: 10px 18px; background: var(--gilt); color: var(--night); text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: min(var(--max), 100% - 2 * var(--gut)); margin-inline: auto; }

/* ── Type ────────────────────────────────────────────────────────────────── */
.display {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(28px, 3.4vw, 50px);
  line-height: 1.4;
  letter-spacing: -.005em;
  text-wrap: balance;
}
.lang-en .display { font-weight: 400; line-height: 1.14; letter-spacing: -.012em; }
.display--xl { font-size: clamp(36px, 5.2vw, 76px); line-height: 1.25; }
.lang-en .display--xl { line-height: 1.06; }
.display--sm { font-size: clamp(22px, 2vw, 30px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 22px;
  color: var(--gilt);
  font-size: 13.5px; font-weight: 500; line-height: 1.4;
}
.lang-en .eyebrow { font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase; }
/* The short run of stitches before every eyebrow ties labels to the seam. */
.eyebrow::before {
  content: ""; width: 39px; height: 12px; flex: none;
  background: var(--stitch) repeat-x left center;
}
/* Latin eyebrows echo the spaced capitals of the CALMONTA logotype. */
.eyebrow--latin { font-family: var(--f-latin); font-size: 12px; font-weight: 400; letter-spacing: .42em; text-transform: uppercase; }

.lede { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.95; color: var(--smoke); max-width: 40em; }
.lang-en .lede { line-height: 1.6; }
.sec--night .lede { color: var(--ash); }

.link {
  color: var(--saddle); text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: .45em; text-decoration-color: rgba(59, 47, 34, .35);
  transition: text-decoration-color .25s, color .25s;
}
.link:hover { text-decoration-color: currentColor; }
.sec--night .link, .link--gilt { color: var(--gilt); text-decoration-color: rgba(184, 148, 90, .4); }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 34px;
  border: 1px solid transparent; border-radius: 1px;
  font: 500 15px/1 var(--f-text); text-decoration: none; letter-spacing: .01em;
  cursor: pointer; transition: background .3s, color .3s, border-color .3s;
}
.lang-en .btn { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.btn--gilt { background: var(--gilt); color: var(--night); }
.btn--gilt:hover { background: var(--gilt-hi); }
.btn--dark { background: var(--night); color: var(--vellum); }
.btn--dark:hover { background: var(--saddle); }
.btn--outline { border-color: var(--night); color: var(--night); }
.btn--outline:hover { background: var(--night); color: var(--vellum); }
.btn--block { width: 100%; }

/* ── The seam (signature) ────────────────────────────────────────────────── */
.seam {
  height: 12px;
  background: var(--stitch) repeat-x;
  background-position: left center;
}
/* Inside a section, the seam runs along the top edge like a stitched panel border. */
.sec > .seam { position: absolute; top: clamp(22px, 3vw, 34px); inset-inline: var(--gut); }
.seam--short { width: 104px; margin: 26px 0 28px; }
.seam--quiet { opacity: .45; width: min(var(--max), 100% - 2 * var(--gut)); margin: 0 auto; }

/* Sewing: the seam is revealed from the reading-start edge in discrete steps,
   one stitch at a time. Only when JS is running (html.js) — otherwise it's just there. */
.js [data-seam] { clip-path: inset(0 100% 0 0); transition: clip-path 1.9s steps(56, end); }
.js[dir="rtl"] [data-seam] { clip-path: inset(0 0 0 100%); }
.js [data-seam].is-sewn { clip-path: inset(0 0 0 0); }

/* ── Emblem drawing ──────────────────────────────────────────────────────── */
.draw path {
  fill: transparent;
  stroke: currentColor; stroke-width: 1.1px; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw-line 2.4s var(--ease) .25s forwards, draw-fill 1.1s ease 2.1s forwards;
}
.draw path:nth-child(2) { animation-delay: .45s, 2.2s; }
.draw path:nth-child(3) { animation-delay: .65s, 2.3s; }
.draw path:nth-child(4) { animation-delay: .85s, 2.4s; }
@keyframes draw-line { to { stroke-dashoffset: 0; } }
@keyframes draw-fill { to { fill: currentColor; stroke-width: 0; } }
/* The emblem section waits until it's on screen before drawing. */
.js .reveal:not(.in) .draw--slow path { animation-play-state: paused; }
.draw--slow path { animation-duration: 3.2s, 1.4s; }

/* ── Reveal on scroll ────────────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ── Header ──────────────────────────────────────────────────────────────── */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr);
  color: var(--vellum); background: var(--night);
  transition: background .4s, box-shadow .4s;
}
.has-hero .hdr:not(.is-solid) { background: transparent; }
.has-hero .hdr:not(.is-solid)::before {
  /* keeps the nav legible over bright parts of a photograph */
  content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(13, 13, 13, .55), transparent);
}
.hdr.is-solid { background: rgba(13, 13, 13, .94); box-shadow: 0 1px 0 var(--hair-d); }
@supports (backdrop-filter: blur(8px)) {
  .hdr.is-solid { background: rgba(13, 13, 13, .82); backdrop-filter: blur(14px); }
}
.hdr__in {
  height: 100%; width: min(var(--max), 100% - 2 * var(--gut)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.hdr__logo { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--vellum); }
.hdr__mark { width: 28px; height: auto; color: var(--gilt); }
.hdr__word { height: 13px; width: auto; }
.lang-fa .hdr__word { height: 21px; }
.hdr__nav { display: flex; align-items: center; gap: 36px; }
.hdr__nav ul { display: flex; gap: 30px; }
.hdr__nav a { text-decoration: none; font-size: 14.5px; color: rgba(245, 243, 238, .82); transition: color .25s; }
.lang-en .hdr__nav a { font-size: 13px; letter-spacing: .06em; }
.hdr__nav a:hover, .hdr__nav a[aria-current="page"] { color: var(--gilt); }
.hdr__lang {
  padding-inline-start: 26px; border-inline-start: 1px solid var(--hair-d);
  font-family: var(--f-text);
}
.lang-fa .hdr__lang { font-family: var(--f-latin); letter-spacing: .08em; }
.hdr__burger { display: none; }

@media (max-width: 1020px) {
  .hdr__burger {
    display: grid; place-content: center; gap: 7px;
    width: 44px; height: 44px; margin-inline-end: -10px;
    background: none; border: 0; color: inherit; cursor: pointer;
  }
  .hdr__burger i { display: block; width: 24px; height: 1px; background: currentColor; transition: transform .35s var(--ease); }
  .hdr__burger[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
  .hdr__burger[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
  .hdr__nav {
    position: fixed; inset: var(--hdr) 0 0; z-index: -1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 40px;
    padding: 0 var(--gut) 15vh; background: var(--night);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .hdr__nav.is-open { opacity: 1; visibility: visible; }
  .hdr__nav ul { flex-direction: column; gap: 22px; }
  .hdr__nav ul a { font-size: 26px; font-weight: 300; color: var(--vellum); font-family: var(--f-display); }
  .hdr__lang { border: 0; padding: 0; }
  .menu-open { overflow: hidden; }
  .menu-open .hdr, .menu-open .has-hero .hdr:not(.is-solid) { background: var(--night); }
}

/* ── Sections ────────────────────────────────────────────────────────────── */
.sec { position: relative; padding-block: clamp(84px, 10vw, 148px); }
.sec--vellum { background: var(--vellum); color: var(--night); }
.sec--paper { background: var(--paper); color: var(--night); }
.sec--night { background: var(--night); color: var(--vellum); }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: max(620px, 100svh);
  display: flex; align-items: flex-end;
  color: var(--vellum); background: var(--night); overflow: hidden;
}
.hero--short { min-height: max(520px, 78svh); }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 50% 35%; animation: hero-in 2.6s var(--ease) both; }
@keyframes hero-in { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(13, 13, 13, .92) 0%, rgba(13, 13, 13, .55) 32%, rgba(13, 13, 13, 0) 62%);
}
.hero__content {
  position: relative; z-index: 1;
  width: min(var(--max), 100% - 2 * var(--gut)); margin-inline: auto;
  padding-block: 0 clamp(64px, 9vh, 110px);
}
.hero__content > * { max-width: 680px; }
.hero__mark { width: clamp(56px, 6vw, 76px); height: auto; color: var(--gilt); margin-bottom: 30px; }
.hero__title {
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(38px, 6.2vw, 92px); line-height: 1.22; margin-bottom: 20px;
  animation: rise 1.4s var(--ease) .9s both;
}
.lang-en .hero__title { font-style: italic; font-weight: 400; line-height: 1.02; letter-spacing: -.02em; }
.hero__sub { font-size: clamp(16px, 1.4vw, 19px); color: rgba(245, 243, 238, .82); margin-bottom: 36px; animation: rise 1.4s var(--ease) 1.15s both; }
.hero .eyebrow { animation: rise 1.4s var(--ease) .75s both; }
.hero .btn { animation: rise 1.4s var(--ease) 1.35s both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
/* Home hero: a night panel for the words, stitched to the photograph by a vertical seam. */
.hero--split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; }
.hero--split .hero__media { position: relative; grid-column: 2; grid-row: 1; inset: auto; }
.hero--split .hero__media img { position: absolute; inset: 0; object-position: 42% 40%; }
.hero--split .hero__veil { display: none; }
.hero--split .hero__content {
  grid-column: 1; grid-row: 1; align-self: end; width: auto; margin: 0;
  padding-inline: max(var(--gut), (100vw - var(--max)) / 2) clamp(28px, 4vw, 64px);
}
.hero--split .hero__title { font-size: clamp(36px, 4.4vw, 72px); }
.hero__seam {
  grid-column: 2; grid-row: 1; justify-self: start; z-index: 2;
  width: 12px; margin-inline-start: -6px; height: 100%;
  background: var(--stitch-v) repeat-y center top;
}
@media (max-width: 900px) {
  .hero--split { grid-template-columns: 1fr; grid-template-rows: 58svh auto; }
  .hero--split .hero__media { grid-column: 1; grid-row: 1; }
  .hero--split .hero__content { grid-column: 1; grid-row: 2; padding: 40px var(--gut) 56px; }
  .hero__seam { display: none; }
}

/* ── Manifesto ───────────────────────────────────────────────────────────── */
.manifesto__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.manifesto__text .display { margin-bottom: 34px; }
.manifesto__text p:not(.eyebrow) { color: var(--smoke); max-width: 34em; }
.manifesto__fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 60% 50%; }
.manifesto__fig figcaption { margin-top: 14px; font-size: 13px; color: var(--smoke); }

/* ── Collection + cards ──────────────────────────────────────────────────── */
.collection__head { margin-bottom: clamp(44px, 6vw, 80px); }
.collection__head .display { font-size: clamp(44px, 6vw, 88px); margin-bottom: 14px; }
.collection__more { margin: 56px 0 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); }
.cards--2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; }
.card { display: block; text-decoration: none; color: inherit; }
.card__media { position: relative; aspect-ratio: 1; overflow: hidden; background: #fff; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.card__life { position: absolute; inset: 0; opacity: 0; }
.card:hover .card__life, .card:focus-visible .card__life { opacity: 1; }
.card:hover .card__media img { transform: scale(1.03); }
.card__body { padding-top: 24px; }
.card__latin { margin: 0 0 4px; font: italic 400 15px/1.2 var(--f-latin); color: var(--smoke); letter-spacing: .02em; }
.card__name {
  position: relative; display: inline-block;
  font-family: var(--f-display); font-weight: 300; font-size: clamp(26px, 2.3vw, 34px); line-height: 1.3;
  padding-bottom: 10px; margin-bottom: 6px;
}
/* A short seam sews itself under the name on hover. */
.card__name::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: 0; height: 12px; width: 100%;
  background: var(--stitch) repeat-x left center;
  clip-path: inset(0 100% 0 0); transition: clip-path .7s steps(10, end);
}
[dir="rtl"] .card__name::after { clip-path: inset(0 0 0 100%); }
.card:hover .card__name::after, .card:focus-visible .card__name::after { clip-path: inset(0); }
.card__type { margin: 0 0 6px; font-size: 14px; font-weight: 500; }
.card__tag { margin: 0; font-size: 14.5px; color: var(--smoke); line-height: 1.8; }

/* ── Full-bleed band ─────────────────────────────────────────────────────── */
.band { position: relative; background: var(--night); overflow: hidden; }
.band img { width: 100%; height: clamp(340px, 52vw, 760px); object-fit: cover; }
.band__line {
  position: absolute; inset-inline: var(--gut); bottom: clamp(32px, 6vw, 72px);
  color: var(--vellum); text-align: center; margin: 0;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .5);
}
.lang-en .band__line { font-style: italic; }

/* ── Everyday mosaic ─────────────────────────────────────────────────────── */
.life__head { margin-bottom: clamp(40px, 5vw, 72px); }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.mosaic--2 { grid-template-columns: repeat(2, 1fr); max-width: 980px; }
.mosaic--4 { grid-template-columns: repeat(4, 1fr); }
/* stagger the middle column down a little: an editorial page, not a grid of tiles */
@media (min-width: 900px) {
  .mosaic:not(.mosaic--2):not(.mosaic--4) > :nth-child(3n + 2) { transform: translateY(64px); }
  .js .mosaic:not(.mosaic--2):not(.mosaic--4) > .reveal:nth-child(3n + 2):not(.in) { transform: translateY(82px); }
  .life .mosaic:not(.mosaic--2):not(.mosaic--4) { padding-bottom: 64px; }
}
.mosaic__item { overflow: hidden; }
.mosaic__item a { position: relative; display: block; color: var(--vellum); text-decoration: none; }
.mosaic__item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.4s var(--ease); }
.mosaic__item a:hover img { transform: scale(1.035); }
.mosaic__cap {
  position: absolute; inset: auto 0 0; padding: 60px 22px 20px;
  background: linear-gradient(transparent, rgba(13, 13, 13, .78));
  font-size: 13.5px; color: rgba(245, 243, 238, .85);
}
.mosaic__name { display: block; font-family: var(--f-display); font-size: 22px; font-weight: 300; color: var(--vellum); }

/* ── Emblem ──────────────────────────────────────────────────────────────── */
.emblem__head { text-align: center; margin: 0 auto clamp(48px, 6vw, 88px); max-width: 720px; }
.emblem__head .lede { margin-inline: auto; }
.emblem__grid {
  display: grid; align-items: center; gap: 40px clamp(32px, 5vw, 80px);
  grid-template-columns: 1fr minmax(220px, 380px) 1fr;
  grid-template-areas: "a m b" "c m d";
}
.emblem__mark { grid-area: m; color: var(--gilt); }
.emblem__mark svg { width: 100%; height: auto; }
.emblem__notes { display: contents; }
.emblem__note:nth-child(1) { grid-area: a; }
.emblem__note:nth-child(2) { grid-area: b; }
.emblem__note:nth-child(3) { grid-area: c; }
.emblem__note:nth-child(4) { grid-area: d; }
.emblem__note:nth-child(odd) { text-align: end; }
.emblem__note dt { font-family: var(--f-display); font-size: clamp(21px, 1.8vw, 26px); font-weight: 300; margin-bottom: 6px; }
.emblem__note dd { color: var(--smoke); font-size: 15px; }

/* ── Split (image + text) ────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 7fr 5fr; align-items: center; padding-block: 0; }
.split__media img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.split__text { padding: clamp(56px, 7vw, 120px) clamp(24px, 6vw, 110px); max-width: 640px; }
.split__text .display { margin-bottom: 26px; }
.split__text p:not(.eyebrow) { color: var(--ash); }

/* ── Authenticity card teaser ────────────────────────────────────────────── */
.cardsec__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(48px, 8vw, 140px); align-items: center; }
.cardsec__cards { position: relative; height: clamp(360px, 38vw, 520px); }
.cardsec__cards img {
  position: absolute; top: 50%; width: auto; height: 84%;
  box-shadow: 0 30px 60px -20px rgba(13, 13, 13, .35), 0 2px 6px rgba(13, 13, 13, .08);
  border-radius: 10px;
}
.cardsec__back { inset-inline-start: 34%; transform: translateY(-50%) rotate(7deg); }
.cardsec__front { inset-inline-start: 6%; transform: translateY(-50%) rotate(-5deg); }
.cardsec__text .display { margin-bottom: 26px; }
.cardsec__text p:not(.eyebrow) { color: var(--smoke); }

/* ── Buy band ────────────────────────────────────────────────────────────── */
.buy__in { text-align: center; max-width: 760px; }
.buy__in .display { margin-bottom: 22px; }
.buy__in p { color: var(--ash); margin-bottom: 36px; }

/* ── Inner pages ─────────────────────────────────────────────────────────── */
.page-head { padding-block: calc(var(--hdr) + clamp(56px, 9vw, 130px)) clamp(48px, 6vw, 88px); }
.page-head .display { margin-bottom: 24px; max-width: 16em; }
.prose--story { max-width: 760px; }
.prose--story p { font-size: clamp(17px, 1.4vw, 20px); line-height: 2.05; }
.lang-en .prose--story p { line-height: 1.75; }
.prose--story p:first-child { font-family: var(--f-display); font-weight: 300; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.75; }
.lang-en .prose--story p:first-child { line-height: 1.4; }

.guide { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.guide__fig { position: sticky; top: calc(var(--hdr) + 32px); }
.guide__fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.guide__item { padding-block: 30px; border-top: 1px solid var(--hair-l); }
.guide__item:first-child { padding-top: 0; border-top: 0; }
.guide__item dt { font-family: var(--f-display); font-weight: 300; font-size: clamp(22px, 2vw, 28px); margin-bottom: 10px; }
.guide__item dd { color: var(--smoke); }

.auth { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.auth__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.auth__cards img { border-radius: 10px; box-shadow: 0 24px 50px -24px rgba(13, 13, 13, .4); }
.auth__cards figcaption { margin-top: 12px; font-size: 13px; color: var(--smoke); text-align: center; }

.stores { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.stores__item .display { margin-bottom: 16px; }
.stores__item p { color: var(--smoke); margin-bottom: 26px; max-width: 30em; }

.page-head--error { min-height: 70svh; }
.error__mark { width: 56px; color: var(--gilt); margin-bottom: 34px; }
.error__links { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 36px; }

/* ── Product page ────────────────────────────────────────────────────────── */
.crumbs { padding-top: calc(var(--hdr) + 28px); font-size: 13px; color: var(--smoke); display: flex; flex-wrap: wrap; gap: 10px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--night); }
.pdp {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px);
  padding-block: 28px clamp(80px, 9vw, 130px);
}
.gal {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  background: #fff; scrollbar-width: none;
}
.gal::-webkit-scrollbar { display: none; }
.gal__slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 1; }
.gal__slide img { width: 100%; height: 100%; object-fit: cover; }
.gal__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.gal__thumb { flex: 0 0 68px; border: 1px solid transparent; background: #fff; transition: border-color .25s, opacity .25s; opacity: .7; }
.gal__thumb:hover { opacity: 1; }
.gal__thumb[aria-current="true"] { border-color: var(--gilt); opacity: 1; }
.pdp__sticky { position: sticky; top: calc(var(--hdr) + 28px); }
.pdp__title { font-family: var(--f-display); font-weight: 300; font-size: clamp(44px, 4.8vw, 72px); line-height: 1.15; }
.pdp__type { margin: 6px 0 4px; font-weight: 500; }
.pdp__tag { color: var(--smoke); margin: 0; }
.pdp__desc { color: #2A2621; }
.pdp__h { margin: 38px 0 14px; font-size: 13px; font-weight: 600; color: var(--smoke); }
.lang-en .pdp__h { letter-spacing: .18em; text-transform: uppercase; font-size: 11.5px; }
/* bullets are the diamond at the centre of the emblem */
.pdp__features li { position: relative; padding-inline-start: 22px; margin-bottom: 6px; }
.pdp__features li::before {
  content: ""; position: absolute; inset-inline-start: 2px; top: .85em;
  width: 6px; height: 6px; background: var(--gilt); transform: rotate(45deg);
}
.pdp__specs > div { display: flex; justify-content: space-between; gap: 24px; padding-block: 12px; border-top: 1px solid var(--hair-l); }
.pdp__specs > div:last-child { border-bottom: 1px solid var(--hair-l); }
.pdp__specs dt { color: var(--smoke); }
.pdp__specs dd { text-align: end; }
.code { font: 500 14px/1.4 "Yekan", Tahoma, sans-serif; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.badge {
  display: inline-block; margin-inline-start: 8px; padding: 2px 9px;
  background: rgba(184, 148, 90, .16); color: var(--saddle); font-size: 11.5px; border-radius: 20px; vertical-align: 1px;
}
.pdp__buy { margin-top: 40px; }
.pdp__buynote { margin: 12px 0 0; font-size: 13px; color: var(--smoke); text-align: center; }
.pdp__links { display: flex; flex-wrap: wrap; gap: 26px; margin: 30px 0 0; font-size: 14px; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.ftr { background: var(--umber); color: var(--vellum); padding-top: clamp(64px, 8vw, 110px); }
.ftr__in {
  width: min(var(--max), 100% - 2 * var(--gut)); margin-inline: auto;
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; padding-bottom: 56px;
}
.ftr__brand { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.ftr__mark { width: 44px; color: var(--gilt); }
.ftr__word { height: 15px; width: auto; }
.lang-fa .ftr__word { height: 24px; }
.ftr__slogan { color: var(--ash); margin: 0; }
.ftr__nav { display: grid; gap: 10px; align-content: start; }
.ftr__nav a { text-decoration: none; color: rgba(245, 243, 238, .78); font-size: 14.5px; justify-self: start; }
.ftr__nav a:hover { color: var(--gilt); }
.ftr__note { color: var(--ash); font-size: 14px; margin: 0; }
.ftr__legal { width: min(var(--max), 100% - 2 * var(--gut)); margin: 0 auto; padding: 22px 0 32px; font-size: 12.5px; color: var(--ash); }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .mosaic, .mosaic--4 { grid-template-columns: repeat(2, 1fr); }
  .manifesto__grid, .cardsec__grid, .guide, .auth, .pdp { grid-template-columns: minmax(0, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split__media img { min-height: 0; aspect-ratio: 16 / 10; }
  .pdp__sticky, .guide__fig { position: static; }
  .emblem__grid { grid-template-columns: 1fr 1fr; grid-template-areas: "m m" "a b" "c d"; }
  .emblem__mark { width: min(260px, 60vw); justify-self: center; }
  .emblem__note:nth-child(odd) { text-align: start; }
  .ftr__in { grid-template-columns: 1fr 1fr; }
  .ftr__brand { grid-column: 1 / -1; }
  .cardsec__cards { order: 2; }
}
@media (max-width: 640px) {
  .cards, .cards--2, .stores { grid-template-columns: 1fr; }
  .mosaic, .mosaic--2, .mosaic--4 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mosaic__cap { padding: 40px 12px 12px; font-size: 12px; }
  .mosaic__name { font-size: 18px; }
  .emblem__grid { grid-template-columns: 1fr; grid-template-areas: "m" "a" "b" "c" "d"; gap: 28px; }
  .ftr__in { grid-template-columns: 1fr; }
  .auth__cards { max-width: 420px; }
  .pdp__title { font-size: 46px; }
}

/* ── Reduced motion: everything is simply present ────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js [data-seam] { clip-path: none; }
  .draw path { fill: currentColor; stroke-width: 0; }
}
