/* Web Studio: paper, ink and one vermilion stamp. Signature: a seeded fingerprint per site
   (studio/fingerprint.py). Type scale: 13 / 15 / 17 / 20 / 28 / h2 / h1 / call list. */

@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/schibsted-grotesk-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/schibsted-grotesk-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --paper: #f4f3ef;
  --paper-2: #ebe9e3;
  --ink: #141412;
  --graphite: #5c5b57;
  --rule: #d8d6cf;
  --accent: #c4320a;
  --on-ink-muted: #a8a6a0;
  --on-ink-accent: #ff7a52;
  --sans: "Schibsted Grotesk", system-ui, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace;
  --s-label: 0.8125rem;
  --s-ui: 0.9375rem;
  --s-body: 1.0625rem;
  --s-lead: 1.25rem;
  --s-h3: 1.75rem;
  --s-h2: clamp(2.25rem, 4.2vw, 3.5rem);
  --s-h1: clamp(3rem, 8vw, 7.5rem);
  --s-call: clamp(2.25rem, 6vw, 5.5rem);
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(88px, 11vw, 160px);
  --ease-out: cubic-bezier(0.165, 0.84, 0.44, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: var(--s-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 30; padding: 10px 16px; background: var(--ink); color: var(--paper); }
.skip:focus { top: 12px; }
.wrap { max-width: 1320px; margin: 0 auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-size: var(--s-label); letter-spacing: 0.02em; }
.label { font-family: var(--mono); font-size: var(--s-label); color: var(--graphite); margin-bottom: 24px; }
h1 { font-weight: 600; font-size: var(--s-h1); line-height: 0.95; letter-spacing: -0.045em; }
h2 { font-weight: 600; font-size: var(--s-h2); line-height: 1.02; letter-spacing: -0.035em; max-width: 18ch; }
h3 { font-weight: 600; font-size: var(--s-h3); line-height: 1.15; letter-spacing: -0.02em; }
h1, h2 { text-wrap: balance; }
.lead { font-size: var(--s-lead); line-height: 1.5; color: var(--graphite); max-width: 34rem; }
.section { padding-top: var(--section); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 64px; align-items: end; margin-bottom: 56px; }
.more { display: inline-block; margin-top: 40px; font-weight: 600; }
.more::after { content: " →"; }

/* Buttons: the only rounded shapes on the site */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--paper); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn-small { padding: 10px 18px; font-size: var(--s-ui); }

/* Header */
.bar { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--rule); }
.bar-inner { display: flex; align-items: center; gap: 40px; height: 76px; }
.wordmark { font-family: var(--mono); font-size: var(--s-ui); text-decoration: none; }
.nav { display: flex; gap: 32px; margin-left: auto; font-size: var(--s-ui); }
.nav a { text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; }
.bar-call { font-family: var(--mono); font-size: var(--s-ui); text-decoration: none; }
.bar-call:hover { color: var(--accent); }

/* Front page hero: text left, the fingerprint right */
.hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 96px); align-items: center; min-height: calc(100svh - 77px); padding-block: 56px; }
.hero h1 { max-width: 9ch; }
.hero .lead { margin-top: 32px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 40px; }
.actions a:not(.btn) { font-weight: 600; }
.print { justify-self: end; width: min(100%, 500px); }
.print svg { width: 100%; height: auto; }
.fp-ridges { stroke: var(--ink); }
.fp-accent { stroke: var(--accent); }
.print figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-top: 18px; padding-top: 10px; border-top: 1px solid var(--ink); }
.print figcaption, .shot figcaption, .style-meta dd { color: var(--graphite); }
@media (prefers-reduced-motion: no-preference) {
  .fp-accent { stroke-dasharray: 1; stroke-dashoffset: 1; animation: stamp 1.8s var(--ease-out) 0.4s forwards; }
  @keyframes stamp { to { stroke-dashoffset: 0; } }
  @view-transition { navigation: auto; }
}

/* Contact sheet of style demos */
.sheet { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px 24px; }
.sheet li:first-child { grid-row: span 2; }
.shot img { width: 100%; height: auto; outline: 1px solid var(--rule); }
.sheet img { aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; }
.sheet .crop-centre img { object-position: center top; }
/* The lead shot fills both rows; demo shots are cropped between text lines. */
.sheet li:first-child .shot { height: 100%; display: flex; flex-direction: column; }
.sheet li:first-child img { aspect-ratio: auto; flex: 1 1 0; min-height: 0; }
.shot figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 10px; }
.print figcaption span, .shot figcaption span { white-space: nowrap; }

