/* Hallmark · shape: Manifesto · genre: editorial · theme: Atelier (deal 2/3, seed anac-group-anonymous-house-be46·cc89c861·2026-11-23·r0) · job: hire · draw: 392dd3
 * hero: Stage · nav: edge-aligned (wordmark left, three links and one action right, named on purpose) · footer: statement · imagery: none, the company card and sample strips in cotton stock · signature: the company's particulars pressed on a cotton card
 * axes: dark/roman-serif/cool · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R5 V4 · weakest: S, a holding company with no brands shown could be anyone; led with the legal particulars a payment reviewer checks, so the page is specific to its job */
/* Hallmark · brand: the owner asked for a black theme; paper is near-black, ink is warm white, the signal is the logo's gold and the logo runs in its light version */
/* Hallmark · waive 26b · no form controls on this page, so no disabled state exists · the contact block is plain email and telephone text, no inputs */
/* Hallmark · waive 77 · the contact section holds only an email and a postal address · the payment provider asks for these two, and padding it out would mean inventing details */
@import url("./tokens.css");
@import url("./base.css");

:root {
  color-scheme: dark;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.15' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.3 0 0 0 0 0.24 0 0 0 0 0.18 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --fibre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85 0.12' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.42 0 0 0 0 0.36 0 0 0 0 0.3 0 0 0 0.07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  --color-paper: oklch(13.5% 0.004 260); --color-paper-2: oklch(16.5% 0.005 260); --color-paper-3: oklch(20% 0.006 260);
  --color-deep: oklch(9% 0.003 260);
  --color-ink: oklch(95% 0.008 82); --color-ink-2: oklch(84% 0.01 80); --color-muted: oklch(68% 0.012 78);
  --color-rule: oklch(30% 0.006 260);
  --color-accent: oklch(76% 0.105 76); --color-accent-ink: oklch(13.5% 0.004 260); --color-focus: oklch(80% 0.11 78);
  --color-gold-deep: oklch(74% 0.1 74);
  --color-card: oklch(18.5% 0.005 260); --color-card-edge: oklch(33% 0.008 260); --color-pencil: oklch(62% 0.01 78);
  --card-lit: oklch(22% 0.006 260); --card-shade: oklch(16% 0.005 260); --lit: oklch(100% 0 0 / 0.06);
  --shadow-card: 0 0 0 1px oklch(100% 0 0 / 0.06), 0.5px 1px 1px oklch(0% 0 0 / 0.4), 3px 8px 14px -6px oklch(0% 0 0 / 0.5), 14px 36px 64px -28px oklch(0% 0 0 / 0.7);
  --air-1: oklch(13% 0.004 260); --air-2: oklch(17% 0.018 76); --air-3: oklch(11% 0.006 250);
}

body { color: var(--color-ink-2); line-height: 1.6; background: transparent; }
html { background: var(--color-paper); }
h1, h2 { font-weight: var(--display-weight); color: var(--color-ink); }
h1 { letter-spacing: var(--tracking-display); line-height: 1.04; }
h2 { letter-spacing: var(--tracking-display); line-height: 1.08; }
h3 { font-weight: var(--serif-small); color: var(--color-ink); letter-spacing: 0; }

/* the air */
.air { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.air canvas { width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s var(--ease-out); }
.air canvas.is-on { opacity: 1; }
.air::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); background-size: 180px; opacity: 0.08; mix-blend-mode: screen; }

/* chrome */
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }
.nav { border-bottom: var(--rule-hair) solid var(--color-rule); }
.nav .container { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: var(--space-lg); }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.wordmark img { width: auto; height: 40px; }
.card__logo { width: auto; height: 56px; }
.footer__logo { width: auto; height: 72px; }
.nav ul { display: flex; align-items: center; gap: var(--space-xl); margin: 0; padding: 0; list-style: none; font-size: var(--text-sm); }
.nav a:not(.btn) { color: var(--color-ink-2); text-decoration: none; transition: color var(--dur-short) var(--ease-out); }
.nav a:not(.btn):hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); }

.btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-ink); border-radius: var(--radius-pill); color: var(--color-ink); background: transparent; font: 400 var(--text-md)/1 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-ink); color: var(--color-paper); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn--sm { min-height: 44px; font-size: var(--text-sm); }
.link { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 0.22em; transition: color var(--dur-short) var(--ease-out); }
.link:hover { color: var(--color-accent); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }

.fill { padding: 0 0.25em; border: 1px dashed color-mix(in oklch, var(--color-muted) 70%, transparent); border-radius: 3px; color: var(--color-muted); -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* hero */
.hero { min-height: calc(100dvh - 73px); display: flex; align-items: center; padding-block: var(--space-2xl); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: center; }
.hero__text { display: grid; gap: var(--space-lg); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); margin-top: var(--space-md); }
.hero__visual { position: relative; display: grid; justify-items: start; padding-left: var(--space-xl); }

/* cotton stock */
.stock { position: relative; border-radius: 2px; background: var(--fibre) 0 0 / 220px, linear-gradient(160deg, var(--card-lit), var(--color-card) 55%, var(--card-shade)); box-shadow: var(--shadow-card), inset 1px 1px 0 var(--lit); }
.stock::before { content: ""; position: absolute; inset: 0.875rem; border: var(--rule-hair) solid var(--color-card-edge); pointer-events: none; }
.card { z-index: var(--z-raised); margin: 0; width: min(100%, 620px); min-height: 600px; align-content: space-between; padding: var(--space-2xl); display: grid; gap: var(--space-xl); }
.card__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-md); }
.card__house { font: var(--serif-small) var(--text-2xl)/1 var(--font-display); color: var(--color-ink); }
.card__kind { font-size: var(--text-sm); color: var(--color-muted); }
.particulars { margin: 0; border-top: var(--rule-head) solid var(--color-ink); }
.particulars > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--space-md); padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
.particulars dt { font-size: var(--text-sm); color: var(--color-muted); }
.particulars dd { margin: 0; color: var(--color-ink); }
.pencil { display: flex; align-items: baseline; gap: var(--space-xs); font-size: var(--text-sm); color: var(--color-pencil); }
.pencil::before { content: ""; width: 72px; border-bottom: var(--rule-hair) solid var(--color-pencil); }

/* sample strips */
.strips { position: absolute; left: calc(-1 * var(--space-lg)); bottom: var(--space-2xl); display: flex; align-items: flex-end; height: 260px; width: 120px; z-index: var(--z-base); }
.strip { position: absolute; left: calc(50% - 17px); bottom: 0; width: 34px; height: 230px; transform-origin: 50% 96%; transform: rotate(var(--r)); border-radius: 2px 2px 0 0; clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0 90%); background: radial-gradient(70% 22% at 50% 100%, var(--stain), transparent 85%), var(--fibre) 0 0 / 220px, linear-gradient(160deg, var(--card-lit), var(--color-card)); box-shadow: var(--shadow-card); }
.strip span { position: absolute; top: var(--space-md); left: 50%; writing-mode: vertical-rl; transform: translateX(-50%); font: var(--serif-small) var(--text-sm)/1 var(--font-display); color: var(--color-ink); white-space: nowrap; }
.strip b { font-weight: 400; color: var(--color-ink); font-family: var(--font-body); margin-bottom: var(--space-xs); }
.strip:nth-child(1) { --r: -24deg; --stain: var(--stain-1); }
.strip:nth-child(2) { --r: -8deg; --stain: var(--stain-2); }
.strip:nth-child(3) { --r: 8deg; --stain: var(--stain-3); }
.strip:nth-child(4) { --r: 24deg; --stain: var(--stain-4); }
.rivet { position: absolute; left: calc(50% - 4px); bottom: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--color-pencil); box-shadow: inset 1px 1px 0 var(--lit); z-index: var(--z-raised); }
.js .strip { transform: rotate(0deg); transition: transform var(--dur-long) var(--ease-out); transition-delay: calc(var(--i) * 60ms + 300ms); }
.js .strips.is-open .strip { transform: rotate(var(--r)); }
.air-toggle { position: absolute; right: 0; bottom: calc(-1 * var(--space-2xl)); min-height: 44px; padding: 0 var(--space-sm); border: 0; background: transparent; color: var(--color-muted); font: 400 var(--text-sm)/1 var(--font-body); cursor: pointer; text-decoration: underline; text-decoration-color: var(--color-rule); text-underline-offset: 0.22em; }
.air-toggle:hover { color: var(--color-ink); }
html:not(.js) .air-toggle { display: none; }

