/* Hallmark · shape: Ledger · genre: modern-minimal · theme: brand · redesign: full
 * paper: oklch(97% 0.006 100) · accent: oklch(52% 0.09 183) · display: Outfit · body: Outfit · hero: Stage · nav: edge-aligned · footer: one-line mast · signature: the price set huge, "19 €", beside the headline
 * axes: light/geometric-sans/chromatic-teal · posture: Stage · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, the three portfolio screenshots carry the only imagery so they run large and the rest stays type */
/* Hallmark · dropped .browser-mock, .mock-badge (+42%, 4.9/5, 2x), .reveal, .eyebrow · 47a names the drawn browser, 46a its unverified figures, 54 the eyebrows; no reveal on a ledger page */
/* Hallmark · dropped .reveal · the page keeps still and the observer in script.js finds nothing */
/* Hallmark · reworded hero title and subtitle · 19 and 58 name the long opener; the old words are listed in the handoff */
@import url("./tokens.css");
@import url("./base.css");

/* Page invariants: one container, one column gap, radius 4px on media and fields, pill on controls */
.container { max-width: var(--container); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); }

/* Controls */
.skip-link { position: absolute; top: -64px; left: var(--space-md); z-index: var(--z-modal); background: var(--color-ink); color: var(--color-paper); padding: var(--space-sm) var(--space-lg); border-radius: var(--radius-pill); font-size: var(--text-sm); }
.skip-link:focus { top: var(--space-md); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: 1px solid transparent; border-radius: var(--radius-pill); font-size: var(--text-md); font-weight: 600; line-height: 1; white-space: nowrap; cursor: pointer; text-decoration: none; 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-accent); color: var(--color-accent-ink); }
.btn-primary:hover { background: color-mix(in oklab, var(--color-accent) 82%, var(--color-ink)); }
.btn-primary:active { transform: scale(0.97); }
.btn-primary:disabled, .btn-primary[aria-disabled="true"] { background: var(--color-paper-3); color: var(--color-muted); cursor: not-allowed; transform: none; }
.btn-small { min-height: 40px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.btn-full { width: 100%; }
.link-quiet { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-rule); text-decoration-thickness: 2px; text-underline-offset: 0.3em; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.link-quiet:hover { text-decoration-color: var(--color-accent); }
.link-quiet:active { opacity: 0.7; }

/* Header */
.site-header { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: var(--rule-hair) solid transparent; transition: border-color var(--dur-short) var(--ease-out); }
.site-header.scrolled { border-bottom-color: var(--color-rule); }
.header-inner { display: flex; align-items: center; gap: var(--space-xl); height: 72px; }
.logo { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); letter-spacing: var(--tracking-display); text-decoration: none; }
.logo-dot { color: var(--color-accent); }
.main-nav { display: flex; gap: var(--space-xl); margin-inline-start: auto; }
.main-nav a, .footer-nav a { font-size: var(--text-sm); color: var(--color-muted); text-decoration: none; padding-block: var(--space-sm); transition: color var(--dur-micro) var(--ease-out); }
.main-nav a:hover, .footer-nav a:hover { color: var(--color-ink); }
.header-actions { display: flex; align-items: center; gap: var(--space-md); }
.lang-switch { display: flex; align-items: center; gap: var(--space-2xs); min-height: 40px; padding: 0 var(--space-sm); background: transparent; color: var(--color-muted); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill); font-size: var(--text-sm); font-weight: 600; cursor: pointer; transition: border-color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.lang-switch:hover { border-color: var(--color-muted); }
.lang-switch:active { transform: scale(0.96); }
.lang-option[data-active="true"] { color: var(--color-ink); }
.lang-sep { opacity: 0.4; }
.theme-switch { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; background: transparent; color: var(--color-muted); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill); cursor: pointer; transition: color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.theme-switch:hover { color: var(--color-ink); border-color: var(--color-muted); }
.theme-switch:active { transform: scale(0.94); }
.theme-icon { grid-area: 1 / 1; width: 18px; height: 18px; transition: opacity var(--dur-short) var(--ease-out); }
.theme-icon--moon { opacity: 0; }
.theme-switch[data-theme-active="dark"] .theme-icon--sun { opacity: 0; }
.theme-switch[data-theme-active="dark"] .theme-icon--moon { opacity: 1; }
.nav-toggle { display: none; place-content: center; gap: var(--space-2xs); width: 40px; height: 40px; padding: 0; background: transparent; border: 0; cursor: pointer; }
.nav-toggle span { width: 22px; height: 2px; background: var(--color-ink); transition: transform var(--dur-short) var(--ease-out), opacity var(--dur-short) var(--ease-out); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Sections */
.section { padding-block: var(--section-gap-s); }
.section-sub { margin-top: var(--space-lg); color: var(--color-muted); font-size: var(--text-lead); line-height: 1.45; max-width: 36ch; }

/* Hero: Stage */
.hero { padding-block: var(--space-3xl) var(--space-2xl); }
.hero-inner { align-items: end; }
.hero-copy { grid-column: 1 / span 8; }
.hero h1 { max-width: 13ch; font-size: var(--text-display); }
.hero-sub { margin-top: var(--space-lg); font-size: var(--text-lead); line-height: 1.4; color: var(--color-ink-2); max-width: 30ch; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); margin-top: var(--space-xl); }
.hero-price { grid-column: 9 / span 4; padding-top: var(--space-md); border-top: 2px solid var(--color-ink); }
.hero-price-from { font-size: var(--text-lg); color: var(--color-muted); }
.hero-price-figure { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(5rem, 10vw, 9rem); line-height: 0.95; letter-spacing: var(--tracking-display); font-variant-numeric: tabular-nums; }
.hero-price-unit { margin-inline-start: var(--space-xs); font-size: var(--text-lg); font-weight: 600; letter-spacing: 0.02em; color: var(--color-accent); }
.hero-price-note { margin-top: var(--space-sm); color: var(--color-muted); }

