/* Hallmark · shape: an issue of the magazine (cover, contents, sister spread, back page) · genre: editorial · theme: custom · job: listen · idea: "The home page is an issue of Corporate TrendZ: the nameplate and its line on the cover, the newest covers fanned beneath, a contents page, the Asia edition's spread and the publisher on the back page" · vibe: "royal purple, saffron light, glossy covers, leaders"
 * paper: oklch(16.8% 0.075 305) to oklch(32% 0.155 313), the logo's own purple field, then oklch(99.2% 0.002 300) · accent: oklch(73.5% 0.168 57), ASHTROAM's orange · display: Cormorant Garamond (the brand site loads it) · body: Jost (geometric like the logo's CORPORATE) · hero: the nameplate centred on its own purple light, the slogan under it, the five newest covers fanned below · nav: none (owner) · footer: back page, the publisher's logo beside the links · imagery: the magazines' own covers · signature: the fan of the newest covers under the centred nameplate
 * axes: dark/roman-serif/chromatic-purple · posture: drenched (the purple lives in surface tokens) · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S4 R4 V5 · weakest: R, the covers repeat between the fan and the contents page; the contents page is set as type and shows one cover at a time */
/* Hallmark · waive 77 · 4 sections, hero and footer included · they hold everything the owner gave (the brand, both editions' covers, the publisher, the footer links); more would mean inventing content */
/* Hallmark · answered: Cormorant Garamond is on the saturated list; it is the face corptrendz.com itself loads, so it stays as the brand's own */
/* Hallmark · answered: 6b, the owner asked for the logo in the middle with the slogan; the fan of covers is the composition under them */
/* Hallmark · answered: 29, the one radial is the logo's own purple field, sampled from the owner's JPG and extended so the logo sits on it */
/* Hallmark · answered: F3, balance stays on the slogan so the owner's line breaks after Leaders at every width */
/* Hallmark · answered: F15, two-column splits part at 96px, rows of covers and links at 40px */

/* fonts, stored in the plugin (SIL Open Font Licence, see fonts/) */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(fonts/cormorant-garamond.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(fonts/jost.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* tokens */
:root {
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --color-error: oklch(52% 0.19 27); --color-success: oklch(50% 0.12 150);
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
  --color-paper: oklch(99.2% 0.002 300); --color-paper-2: oklch(96.5% 0.006 300); --color-paper-3: oklch(93% 0.01 300);
  --color-ink: oklch(18% 0.03 305); --color-ink-2: oklch(31% 0.03 305); --color-muted: oklch(47% 0.025 305);
  --color-rule: oklch(87% 0.012 305);
  --color-accent: oklch(73.5% 0.168 57); --color-accent-ink: oklch(16.8% 0.075 305); --color-focus: oklch(80% 0.14 64);
  --font-display: "Cormorant Garamond", ui-serif, serif; --font-body: "Jost", ui-sans-serif, system-ui, sans-serif; --font-outlier: var(--font-body);
  --radius-card: 4px; --radius-pill: 999px; --rule-hair: 1px; --shadow-card: none;
  --tracking-display: -0.02em;
}

/* base */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 22%, transparent); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-synthesis: none; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.num, .figure, td.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[data-slot] { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--color-paper-2, var(--color-paper)), var(--color-paper-3, var(--color-paper))); }
[data-slot] > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
[data-slot]:has(> img) > :not(img):not([data-keep]) { display: none !important; }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) { *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }

:root {
  /* the logo's purple field, sampled from the owner's JPG: centre #43005f, edge #170328. The glow is a step lighter,
     so under mix-blend-mode: lighten the JPG's own field vanishes and only the wordmark stays */
  --color-glow: oklch(32% 0.155 313);
  --color-field: oklch(29.2% 0.147 312);
  --color-field-2: oklch(23.9% 0.119 310);
  --color-field-3: oklch(16.8% 0.075 305);
  --color-night: oklch(19.5% 0.09 308);
  --color-on-field: oklch(96.5% 0.012 85);
  --color-on-field-2: oklch(84% 0.04 310);
  --color-rule-dark: oklch(96.5% 0.012 85 / 0.16);
  --color-shadow: oklch(8% 0.04 305 / 0.62);
  --color-shadow-soft: oklch(20% 0.05 305 / 0.28);
  --color-accent-2: oklch(80% 0.14 64);
  --color-focus-light: oklch(40% 0.17 312);
  /* the sister brands' own colours: Corporate TrendZ Asia's cyan, ASHTROAM's orange ramp */
  --color-asia: oklch(70.8% 0.149 234);
  --color-asia-ink: oklch(16% 0.02 240);
  --color-ashtroam: oklch(66.8% 0.191 40);
  --color-ashtroam-2: oklch(73.5% 0.168 57);
  --cover-ratio: 78 / 100;
  --logo-w: clamp(17.5rem, 40vw, 36rem);
  --hero-top: clamp(1.5rem, 4vw, 3.5rem);
}