/* paper sections cover the air */
.paper { background: var(--color-paper); }
.paper-2 { background: var(--color-paper-2); }
main > section + section { border-top: var(--rule-hair) solid var(--color-rule); }

/* statement */
.statement { padding-block: var(--section-gap); }
.statement__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); }
.statement h2 { grid-column: 1 / span 10; max-width: 24ch; font-size: var(--text-display-s); letter-spacing: var(--tracking-statement); }
.statement__wall { grid-column: 6 / span 6; display: grid; gap: var(--space-md); }
.dropcap::first-letter { float: left; font: var(--serif-small) 3.3em/0.8 var(--font-display); padding: 0.1em 0.1em 0 0; color: var(--color-gold-deep); text-shadow: none; }

/* trade rows */
.trade { padding-block: var(--section-gap-s) var(--section-gap); }
.trade__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: start; }
.trade__head { grid-column: 1 / span 4; position: sticky; top: var(--space-2xl); display: grid; gap: var(--space-md); }
.rows { grid-column: 5 / span 8; margin: 0; padding: 0; list-style: none; border-top: var(--rule-head) solid var(--color-ink); }
.rows li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-rule); }
.rows h3 { display: flex; align-items: baseline; gap: var(--space-sm); }
.rows h3 small { font: 400 var(--text-sm)/1 var(--font-body); color: var(--color-muted); }

/* buying table */
.buying { padding-block: var(--section-gap-s); }
.buying__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-lg) var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }
.buying__head h2 { grid-column: 1 / span 6; }
.buying__head p { grid-column: 8 / span 5; }
.terms { width: 100%; border-collapse: collapse; border-top: var(--rule-head) solid var(--color-ink); }
.terms th, .terms td { text-align: left; vertical-align: baseline; padding: var(--space-lg) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.terms th { width: 34%; font: var(--serif-small) var(--text-title)/1.2 var(--font-display); color: var(--color-ink); padding-right: var(--gap-columns); }
.terms td { color: var(--color-ink-2); max-width: 60ch; }

/* policies index */
.policies { padding-block: var(--section-gap); }
.policies__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); }
.policies h2 { grid-column: 1 / span 5; }
.index { grid-column: 1 / -1; margin: var(--space-2xl) 0 0; padding: 0; list-style: none; border-top: var(--rule-head) solid var(--color-ink); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap-columns); }
.index li { border-bottom: var(--rule-hair) solid var(--color-rule); }
.index a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-xs) var(--space-lg); padding-block: var(--space-lg); text-decoration: none; color: var(--color-ink-2); transition: color var(--dur-short) var(--ease-out); }
.index a:hover h3 { text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.index p { grid-column: 1; font-size: var(--text-sm); color: var(--color-muted); }
.index .go { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: var(--text-sm); color: var(--color-ink); }

/* contact close */
.contact { padding-block: var(--section-gap-s) var(--section-gap); }
.contact__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); }
.contact__head { grid-column: 1 / span 5; display: grid; gap: var(--space-lg); align-content: start; }
.contact dl { grid-column: 6 / -1; margin: 0; border-top: var(--rule-head) solid var(--color-ink); display: grid; grid-template-columns: minmax(0, 1fr); }
.contact dl > div { padding: var(--space-xl) 0; border-bottom: var(--rule-hair) solid var(--color-rule); display: grid; gap: var(--space-sm); align-content: start; min-height: 160px; }
.contact dt { font-size: var(--text-sm); color: var(--color-muted); }
.contact dd { margin: 0; font: var(--display-weight) var(--text-2xl)/1.25 var(--font-display); color: var(--color-ink); }