/* Ledger of facts */
.strip-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap-columns); border-top: var(--rule-hair) solid var(--color-rule); border-bottom: var(--rule-hair) solid var(--color-rule); }
.strip-item { padding-block: var(--space-lg); }
.strip-value { display: block; font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-3xl); letter-spacing: var(--tracking-display); line-height: 1.1; }
.strip-label { display: block; margin-top: var(--space-2xs); font-size: var(--text-sm); color: var(--color-muted); }

/* Services: a ruled list beside a held heading */
.split { align-items: start; }
.split-head { grid-column: 1 / span 4; position: sticky; top: var(--space-3xl); }
.split-body { grid-column: 6 / span 7; }
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); column-gap: var(--gap-columns); padding-block: var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }
.svc:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.svc h3 { font-size: var(--text-xl); }
.svc p { color: var(--color-ink-2); }

/* Process: the one band */
.section-band { background: var(--color-band); color: var(--color-band-ink); }
.section-band .section-sub { color: var(--color-band-muted); }
.process-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap-columns); margin-top: var(--space-2xl); }
.process-step { padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-band-rule); }
.process-num { display: block; margin-bottom: var(--space-xl); font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-display-s); line-height: 1; color: var(--color-band-accent); font-variant-numeric: tabular-nums; }
.process-step h3 { margin-bottom: var(--space-sm); font-size: var(--text-xl); }
.process-step p { color: var(--color-band-muted); }

/* Portfolio: real screenshots, one large */
.portfolio-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); margin-top: var(--space-2xl); }
.portfolio-card { display: block; text-decoration: none; }
.portfolio-card:nth-child(1) { grid-column: 1 / span 8; grid-row: 1 / span 2; }
.portfolio-card:nth-child(2) { grid-column: 9 / span 4; }
.portfolio-card:nth-child(3) { grid-column: 9 / span 4; }
.portfolio-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); transition: opacity var(--dur-short) var(--ease-out); }
.portfolio-card:hover img { opacity: 0.88; }
.portfolio-card:nth-child(1) img { aspect-ratio: 4 / 3; }
.portfolio-info { display: grid; gap: var(--space-2xs); margin-top: var(--space-md); }
.portfolio-name { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-xl); text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 0.25em; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.portfolio-card:hover .portfolio-name { text-decoration-color: var(--color-accent); }
.portfolio-tag { font-size: var(--text-sm); color: var(--color-accent); font-weight: 600; }
.portfolio-desc { color: var(--color-muted); }
.portfolio-more { margin-top: var(--space-xl); color: var(--color-muted); }

