/* Brand in Days
   Layout: white page, oversized black type, one electric-blue band for the domain search
   and one blue card for the bundle. Brackets from the logo are the only ornament. */
:root {
  --ink: #0B0B0C;
  --paper: #FFFFFF;
  --mist: #F1F2F7;        /* cool off-white, biased toward the accent */
  --line: #DADCE6;
  --muted: #4A4D59;
  --accent: #1F3BFF;      /* electric ultramarine: swap here to change the whole site */
  --accent-deep: #1229CC;
  --on-accent: #FFFFFF;
  --ok: #0A8F55;
  --bad: #C9302A;

  /* Articulat CF from Adobe Fonts (kit xdx1zhu): 300, 700, 800 + italics.
     Body asks for 400: it renders in Light (300) now and picks up Regular
     automatically if 400 is added to the kit. */
  --display: "articulat-cf", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "articulat-cf", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body-weight: 400;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: clamp(2rem, 4vw, 2.75rem);
  --step-4: clamp(2.75rem, 7vw, 5rem);
  --step-5: clamp(3.25rem, 11vw, 9rem);

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --radius: 14px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-weight: var(--body-weight); font-size: var(--step-0); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.band--accent :focus-visible, .card--feature :focus-visible { outline-color: var(--on-accent); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.025em; line-height: 1; margin: 0; text-wrap: balance; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }
.lede { font-size: var(--step-1); font-weight: 300; color: var(--muted); max-width: 38ch; line-height: 1.45; }
.label { font-family: var(--mono); font-size: var(--step--1); letter-spacing: 0.04em; text-transform: lowercase; color: var(--muted); }
.label::before { content: "[ "; } .label::after { content: " ]"; }
.bracket { font-weight: 300; font-style: italic; letter-spacing: -0.02em; }
.bracket::before { content: "["; font-style: normal; font-weight: 200; margin-right: 0.12em; }
.bracket::after { content: "]"; font-style: normal; font-weight: 200; margin-left: 0.08em; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand-link img { width: 168px; }
.brand-lockup { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-link { flex-shrink: 0; }
.endorse { font-family: var(--mono); font-size: 0.8125rem; line-height: 1.2; color: var(--muted); text-decoration: none; white-space: nowrap; padding-left: 14px; border-left: 1px solid var(--line); transition: color .15s; }
.endorse:hover { color: var(--accent); }
@media (max-width: 520px) {
  .brand-lockup { flex-direction: column; align-items: flex-start; gap: 3px; }
  .endorse { font-size: 0.6875rem; padding-left: 0; border-left: 0; }
}
.nav { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 32px); font-weight: 600; font-size: var(--step--1); }
.nav a { text-decoration: none; }
.nav a:not(.btn):hover { color: var(--accent); }
@media (max-width: 720px) { .nav a:not(.btn) { display: none; } .brand-link img { width: 140px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--ink); background: var(--ink); color: var(--paper); font: 700 var(--step-0)/1 var(--body); letter-spacing: -0.01em; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: var(--step--1); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }

/* Hero */
.hero { padding-block: clamp(48px, 9vw, 120px) clamp(40px, 6vw, 80px); }
.hero h1 { font-size: var(--step-5); letter-spacing: -0.04em; line-height: 0.92; }
.hero h1 .bracket { display: inline-block; color: var(--accent); }
.hero-foot { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 32px; margin-top: clamp(28px, 4vw, 48px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: clamp(32px, 5vw, 56px) 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); list-style: none; font-weight: 600; font-size: var(--step--1); }
.facts li { display: flex; gap: 8px; align-items: baseline; }
.facts b { font-family: var(--mono); font-weight: 500; color: var(--accent); }

/* Bands */
.band { padding-block: clamp(56px, 9vw, 112px); }
.band--accent { background: var(--accent); color: var(--on-accent); }
.band--accent .label, .band--accent .lede { color: color-mix(in srgb, var(--on-accent) 78%, var(--accent)); }
.band--mist { background: var(--mist); }
.band--ink { background: var(--ink); color: var(--paper); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; gap: 24px 48px; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; } }

/* Domain search */
.domain-form { display: flex; align-items: stretch; background: var(--paper); border-radius: 999px; padding: 6px; box-shadow: 0 18px 50px -20px rgba(0,0,30,.55); }
.domain-form label { flex: 1; min-width: 0; display: flex; align-items: center; }
.domain-form input[type="text"], .domain-form input[type="text"]:focus { border: 0; border-radius: 0; box-shadow: none; background: transparent; outline: none; }
.domain-form input[type="text"] { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: 600 clamp(1.125rem, 2.6vw, 1.75rem)/1 var(--body); letter-spacing: -0.02em; padding: 0 12px 0 22px; height: 64px; outline: none; }
.domain-form input::placeholder { color: #9A9DAB; }
.domain-form .btn { min-height: 64px; padding: 0 28px; }
.domain-form:focus-within { box-shadow: 0 0 0 4px color-mix(in srgb, var(--paper) 45%, transparent), 0 18px 50px -20px rgba(0,0,30,.55); }
@media (max-width: 520px) {
  .domain-form { flex-direction: column; border-radius: 22px; gap: 6px; }
  .domain-form input[type="text"] { height: 56px; padding-left: 14px; }
  .domain-form .btn { min-height: 54px; width: 100%; border-radius: 16px; }
}
.domain-hint { margin-top: 14px; font-size: var(--step--1); color: color-mix(in srgb, var(--on-accent) 78%, var(--accent)); }
.domain-results { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; }
.domain-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding: 12px 12px 12px 22px; border-radius: 16px; background: color-mix(in srgb, var(--paper) 10%, var(--accent)); border: 1px solid color-mix(in srgb, var(--paper) 22%, var(--accent)); }
.domain-row.is-picked { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.domain-name { font-family: var(--mono); font-size: var(--step-1); font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
.domain-name .tld { opacity: .7; }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: var(--step--1); font-weight: 700; white-space: nowrap; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.status--available { color: #8DFFC4; }
.status--taken { color: #FFB3AE; }
.status--unknown { color: color-mix(in srgb, var(--on-accent) 70%, var(--accent)); }
.status--checking::before { animation: pulse 1s infinite ease-in-out; }
.is-picked .status--available { color: var(--ok); }
@keyframes pulse { 50% { opacity: .25; } }
.domain-row .btn { min-height: 40px; }
@media (max-width: 560px) { .domain-row { grid-template-columns: minmax(0, 1fr) auto; } .domain-row .btn, .domain-row .spacer { grid-column: 1 / -1; width: 100%; } }
.domain-own { margin-top: 18px; font-size: var(--step--1); }
.domain-own button { background: none; border: 0; color: inherit; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 0; }

/* Picked domain strip */
.picked { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 18px; border-radius: var(--radius); background: var(--mist); margin-bottom: 28px; font-weight: 600; }
.picked code { font-family: var(--mono); font-weight: 500; color: var(--accent); overflow-wrap: anywhere; }
.picked button { margin-left: auto; background: none; border: 0; font: inherit; font-size: var(--step--1); text-decoration: underline; cursor: pointer; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; list-style: none; margin: 0; padding: 0; counter-reset: step; border-top: 2px solid var(--ink); }
.steps li { padding: 22px 24px 8px 0; display: grid; gap: 10px; align-content: start; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--mono); font-size: var(--step--1); color: var(--accent); font-weight: 500; }
.steps h3 { font-size: var(--step-1); }
.steps p { color: var(--muted); font-size: var(--step--1); max-width: 30ch; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 12px; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* Packages */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
@media (max-width: 980px) { .cards { grid-template-columns: 1fr; max-width: 560px; } }
.card { display: flex; flex-direction: column; gap: 22px; padding: clamp(24px, 3vw, 34px); border: 2px solid var(--ink); border-radius: var(--radius); background: var(--paper); min-width: 0; }
.card--feature { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.card-top { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.card .for { font-size: var(--step--1); color: var(--muted); min-height: 3em; }
.card--feature .for, .card--feature .tick-list li::before { color: color-mix(in srgb, var(--on-accent) 80%, var(--accent)); }
.tag { font-family: var(--mono); font-size: 0.75rem; padding: 5px 10px; border-radius: 999px; background: var(--paper); color: var(--accent); white-space: nowrap; font-weight: 500; }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price strong { font-family: var(--display); font-size: var(--step-4); font-weight: 800; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.price span { font-family: var(--mono); font-size: var(--step--1); }
.tick-list { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid currentColor; border-top-color: color-mix(in srgb, currentColor 22%, transparent); display: grid; gap: 10px; font-size: var(--step--1); flex: 1; align-content: start; }
.tick-list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; }
.tick-list li::before { content: "+"; font-family: var(--mono); color: var(--accent); font-weight: 500; }
.tick-list li.plus { font-weight: 700; }
.card .btn { width: 100%; }
.card--feature .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.card--feature .btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cards-note { margin-top: 22px; font-size: var(--step--1); color: var(--muted); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px 64px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; padding: 20px 0; font-weight: 700; font-size: var(--step-1); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-weight: 400; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 62ch; }

/* CTA + footer */
.cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 28px; }
.cta h2 { font-size: var(--step-5); letter-spacing: -0.04em; line-height: 0.92; }
.site-footer { background: var(--ink); color: color-mix(in srgb, var(--paper) 70%, var(--ink)); padding-block: 56px 40px; font-size: var(--step--1); }
.site-footer .wrap { display: grid; gap: 36px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.footer-top img { width: 190px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer-links a { text-decoration: none; color: var(--paper); }
.footer-links a:hover { color: color-mix(in srgb, var(--accent) 50%, var(--paper)); }
.legal { border-top: 1px solid #2A2B30; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* Order form */
.page-head { padding-block: clamp(40px, 7vw, 88px) clamp(24px, 4vw, 40px); }
.page-head h1 { font-size: var(--step-4); letter-spacing: -0.05em; }
.order-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; padding-bottom: 96px; }
@media (max-width: 980px) { .order-layout { grid-template-columns: 1fr; } .summary { position: static; } }
.form-section { border-top: 2px solid var(--ink); padding-block: 26px 40px; display: grid; gap: 22px; }
.form-section > header { display: grid; gap: 6px; }
.form-section > header h2 { font-size: var(--step-2); letter-spacing: -0.025em; }
.form-section > header p { color: var(--muted); font-size: var(--step--1); max-width: 60ch; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .fields { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; min-width: 0; }
.field > label, .field > .field-label { font-weight: 700; font-size: var(--step--1); }
.field .opt { font-weight: 400; color: var(--muted); }
.field .help { font-size: 0.8125rem; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="date"], select, textarea {
  width: 100%; min-width: 0; font: var(--body-weight) var(--step-0)/1.4 var(--body); color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--bad); }
.error-msg { color: var(--bad); font-size: 0.8125rem; font-weight: 600; }

.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 720px) { .choice-grid { grid-template-columns: 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: grid; gap: 4px; height: 100%; padding: 16px 18px; border: 2px solid var(--line); border-radius: 12px; transition: border-color .15s, background .15s; }
.choice b { font-size: var(--step-0); }
.choice small { font-family: var(--mono); color: var(--muted); font-size: 0.8125rem; }
.choice input:checked + span { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, var(--paper)); }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; font-size: var(--step--1); transition: all .15s; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: var(--step--1); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.summary { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); border: 2px solid var(--ink); border-radius: var(--radius); padding: 24px; display: grid; gap: 16px; }
.summary dl { margin: 0; display: grid; gap: 12px; }
.summary dl div { display: flex; justify-content: space-between; gap: 12px; font-size: var(--step--1); }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 700; text-align: right; overflow-wrap: anywhere; min-width: 0; }
.summary .total { border-top: 1px solid var(--line); padding-top: 14px; }
.summary .total dd { font-family: var(--display); font-size: var(--step-2); letter-spacing: -0.04em; }
.summary .btn { width: 100%; }
.summary small { color: var(--muted); font-size: 0.8125rem; }
.summary .endorse-note { color: var(--ink); font-weight: 700; }

.form-alert { padding: 14px 18px; border-radius: 12px; background: #FDECEB; color: #8A1F1A; font-weight: 600; font-size: var(--step--1); }
.done { border: 2px solid var(--ink); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); margin-top: 3rem; display: grid; gap: 22px; }
.done .ref { font-family: var(--mono); font-size: var(--step-2); color: var(--accent); overflow-wrap: anywhere; }
.next-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: n; }
.next-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px; border-radius: 12px; background: var(--mist); counter-increment: n; }
.next-steps li::before { content: counter(n); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-weight: 700; font-size: var(--step--1); }
@media (max-width: 560px) { .next-steps li { grid-template-columns: 40px minmax(0, 1fr); } .next-steps li .btn { grid-column: 1 / -1; } }

/* Upload */
.dropzone { border: 2px dashed var(--ink); border-radius: var(--radius); padding: clamp(32px, 6vw, 64px) 24px; text-align: center; display: grid; gap: 12px; justify-items: center; cursor: pointer; transition: background .15s, border-color .15s; }
.dropzone.is-over { background: color-mix(in srgb, var(--accent) 8%, var(--paper)); border-color: var(--accent); }
.dropzone strong { font-size: var(--step-2); letter-spacing: -0.03em; font-family: var(--display); }
.dropzone small { color: var(--muted); }
.file-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.file-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; padding: 12px 16px; border-radius: 10px; background: var(--mist); font-size: var(--step--1); }
.file-row .name { font-weight: 600; overflow-wrap: anywhere; min-width: 0; }
.file-row .state { font-family: var(--mono); font-size: 0.8125rem; color: var(--muted); }
.file-row.ok .state { color: var(--ok); }
.file-row.fail .state { color: var(--bad); }
.bar { grid-column: 1 / -1; height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }

/* Prose pages */
.prose { max-width: 70ch; padding-bottom: 96px; display: grid; gap: 16px; }
.prose h2 { font-size: var(--step-2); margin-top: 20px; letter-spacing: -0.02em; }
.prose p, .prose li { color: #2E3038; }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.draft-note { padding: 12px 16px; border-radius: 10px; background: #FFF6D6; font-size: var(--step--1); }

/* Work: logo grid */
.logo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); border-left: 1px solid var(--line); }
@media (max-width: 860px) { .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.logo-grid li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.logo-tile { display: grid; grid-template-rows: 1fr auto; gap: 16px; height: 100%; min-height: 200px; padding: 24px; text-decoration: none; color: var(--ink); transition: background .2s; }
a.logo-tile:hover { background: var(--mist); }
.logo-mark { display: grid; place-items: center; min-height: 110px; }
.logo-mark img { max-width: min(78%, 220px); max-height: 64px; width: auto; height: auto; filter: grayscale(1) brightness(0); opacity: .88; transition: filter .25s, opacity .25s; }
a.logo-tile:hover .logo-mark img { filter: none; opacity: 1; }
.logo-text { font-family: var(--display); font-weight: 800; font-size: var(--step-2); letter-spacing: -0.03em; text-align: center; }
.logo-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 0.8125rem; }
.logo-meta { color: var(--muted); font-family: var(--mono); min-width: 0; overflow-wrap: anywhere; }
.logo-tag { font-weight: 700; white-space: nowrap; color: var(--accent); opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; }
a.logo-tile:hover .logo-tag, a.logo-tile:focus-visible .logo-tag { opacity: 1; transform: none; }
@media (hover: none) { .logo-tag { opacity: 1; transform: none; } }
@media (max-width: 480px) { .logo-tile { min-height: 160px; padding: 16px; } .logo-foot { flex-direction: column; gap: 4px; } }

/* Project page */
.project-hero { padding-block: clamp(40px, 7vw, 96px) clamp(28px, 4vw, 48px); display: grid; gap: 24px; }
.project-hero h1 { font-size: var(--step-5); letter-spacing: -0.045em; line-height: .92; }
.project-back { font-family: var(--mono); font-size: var(--step--1); color: var(--muted); text-decoration: none; position: relative; z-index: 2; }
.project-back:hover { color: var(--accent); }
.project-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 2px solid var(--ink); }
.project-meta div { padding: 16px 16px 16px 0; display: grid; gap: 4px; min-width: 0; }
.project-meta dt { font-family: var(--mono); font-size: 0.8125rem; color: var(--muted); }
.project-meta dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
@media (max-width: 720px) { .project-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.project-intro { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.project-intro p { font-size: var(--step-1); max-width: 52ch; line-height: 1.45; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-bottom: clamp(56px, 8vw, 96px); }
/* Fixed shapes so every row lines up. Same heights as 400px / 500px at full desktop width,
   but they scale with the screen instead of cropping hard on smaller devices.
   Export sizes that fit exactly: half width 1600 x 1135, full width 2800 x 1225. */
.gallery figure { margin: 0; border-radius: 3px; overflow: hidden; background: var(--mist); min-width: 0; aspect-ratio: 1.41; }
.gallery figure.wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.gallery img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
@media (max-width: 620px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery figure.wide { aspect-ratio: 1.41; } /* stops full-width images becoming thin strips on phones */
}
.project-next { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-block: 32px; border-top: 2px solid var(--ink); }
.project-next a.next-link { font-family: var(--display); font-weight: 800; font-size: var(--step-3); letter-spacing: -0.03em; text-decoration: none; }
.project-next a.next-link:hover { color: var(--accent); }

/* Website Care */
.care { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.care-price { background: var(--ink); color: var(--paper); padding: clamp(24px, 3vw, 36px); display: grid; gap: 16px; align-content: start; }
.care-price h3 { color: var(--paper); }
.care-price .price span { color: color-mix(in srgb, var(--paper) 70%, var(--ink)); }
.care-host { font-size: var(--step--1); }
.care-host b { font-family: var(--display); font-size: var(--step-1); letter-spacing: -0.03em; }
.care-terms { font-size: 0.8125rem; color: color-mix(in srgb, var(--paper) 70%, var(--ink)); }
.care-price .btn { background: var(--accent); border-color: var(--accent); margin-top: 8px; }
.care-price .btn:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.care-detail { padding: clamp(24px, 3vw, 36px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px 36px; }
.care-detail .label { margin-bottom: 4px; }
.care-detail .tick-list { border-top: 0; padding-top: 8px; }
.cross-list { list-style: none; margin: 0; padding: 8px 0 0; display: grid; gap: 10px; font-size: var(--step--1); color: var(--muted); }
.cross-list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; }
.cross-list li::before { content: "–"; font-family: var(--mono); }
.care-note { margin-top: 18px; padding: 12px 14px; border-radius: 10px; background: var(--mist); font-size: 0.8125rem; }
@media (max-width: 980px) { .care { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .care-detail { grid-template-columns: 1fr; } }
.care-opt { border: 2px solid var(--ink); border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 14px; }
.care-opt .check b { font-size: var(--step-0); }

/* Sticky footer: main fills the space so the footer sits at the bottom on short pages */
body > main { flex: 1 0 auto; width: 100%; }
.site-header, .site-footer { flex-shrink: 0; }
.footer-top a { display: inline-flex; }

/* Work: reveal more logos */
.work-more { display: flex; justify-content: center; margin-top: clamp(28px, 4vw, 44px); }
