/* Arkelo — public website. Self-hosted fonts, no external requests. */

@font-face { font-family: 'Manrope'; src: url('/assets/fonts/manrope-latin-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/assets/fonts/dm-sans-latin-wght-normal.woff2') format('woff2'); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('/assets/fonts/instrument-serif-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('/assets/fonts/instrument-serif-latin-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  color-scheme: light dark;
  --paper: #f7f6f2;
  --surface: #fdfcfa;
  --ink: #0e1a2b;
  --quiet: #4d5868;
  --line: #d9dbe0;
  --soft: #ecebe5;
  --orange: #b54708; /* Arkelo's sun orange, darkened to 4.5:1 or more on paper, surface and soft (WCAG AA) */
  --accent: #ff7a1a; /* the logo's sun: buttons and dots, always with --accent-ink text */
  --accent-ink: #0e1a2b;
  --focus: var(--ink);
  --night: #0e1a2b;
  --night-ink: #f7f6f2;
  --lime: #ffb27a;
  --sticker: #ffc08a;
  --header-bg: rgb(247 246 242 / .88);
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --display: 'Manrope', var(--sans);
  --serif: 'Instrument Serif', Georgia, serif;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 9vw, 128px);
  --radius: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0b1420;
    --surface: #13202f;
    --ink: #f2f1ec;
    --quiet: #aeb8c6;
    --line: #2c3b50;
    --soft: #1c2b3d;
    --orange: #ffaa6b;
    --accent: #ff8a33;
    --accent-ink: #0e1a2b;
    --night: #060d17;
    --header-bg: rgb(11 20 32 / .88);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 2px; }
::selection { background: var(--lime); color: #0e1a2b; }

h1, h2, h3 { font-family: var(--display); font-weight: 500; }
h1 { font-size: clamp(44px, 6.4vw, 88px); line-height: 1; letter-spacing: -.055em; }
h2 { font-size: clamp(30px, 3.5vw, 46px); line-height: 1.1; letter-spacing: -.045em; }
h3 { font-size: clamp(20px, 1.7vw, 23px); line-height: 1.25; letter-spacing: -.025em; }
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.12em; letter-spacing: -.02em; color: var(--orange); }

.wrap { width: 100%; max-width: calc(1320px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.kicker { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.lead { font-size: clamp(18px, 1.5vw, 20px); color: var(--quiet); max-width: 38em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: var(--radius); }
.skip:focus { top: 12px; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; padding: 0 26px; border: 1px solid var(--line); border-radius: 4px; background: transparent; font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background-color .2s, filter .2s; }
.btn:hover { transform: translateY(-2px); background: var(--soft); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent); filter: brightness(1.12); }
.btn-light { color: var(--night-ink); border-color: rgb(240 237 220 / .4); }
.btn-light:hover { background: rgb(240 237 220 / .1); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0; border: 0; border-bottom: 1px solid currentColor; background: none; font-size: 15px; text-decoration: none; cursor: pointer; transition: color .2s, gap .25s var(--ease); }
.text-link:hover { color: var(--orange); gap: 18px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 30px; background: var(--soft); font-size: 13px; }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--header-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; color: var(--ink); text-decoration: none; }
.logo-svg { display: block; width: auto; height: 30px; }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav ul { display: flex; gap: 28px; }
.main-nav ul a { position: relative; display: inline-block; padding: 10px 0; font-size: 15px; text-decoration: none; }
.main-nav ul a::after { content: ''; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--orange); opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .25s var(--ease); }
.main-nav ul a:hover::after, .main-nav ul a[aria-current]::after { opacity: 1; transform: none; }
.nav-login { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 30px; font-size: 14px; text-decoration: none; transition: background-color .2s; }
.nav-login:hover { background: var(--soft); }
.nav-extra { display: flex; align-items: center; gap: 18px; }
.nav-lang { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; text-decoration: none; border-bottom: 1px solid transparent; }
.nav-lang:hover { border-bottom-color: currentColor; }
.menu-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 30px; font-size: 15px; text-decoration: none; }