/* footer */
.footer { padding-block: var(--space-3xl) var(--space-xl); background: var(--color-deep); color: var(--color-ink-2); border-top: var(--rule-hair) solid var(--color-rule); }
.footer .container { display: grid; gap: var(--space-2xl); }
.footer__line { font: var(--display-weight) var(--text-display-s)/1.08 var(--font-display); letter-spacing: var(--tracking-statement); color: var(--color-ink); max-width: 22ch; text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
.footer ul { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-xl); margin: 0; padding: 0; list-style: none; }
.footer a { color: var(--color-ink); text-decoration-color: var(--color-muted); }
.footer a:hover { text-decoration-color: var(--color-accent); }
.footer .legal { display: grid; gap: var(--space-xs); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); max-width: none; }
.footer .fill { color: var(--color-muted); border-color: var(--color-muted); }

/* policy pages: a long document, side index of policies */
.doc { background: var(--color-paper); }
.policy { padding-block: var(--space-3xl) var(--section-gap); }
.policy__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); align-items: start; }
.policy__head { grid-column: 1 / span 9; display: grid; gap: var(--space-md); padding-bottom: var(--space-xl); border-bottom: var(--rule-head) solid var(--color-ink); }
.policy__head h1 { font-size: var(--text-display-s); max-width: 24ch; }
.policy__meta { font-size: var(--text-sm); color: var(--color-muted); }
.policy__side { grid-column: 1 / span 3; position: sticky; top: var(--space-2xl); }
.policy__side ul { margin: 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--color-rule); }
.policy__side li { border-bottom: var(--rule-hair) solid var(--color-rule); }
.policy__side a { display: flex; align-items: center; min-height: 48px; color: var(--color-ink-2); text-decoration: none; font-size: var(--text-sm); transition: color var(--dur-short) var(--ease-out); }
.policy__side a:hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); }
.policy__side a[aria-current="page"] { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 0.22em; }
.policy__body { grid-column: 5 / span 8; display: grid; gap: var(--space-2xl); }
.policy__body section { display: grid; gap: var(--space-md); }
.policy__body h2 { font: var(--serif-small) var(--text-title)/1.25 var(--font-display); letter-spacing: 0; color: var(--color-ink); max-width: 40ch; }
.policy__body h2 .num { margin-right: var(--space-2xs); }
.policy__body p { max-width: 65ch; line-height: 1.7; }
@media (max-width: 60rem) {
  .policy__head, .policy__side, .policy__body { grid-column: 1 / -1; }
  .policy__side { position: static; }
}

@media (max-width: 60rem) {
  .nav ul li:not(:last-child) { display: none; }
  .hero { min-height: 0; padding-block: var(--space-2xl) var(--space-3xl); }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .hero__visual { justify-items: stretch; padding-left: 0; }
  .card { width: 100%; min-height: 0; padding: var(--space-xl); }
  .strips { display: none; }
  .statement h2, .statement__wall, .trade__head, .rows, .buying__head h2, .buying__head p, .policies h2, .contact__head, .contact dl { grid-column: 1 / -1; }
  .trade__head { position: static; margin-bottom: var(--space-xl); }
  .rows li { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); }
  .index { grid-template-columns: minmax(0, 1fr); }
  .contact dl { grid-template-columns: minmax(0, 1fr); }
  .contact dl > div { padding: var(--space-lg) 0; border-left: 0; border-bottom: var(--rule-hair) solid var(--color-rule); min-height: 0; }
  .terms th, .terms td { display: block; width: auto; padding: var(--space-sm) 0; }
  .terms th { border-bottom: 0; padding-top: var(--space-lg); }
}
@media (max-width: 40rem) {
  .hero__visual { padding-left: 0; }
  .strips { display: none; }
  .particulars > div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
}
@media (prefers-reduced-motion: reduce) {
  .js .strip { transform: rotate(var(--r)); transition: none; }
  .air canvas { transition: none; }
}
.footer a:focus-visible { outline-color: var(--color-focus); }
