/* Hallmark · shape: Workbench · genre: modern-minimal · theme: Terrazzo (deal 3/3, seed web-siteleri-netim-panelleri-8854·5a8b4820·2026-11-17·r0) · job: hire · draw: d34ca7
 * hero: Index (the four works as a ruled index with their captures) · nav: masthead (centred wordmark over an ink bar, one link each side) · footer: index columns · imagery: screenshots 17 (Playwright captures of the panel, the school site and the psychologist site; the user's own Fecr screenshots) · signature: the four real works on the first screen as a specification index, each row a capture, a client and a platform · terrazzo: off-white
 * axes: light/geometric-sans/warm · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: P, a freelancer page can read as a CV; the works lead, the claim is one line, and the close is the address itself */
/* Hallmark · dismissed 25 · .steps p is one sentence per step; 32ch sits in the one-sentence range the gate allows */
/* Hallmark · answered F15 · one primary button style (ink); the close repeats the action as the address, not a second filled button */

@import url("./tokens.css");
@import url("./base.css");

:root {
  --nav-h: 76px;
  --thumb-w: 136px;
}

/* ---------- Controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: 0; border-radius: 0; background: transparent; color: var(--color-ink); font: 500 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; 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--primary { background: var(--color-ink); color: var(--color-paper); }
.btn--primary:hover { background: var(--color-ink-2); }
.btn--secondary { box-shadow: inset 0 0 0 var(--rule-bar) var(--color-ink); }
.btn--secondary:hover { background: var(--color-paper-2); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }

.link { color: var(--color-ink); text-decoration: underline; text-decoration-thickness: var(--rule-hair); text-underline-offset: 0.2em; transition: text-decoration-color var(--dur-micro) var(--ease-out); }
.link:hover { text-decoration-color: var(--color-accent); }
.link:active { color: var(--color-ink-2); }
.link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

.code { font-family: var(--font-outlier); font-weight: 500; font-size: 0.92em; font-variant-numeric: tabular-nums; }

/* ---------- Masthead ---------- */
.masthead { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: var(--rule-bar) solid var(--color-ink); }
.masthead .container { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; min-height: var(--nav-h); gap: var(--space-lg); }
.masthead__word { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); letter-spacing: var(--tracking-display); text-decoration: none; color: var(--color-ink); white-space: nowrap; }
.masthead__word:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.masthead__left { justify-self: start; }
.masthead__right { justify-self: end; }
.masthead .link { white-space: nowrap; }

/* ---------- Hero: the index ---------- */
.hero { min-height: calc(100svh - var(--nav-h)); display: flex; align-items: center; padding-block: var(--space-xl); }
.hero .container { display: grid; gap: var(--space-xl); }
.hero__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-lg); align-items: end; }
.hero__head h1 { grid-column: 1 / span 8; max-width: 20ch; line-height: 1; }
.hero__side { grid-column: 9 / span 4; display: grid; gap: var(--space-lg); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

.work-index { list-style: none; margin: 0; padding: 0; border-top: var(--rule-bar) solid var(--color-ink); }
.work-index li { border-bottom: var(--rule-hair) solid var(--color-rule); }
.work-row { display: grid; grid-template-columns: var(--thumb-w) minmax(0, 4fr) minmax(0, 3fr) minmax(0, 3fr); align-items: center; gap: var(--gap-columns); padding: var(--space-xs) 0; color: var(--color-ink); text-decoration: none; transition: background-color var(--dur-micro) var(--ease-out); }
.work-row:hover { background: var(--color-accent-soft); }
.work-row:hover .work-row__name { text-decoration-color: var(--color-accent); }
.work-row:active { background: var(--color-paper-2); }
.work-row:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.work-row__thumb { aspect-ratio: 16 / 10; margin: 0; border: var(--rule-hair) solid var(--color-ink); background: var(--color-plate); }
.work-row__thumb img { object-position: 50% 0; }
.work-row__name { font-family: var(--font-display); font-weight: 700; font-size: var(--text-title); letter-spacing: -0.015em; line-height: 1.15; text-decoration: underline; text-decoration-thickness: var(--rule-hair); text-decoration-color: transparent; text-underline-offset: 0.18em; transition: text-decoration-color var(--dur-micro) var(--ease-out); }
.work-row__for, .work-row__what { font-size: var(--text-sm); color: var(--color-ink-2); }
.work-row__what { justify-self: end; text-align: right; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-gap); }
.section--s { padding-block: var(--section-gap-s); }
.section--l { padding-block: var(--section-gap-l) var(--section-gap); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl); }
.head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-md); align-items: end; margin-bottom: var(--space-2xl); }
.head h2 { grid-column: 1 / span 6; }
.head .lead { grid-column: 8 / span 5; color: var(--color-ink-2); }

