/* ==========================================================================
   Tiny Tu — Atelier
   Static build for shared hosting (Zenbox). No build step, no external calls.
   ========================================================================== */

/* ---------- Fonts (self-hosted, no Google requests — GDPR friendly) ---------- */
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("../fonts/bodoni-moda-latin-opsz-normal.woff2") format("woff2-variations"), url("../fonts/bodoni-moda-latin-opsz-normal.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: "Bodoni Moda"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("../fonts/bodoni-moda-latin-ext-opsz-normal.woff2") format("woff2-variations"), url("../fonts/bodoni-moda-latin-ext-opsz-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400 900; font-display: swap;
  src: url("../fonts/bodoni-moda-latin-opsz-italic.woff2") format("woff2-variations"), url("../fonts/bodoni-moda-latin-opsz-italic.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: "Bodoni Moda"; font-style: italic; font-weight: 400 900; font-display: swap;
  src: url("../fonts/bodoni-moda-latin-ext-opsz-italic.woff2") format("woff2-variations"), url("../fonts/bodoni-moda-latin-ext-opsz-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); 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,U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/instrument-sans-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); 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,U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/instrument-sans-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); 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,U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/instrument-sans-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/dm-mono-latin-400-normal.woff2") format("woff2"); 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,U+FFFD; }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/dm-mono-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/dm-mono-latin-500-normal.woff2") format("woff2"); 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,U+FFFD; }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/dm-mono-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* ---------- Tokens ---------- */
:root {
  --paper: #F4F3F0;
  --paper-2: #E3E1DC;
  --ink: #111111;
  --muted: #5A5A57;
  --body-2: #3A3A38;
  --rule: #C9C7C1;
  --accent: #B3261E;          /* tailor's tracing red */
  --dark: #17181A;
  --dark-line: #3A3C40;
  --dark-text: #EDEDEA;
  --dark-body: #C4C5C7;
  --dark-muted: #A9ABAE;
  --accent-on-dark: #E8857D;

  --serif: "Bodoni Moda", Didot, "Bodoni 72", "Bodoni MT", serif;
  --sans: "Instrument Sans", "Helvetica Neue", Helvetica, sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --max: 1360px;
  --gutter: 40px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, figure, blockquote, ol { margin: 0; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: 12px 16px; z-index: 10; }
.skip:focus { left: 16px; top: 16px; }

/* Type helpers */
.label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.label--sm { font-size: 11px; letter-spacing: 0.12em; }
.accent { color: var(--accent); }
.serif { font-family: var(--serif); }

/* Image block with consistent cropping */
.ph { width: 100%; object-fit: cover; background: var(--paper-2); }
.r-4-5 { aspect-ratio: 4 / 5; }
.r-2-3 { aspect-ratio: 2 / 3; }
.r-3-2 { aspect-ratio: 3 / 2; }
.r-1   { aspect-ratio: 1; }
.r-board { aspect-ratio: 1600 / 970; }
.cap { margin-top: 10px; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--ink); }
.site-header .wrap { padding-top: 22px; padding-bottom: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.brand { text-decoration: none; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.brand__name { font-family: var(--serif); font-size: 30px; font-weight: 500; letter-spacing: 0.02em; color: var(--ink); }
.brand__tag { font-size: 11px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 32px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.nav a { text-decoration: none; padding: 12px 0; display: inline-block; }

/* ---------- Hero ---------- */
.hero { padding-top: 72px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 56px; align-items: stretch; }
.hero__text { flex: 1 1 600px; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.hero__meta { display: flex; gap: 8px 24px; flex-wrap: wrap; }
.hero__name { font-family: var(--serif); font-weight: 400; font-size: clamp(64px, 10.5vw, 176px); line-height: 0.88; letter-spacing: -0.035em; }
.hero__name em { font-style: italic; font-weight: 400; padding-left: 0.9em; }
.hero__intro { border-top: 1px solid var(--ink); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 24px 48px; }
.hero__def { font-family: var(--mono); font-size: 14px; line-height: 1.7; flex: 1 1 240px; }
.hero__lede { font-size: 19px; line-height: 1.5; flex: 1 1 320px; max-width: 460px; }

.hero__figure { flex: 1 1 380px; min-width: 0; max-width: 560px; }
.cutpiece { position: relative; }
.cutpiece img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 40% 30%;
  clip-path: polygon(0 0, 88% 0, 100% 9%, 100% 100%, 12% 100%, 0 91%); background: var(--paper-2); }
.mark { position: absolute; pointer-events: none; }
.mark--grain { left: 91%; top: 18%; bottom: 30%; width: 1px; background: var(--paper); }
.mark--arrow-up, .mark--arrow-down { left: calc(91% - 6px); width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; }
.mark--arrow-up { top: 17%; border-bottom: 12px solid var(--paper); }
.mark--arrow-down { bottom: 29%; border-top: 12px solid var(--paper); }
.mark--grain-label { left: calc(91% - 22px); top: 34%; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--paper); writing-mode: vertical-rl; transform: rotate(180deg); }
.mark--notch { width: 14px; height: 1px; background: var(--ink); }
.mark--fold { left: 16px; bottom: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--paper); background: rgba(17,17,17,0.55); padding: 4px 8px; }
.hero__figure figcaption { margin-top: 14px; display: flex; justify-content: space-between; }

/* ---------- Skill tape ---------- */
.tape { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.tape .wrap { padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; text-align: center; gap: 10px 28px; font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.2; }
.tape svg { width: 20px; height: 20px; color: var(--accent); flex: none; }

/* ---------- Atelier / tech pack ---------- */
.atelier { padding-top: 120px; padding-bottom: 120px; display: flex; flex-wrap: wrap; gap: 48px 80px; }
.atelier__intro { flex: 1 1 300px; min-width: 0; }
.atelier__intro > .label { color: var(--accent); margin-bottom: 20px; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.6vw, 68px); line-height: 1; letter-spacing: -0.02em; }
.atelier__intro p { margin-top: 28px; max-width: 420px; color: var(--body-2); }
.atelier__photos { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.spec { flex: 2 1 560px; min-width: 0; border-top: 2px solid var(--ink); }
.spec__row { display: grid; grid-template-columns: minmax(110px, 180px) minmax(0, 1fr) auto; gap: 8px 24px; padding: 22px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.spec__value { font-family: var(--serif); font-size: 24px; line-height: 1.25; }
.spec__note { font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* ---------- Section headings ---------- */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.display { font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 8vw, 128px); line-height: 0.9; letter-spacing: -0.03em; }

/* ---------- Collections ---------- */
.work { border-top: 1px solid var(--ink); }
.work__head { padding-top: 96px; padding-bottom: 40px; }
.collection { padding-top: 40px; padding-bottom: 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 24px; }
.collection > .full { grid-column: 1 / -1; }
.collection__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 32px; border-top: 1px solid var(--ink); padding-top: 20px; }
.collection__no { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.collection__name { font-family: var(--serif); font-weight: 500; font-size: 40px; letter-spacing: 0.04em; }
.collection__season { font-family: var(--serif); font-style: italic; font-size: 26px; }
.collection__where { margin-left: auto; }
.feature { display: flex; flex-wrap: wrap; gap: 24px; }
.feature__main { flex: 2 1 560px; min-width: 0; }
.feature__side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.feature__side img { flex: 1; min-height: 260px; }
.feature__side p { font-size: 16px; color: var(--body-2); }
.link-cta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; align-self: flex-start; padding: 10px 0; }
.boards__head { margin-top: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid var(--ink); padding-top: 20px; }
.boards__head span:first-child { font-family: var(--serif); font-style: italic; font-size: 28px; }
.boards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 24px; }
.boards img { background: #FFFFFF; }

/* ---------- Contaminated (dark, quilted) ---------- */
.conta { position: relative; overflow: hidden; background: var(--dark); color: var(--dark-text); }
.conta__quilt { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; }
.conta .wrap { position: relative; padding-top: 112px; padding-bottom: 112px; display: flex; flex-wrap: wrap; gap: 56px 80px; }
.conta__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 36px; }
.conta__rule { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 32px; border-top: 1px solid var(--dark-text); padding-top: 20px; }
.conta__rule .no { font-family: var(--mono); font-size: 13px; color: var(--accent-on-dark); }
.conta .label { color: var(--dark-muted); }
.conta__title { font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 9vw, 148px); line-height: 0.85; letter-spacing: -0.03em; hyphens: manual; }
.conta blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.3; max-width: 640px; }
.conta__body { max-width: 520px; color: var(--dark-body); }
.conta__facts { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.conta__media { flex: 1 1 380px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.conta__look { grid-row: span 2; width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.conta__mood { background: #FFFFFF; }
.conta__notes { display: flex; flex-direction: column; justify-content: flex-end; line-height: 1.8; }
.conta__board { grid-column: span 2; background: #FFFFFF; aspect-ratio: 1400 / 848; }

/* ---------- Process ---------- */
.process { padding-top: 120px; padding-bottom: 96px; }
.process .section-head { margin-bottom: 48px; }
.h2--process { font-size: clamp(40px, 5vw, 72px); }
.film { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 40px 64px; margin-bottom: 64px; }
.film video { flex: 1 1 420px; min-width: 0; max-width: 620px; width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--paper-2); }
.film__text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding-bottom: 8px; }
.film__title { font-family: var(--serif); font-size: clamp(36px, 4vw, 56px); line-height: 1; letter-spacing: -0.02em; }
.film__text p { max-width: 420px; color: var(--body-2); }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.steps li { padding: 22px 22px 28px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); display: flex; flex-direction: column; gap: 18px; }
.steps .step-no { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.steps .step-name { font-family: var(--serif); font-size: 30px; line-height: 1.05; }

/* ---------- Drawings ---------- */
.drawings { border-top: 1px solid var(--ink); }
.drawings .wrap { padding-top: 96px; padding-bottom: 120px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.drawings .section-head { grid-column: 1 / -1; align-items: baseline; margin-bottom: 16px; }
.drawings figcaption { margin-top: 12px; font-family: var(--serif); font-style: italic; font-size: 20px; }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: var(--paper); }
.contact a { color: var(--paper); }
.contact a:hover { color: var(--accent-on-dark); }
.contact .wrap.contact__grid { padding-top: 112px; padding-bottom: 112px; display: flex; flex-wrap: wrap; gap: 56px 96px; }
.contact__text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.contact__text .label { color: var(--accent-on-dark); }
.contact__title { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 6.4vw, 104px); line-height: 0.92; letter-spacing: -0.03em; }
.contact__text p { max-width: 420px; color: var(--dark-body); }
.contact__links { display: flex; flex-direction: column; gap: 4px; font-family: var(--mono); font-size: 14px; }
.contact__links a { text-decoration: none; padding: 10px 0; }
.form { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dark-muted); }
.field input, .field textarea { background: transparent; border: 0; border-bottom: 1px solid #6E7176; border-radius: 0; color: var(--paper); font: inherit; font-size: 20px; padding: 10px 0; min-height: 44px; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--paper); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn { align-self: flex-start; background: var(--paper); color: var(--ink); border: 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; padding: 18px 32px; min-height: 48px; cursor: pointer; }
.btn:hover { background: #FFFFFF; }
.form-status { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; padding: 14px 16px; border: 1px solid var(--dark-line); }
.form-status[hidden] { display: none; }
.footer { border-top: 1px solid var(--dark-line); }
.footer .wrap { padding-top: 24px; padding-bottom: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--dark-muted); }

/* ---------- Small screens ---------- */
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .hero { padding-top: 40px; padding-bottom: 64px; gap: 40px; }
  .atelier, .process { padding-top: 80px; padding-bottom: 80px; }
  .work__head { padding-top: 72px; }
  .collection { padding-bottom: 72px; }
  .collection__name { font-size: 30px; }
  .collection__where { margin-left: 0; }
  .spec__row { grid-template-columns: minmax(0, 1fr) auto; }
  .spec__row .label { grid-column: 1 / -1; }
  .spec__value { font-size: 21px; }
  .tape .wrap { font-size: 21px; gap: 8px 18px; }
  .nav { gap: 0 20px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li { padding: 16px 14px 20px; gap: 12px; }
  .steps .step-name { font-size: 22px; }
  .conta .wrap, .contact .wrap.contact__grid { padding-top: 80px; padding-bottom: 80px; }
  .conta__look { min-height: 320px; }
}