/* The registry as a table, on ink */
.ink { background: var(--ink); color: var(--paper); margin-top: var(--section); padding-block: clamp(72px, 8.5vw, 120px); }
.ink .label, .ink .lead { color: var(--on-ink-muted); }
.ink + .section { padding-top: var(--section); }
/* Process and promises are a pair: closer together than other sections. */
.ink + .section + .section { padding-top: clamp(64px, 6vw, 88px); }
.registry { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: var(--s-ui); }
.registry th, .registry td { text-align: left; padding: 16px 20px 16px 0; border-bottom: 1px solid #34332f; vertical-align: top; }
.registry th { font-weight: 400; color: var(--on-ink-muted); }
.registry .next td { color: var(--on-ink-accent); border-bottom: 0; }
.registry td:first-child { white-space: nowrap; }
@media (min-width: 1200px) { .registry td:nth-child(n+4) { white-space: nowrap; } }
.table-scroll { overflow-x: auto; }
.registry-note { margin-top: 32px; max-width: 52rem; color: var(--on-ink-muted); }

/* Process: numbered steps on one rule */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; border-top: 1px solid var(--ink); }
.steps li { padding-top: 24px; }
.steps .mono { display: block; color: var(--accent); margin-bottom: 18px; }
.steps h3 { font-size: var(--s-lead); }
.steps p { margin-top: 12px; color: var(--graphite); }
.steps-long { grid-template-columns: 1fr; gap: 0; }
.steps-long li { display: grid; grid-template-columns: 120px 1fr 1fr; gap: 16px 48px; padding-block: 36px; border-bottom: 1px solid var(--rule); }
.steps-long .mono { margin: 6px 0 0; }
.steps-long p { margin-top: 0; }
.steps-long .gets { color: var(--ink); }
.steps-long .gets::before { content: "Saat: "; font-weight: 600; }

/* Closing call list */
.calls { border-top: 1px solid var(--ink); }
.calls a { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-block: 22px; border-bottom: 1px solid var(--ink); font-size: var(--s-call); font-weight: 600; line-height: 1; letter-spacing: -0.04em; text-decoration: none; }
.calls a.call-minor { font-size: var(--s-h3); letter-spacing: -0.02em; padding-block: 18px; overflow-wrap: anywhere; }
.calls a::after { content: "→"; font-weight: 400; transition: transform 0.25s var(--ease-out); }
.calls a:hover { color: var(--accent); }
.calls a:hover::after { transform: translateX(8px); }
.calls .mono { display: block; margin-bottom: 4px; letter-spacing: 0.02em; color: var(--graphite); font-weight: 400; }

/* Subpage hero band, with the page's own fingerprint */
.page-hero { display: grid; grid-template-columns: 1fr minmax(160px, 240px); gap: 32px 64px; align-items: end; padding-block: clamp(64px, 9vw, 128px) 0; }
.page-print img { width: 100%; height: auto; }
.page-hero h1 { font-size: var(--s-h2); max-width: 16ch; }
.page-hero .lead { margin-top: 28px; }

/* Style library */
.style-entry { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px 64px; padding-block: 64px; border-top: 1px solid var(--ink); }
.style-entry h2 { font-size: var(--s-h3); max-width: none; }
.style-entry .fits { margin-top: 12px; color: var(--graphite); }
.style-meta { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 32px; }
.style-meta img { width: 140px; height: auto; }
.style-meta dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-family: var(--mono); font-size: var(--s-label); }
.style-meta dt { color: var(--ink); }
.style-meta dd { min-width: 0; overflow-wrap: anywhere; }
.note { margin-top: 32px; padding: 24px 0; border-top: 1px solid var(--rule); color: var(--graphite); max-width: 44rem; }

/* Quality promises table */
.checks { width: 100%; border-collapse: collapse; }
.checks th, .checks td { text-align: left; vertical-align: top; padding: 22px 24px 22px 0; border-bottom: 1px solid var(--rule); }
.checks thead th { font-family: var(--mono); font-size: var(--s-label); font-weight: 400; color: var(--graphite); border-bottom-color: var(--ink); }
.checks tbody th { font-weight: 600; width: 26%; }
.checks td:last-child { font-family: var(--mono); font-size: var(--s-label); color: var(--graphite); width: 30%; }
.criteria { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; margin-top: 40px; }
.criteria li { padding-block: 14px 22px; border-top: 1px solid var(--rule); color: var(--graphite); }
.criteria strong { display: block; color: var(--ink); font-weight: 600; }