/* FAQ */
.faq-list { border-bottom: var(--rule-hair) solid var(--color-rule); }
.faq-item { border-top: var(--rule-hair) solid var(--color-rule); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-lg); min-height: 72px; padding-block: var(--space-md); font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-lg); cursor: pointer; list-style: none; transition: color var(--dur-micro) var(--ease-out); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--color-accent); }
.faq-icon { position: relative; flex: none; width: 14px; height: 14px; transition: transform var(--dur-short) var(--ease-out); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; inset: 0; margin: auto; background: currentColor; }
.faq-icon::before { width: 14px; height: 2px; }
.faq-icon::after { width: 2px; height: 14px; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-body { padding-bottom: var(--space-lg); color: var(--color-ink-2); }

/* Contact */
.contact-inner { align-items: start; }
.contact-copy { grid-column: 1 / span 6; }
.contact-copy h2 { max-width: 14ch; font-size: var(--text-display-s); }
.contact-email { display: inline-block; margin-top: var(--space-xl); font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-2xl); color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 0.2em; transition: opacity var(--dur-micro) var(--ease-out); }
.contact-email:hover { opacity: 0.8; }
.contact-location { margin-top: var(--space-sm); color: var(--color-muted); }
.contact-form { grid-column: 8 / span 5; display: grid; gap: var(--space-lg); }
.form-row { display: grid; gap: var(--space-2xs); }
.form-row label { font-size: var(--text-sm); color: var(--color-muted); }
.form-row input, .form-row textarea { width: 100%; padding: var(--space-sm) var(--space-md); background: var(--color-paper-2); color: var(--color-ink); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); transition: border-color var(--dur-micro) var(--ease-out); }
.form-row input:hover, .form-row textarea:hover { border-color: var(--color-muted); }
.form-row input:disabled, .form-row textarea:disabled { opacity: 0.5; cursor: not-allowed; }
.form-row textarea { resize: vertical; min-height: 120px; }
.form-note { min-height: 1.5em; font-size: var(--text-sm); color: var(--color-muted); }

/* Floating WhatsApp, footer */
.whatsapp-float { position: fixed; right: var(--space-lg); bottom: var(--space-lg); z-index: var(--z-raised); display: grid; place-items: center; width: 56px; height: 56px; background: var(--color-accent); color: var(--color-accent-ink); border-radius: var(--radius-pill); transition: transform var(--dur-micro) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.whatsapp-float:hover { background: color-mix(in oklab, var(--color-accent) 82%, var(--color-ink)); }
.whatsapp-float:active { transform: scale(0.94); }
.whatsapp-float svg { width: 28px; height: 28px; }
.site-footer { padding-block: var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg) var(--space-xl); }
.footer-nav { display: flex; gap: var(--space-xl); margin-inline-start: auto; }
.footer-copy { font-size: var(--text-sm); color: var(--color-muted); }

/* Narrow */
@media (max-width: 60rem) {
  .main-nav { position: absolute; inset: 72px 0 auto 0; display: none; flex-direction: column; gap: 0; margin: 0; padding: var(--space-sm) var(--gutter) var(--space-lg); background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule); }
  .main-nav.open { display: flex; }
  .main-nav a { padding-block: var(--space-md); font-size: var(--text-md); }
  .nav-toggle { display: grid; }
  .header-inner { gap: var(--space-md); }
  .header-actions { margin-inline-start: auto; }
  .header-actions .btn-small { display: none; }
  .hero { padding-block: var(--space-2xl) var(--space-xl); }
  .hero-copy, .hero-price, .split-head, .split-body, .contact-copy, .contact-form { grid-column: 1 / -1; }
  .hero-price { margin-top: var(--space-2xl); }
  .split-head { position: static; margin-bottom: var(--space-xl); }
  .strip-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-sm); }
  .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-xl); }
  .portfolio-card:nth-child(n) { grid-column: 1 / -1; grid-row: auto; }
  .contact-form { margin-top: var(--space-2xl); }
  .footer-nav { margin-inline-start: 0; }
}
@media (max-width: 40rem) {
  .hero-ctas { gap: var(--space-md); }
  .process-steps { grid-template-columns: minmax(0, 1fr); }
  .whatsapp-float { right: var(--space-md); bottom: var(--space-md); width: 50px; height: 50px; }
}