body { font-size: 1.0625rem; line-height: 1.6; color: var(--color-ink-2); }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.01em; line-height: 1.04; font-variant-numeric: lining-nums; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-lg); }

/* buttons: one primary (saffron on purple), one ghost that takes the colour of its ground */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 1.75rem; border: 1px solid transparent; border-radius: var(--radius-pill); font: 500 1rem/1 var(--font-body); text-decoration: none; white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn:focus-visible, .text-link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-accent-2); }
.btn--ghost { color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: color-mix(in oklab, currentColor 12%, transparent); }
.text-link { color: inherit; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; text-decoration-color: color-mix(in oklab, currentColor 40%, transparent); transition: text-decoration-color var(--dur-short) var(--ease-out); }
.text-link:hover { text-decoration-color: currentColor; }

/* the cover: the nameplate on its own light, the slogan, the newest covers fanned below */
.hero {
  position: relative; isolation: isolate; overflow: clip; text-align: center; color: var(--color-on-field);
  padding: var(--hero-top) 0 var(--space-xl);
  background:
    radial-gradient(ellipse calc(var(--logo-w) * 0.95) calc(var(--logo-w) * 0.6) at 50% calc(var(--hero-top) + var(--logo-w) * 0.19), var(--color-glow) 0 55%, transparent 100%),
    radial-gradient(ellipse 80% 60% at 50% 30%, var(--color-field) 0%, var(--color-field-2) 50%, var(--color-field-3) 100%);
}
.nameplate { width: var(--logo-w); margin: 0 auto; }
.nameplate img { width: 100%; aspect-ratio: 1000 / 380; object-fit: cover; mix-blend-mode: lighten; }
.slogan { margin: var(--space-md) auto 0; max-width: 21ch; font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; text-wrap: balance; font-size: clamp(2.5rem, 4.2vw + 1rem, 5rem); line-height: 1.02; color: var(--color-on-field); }
.hero .lead { margin: var(--space-md) auto 0; max-width: 62ch; color: var(--color-on-field-2); font-size: clamp(1.0625rem, 0.4vw + 0.95rem, 1.3125rem); line-height: 1.5; }
.hero .actions { justify-content: center; margin-top: var(--space-xl); }

.fan { --w: clamp(9rem, 15vw, 14.5rem); --step: calc(var(--w) * 0.68); position: relative; height: calc(var(--w) * 1.28 + 4rem); max-width: 64rem; margin: var(--space-xl) auto 0; padding: 0; list-style: none; }
.fan li { position: absolute; top: 1.5rem; left: 50%; width: var(--w); margin-left: calc(var(--w) / -2); z-index: calc(5 - var(--d));
  transform: translateX(calc(var(--i) * var(--step))) translateY(calc(var(--d) * var(--d) * 0.55rem)) rotate(calc(var(--i) * 5deg)) scale(calc(1 - var(--d) * 0.07)); }
.fan li:hover, .fan li:focus-within { z-index: 10; }
.fan a { display: block; border-radius: 3px; box-shadow: 0 1.75rem 3rem -1.25rem var(--color-shadow), 0 0.25rem 0.75rem -0.25rem var(--color-shadow); transition: transform var(--dur-long) var(--ease-out); }
.fan a:hover, .fan a:focus-visible { transform: translateY(-1.25rem) scale(1.04); }
.fan a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.fan img { width: 100%; aspect-ratio: var(--cover-ratio); object-fit: cover; border-radius: inherit; }
.fan-caption { min-height: 1.6em; margin-top: var(--space-xs); color: var(--color-on-field-2); font-size: 0.9375rem; }
.fan-caption b { color: var(--color-on-field); font-weight: 500; }

@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 760ms var(--ease-out) both; animation-delay: calc(var(--n, 0) * 80ms); }
  .fan li { animation: deal 1100ms var(--ease-out) both; animation-delay: calc(380ms + var(--d) * 90ms); }
}
@keyframes rise { from { opacity: 0; transform: translateY(0.75rem); } }
@keyframes deal { from { transform: translateX(0) translateY(3rem) rotate(0deg) scale(0.9); } }

/* the contents page: every 2026 issue as a line of type; the big cover follows the line under the pointer */
.contents { background: var(--color-night); color: var(--color-on-field); padding-block: var(--section-gap); }
.contents .container { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: start; }
.contents-side { position: sticky; top: var(--space-2xl); }
.contents h2 { font-size: clamp(2.75rem, 3vw + 1.5rem, 4.5rem); }
.contents-side > p { margin-top: var(--space-md); max-width: 34ch; color: var(--color-on-field-2); }
.toc-cover { width: min(100%, 17rem); margin: var(--space-xl) 0 0; border-radius: 3px; overflow: clip; box-shadow: 0 1.75rem 3rem -1.25rem var(--color-shadow); }
.toc-cover img { width: 100%; aspect-ratio: var(--cover-ratio); object-fit: cover; transition: opacity var(--dur-short) var(--ease-out); }
.toc-cover img.is-swapping { opacity: 0; }
.contents .actions { margin-top: var(--space-xl); }
.contents .text-link { color: var(--color-on-field-2); }