/* FAQ */
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { padding-block: 22px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 24px; color: var(--graphite); max-width: 46rem; }

/* Contact page */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px 96px; }
.contact-list { display: grid; gap: 28px; }
.contact-list a { font-size: var(--s-h3); font-weight: 600; letter-spacing: -0.02em; text-decoration: none; }
.contact-list a:hover { color: var(--accent); }
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
.prices li { border-top: 1px solid var(--ink); padding-top: 18px; }
.prices strong { display: block; margin-top: 6px; font-size: var(--s-h3); font-weight: 600; letter-spacing: -0.02em; }
.contact-form { display: grid; gap: 8px; }
.contact-form label { font-family: var(--mono); font-size: var(--s-label); color: var(--graphite); margin-top: 14px; }
.contact-form input, .contact-form textarea, .contact-form select { font: inherit; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 10px 0; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible, .contact-form select:focus-visible { outline: none; border-bottom: 2px solid var(--accent); }
.contact-form .btn { margin-top: 28px; justify-self: start; }
.form-note { margin-top: 18px; font-size: var(--s-ui); color: var(--graphite); }
.form-status { min-height: 1.6em; font-size: var(--s-ui); }
.form-status[data-state="error"] { color: var(--accent); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer and mobile call bar */
.foot { margin-top: var(--section); padding-block: 40px 56px; border-top: 1px solid var(--ink); }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; color: var(--graphite); }
.callbar { display: none; }

/* Privacy page */
.legal { max-width: 46rem; padding-block: clamp(64px, 9vw, 128px) 0; }
.legal h1 { font-size: var(--s-h2); }
.legal h2 { font-size: var(--s-lead); max-width: none; margin: 40px 0 10px; letter-spacing: -0.01em; }
.legal p { margin-bottom: 12px; color: var(--graphite); }

@media (max-width: 1000px) {
  .hero, .section-head, .contact, .style-entry { grid-template-columns: 1fr; }
  .print { justify-self: start; width: min(100%, 360px); }
  .steps, .criteria { grid-template-columns: 1fr 1fr; }
  .steps-long li { grid-template-columns: 1fr; }
  .checks tbody th, .checks td:last-child { width: auto; }
}
@media (max-width: 760px) {
  .bar-call { display: none; }
  .bar-inner { flex-wrap: wrap; gap: 0 24px; height: auto; padding-top: 14px; }
  .nav { order: 3; width: 100%; margin: 0; padding-block: 10px 12px; gap: 22px; overflow-x: auto; white-space: nowrap; }
  .hero { min-height: 0; padding-top: 32px; }
  .print { width: 72%; justify-self: center; }
  .registry thead { display: none; }
  .registry tr { display: grid; padding-block: 14px; border-bottom: 1px solid #34332f; }
  .registry td { padding: 2px 0; border: 0; }
  .registry td:first-child { color: var(--paper); font-weight: 400; margin-bottom: 4px; }
  .registry td + td::before { content: attr(data-label) " "; color: var(--on-ink-muted); }
  .registry .next td + td { display: none; }
  .registry .next td:first-child { color: var(--on-ink-accent); }
  .sheet, .steps, .criteria, .prices, .page-hero { grid-template-columns: 1fr; }
  .sheet li:first-child { grid-row: auto; }
  .sheet li:first-child .shot { height: auto; display: block; }
  .style-meta { grid-template-columns: 96px minmax(0, 1fr); }
  .style-meta img { width: 96px; }
  .sheet li:first-child img { aspect-ratio: 16 / 10; }
  .page-print { display: none; }
  .checks thead { display: none; }
  .checks tr { display: grid; padding-block: 18px; border-bottom: 1px solid var(--rule); }
  .checks th, .checks td { padding: 4px 0; border: 0; }
  body { padding-bottom: 76px; }
  .callbar { display: grid; grid-template-columns: 1fr; position: fixed; inset: auto 0 0 0; z-index: 25; background: var(--ink); }
  .callbar a { padding: 18px; text-align: center; color: var(--paper); font-weight: 600; text-decoration: none; }
}