/* Hero */
.hero { padding-top: clamp(28px, 4vw, 48px); }
.hero-overline { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; font-size: 13px; }
.hero-overline .pill { white-space: nowrap; }
.hero-title { display: grid; grid-template-columns: 1fr minmax(220px, 300px); align-items: end; gap: 32px; padding: clamp(32px, 5vw, 64px) 0 clamp(28px, 3.5vw, 44px); }
.hero-title h1 { font-size: clamp(54px, 9.4vw, 136px); line-height: .96; letter-spacing: -.06em; }
.hero-title h1 em { font-size: 1.16em; letter-spacing: -.035em; }
.hero-sub { color: var(--quiet); font-size: 16px; padding-bottom: 12px; }
.hero-art { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 7; background: #d2bda4; isolation: isolate; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform-origin: 72% 46%; transition: transform 1.1s var(--ease); }
.hero-art[data-view='close'] img { transform: scale(1.45); }
.art-label { position: absolute; top: clamp(18px, 2.5vw, 32px); left: clamp(18px, 2.5vw, 32px); color: #3b342c; }
.art-label span { display: block; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.art-label strong { display: block; margin-top: 10px; font: 400 clamp(36px, 4.2vw, 60px)/1 var(--serif); letter-spacing: -.01em; }
.sticker { position: absolute; left: clamp(18px, 2.5vw, 32px); bottom: clamp(18px, 2.5vw, 32px); display: grid; place-content: center; width: clamp(84px, 9vw, 116px); aspect-ratio: 1; border-radius: 50%; background: var(--sticker); color: #0e1a2b; font-size: 11px; line-height: 1.3; text-align: center; transform: rotate(-12deg); box-shadow: 0 10px 24px rgb(70 50 26 / .16); transition: transform .5s var(--ease); }
.sticker span { display: block; font: 400 clamp(24px, 2.6vw, 32px)/1 var(--serif); }
.hero-art:hover .sticker { transform: rotate(6deg); }
.art-controls { position: absolute; right: clamp(14px, 2vw, 24px); bottom: clamp(14px, 2vw, 24px); display: flex; gap: 4px; padding: 5px; border-radius: 30px; background: #f7f2e8; box-shadow: 0 6px 30px rgb(0 0 0 / .08); }
.art-controls button { min-height: 38px; padding: 0 16px; border: 0; border-radius: 20px; background: none; color: #302f28; font-size: 13px; cursor: pointer; }
.art-controls button[aria-pressed='true'] { background: var(--night); color: var(--night-ink); }
.hero-under { display: flex; justify-content: space-between; align-items: center; gap: 24px 48px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.hero-under > p { max-width: 30em; color: var(--quiet); }
.hero-under .actions { margin: 0; }
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 22px 0; font-size: 14px; color: var(--quiet); }
.promises li::before { content: '↗'; margin-right: 10px; color: var(--orange); }

/* Sections */
.section { padding-top: var(--section); }
.section-tight { padding-top: clamp(24px, 3vw, 40px); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px 40px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head h2 { margin-top: 14px; }
.manifesto { display: grid; grid-template-columns: minmax(180px, .55fr) 1.45fr; gap: 32px 48px; padding-top: var(--section); }
.manifesto .kicker { line-height: 1.7; }
.manifesto h2 { max-width: 15em; font-size: clamp(32px, 3.9vw, 54px); }
.manifesto div p { max-width: 30em; margin-top: 28px; color: var(--quiet); font-size: 18px; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: service; }
.service { padding-top: 24px; border-top: 1px solid var(--line); }
.service-number { display: block; margin-bottom: 18px; color: var(--orange); font-size: 13px; font-weight: 500; letter-spacing: .12em; }
.service h2, .service h3 { font-size: clamp(22px, 2vw, 27px); line-height: 1.2; letter-spacing: -.03em; }
.service p { margin-top: 14px; color: var(--quiet); }
.service .tags { font-size: 14px; color: var(--ink); }

/* Projects */
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.project-grid.three { grid-template-columns: repeat(3, 1fr); }
.project-card a { display: block; text-decoration: none; }
.project-art { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 10; background: #425343; }
.project-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.project-card a:hover .project-art img { transform: scale(1.04); }
.project-headline { position: absolute; top: clamp(18px, 2vw, 28px); left: clamp(18px, 2vw, 28px); max-width: 6em; color: #fff7e7; font: 400 clamp(34px, 3.6vw, 52px)/1 var(--serif); text-shadow: 0 2px 22px rgb(23 38 21 / .55); }
.project-headline.dark { color: #332f28; text-shadow: 0 1px 12px rgb(247 234 217 / .8); }
.project-grid.three .project-headline { font-size: clamp(30px, 2.6vw, 40px); }
.project-caption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.project-name { font: 500 17px/1.3 var(--sans); letter-spacing: 0; }
.project-caption > span { color: var(--quiet); font-size: 13px; text-align: right; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter { min-height: 44px; padding: 0 20px; border: 1px solid var(--line); border-radius: 30px; background: none; font-size: 14px; cursor: pointer; transition: background-color .2s, color .2s; }
.filter:hover { background: var(--soft); }
.filter[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.note-text { max-width: 40em; margin-top: 32px; color: var(--quiet); font-size: 15px; }

.case-hero { margin-top: clamp(36px, 4.5vw, 64px); position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 7; }
.case-hero img { width: 100%; height: 100%; object-fit: cover; }
.case-hero figcaption { position: absolute; left: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 28px); padding: 14px 22px; background: #f6f0e4; color: #302b22; font: 400 clamp(28px, 3vw, 42px)/1 var(--serif); }
.case-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.case-facts dt { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--quiet); }
.case-facts dd { margin-top: 6px; }
.case-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.case-notes li { padding-top: 24px; border-top: 1px solid var(--line); }
.case-notes .kicker { color: var(--orange); }
.case-notes h3 { margin: 16px 0 12px; }
.case-notes p { color: var(--quiet); }

/* Customer cases: screenshots are shown whole, never cropped by a mood-image frame */
.project-art.shot { background: #0b0d0d; }
.project-art.shot img { object-position: left center; }
.project-badge.concept { z-index: 1; left: auto; right: clamp(14px, 1.6vw, 22px); }
.project-badge { position: absolute; top: clamp(14px, 1.6vw, 22px); left: clamp(14px, 1.6vw, 22px); padding: 7px 14px; border-radius: 30px; background: var(--paper); color: var(--ink); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.case-hero.shot { aspect-ratio: auto; background: #0b0d0d; }
.case-hero.shot img { display: block; height: auto; }
.case-facts.four { grid-template-columns: repeat(4, 1fr); }
.case-live { margin-top: 28px; }
.case-shots { display: grid; gap: clamp(20px, 3vw, 40px); }
.case-shots + .case-phones { margin-top: clamp(20px, 3vw, 40px); }
.case-notes.four { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
.case-private { max-width: 44em; margin-top: 28px; padding: 16px 20px; border-left: 3px solid var(--orange); background: var(--surface); color: var(--quiet); font-size: 16px; }
.case-shot img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 18px 50px rgb(0 0 0 / .14); }
.case-shot figcaption { margin-top: 12px; color: var(--quiet); font-size: 14px; }
.case-phones { display: flex; justify-content: center; gap: clamp(16px, 4vw, 56px); padding: clamp(28px, 5vw, 64px) clamp(16px, 4vw, 48px); border-radius: var(--radius); background: var(--soft); }
.case-phones .case-shot { width: min(300px, 45%); }
.case-phones .case-shot img { border-radius: 18px; }

/* Checklists (organisations) */
.checklist { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 28px; }
.checklist.three { grid-template-columns: repeat(3, 1fr); }
.checklist li { display: flex; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 16px; }
.checklist li::before { content: '↗'; flex: none; color: var(--orange); }

/* Process */
.process-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-strip li { padding-top: 20px; border-top: 2px solid var(--line); transition: border-color .3s; }
.process-strip li:hover { border-color: var(--orange); }
.process-strip span { color: var(--orange); font-size: 13px; }
.process-strip h3 { margin: 12px 0 10px; }
.process-strip p { color: var(--quiet); font-size: 15px; }
.steps { counter-reset: step; }
.step { display: grid; grid-template-columns: minmax(140px, .55fr) 1.45fr; gap: 24px 48px; padding: clamp(32px, 4vw, 56px) 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-number { font: 400 clamp(110px, 13vw, 190px)/.82 var(--serif); letter-spacing: -.05em; color: var(--orange); opacity: .8; }
.step .kicker { color: var(--quiet); }
.step h2 { margin: 14px 0 18px; }
.step div p:not(.kicker) { max-width: 34em; color: var(--quiet); font-size: 18px; }
.step .deliverable { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink); font-size: 16px; }
.deliverable span { margin-right: 10px; color: var(--orange); }

/* Human */
.human { display: grid; grid-template-columns: .9fr 1.1fr; margin-top: var(--section); padding: 0; overflow: hidden; border-radius: var(--radius); background: var(--soft); }
.human.wrap { width: calc(100% - 2 * var(--gutter)); max-width: 1320px; }
.human-art { position: relative; min-height: 320px; }
.human-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.note { position: absolute; left: 24px; bottom: 24px; padding: 12px 18px; background: #f4eee1; color: #423e2e; font: 400 clamp(22px, 2.2vw, 28px)/1 var(--serif); transform: rotate(-5deg); }
.human-copy { padding: clamp(32px, 4.5vw, 64px); align-self: center; }
.human-copy h2 { margin: 16px 0 20px; font-size: clamp(28px, 3vw, 40px); }
.human-copy p:not(.kicker) { max-width: 32em; color: var(--quiet); }
.human-copy h2 + p ~ p { margin-top: 14px; }
.human-copy .text-link { margin-top: 24px; }

/* Invitation & footer */
.invitation { margin-top: var(--section); background: var(--night); color: var(--night-ink); }
.invitation-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px 48px; padding-block: clamp(56px, 7vw, 96px); }
.invitation h2 { margin-top: 14px; font-size: clamp(38px, 5vw, 68px); line-height: 1.02; }
.invitation h2 em { color: var(--lime); }
.site-footer { padding: clamp(48px, 6vw, 72px) 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer-brand p { margin-top: 14px; color: var(--quiet); max-width: 18em; }
.footer-title { margin-bottom: 14px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--quiet); }
.site-footer ul li + li { margin-top: 8px; }
.site-footer ul a { text-decoration: none; }
.site-footer ul a:hover { color: var(--orange); }
.site-footer .nav-lang { min-height: 0; }
.footer-bottom { position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 48px; padding-top: 24px; color: var(--quiet); font-size: 13px; }
.footer-bottom::before { content: ''; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--line); }

/* Page intro & prose */
.page-intro { padding-top: clamp(56px, 8vw, 120px); }
.page-intro h1 { margin: 22px 0 26px; max-width: 12em; }
.thanks { padding-bottom: clamp(40px, 6vw, 80px); }
/* .prose shares the centred .wrap frame so it lines up with the heading; only the text column is narrowed. */
.prose { padding-top: 24px; }
.prose > * { max-width: 760px; }
.prose h2 { margin: 48px 0 14px; font-size: clamp(22px, 2vw, 27px); letter-spacing: -.03em; }
.prose p { color: var(--quiet); }
.prose p + p { margin-top: 14px; }
.prose a { color: var(--ink); }
.prose-list { margin-top: 14px; color: var(--quiet); }
.prose-list li { position: relative; padding-left: 26px; }
.prose-list li + li { margin-top: 8px; }
.prose-list li::before { content: '↗'; position: absolute; left: 0; color: var(--orange); }
.updated { margin-top: 48px !important; font-size: 14px; }
.missing { padding: 1px 6px; border-radius: 3px; background: #ffe08a; color: #4a3500; font-size: .9em; }

/* Estimate & FAQ */
.estimate { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 56px; margin-top: var(--section); padding: clamp(28px, 4vw, 56px); border-radius: var(--radius); background: var(--night); color: var(--night-ink); }
.estimate h2 { margin: 14px 0 16px; }
.estimate p:not(.kicker) { color: rgb(240 237 220 / .75); }
.estimate-price { margin: 28px 0 6px; color: var(--night-ink) !important; font: 500 clamp(40px, 4.4vw, 60px)/1 var(--display); letter-spacing: -.05em; }
.estimate-note { font-size: 14px; margin-bottom: 24px; }
.estimate-fields label { display: block; font-size: 15px; }
.estimate-fields label + label { margin-top: 20px; }
.estimate select { display: block; width: 100%; min-height: 54px; margin-top: 8px; padding: 0 16px; border: 1px solid #5d6e86; border-radius: 4px; background: #1b2a3f; color: #f7f6f2; font-size: 16px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 64px; padding: 16px 0; font: 500 clamp(18px, 1.6vw, 21px)/1.3 var(--display); letter-spacing: -.02em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; font: 300 28px/1 var(--sans); color: var(--orange); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 42em; padding-bottom: 24px; color: var(--quiet); }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px clamp(40px, 6vw, 96px); align-items: start; padding-top: clamp(48px, 7vw, 104px); }
.contact h1 { margin: 22px 0 26px; }
.handwriting { display: inline-block; margin-top: 28px; color: var(--orange); font: italic 400 clamp(30px, 3vw, 40px)/1 var(--serif); transform: rotate(-4deg); }
.contact-start { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-start p:not(.kicker) { margin-top: 12px; color: var(--quiet); }
.contact-start .direct { margin-top: 20px; color: var(--ink); }
.brief { padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.brief-step { margin: 0; padding: 0; border: 0; min-width: 0; }
.brief-step + .brief-step { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.brief.is-stepped .brief-step + .brief-step { margin-top: 0; padding-top: 0; border-top: 0; }
.brief.is-stepped .brief-step:not(.active) { display: none; }
.brief legend { padding: 0; }
.step-label { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--quiet); }
.brief-title { display: block; margin-top: 16px; font: 500 clamp(26px, 2.4vw, 32px)/1.15 var(--display); letter-spacing: -.04em; }
.hint { margin-top: 10px; color: var(--quiet); font-size: 14px; }
.brief label { display: block; margin-top: 22px; font-size: 15px; }
.optional { color: var(--quiet); font-size: 13px; }
.brief input:not([type='radio']), .brief select, .brief textarea { display: block; width: 100%; min-height: 52px; margin-top: 8px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); font-size: 16px; transition: border-color .2s; }
.brief textarea { min-height: 120px; resize: vertical; }
.brief input:focus, .brief select:focus, .brief textarea:focus { border-color: var(--focus); outline: 2px solid color-mix(in srgb, var(--focus) 25%, transparent); outline-offset: 0; }
.brief input[aria-invalid='true'] { border-color: var(--orange); }
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.brief .option { position: relative; margin: 0; }
.option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.option span { display: flex; align-items: center; min-height: 72px; height: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: 6px; font-size: 15px; transition: background-color .2s, border-color .2s, color .2s; }
.option input:hover + span { background: var(--soft); }
.option input:checked + span { background: var(--soft); border-color: var(--orange); color: var(--orange); }
.option input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.brief-actions { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.brief-actions .hint { margin: 0; }
.brief-actions .btn { margin-left: auto; }
.brief-summary { margin-top: 22px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 6px; font-size: 15px; }
.brief-summary .step-label { margin-bottom: 8px; }
.form-error { margin-top: 16px; padding: 12px 16px; border-left: 3px solid var(--orange); background: var(--soft); font-size: 15px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Tablet */
@media (max-width: 1080px) {
  .main-nav ul { gap: 20px; }
  .main-nav { gap: 22px; }
  .services, .case-notes, .case-facts.four, .checklist, .checklist.three { grid-template-columns: 1fr 1fr; }
  .process-strip { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgb(0 0 0 / .06); }
  .main-nav:target, .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { display: flex; align-items: center; min-height: 56px; padding: 0; font: 500 22px/1 var(--display); letter-spacing: -.03em; border-bottom: 1px solid var(--line); }
  .main-nav ul a::after { left: auto; right: 4px; bottom: 50%; }
  .nav-extra { flex-wrap: wrap; margin-top: 20px; gap: 12px 24px; }
  .nav-login { min-height: 48px; }
  .hero-title { grid-template-columns: 1fr; gap: 20px; }
  .hero-sub { max-width: 30em; padding: 0; }
  .hero-art, .case-hero { aspect-ratio: 4 / 3; }
  .hero-under { flex-direction: column; align-items: flex-start; }
  .promises { grid-template-columns: 1fr 1fr; }
  .manifesto, .step, .contact, .estimate { grid-template-columns: 1fr; }
  .human { grid-template-columns: minmax(0, 1fr); }
  .human-art { min-width: 0; min-height: 260px; aspect-ratio: 16 / 10; }
  .project-grid.three { grid-template-columns: 1fr 1fr; }
  .project-grid.three .project-card:last-child { display: none; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .invitation-inner { flex-direction: column; align-items: flex-start; }
}

/* Phone */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .header-inner { min-height: 66px; }
  .logo-svg { height: 26px; }
  .hero-overline { font-size: 12px; }
  .hero-title h1 { font-size: clamp(36px, 11.2vw, 54px); letter-spacing: -.055em; }
  .hero-art { aspect-ratio: 4 / 5; }
  .hero-art img { object-position: 78% 50%; }
  .art-label strong { font-size: 32px; }
  .sticker { width: 100px; font-size: 10px; }
  .sticker span { font-size: 23px; }
  .hero-art::before { content: ''; position: absolute; inset: 0 0 auto; height: 55%; z-index: 1; background: linear-gradient(180deg, rgb(236 222 200 / .82), rgb(236 222 200 / 0)); pointer-events: none; }
  .art-label { z-index: 2; right: 18px; }
  .services, .case-notes, .case-notes.four, .process-strip, .project-grid, .project-grid.three, .case-facts, .case-facts.four, .options, .checklist, .checklist.three { grid-template-columns: 1fr; }
  .project-grid.three .project-card:last-child { display: block; }
  .project-caption { flex-direction: column; gap: 4px; }
  .project-caption > span { text-align: left; }
  .promises { grid-template-columns: 1fr; gap: 10px; }
  .step-number { font-size: 96px; }
  .case-facts { gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .option span { min-height: 56px; }
  .brief-actions .btn { width: 100%; }
  .actions .btn { width: 100%; }
}

@media (max-width: 400px) {
  .sticker { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hero-art[data-view='close'] img { transform: scale(1.45); }
}
