/*
 * atelier — a printed fashion quarterly. Loaded after base.css; identity only, no structure.
 * Serif display set large and off-axis, 4:5 photographs, numbered captions, hairlines.
 * No cards, no shadows on content, no rounded corners.
 */
:root { --o-radius: 0; --o-radius-media: 0; }
h1, h2, h3 { font-family: var(--f-font-display); font-weight: 400; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 5.4vw, 5.2rem); line-height: 1.02; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.08; }
:lang(fa) h1, :lang(ar) h1 { line-height: 1.35; letter-spacing: 0; }
:lang(fa) h2, :lang(ar) h2 { line-height: 1.4; letter-spacing: 0; }

/* the hero: text sits low against a tall photograph, like a magazine opener */
[data-n='at-hero-cols'] { align-items: end; gap: clamp(24px, 5vw, 80px); }
[data-n='at-hero-img'] img, [data-n='at-story-img'] img { inline-size: 100%; object-fit: cover; }
[data-n='at-kicker'] p, [data-n='at-story-k'] p {
  font-family: var(--f-font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--o-muted); border-block-start: 1px solid var(--o-ink); padding-block-start: 10px; display: inline-block;
}
[data-n='at-lede'] p { font-size: 1.12rem; color: var(--o-muted); }

/* pull quote between hairlines */
[data-n='at-note'] p {
  font-family: var(--f-font-display); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 2.2rem); line-height: 1.3;
  border-block: 1px solid var(--o-rule); padding-block: clamp(24px, 4vw, 48px); margin-inline: auto; max-inline-size: 30ch;
}

/* grids: hairline-separated, captions like credits */
.f-grid-title { font-size: clamp(1.4rem, 2.4vw, 2rem); border-block-end: 1px solid var(--o-ink); padding-block-end: 12px; }
.f-grid { gap: clamp(16px, 2.4vw, 40px) clamp(12px, 2vw, 32px); }
@media (min-width: 900px) { .f-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.f-card-title { font-family: var(--f-font-display); font-weight: 400; font-size: 1.15rem; }
.f-card img { transition: none; }
.f-card:hover img { transform: none; opacity: .92; }
.f-price { font-size: .95rem; color: var(--o-muted); }
.f-price-now { font-weight: 400; color: var(--o-ink); }
.f-badge { border-radius: 0; text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; }

/* buttons: flat and square; the accent only on the primary action */
.f-btn { border-radius: 0; letter-spacing: .06em; text-transform: uppercase; font-size: .85rem; }
:lang(fa) .f-btn, :lang(ar) .f-btn { letter-spacing: 0; text-transform: none; font-size: .95rem; }
.f-btn-primary { background: var(--o-accent); color: var(--f-color-accent-ink, #fff); box-shadow: none; }

.f-chrome-header { border-block-end-color: var(--o-ink); }
.f-site-title { font-family: var(--f-font-display); font-weight: 400; font-size: 1.6rem; letter-spacing: .02em; }

/* ---- 2026-11 polish ---- */
/* ==== GENERATED: fonts (scripts/themes/gen.mjs) ==== */
@font-face { font-family: "Bodoni Moda"; src: url("t/atelier/fonts/bodoni-moda-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF; }
@font-face { font-family: "Bodoni Moda"; src: url("t/atelier/fonts/bodoni-moda-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF; }
@font-face { font-family: "Hanken Grotesk"; src: url("t/atelier/fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF; }
@font-face { font-family: "Hanken Grotesk"; src: url("t/atelier/fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF; }
@font-face { font-family: "Noto Naskh Arabic"; src: url("t/atelier/fonts/noto-naskh-arabic-arabic-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Noto Naskh Arabic"; src: url("t/atelier/fonts/noto-naskh-arabic-arabic-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFF; }
/* ==== END GENERATED ==== */
/* numbered captions, like plate credits in a quarterly */
.f-grid { counter-reset: plate; }
.f-card { counter-increment: plate; }
.f-card-title::before { content: counter(plate, decimal-leading-zero) "  "; font-family: var(--f-font-body); font-size: .72rem; letter-spacing: .12em; color: var(--o-muted); vertical-align: .2em; }
:lang(fa) .f-card-title::before { content: counter(plate, persian) " · "; letter-spacing: 0; }
.f-card:is(:hover, :focus-within) .f-card-title { font-style: italic; }
:lang(fa) .f-card:is(:hover, :focus-within) .f-card-title { font-style: normal; text-decoration: underline; text-underline-offset: .3em; }
