/* Legacy aliases preserve the existing homepage radii. */
:root { --r-xl: var(--r-panel); --r-lg: 20px; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body { padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--honey-deep); outline-offset: 3px; }
a:focus-visible, button:focus-visible { box-shadow: 0 0 0 5px var(--paper); }
.skip-link { position: fixed; z-index: 101; top: 8px; left: 8px; transform: translateY(-150%); padding: 10px 16px; border-radius: var(--r-btn); background: var(--ink); color: var(--paper); text-decoration: none; }
.skip-link:focus { transform: translateY(0); }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, .project-heading h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.03em; text-wrap: balance; }
.container { width: min(100%, 1280px); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.section-space { scroll-margin-top: 88px; margin-top: var(--section-gap); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--paper); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; text-decoration: none; font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.brand-mark { color: var(--ink); flex: none; }
nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); }
nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); font-size: 14px; font-weight: 500; text-decoration: none; }
nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }

/* Hero */
 .hero { position: relative; isolation: isolate; overflow: clip; display: grid; place-items: center; min-height: min(92svh, 860px); padding-top: 48px; padding-bottom: 88px; }
.hero::before { content: ''; position: absolute; z-index: 0; width: min(900px, 100%); height: min(600px, 80%); left: 50%; top: 46%; transform: translate(-50%, -50%); background: radial-gradient(ellipse, rgba(247,212,124,.18), transparent 70%); filter: blur(45px); pointer-events: none; animation: hero-glow 12s ease-in-out infinite alternate; }
@keyframes hero-glow { from { opacity: .7; transform: translate(-50%, -50%) scale(.94); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.hero-copy { position: relative; z-index: 1; width: min(100%, 52rem); display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero .hero-eyebrow { margin: 0 0 20px; color: var(--ink-2); font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.hero h1 { width: 100%; max-width: 15ch; font-size: clamp(2.8rem, 7vw, 5.5rem); line-height: 1.02; }
.hero-copy > p:not(.hero-eyebrow) { max-width: 36ch; margin-top: 24px; color: var(--ink-2); font-size: 18px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 28px; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 48px; padding: 10px 22px; border-radius: var(--r-btn); font-size: 15px; font-weight: 600; line-height: 1.3; text-decoration: none; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn span { transition: transform 200ms ease; }
.btn:hover span { transform: translateX(2px); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; text-decoration-color: var(--honey); text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* Reusable product device */
/* Width controls the bezel, keeping the screen itself at its native ratio. */
.device { --device-w: min(78vw, 320px); --bezel: clamp(7px, calc(var(--device-w) * .026), 11px); width: var(--device-w); flex: none; padding: var(--bezel); background: #1B1B19; border-radius: 13% / 6%; box-shadow: 0 1px 2px rgba(29,29,31,.08), 0 24px 60px -12px rgba(29,29,31,.25); }
.device__screen { aspect-ratio: 390 / 844; overflow: hidden; border-radius: 11% / 5%; }
.device img { display: block; width: 100%; height: 100%; object-fit: contain; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms cubic-bezier(.2,.7,.2,1), transform 700ms cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Statement and ambient color */
.statement-section { margin-top: calc(var(--section-gap) * .6); }
.statement { max-width: 22ch; font-family: var(--font-display); font-size: clamp(1.9rem, 4.2vw, 3.25rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.18; text-wrap: balance; }
 .aura { position: absolute; inset: -80px; z-index: 0; pointer-events: none; }
.aura span { position: absolute; border-radius: 50%; filter: blur(70px); animation: aura-breathe 16s ease-in-out infinite alternate; animation-play-state: paused; }
.aura.is-active span { animation-play-state: running; }
.aura span + span { animation-duration: 19s; animation-direction: alternate-reverse; }
.aura--coffee span:first-child { width: 520px; height: 520px; right: -100px; top: 12%; background: rgba(240,195,90,.38); }
.aura--coffee span:last-child { width: 380px; height: 380px; left: -80px; top: 4%; background: rgba(200,100,59,.24); }
.aura--panel span { filter: blur(90px); }
.aura--panel span:first-child { width: 700px; height: 700px; left: -100px; bottom: -180px; background: rgba(47,125,109,.45); }
.aura--panel span:last-child { width: 420px; height: 420px; right: -80px; top: -100px; background: rgba(240,195,90,.45); }
@keyframes aura-breathe { from { transform: translate3d(-24px, 0, 0) scale(.95); } to { transform: translate3d(24px, 24px, 0) scale(1.06); } }

/* Stacking services: 68px header + 1px border + 24px clearance. */
.stack-section[data-stack] { --stack-top: 93px; width: min(100%, 1280px); margin-inline: auto; margin-top: var(--section-gap); padding-block: 0; padding-inline: clamp(16px, 4vw, 40px); }
.stack-section[data-stack] h2 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); line-height: 1.08; }

/* Project */
.section-intro { margin-bottom: 36px; }
.eyebrow { color: var(--ink-2); font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.section-intro h2 { max-width: 18ch; margin-top: 12px; font-size: clamp(2.1rem, 4.2vw, 3.5rem); line-height: 1.08; }
.project--qr { overflow: hidden; isolation: isolate; display: grid; grid-template-areas: 'heading' 'visual' 'details' 'outcomes'; gap: 36px; padding: 20px; border-radius: var(--r-xl); background: var(--paper-2); }
.project-heading { grid-area: heading; }
.project-heading h3 { max-width: 15ch; margin-top: 16px; font-size: clamp(2rem, 3.5vw, 3.25rem); line-height: 1.08; }
.project-intro { max-width: 46ch; margin-top: 20px; color: var(--ink-2); }
.project-visual { position: relative; isolation: isolate; grid-area: visual; display: flex; align-items: flex-start; justify-content: center; padding: 8px 0 24px; }
.project-visual .device { position: relative; z-index: 1; box-shadow: 0 1px 3px rgba(29,29,31,.10), 0 26px 64px -12px rgba(29,29,31,.32); }
.project-device--list { --device-w: min(49%, 267px); }
.project-device--detail { --device-w: min(52%, 285px); position: relative; z-index: 1; margin-top: 46px; margin-left: -11%; }
.project-details { grid-area: details; }
.detail-block + .detail-block { margin-top: 28px; }
.detail-block h4 { margin-bottom: 8px; color: var(--ink-2); font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.project--qr .detail-block--made h4::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--honey); vertical-align: middle; }
.detail-block p, .project-intro { color: var(--ink-2); font-size: 17px; line-height: 1.6; }
.outcomes { grid-area: outcomes; display: grid; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.outcomes li { display: grid; gap: 3px; padding: 18px 0; }
.outcomes li + li { border-top: 1px solid var(--line); }
.outcomes strong { color: var(--ink); font-size: 15px; font-weight: 600; }
.outcomes span { color: var(--ink-2); font-size: 14px; }

/* Project 02: browser and phone */
.panel-zone { overflow-x: clip; }
.project--panel { position: relative; overflow: clip; margin-top: calc(var(--section-gap) * .75); padding: clamp(28px, 5vw, 72px); border-radius: 32px; background: var(--stage); color: var(--paper); }
.panel-heading { max-width: 640px; }
.panel-heading h3 { max-width: 20ch; }
.panel-visual { position: relative; isolation: isolate; margin-top: 36px; }
.browser { position: relative; z-index: 1; overflow: hidden; border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-xl); background: var(--paper-2); box-shadow: 0 1px 2px rgba(29,29,31,.08), 0 24px 60px -12px rgba(29,29,31,.25); }
.browser::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.10); pointer-events: none; }
.browser__bar { position: relative; display: flex; align-items: center; justify-content: center; height: 40px; padding: 0 64px; background: #2C2C29; border-bottom: 1px solid rgba(29,29,31,.05); }
.browser__dots { position: absolute; left: 16px; display: none; gap: 6px; }
.browser__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--paper); opacity: .18; }
.browser__address { max-width: 100%; overflow: hidden; padding: 2px 12px; border-radius: 20px; background: #3A3A36; color: #D2D2D7; font-size: 12px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.browser__screen { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.browser img { position: absolute; display: block; width: 230%; max-width: none; height: auto; left: -37%; top: -32%; }
.panel-phone { z-index: 2; --device-w: min(60vw, 260px); position: relative; margin: -24px auto 0; }
.js .panel-phone.reveal { transition-delay: 150ms; }
.panel-details { display: grid; margin-top: 40px; border-top: 1px solid rgba(255,255,255,.12); }
.panel-details .detail-block { padding: 24px 0; }
.panel-details .detail-block + .detail-block { margin: 0; border-top: 1px solid rgba(255,255,255,.12); }
.project--panel .eyebrow { color: #F0C35A; }
.project--panel .project-intro, .project--panel .detail-block p, .project--panel .detail-block h4, .project--panel .panel-results { color: #D2D2D7; }
.panel-results { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 17px; line-height: 1.6; }

/* Personal selection */
.personal-heading { max-width: 640px; }
.personal-heading h2 { margin-top: 16px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.15; }
.personal-heading > p:last-child { margin-top: 20px; color: var(--ink-2); }
.personal-list { list-style: none; margin: 28px 0 0; padding: 0; }
.personal-list li { border-top: 1px solid var(--line); }
.personal-list li:last-child { border-bottom: 1px solid var(--line); }
.personal__row { display: flex; align-items: center; gap: 20px; min-height: 88px; padding: 20px 0; text-decoration: none; }
.personal__copy { display: grid; flex: 1; min-width: 0; gap: 4px; }
.personal__title { color: var(--ink); font-size: 18px; font-weight: 600; transition: transform 200ms ease; }
.personal__description, .personal__meta { color: var(--ink-2); font-size: 15px; }
.personal__arrow { font-size: 22px; transition: color 200ms ease; }
a.personal__row:hover .personal__title, a.personal__row:focus-visible .personal__title { transform: translateX(4px); }
a.personal__row:hover .personal__arrow, a.personal__row:focus-visible .personal__arrow { color: var(--honey-deep); }

/* Contact and footer */
.contact-stage { position: relative; isolation: isolate; overflow: clip; display: flex; flex-direction: column; gap: 28px; padding: clamp(28px, 5vw, 72px); border-radius: 32px; background: var(--stage); color: var(--paper); }
.contact-copy { position: relative; z-index: 1; }
.contact-bee { display: block; width: 96px; height: 96px; flex: none; align-self: center; }
.contact .contact-cta { background: var(--honey); color: var(--ink); }
body.is-dark-zone .site-header { background: var(--stage); color: var(--paper); border-bottom-color: rgba(255,255,255,.08); }
body.is-dark-zone .brand-mark { color: var(--paper); }
body.is-dark-zone .site-header nav a { color: #D2D2D7; }
body.is-dark-zone .site-header nav a:hover { color: var(--paper); }
.site-header, .site-header nav a { transition: background-color 400ms ease, color 400ms ease, border-color 400ms ease; }
.contact h2 { font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1.05; }
.contact-copy > p:not(.contact-note) { max-width: 50ch; margin: 24px 0 30px; color: #D2D2D7; font-size: 18px; }
.contact .contact-note { margin-top: 16px; color: #D2D2D7; font-size: 14px; }
.site-footer { margin-top: var(--section-gap); padding-bottom: 32px; color: var(--ink-2); font-size: 14px; }
.footer-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 24px; border-top: 1px solid var(--line); }
.site-footer nav { gap: 28px; }

@media (max-width: 759px) {
  .project--panel, .contact-stage { padding: 20px; }
  .aura span, .aura--panel span { filter: blur(50px); }
  .aura--coffee span:first-child { width: 312px; height: 312px; }
  .aura--coffee span:last-child { width: 228px; height: 228px; }
  .aura--panel span:first-child { width: 420px; height: 420px; }
  .aura--panel span:last-child { width: 252px; height: 252px; }
  .eyebrow { white-space: nowrap; }
  .project-device--list { --device-w: min(44%, 220px); }
  .project-device--detail { --device-w: min(47%, 235px); margin-left: -14%; }
}
@media (min-width: 760px) {
  .contact-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); align-items: center; gap: clamp(32px, 5vw, 72px); }
  .contact-copy { grid-column: 1; grid-row: 1; }
  .contact-bee { grid-column: 2; grid-row: 1; justify-self: center; width: 180px; height: 180px; }
  .hero-copy > p:not(.hero-eyebrow) { font-size: 20px; }
  .project--qr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: 'visual heading' 'visual details' 'outcomes outcomes'; column-gap: clamp(36px, 4vw, 56px); padding: clamp(32px, 4vw, 48px); align-items: start; }
  .outcomes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 24px; }
  .outcomes li { padding: 0; }
  .outcomes li + li { border-top: 0; }
  .project-visual { align-self: center; }
  .browser__dots { display: flex; }
  .browser__screen { aspect-ratio: 1440 / 900; }
  .browser img { position: static; width: 100%; }
  .panel-visual { padding-bottom: 7%; }
  .panel-phone { --device-w: 26%; position: absolute; right: 4%; bottom: 0; margin: 0; }
  .panel-details { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 80px; }
  .panel-details .detail-block + .detail-block { border-top: 0; }
  .personal__copy { grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; }
  .personal__title, .personal__description { grid-column: 1; }
  .personal__meta { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (min-width: 1080px) {
  .hero-copy > p:not(.hero-eyebrow) { font-size: 22px; }
  .project--qr { grid-template-columns: minmax(0, 1.27fr) minmax(0, 1fr); }
  .project-device--detail { margin-top: 64px; }
  .panel-visual { padding-bottom: 12%; }
  .panel-phone { --device-w: 19%; right: max(-3%, calc(-1 * clamp(0px, 2vw, 32px))); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Shared navigation and service links */
[data-service="web"], [data-service="honey"], [data-tone="honey"] { --accent: var(--pastel-honey); }
[data-service="menu"], [data-service="sage"], [data-tone="sage"] { --accent: var(--pastel-sage); }
[data-service="tools"], [data-service="peach"], [data-tone="peach"] { --accent: var(--pastel-peach); }
[data-service="support"], [data-service="sky"], [data-tone="sky"], [data-tone="contact"], [data-service="contact"] { --accent: var(--pastel-sky); }
[data-service="process"], [data-service="lavender"], [data-tone="lavender"], [data-tone="process"], [data-tone="faq"], [data-service="faq"] { --accent: var(--pastel-lavender); }
.stack-card__link { color: inherit; font-size: 15px; font-weight: 600; text-underline-offset: 4px; }
.stack-card__link::after { content: ""; position: absolute; inset: 0; }
.stack-card__surface { position: relative; }
.site-footer .footer-groups { display: flex; flex-wrap: wrap; gap: 24px 48px; }
.site-footer .footer-group { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.site-footer .footer-group strong { font-size: 13px; }
.site-footer .footer-inner { align-items: flex-start; flex-wrap: wrap; gap: 24px; }
.stub { min-height: 55vh; padding-block: 96px; }
.stub h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.08; }
.stub p { margin-top: 20px; color: var(--ink-2); }
@media (max-width: 600px) {
  .header-inner { flex-wrap: wrap; gap: 0 12px; padding-block: 8px; }
  .site-header nav { width: 100%; gap: 8px 18px; flex-wrap: wrap; }
  .site-header nav a { min-height: 36px; font-size: 13px; }
}
