*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand palette — ink + paint-pot orange, with a set of "paint chip" colours */
  --primary:      #24406b;
  --primary-mid:  #335689;
  --primary-dark: #1b2230;
  --accent:       #e2622d;
  --accent-mid:   #f08a5d;
  --accent-dark:  #a8431a;

  /* Paint chips */
  --chip-sage:    #9bab8f;
  --chip-clay:    #c98a6b;
  --chip-navy:    #2c3e5c;
  --chip-mustard: #d6a63c;
  --chip-blush:   #e3bfb2;
  --chip-linen:   #ece6da;

  /* Neutrals */
  --bg:         #f6f2ea;
  --surface:    #ffffff;
  --border:     #e3dccd;
  --text:       #1b2230;
  --text-soft:  #4a5263;
  --text-muted: #616978;

  /* Typography */
  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body:    'Barlow', system-ui, sans-serif;

  /* Spacing */
  --section-pad: clamp(60px, 8vw, 120px);
  --container:   1200px;
  --radius:      12px;
  --radius-lg:   24px;
  --header-h:    72px;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.005em; text-transform: uppercase; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.15; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); line-height: 1.2; }
p  { font-size: clamp(0.95rem, 1.5vw, 1.1rem); line-height: 1.75; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(1rem, 5vw, 2rem); }
section { padding-block: var(--section-pad); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--accent); color: var(--text); padding: .6rem 1rem; z-index: 200; border-radius: 6px; font-weight: 700; }
.skip:focus { top: 1rem; }