/* A capture in a card: the page's one container */
.shot { margin: 0; background: var(--color-plate); border: var(--rule-bar) solid var(--color-ink); box-shadow: var(--shadow-card); min-width: 0; }
.shot__frame { aspect-ratio: 16 / 10; border-bottom: var(--rule-bar) solid var(--color-ink); background: var(--color-plate); }
.shot__frame img { object-position: 50% 0; }
.shot--phone .shot__frame { aspect-ratio: 9 / 16; }
.shot figcaption { padding: var(--space-sm) var(--space-md); font-size: var(--text-sm); color: var(--color-ink-2); }
.shot figcaption strong { font-weight: 500; color: var(--color-ink); }

.span-12 { grid-column: 1 / -1; }
.span-6a { grid-column: 1 / span 6; }
.span-6b { grid-column: 7 / span 6; }
.shot__frame--list { aspect-ratio: 1800 / 988; }
.shot__frame--strip { aspect-ratio: 1800 / 669; }

/* Steps on rules: the parent's three screens */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); counter-reset: step; border-top: var(--rule-bar) solid var(--color-ink); }
.steps li { counter-increment: step; display: grid; gap: var(--space-sm); align-content: start; padding-top: var(--space-lg); }
.steps li::before { content: counter(step); font-family: var(--font-display); font-weight: 700; font-size: var(--text-section); line-height: 1; letter-spacing: -0.04em; }
.steps p { color: var(--color-ink-2); max-width: 32ch; }
.steps .shot { max-width: 20rem; margin-top: var(--space-md); }
.note { grid-column: 1 / -1; font-size: var(--text-sm); color: var(--color-muted); }

/* Split */
.split { align-items: center; }
.split__text { display: grid; gap: var(--space-lg); align-content: center; }
.split__text h2 { max-width: 14ch; }
.split__text .lead { color: var(--color-ink-2); }
.facts { margin: 0; display: grid; border-top: var(--rule-bar) solid var(--color-ink); }
.facts > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--space-md); padding: var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.facts dt { font-weight: 500; }
.facts dd { margin: 0; color: var(--color-ink-2); overflow-wrap: anywhere; min-width: 0; }
.split--school .split__text { grid-column: 1 / span 4; }
.split--school .split__media { grid-column: 6 / span 7; }
.split--psy .split__media { grid-column: 1 / span 7; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 2fr); gap: var(--gap-columns); align-items: end; }
.split--psy .split__text { grid-column: 9 / span 4; }