.toc { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--color-rule-dark); }
.toc li { border-top: 1px solid var(--color-rule-dark); }
.toc a { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); align-items: baseline; gap: var(--space-md); padding: 1.3rem var(--space-sm); color: inherit; text-decoration: none; }
.toc a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.toc-n { font: 600 1.75rem/1 var(--font-display); color: var(--color-accent); font-variant-numeric: lining-nums tabular-nums; }
.toc-t { font: 600 clamp(1.375rem, 1vw + 1rem, 2rem)/1.15 var(--font-display); font-variant-numeric: lining-nums; text-wrap: balance; text-decoration: underline 1px; text-decoration-color: transparent; text-underline-offset: 0.18em; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.toc a:hover .toc-t { text-decoration-color: var(--color-accent); }
.toc-thumb { display: none; }

/* the sister edition: its own logo, its own cyan, its covers standing on a shelf of that cyan */
.asia { --color-focus: var(--color-focus-light); background: var(--color-paper); color: var(--color-ink); padding-block: var(--section-gap) var(--section-gap-s); text-align: center; }
.asia-mark { width: clamp(16rem, 36vw, 32rem); margin: 0 auto; }
.asia-mark img { width: 100%; }
.asia .lead { margin: var(--space-lg) auto 0; max-width: 46ch; color: var(--color-ink-2); }
.asia .actions { justify-content: center; margin-top: var(--space-xl); }
.shelf { position: relative; margin-top: var(--space-2xl); padding-bottom: var(--space-2xl); }
.shelf::before { content: ""; position: absolute; inset: 44% 0 0; background: var(--color-asia); }
.shelf ul { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xl); max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); list-style: none; }
.shelf a { display: block; color: var(--color-asia-ink); text-decoration: none; }
.shelf figure { margin: 0; }
.shelf .cover { display: block; border-radius: 3px; overflow: clip; box-shadow: 0 1.5rem 2.5rem -1.25rem var(--color-shadow-soft); transition: transform var(--dur-short) var(--ease-out); }
.shelf img { width: 100%; aspect-ratio: var(--cover-ratio); object-fit: cover; }
.shelf a:hover .cover { transform: translateY(-0.5rem); }
.shelf a:focus-visible { outline: 2px solid var(--color-asia-ink); outline-offset: 4px; }
.shelf figcaption { margin-top: var(--space-md); font: 500 1rem/1.35 var(--font-body); text-align: left; }

/* the back page: the publisher beside the links, under ASHTROAM's own orange */
.back { --color-focus: var(--color-focus-light); position: relative; background: var(--color-paper); color: var(--color-ink); padding-block: var(--space-3xl) var(--space-2xl); }
.back::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, var(--color-ashtroam), var(--color-ashtroam-2)); }
.back .container { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-2xl) var(--space-3xl); align-items: start; }
.publisher img { width: min(100%, 26rem); }
.publisher p { margin-top: var(--space-lg); max-width: 28ch; font-variant-numeric: lining-nums; font: 500 clamp(1.5rem, 1vw + 1.1rem, 2rem)/1.2 var(--font-display); color: var(--color-ink); }
.links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl); }
.links h2 { font: 500 0.9375rem/1.4 var(--font-body); letter-spacing: 0; color: var(--color-muted); }
.links ul { display: grid; gap: var(--space-sm); margin: var(--space-md) 0 0; padding: 0; list-style: none; }
.links a { color: var(--color-ink); text-decoration: underline 1px; text-decoration-color: var(--color-rule); text-underline-offset: 0.25em; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.links a:hover { text-decoration-color: var(--color-ashtroam); }
.links a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.legal { grid-column: 1 / -1; padding-top: var(--space-lg); border-top: 1px solid var(--color-rule); color: var(--color-muted); font-size: 0.875rem; }

@media (max-width: 60rem) {
  .contents .container, .back .container { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .contents-side { position: static; }
  .toc-cover { display: none; }
  .toc a { grid-template-columns: 2.25rem 3.5rem minmax(0, 1fr); align-items: center; padding-inline: 0; }
  .toc-thumb { display: block; width: 3.5rem; aspect-ratio: var(--cover-ratio); object-fit: cover; border-radius: 2px; }
  .toc-n { font-size: 1.375rem; }
  .shelf ul { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 58%; gap: var(--space-md); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--space-sm); }
  .shelf li { scroll-snap-align: center; }
}
@media (max-width: 40rem) {
  .fan { --w: 8.75rem; --step: calc(var(--w) * 0.64); height: calc(var(--w) * 1.28 + 3rem); margin-top: var(--space-xl); }
  .fan .fan-outer { display: none; }
  .hero .actions { flex-direction: column; align-items: stretch; max-width: 22rem; margin-inline: auto; }
  .links { grid-template-columns: minmax(0, 1fr); }
}