/* ---------- Paint chip label (signature motif) ---------- */
.chip { display: inline-flex; align-items: stretch; border-radius: 4px; overflow: hidden; background: var(--surface); box-shadow: 0 1px 0 var(--border), 0 4px 14px rgba(27,34,48,.06); margin-bottom: 1.25rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.chip::before { content: ""; width: 1.6rem; background: var(--chip, var(--accent)); }
.chip span { padding: .45rem .8rem; color: var(--text); }
.on-dark .chip { background: rgba(255,255,255,.08); box-shadow: none; }
.on-dark .chip span { color: #fff; }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head p { color: var(--text-soft); margin-top: 1rem; }
.on-dark .section-head p { color: #c9cfdb; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .6rem; padding: .95rem 1.6rem; border-radius: 999px; font-family: var(--font-body); font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn svg { width: 1.1em; height: 1.1em; flex-shrink: 0; }
.btn-primary { background: var(--accent); color: var(--text); }
.btn-primary:hover { background: var(--accent-mid); transform: translateY(-2px); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: var(--text); color: #fff; border-color: var(--text); transform: translateY(-2px); }
.on-dark .btn-ghost:hover { background: #fff; color: var(--text); border-color: #fff; }

/* ---------- Header / nav ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); color: #fff; transition: background .25s, color .25s, box-shadow .25s; }
.site-header.scrolled, .site-header.menu-open { background: var(--surface); color: var(--text); box-shadow: 0 2px 20px rgba(27,34,48,.08); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.logo svg { height: 38px; width: auto; flex-shrink: 0; }
.logo-text { font-family: var(--font-display); text-transform: uppercase; line-height: 1; font-size: 1.25rem; font-weight: 600; letter-spacing: .02em; }
.logo-text small { display: block; font-family: var(--font-body); font-size: .68rem; letter-spacing: .28em; font-weight: 600; opacity: .75; margin-top: .2rem; }

.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; color: inherit; padding: 10px; }
.nav-toggle span { height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .2s; }
.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-menu { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: var(--surface); color: var(--text); display: flex; flex-direction: column; padding: 1.5rem clamp(1rem, 5vw, 2rem) 2rem; gap: .25rem; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s; overflow-y: auto; }
.menu-open .nav-menu { transform: none; visibility: visible; }
.nav-menu a { text-decoration: none; font-family: var(--font-display); text-transform: uppercase; font-size: 1.6rem; padding: .7rem 0; border-bottom: 1px solid var(--border); }
.nav-menu a[aria-current="page"] { color: var(--accent-dark); }
.nav-menu .nav-cta { margin-top: 1.25rem; border: 0; justify-content: center; font-family: var(--font-body); text-transform: none; font-size: 1.05rem; }
.nav-phone { display: none; }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .nav-menu { position: static; transform: none; visibility: visible; flex-direction: row; align-items: center; background: none; color: inherit; padding: 0; gap: 1.75rem; overflow: visible; }
  .nav-menu a { font-family: var(--font-body); text-transform: none; font-size: 1rem; font-weight: 600; padding: .25rem 0; border: 0; position: relative; }
  .nav-menu a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
  .nav-menu a:not(.btn):hover::after, .nav-menu a[aria-current="page"]::after { transform: scaleX(1); }
  .nav-menu a[aria-current="page"] { color: inherit; }
  .nav-menu .nav-cta { margin-top: 0; padding: .7rem 1.3rem; }
  .nav-phone { display: inline-flex; align-items: center; gap: .4rem; }
  .nav-phone svg { width: 1rem; height: 1rem; }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: 100svh; background: var(--primary-dark); color: #fff; display: grid; align-items: center; padding-block: calc(var(--header-h) + 2.5rem) 4.5rem; overflow: hidden; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lead { color: #c9cfdb; max-width: 34rem; margin-top: 1.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2rem; color: #dfe3ea; font-weight: 600; font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-points svg { width: 1.1rem; height: 1.1rem; color: var(--accent); }

/* Hero art: stacked paint strokes; swap for a project photo by adding .has-photo + background-image */
.hero-art { position: relative; aspect-ratio: 4 / 4.2; border-radius: var(--radius-lg); overflow: hidden; background: #232b3b; }
.hero-art.has-photo { background-size: cover; background-position: center; }
.hero-art.has-photo .stroke-stack { display: none; }
.stroke-stack { position: absolute; inset: 0; }
.stroke { position: absolute; left: -8%; width: 116%; height: 22%; transform-origin: left center; transform: scaleX(0); animation: paint 1s cubic-bezier(.7,0,.2,1) forwards; }
.stroke svg { width: 100%; height: 100%; display: block; }
.stroke:nth-child(1) { top: 6%;  animation-delay: .35s; color: var(--chip-sage); }
.stroke:nth-child(2) { top: 26%; animation-delay: .55s; color: var(--chip-clay); }
.stroke:nth-child(3) { top: 46%; animation-delay: .75s; color: var(--chip-mustard); }
.stroke:nth-child(4) { top: 66%; animation-delay: .95s; color: var(--chip-blush); }
.hero-roller { position: absolute; right: 7%; bottom: 7%; width: 34%; color: #fff; filter: drop-shadow(0 12px 20px rgba(0,0,0,.35)); opacity: 0; animation: rise .7s ease 1.3s forwards; }
.hero-tag { position: absolute; left: 6%; bottom: 7%; background: var(--surface); color: var(--text); border-radius: 6px; padding: .55rem .8rem; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: 0; animation: rise .6s ease 1.5s forwards; }
@keyframes paint { to { transform: scaleX(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.hero-in { opacity: 0; transform: translateY(24px); animation: rise .8s ease forwards; animation-delay: var(--d, 0s); }

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 4rem; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--primary-dark); color: #fff; padding-block: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)) clamp(3rem, 7vw, 5rem); position: relative; overflow: hidden; }
.page-hero p { color: #c9cfdb; max-width: 40rem; margin-top: 1rem; }
.page-hero::after { content: ""; position: absolute; right: -6rem; bottom: -3rem; width: 26rem; height: 7rem; background: var(--accent); opacity: .9; transform: rotate(-8deg); border-radius: 40% 60% 55% 45% / 60% 40% 60% 40%; }
.page-hero .container { position: relative; z-index: 1; }
.crumbs { font-size: .9rem; color: #aab2c0; margin-bottom: 1rem; }
.crumbs a { color: #fff; }

/* ---------- Promise strip ---------- */
.promise { background: var(--surface); border-bottom: 1px solid var(--border); padding-block: 1.6rem; }
.promise ul { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.5rem; }
.promise li { display: flex; align-items: center; gap: .7rem; font-weight: 600; font-size: .95rem; }
.promise svg { width: 1.6rem; height: 1.6rem; flex-shrink: 0; color: var(--primary); }
@media (min-width: 1024px) { .promise ul { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Service cards ---------- */
.cards { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; text-decoration: none; }
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(27,34,48,.12); border-color: var(--accent); }
.card-body { padding: 1.6rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.card-body p { color: var(--text-soft); }
.card-icon { width: 3rem; height: 3rem; border-radius: 10px; display: grid; place-items: center; background: var(--bg); color: var(--primary); margin-top: -3.1rem; position: relative; border: 3px solid var(--surface); transition: background .25s, color .25s; }
.card:hover .card-icon { background: var(--accent); color: var(--text); }
.card-icon svg { width: 1.5rem; height: 1.5rem; }
.card-link { margin-top: auto; font-weight: 700; color: var(--accent-dark); display: inline-flex; gap: .4rem; align-items: center; }
.card-link svg { width: 1rem; height: 1rem; transition: transform .2s; }
.card:hover .card-link svg { transform: translateX(4px); }

/* ---------- Photo slots: CSS placeholders until Larry's photos arrive ---------- */
.photo { position: relative; aspect-ratio: 4 / 3; background-color: var(--chip-linen); background-size: cover; background-position: center; overflow: hidden; }
.photo-label { position: absolute; left: .8rem; bottom: .8rem; background: rgba(27,34,48,.82); color: #fff; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; padding: .35rem .6rem; border-radius: 4px; }
.card .photo-label { top: .8rem; bottom: auto; }
.photo.has-photo .photo-label, .photo.has-photo > svg { display: none; }
.ph-paint { background-image: linear-gradient(100deg, var(--chip-sage) 0 38%, transparent 38%), linear-gradient(100deg, transparent 38%, var(--chip-linen) 38% 41%, transparent 41%), linear-gradient(180deg, #f1ece2 0 74%, #d9cfbe 74% 77%, #b9a98f 77%); }
.ph-paper  { background-color: var(--chip-blush); background-image: radial-gradient(circle at 50% 50%, rgba(255,255,255,.55) 0 18%, transparent 19%), radial-gradient(circle at 0 0, rgba(168,67,26,.25) 0 12%, transparent 13%), radial-gradient(circle at 100% 0, rgba(168,67,26,.25) 0 12%, transparent 13%), radial-gradient(circle at 0 100%, rgba(168,67,26,.25) 0 12%, transparent 13%), radial-gradient(circle at 100% 100%, rgba(168,67,26,.25) 0 12%, transparent 13%); background-size: 46px 46px; }
.ph-crack  { background: #ece6da; }
.ph-crack svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph-person { background-color: var(--chip-navy); background-image: radial-gradient(circle at 50% 38%, var(--chip-clay) 0 16%, transparent 16.5%), radial-gradient(ellipse at 50% 100%, var(--chip-clay) 0 34%, transparent 34.5%); }

/* ---------- Split (about teaser / service rows) ---------- */
.split { display: grid; gap: 2.5rem; align-items: center; }
.split .photo { border-radius: var(--radius-lg); }
.split-text > * + * { margin-top: 1rem; }
.split-text p { color: var(--text-soft); }
.split-text .btn { margin-top: 1.75rem; }
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4.5rem; }
  .split.flip .split-media { order: 2; }
}
.ticks { list-style: none; display: grid; gap: .65rem; }
.ticks li { display: flex; gap: .65rem; align-items: flex-start; color: var(--text); font-weight: 500; }
.on-dark .ticks li { color: #fff; }
.on-dark .ticks svg { color: var(--accent); }
.ticks svg { width: 1.25rem; height: 1.25rem; color: var(--accent-dark); flex-shrink: 0; margin-top: .25rem; }

/* ---------- Colour try-out ---------- */
.colour-lab { background: var(--primary-dark); color: #fff; }
.lab-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .lab-grid { grid-template-columns: .9fr 1.1fr; gap: 4rem; } }
.room { border-radius: var(--radius-lg); overflow: hidden; background: #2a3242; }
.room svg { width: 100%; height: auto; display: block; }
.room .wall { transition: fill .5s ease; }
.swatches { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.swatch { width: 3.25rem; height: 3.25rem; border-radius: 10px; border: 3px solid transparent; cursor: pointer; background: var(--c); transition: transform .2s, border-color .2s; }
.swatch:hover { transform: translateY(-3px); }
.swatch[aria-pressed="true"] { border-color: #fff; transform: translateY(-3px); }
.swatch-name { margin-top: 1rem; font-weight: 600; color: #dfe3ea; min-height: 1.6em; }
.lab-note { font-size: .9rem; color: #aab2c0; margin-top: .5rem; }

/* ---------- Before / after ---------- */
.ba { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden; user-select: none; background: #ece6da; touch-action: pan-y; }
.ba-layer { position: absolute; inset: 0; }
.ba-layer svg { width: 100%; height: 100%; display: block; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; box-shadow: 0 0 12px rgba(0,0,0,.25); }
.ba-handle::after { content: "⇆"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--accent); color: var(--text); display: grid; place-items: center; font-weight: 700; font-size: 1.1rem; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-tag { position: absolute; top: .9rem; background: rgba(27,34,48,.82); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .35rem .6rem; border-radius: 4px; pointer-events: none; }
.ba-tag.l { left: .9rem; } .ba-tag.r { right: .9rem; }
.ba:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 4px; }

/* ---------- Wallpaper patterns ---------- */
.papers { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.paper { aspect-ratio: 3 / 4; border-radius: var(--radius); position: relative; overflow: hidden; }
.paper span { position: absolute; left: .6rem; bottom: .6rem; background: var(--surface); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .5rem; border-radius: 4px; }
.paper.stripe { background: repeating-linear-gradient(90deg, var(--chip-linen) 0 18px, var(--chip-sage) 18px 22px, var(--chip-linen) 22px 30px, #c4cdb9 30px 34px); }
.paper.geo { background-color: var(--chip-navy); background-image: linear-gradient(45deg, var(--chip-mustard) 25%, transparent 25%, transparent 75%, var(--chip-mustard) 75%), linear-gradient(45deg, var(--chip-mustard) 25%, transparent 25%, transparent 75%, var(--chip-mustard) 75%); background-size: 40px 40px; background-position: 0 0, 20px 20px; }
.paper.floral { background-color: var(--chip-blush); background-image: radial-gradient(circle at 50% 50%, #fff6f1 0 14%, transparent 15%), radial-gradient(circle at 50% 50%, var(--chip-clay) 0 7%, transparent 8%), radial-gradient(circle at 0 0, #b97558 0 9%, transparent 10%), radial-gradient(circle at 100% 100%, #b97558 0 9%, transparent 10%); background-size: 52px 52px; }
.paper.plain { background: #e8e1d3; background-image: repeating-linear-gradient(0deg, rgba(0,0,0,.025) 0 2px, transparent 2px 6px); }
@media (min-width: 768px) { .papers { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Process ---------- */
.steps { list-style: none; display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.6rem; position: relative; overflow: hidden; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--accent); display: block; margin-bottom: .9rem; }
.step h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.step p { color: var(--text-soft); font-size: 1rem; }

/* ---------- Service detail rows ---------- */
.svc { border-top: 1px solid var(--border); }
.svc:first-of-type { border-top: 0; }
.svc-meta { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
@media (min-width: 768px) { .svc-meta { grid-template-columns: 1fr 1fr; } }
.svc-meta h4 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .6rem; }
.jump { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.jump a { text-decoration: none; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: .5rem 1rem; font-weight: 600; font-size: .95rem; transition: background .2s, border-color .2s; }
.jump a:hover { background: var(--accent); border-color: var(--accent); color: var(--text); }

/* ---------- FAQ ---------- */
.faq { max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--border); padding-block: 1.1rem; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: var(--accent-dark); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-soft); margin-top: .75rem; }

/* ---------- Values (about) ---------- */
.values { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { padding: 1.75rem; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); border-top: 6px solid var(--c, var(--accent)); }
.value h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.value p { color: var(--text-soft); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--accent); color: var(--text); padding-block: clamp(3rem, 7vw, 5rem); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: auto -10% -60% auto; width: 60%; height: 140%; background: var(--accent-mid); border-radius: 50%; opacity: .6; }
.cta-inner { position: relative; display: grid; gap: 1.5rem; align-items: center; }
.cta-inner p { max-width: 36rem; margin-top: .75rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.cta-band .btn-primary { background: var(--text); color: #fff; }
.cta-band .btn-primary:hover { background: var(--primary); }
.cta-band .btn-ghost:hover { background: var(--text); color: #fff; }
@media (min-width: 1024px) { .cta-inner { grid-template-columns: 1.4fr 1fr; } .cta-actions { justify-content: flex-end; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1.5fr 1fr; gap: 4rem; align-items: start; } }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.25rem, 4vw, 2.5rem); }
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 768px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label, .field legend { display: block; font-weight: 700; font-size: .95rem; margin-bottom: .4rem; }
.field .opt { font-weight: 500; color: var(--text-muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: .85rem 1rem; border: 1.5px solid var(--border); border-radius: 10px; background: var(--bg); color: var(--text); transition: border-color .2s, background .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: var(--surface); }
.field input:user-invalid, .field select:user-invalid { border-color: #b3261e; }
.field textarea { min-height: 8rem; resize: vertical; }
.field input[type="file"] { padding: .7rem; background: var(--surface); border-style: dashed; cursor: pointer; }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; border: 0; }
.pills label { margin: 0; }
.pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pills label span { display: inline-block; padding: .55rem 1rem; border: 1.5px solid var(--border); border-radius: 999px; font-weight: 600; font-size: .95rem; cursor: pointer; background: var(--bg); transition: background .2s, border-color .2s, color .2s; }
.pills input:checked + span { background: var(--text); border-color: var(--text); color: #fff; }
.pills input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.form-foot small { color: var(--text-muted); font-size: .85rem; }
.thanks { text-align: center; padding: 2rem 1rem; }
.thanks svg { width: 4rem; height: 4rem; color: var(--accent); margin: 0 auto 1rem; }
.thanks p { color: var(--text-soft); margin-top: .75rem; }

.contact-side { display: grid; gap: 1rem; }
.contact-item { display: flex; gap: 1rem; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.25rem; text-decoration: none; transition: border-color .2s, transform .2s; }
a.contact-item:hover { border-color: var(--accent); transform: translateY(-2px); }
.contact-item .ic { width: 2.75rem; height: 2.75rem; border-radius: 10px; background: var(--bg); color: var(--primary); display: grid; place-items: center; flex-shrink: 0; }
.contact-item .ic svg { width: 1.3rem; height: 1.3rem; }
.contact-item small { display: block; color: var(--text-muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.contact-item strong { font-size: 1.05rem; word-break: break-word; }
.side-note { background: var(--primary-dark); color: #dfe3ea; border-radius: var(--radius-lg); padding: 1.5rem; }
.side-note h3 { color: #fff; font-size: 1.2rem; margin-bottom: .6rem; }
.side-note p { font-size: 1rem; }

/* ---------- Footer ---------- */
.site-footer { background: #141925; color: #c9cfdb; padding-block: clamp(3.5rem, 7vw, 5rem) 2rem; }
.foot-grid { display: grid; gap: 2.25rem; }
@media (min-width: 768px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .logo { color: #fff; }
.site-footer p { font-size: 1rem; margin-top: 1rem; max-width: 22rem; }
.site-footer h3 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .16em; color: #fff; margin-bottom: 1rem; }
.site-footer ul { list-style: none; display: grid; gap: .55rem; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--accent-mid); }
.foot-chips { display: flex; gap: 4px; margin-top: 1.5rem; }
.foot-chips i { width: 1.8rem; height: .6rem; border-radius: 2px; background: var(--c); }
.foot-bottom { border-top: 1px solid #2a3142; margin-top: 3rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; font-size: .9rem; color: #8f97a6; }
.foot-bottom a { color: #c9cfdb; }

/* ---------- Sticky mobile action bar ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); box-shadow: 0 -6px 20px rgba(27,34,48,.12); transform: translateY(100%); transition: transform .3s; }
.mobile-bar.show { transform: none; }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .95rem; font-weight: 700; text-decoration: none; background: var(--surface); }
.mobile-bar a:last-child { background: var(--accent); }
.mobile-bar svg { width: 1.1rem; height: 1.1rem; }
@media (min-width: 1024px) { .mobile-bar { display: none; } }
@media (max-width: 1023px) { .site-footer { padding-bottom: 5.5rem; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero-in, .stroke, .hero-roller, .hero-tag { opacity: 1; transform: none; animation: none; transition: none; }
}