/* Ink band: Fecr */
.band--ink { background: var(--color-ink); color: var(--color-paper); }
.band--ink .lead, .band--ink .facts dd { color: var(--color-paper-3); }
.band--ink .facts { border-top-color: var(--color-paper); }
.band--ink .facts > div { border-bottom-color: color-mix(in oklab, var(--color-paper) 22%, transparent); }
.band--ink .shot { border-color: var(--color-paper); box-shadow: 14px 14px 0 var(--color-ink-2); }
.band--ink .shot__frame { border-bottom-color: var(--color-paper); }
.band--ink :focus-visible { outline-color: var(--color-accent-soft); }
.fecr .split__text { grid-column: 1 / span 5; }
.fecr .split__text h2 { max-width: 16ch; }
.fecr__phones { grid-column: 7 / span 6; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.fecr__phones .shot__frame { aspect-ratio: 1320 / 2868; }

/* Specification table */
.spec { width: 100%; border-collapse: collapse; border-top: var(--rule-bar) solid var(--color-ink); }
.spec th { text-align: left; font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); padding: var(--space-sm) var(--space-md) var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule); white-space: nowrap; }
.spec td { padding: var(--space-md) var(--space-md) var(--space-md) 0; border-bottom: var(--rule-hair) solid var(--color-rule); vertical-align: baseline; color: var(--color-ink-2); }
.spec td:first-child { font-family: var(--font-display); font-weight: 700; font-size: var(--text-title); letter-spacing: -0.015em; color: var(--color-ink); width: 38%; }
.spec tbody tr { transition: background-color var(--dur-micro) var(--ease-out); }
.spec tbody tr:hover { background: var(--color-accent-soft); }

/* Close: the address */
.band--paper { background: var(--color-paper-2); border-top: var(--rule-bar) solid var(--color-ink); }
.close h2 { grid-column: 1 / span 7; }
.close__mail { grid-column: 1 / -1; font-family: var(--font-display); font-weight: 700; font-size: var(--text-display-s); letter-spacing: -0.03em; line-height: 1.05; overflow-wrap: anywhere; min-width: 0; text-decoration: underline; text-decoration-thickness: var(--rule-bar); text-underline-offset: 0.12em; color: var(--color-ink); transition: text-decoration-color var(--dur-micro) var(--ease-out); }
.close__mail:hover { text-decoration-color: var(--color-accent); }
.close__mail:active { color: var(--color-ink-2); }
.close__mail:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.close__line { grid-column: 1 / span 6; color: var(--color-ink-2); }

/* Footer: index columns */
.footer { padding-block: var(--space-3xl) var(--space-xl); border-top: var(--rule-bar) solid var(--color-ink); }
.footer .grid { row-gap: var(--space-xl); }
.footer__word { grid-column: 1 / span 5; display: grid; gap: var(--space-sm); align-content: start; }
.footer__word strong { font-family: var(--font-display); font-weight: 700; font-size: var(--text-2xl); letter-spacing: var(--tracking-display); line-height: 1.05; }
.footer__col { grid-column: span 3; display: grid; gap: var(--space-xs); align-content: start; }
.footer__col h2 { font-family: var(--font-body); font-weight: 500; font-size: var(--text-sm); letter-spacing: 0; color: var(--color-muted); margin-bottom: var(--space-xs); }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xs); }
.footer__legal { grid-column: 1 / -1; padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); }

/* ---------- Under 60rem ---------- */
@media (max-width: 60rem) {
  :root { --nav-h: 64px; --thumb-w: 112px; }
  .hero { min-height: 0; }
  .hero__head h1, .hero__side, .head h2, .head .lead,
  .split--school .split__text, .split--school .split__media,
  .split--psy .split__text, .split--psy .split__media,
  .fecr .split__text, .fecr__phones,
  .span-6a, .span-6b, .close h2, .close__line, .footer__word { grid-column: 1 / -1; }
  .split--psy .split__text { order: -1; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps .shot { max-width: 16rem; }
  .work-row { grid-template-columns: var(--thumb-w) minmax(0, 1fr); row-gap: var(--space-2xs); }
  .work-row__thumb { grid-row: span 3; }
  .work-row__what { justify-self: start; text-align: left; }
  .footer__col { grid-column: span 6; }
}
@media (max-width: 40rem) {
  .masthead__left { display: none; }
  .masthead .container { grid-template-columns: minmax(0, 1fr) auto; }
  .masthead__word { font-size: var(--text-lg); }
  .fecr__phones { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm); }
  .split--psy .split__media { grid-template-columns: minmax(0, 1fr); }
  .split--psy .shot--phone { display: none; }
  .spec th:nth-child(2), .spec td:nth-child(2) { display: none; }
  .footer__col { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .link, .work-row, .spec tbody tr, .close__mail { transition: none; }
  .btn:active { transform: none; }
}
