/*
Theme Name: RAB Marketing
Theme URI: https://www.rabmarketing.info
Author: RAB Marketing LLC
Description: Custom theme for RAB Marketing: website design, email marketing and SEO for small businesses.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: All rights reserved
Text Domain: rab
*/

/* Layout: a signed portfolio. Porcelain page, ink type, merlot only for action; the work itself (live mock sites) carries the visual weight. */
:root {
  --paper: #F8F5F4;
  --surface: #EFE7E5;
  --card: #FFFFFF;
  --ink: #18151A;
  --muted: #625B60;
  --line: #E2DAD8;
  --merlot: #6E1E33;
  --merlot-ink: #FFFFFF;
  --gilt: #9C7D4E;
  --shadow: 0 30px 60px -30px rgb(40 20 30 / .35);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --step-1: 1.15rem;
  --step-2: 1.5rem;
  --step-3: clamp(2rem, 1.5rem + 2vw, 3rem);
  --step-4: clamp(2.6rem, 1.7rem + 4vw, 4.75rem);
  --wrap: 1200px;
  --logo-filter: none;
  --logo-blend: multiply;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #141215; --surface: #1D191C; --card: #231F22; --ink: #F2ECEC; --muted: #ADA5AA;
    --line: #342E32; --merlot: #D07F94; --merlot-ink: #141215; --gilt: #CDB38A;
    --shadow: 0 30px 60px -30px rgb(0 0 0 / .7); --logo-filter: invert(1); --logo-blend: screen; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #141215; --surface: #1D191C; --card: #231F22; --ink: #F2ECEC; --muted: #ADA5AA;
  --line: #342E32; --merlot: #D07F94; --merlot-ink: #141215; --gilt: #CDB38A;
  --shadow: 0 30px 60px -30px rgb(0 0 0 / .7); --logo-filter: invert(1); --logo-blend: screen; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--paper); }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -0.015em; font-variation-settings: "SOFT" 100; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--merlot); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 700px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }
.band { padding-block: clamp(4rem, 3rem + 5vw, 7.5rem); }
.eyebrow { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--merlot); }
.lede { font-size: var(--step-1); color: var(--muted); max-width: 36rem; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 3rem; }
.section-head h2 { font-size: var(--step-3); margin-top: .9rem; max-width: 20ch; }

/* Logo: the client's own script mark, cropped from the supplied file */
.logo { display: block; text-decoration: none; overflow: hidden; width: 170px; aspect-ratio: 3 / 1; }
.logo img { display: block; width: 108.3%; max-width: none; margin-left: -4%; margin-top: -22%; filter: var(--logo-filter); mix-blend-mode: var(--logo-blend); }
.logo-lg { width: 230px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.6rem; padding: 1rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: 0.98rem; text-decoration: none; border: 1px solid transparent; transition: background .25s ease, color .25s ease, box-shadow .25s ease; cursor: pointer; font-family: var(--body); position: relative; overflow: hidden; isolation: isolate; }
.btn-primary { background: var(--merlot); color: var(--merlot-ink); }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .35s cubic-bezier(.6,.1,.2,1); z-index: -1; border-radius: inherit; }
.btn-primary:hover::after { transform: translateY(0); }
.btn-primary:hover { color: var(--paper); box-shadow: 0 12px 24px -12px rgb(110 30 51 / .6); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.arrow { transition: transform .25s ease; display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }
.magnetic { transition: transform .3s cubic-bezier(.2,.8,.2,1); }

/* Header */
header.site { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 78px; }
.nav ul { display: none; list-style: none; gap: 2rem; margin: 0; padding: 0; font-size: 0.95rem; font-weight: 500; }
.nav ul a { text-decoration: none; position: relative; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--merlot); transform: scaleX(0); transform-origin: right; transition: transform .3s ease; }
.nav ul a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { padding: 0.7rem 1.2rem; font-size: 0.88rem; }
@media (min-width: 940px) { .nav ul { display: flex; } }
@media (max-width: 420px) { .logo { width: 130px; } .nav .btn { padding: .6rem .9rem; } }

/* Hero */
.hero { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(3rem, 2rem + 3vw, 4.5rem); position: relative; }
.hero-grid { display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }
.hero h1 { font-size: var(--step-4); margin-block: 1.1rem 1.5rem; }
.rotator { display: inline-grid; vertical-align: bottom; color: var(--merlot); font-style: italic; overflow: hidden; padding-bottom: .08em; }
.rotator span { grid-area: 1 / 1; transition: transform .6s cubic-bezier(.6,.1,.2,1), opacity .6s ease; }
.rotator span:not(.on) { transform: translateY(105%); opacity: 0; }
.rotator span.out { transform: translateY(-105%); opacity: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }
.hero-note { margin-top: 1.25rem; font-size: 0.9rem; color: var(--muted); display: flex; align-items: center; gap: .6rem; }
.hero-note .live { width: 8px; height: 8px; border-radius: 50%; background: #3BA55D; box-shadow: 0 0 0 0 rgb(59 165 93 / .5); animation: ping 2s infinite; flex: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgb(59 165 93 / 0); } 100% { box-shadow: 0 0 0 0 rgb(59 165 93 / 0); } }

.stage { position: relative; min-width: 0; padding: 1rem 0 3rem; perspective: 1200px; }
.tilt { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .4s cubic-bezier(.2,.8,.2,1); transform-style: preserve-3d; }
.float { position: absolute; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: .9rem 1rem; font-size: .8rem; transform: translate(var(--px, 0), var(--py, 0)); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.float b { font-weight: 600; }
.float small { display: block; color: var(--muted); font-size: .72rem; }
.f-lead { right: -.5rem; top: 14%; display: flex; gap: .7rem; align-items: center; max-width: 230px; animation: bob 6s ease-in-out infinite; }
.f-lead .dot { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--merlot); color: var(--merlot-ink); display: grid; place-items: center; font-weight: 600; font-size: .8rem; }
.f-email { left: -1rem; bottom: .5rem; width: min(260px, 72%); animation: bob 7s ease-in-out -2s infinite; }
.f-email .from { display: flex; justify-content: space-between; color: var(--muted); font-size: .7rem; margin-bottom: .35rem; }
.f-email b { display: block; font-family: var(--display); font-weight: 500; font-size: 1rem; line-height: 1.3; }
.f-rank { right: 6%; bottom: -0.5rem; display: flex; align-items: center; gap: .6rem; animation: bob 8s ease-in-out -4s infinite; }
.f-rank strong { font-family: var(--display); font-size: 1.6rem; font-weight: 500; color: var(--merlot); line-height: 1; }
@keyframes bob { 50% { translate: 0 -8px; } }
@media (max-width: 560px) { .f-lead { right: .25rem; top: -1rem; } .f-email { left: .25rem; } .f-rank { display: none; } }

/* Browser + mock sites (shared by hero and portfolio) */
.browser { background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: .4rem; padding: .65rem .9rem; border-bottom: 1px solid var(--line); background: var(--card); position: relative; z-index: 2; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); display: block; }
.browser-bar span { margin-left: .75rem; font-size: .72rem; color: var(--muted); background: var(--surface); padding: .2rem .8rem; border-radius: 999px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viewport { aspect-ratio: 16 / 11; overflow: hidden; position: relative; max-width: 100%; }
.site-mock { transition: transform 3.5s cubic-bezier(.45,.05,.3,1); }
.work-card:hover .site-mock, .work-card:focus-within .site-mock { transform: translateY(calc(-100% + var(--vh, 300px))); }

/* Mock: Maison Flora (florist) */
.m { font-family: var(--body); color: #2B2420; font-size: 10px; line-height: 1.4; }
.m h5 { margin: 0; font-weight: 500; }
.m-nav { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.m-nav b { font-size: 14px; letter-spacing: 0; text-transform: none; }
.m-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 10px 20px 22px; align-items: center; }
.m-hero h5 { font-size: 24px; line-height: 1.05; margin-bottom: 10px; }
.m-pill { display: inline-block; padding: 6px 12px; border-radius: 99px; font-size: 9px; font-weight: 600; }
.m-photo { aspect-ratio: 4/5; border-radius: 10px; position: relative; overflow: hidden; }
.m-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 20px 22px; }
.m-grid div { aspect-ratio: 1; border-radius: 8px; }
.m-grid p { margin-top: 5px; font-size: 9px; }
.m-band { padding: 22px 20px; text-align: center; }
.m-band h5 { font-size: 18px; margin-bottom: 6px; }
.m-foot { padding: 18px 20px; font-size: 9px; display: flex; justify-content: space-between; }

.flora { background-color: #FBF6F2; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cdefs%3E%3Cg id='f'%3E%3Ccircle cy='-5' r='4'/%3E%3Ccircle cx='4.8' cy='-1.5' r='4'/%3E%3Ccircle cx='3' cy='4' r='4'/%3E%3Ccircle cx='-3' cy='4' r='4'/%3E%3Ccircle cx='-4.8' cy='-1.5' r='4'/%3E%3C/g%3E%3C/defs%3E%3Cg fill='%23E3A9A3' fill-opacity=%27.13%27%3E%3Cuse href='%23f' transform='translate(22 24)'/%3E%3Cuse href='%23f' transform='translate(70 66) scale(.75)'/%3E%3Ccircle cx='48' cy='12' r='1.6'/%3E%3Ccircle cx='12' cy='76' r='1.6'/%3E%3Ccircle cx='86' cy='34' r='1.3'/%3E%3C/g%3E%3Cg fill='%23C9A15A' fill-opacity=%27.18%27%3E%3Ccircle cx='22' cy='24' r='1.8'/%3E%3Ccircle cx='70' cy='66' r='1.4'/%3E%3C/g%3E%3Cg fill='%238FA27E' fill-opacity=%27.11%27%3E%3Cellipse cx='34' cy='32' rx='5.5' ry='2' transform='rotate(35 34 32)'/%3E%3Cellipse cx='12' cy='34' rx='4.5' ry='1.8' transform='rotate(-40 12 34)'/%3E%3Cellipse cx='58' cy='60' rx='4.5' ry='1.8' transform='rotate(-30 58 60)'/%3E%3Cellipse cx='80' cy='78' rx='4' ry='1.6' transform='rotate(40 80 78)'/%3E%3Cellipse cx='76' cy='16' rx='4' ry='1.6' transform='rotate(20 76 16)'/%3E%3C/g%3E%3C/svg%3E"); background-size: 260px 260px; background-position: 40px -30px; }

.flora h5, .flora .m-nav b { font-family: var(--display); }
.flora .m-pill { background: #3E4A3A; color: #FBF6F2; }
.flora .m-photo { background: radial-gradient(circle at 35% 38%, #E8A7A0 0 13%, transparent 14%), radial-gradient(circle at 60% 30%, #F2C9B8 0 11%, transparent 12%), radial-gradient(circle at 52% 55%, #D98A8E 0 15%, transparent 16%), radial-gradient(circle at 30% 65%, #F6E1D3 0 10%, transparent 11%), radial-gradient(circle at 70% 58%, #B9606D 0 9%, transparent 10%), radial-gradient(ellipse at 50% 100%, #6F8A5E 0 35%, transparent 36%), linear-gradient(170deg, #EAD9CB, #CFB6A4); }
.flora .m-grid div:nth-child(1) { background: radial-gradient(circle at 50% 45%, #E8A7A0 0 22%, transparent 23%), #EADFD6; }
.flora .m-grid div:nth-child(2) { background: radial-gradient(circle at 50% 45%, #F3D9A8 0 22%, transparent 23%), #E4E1D2; }
.flora .m-grid div:nth-child(3) { background: radial-gradient(circle at 50% 45%, #B9606D 0 22%, transparent 23%), #EBDCDA; }
.flora .m-band { background: #3E4A3A; color: #FBF6F2; }

/* Mock: Northbound Coffee (Shopify) */
.coffee { background: #1F1813; color: #F3E9DD; }
.coffee .m-nav b { font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 11px; }
.coffee .m-hero h5 { font-weight: 700; text-transform: uppercase; font-size: 22px; letter-spacing: -.01em; }
.coffee .m-pill { background: #E07A3A; color: #1F1813; }
.coffee .m-photo { aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 50%, #3A2618 0 30%, #C8946A 31% 33%, #6B4428 34% 60%, transparent 61%), radial-gradient(circle, #2D221A, #1F1813); }
.coffee .m-grid div { background: linear-gradient(180deg, transparent 15%, #E07A3A 15% 85%, transparent 85%) center / 40% 100% no-repeat, #2D221A; }
.coffee .m-grid div:nth-child(2) { background-color: #3A2B20; background-image: linear-gradient(180deg, transparent 15%, #9AB0A2 15% 85%, transparent 85%); }
.coffee .m-grid div:nth-child(3) { background-image: linear-gradient(180deg, transparent 15%, #F3E9DD 15% 85%, transparent 85%); }
.coffee .m-band { background: #E07A3A; color: #1F1813; }

/* Mock: Hale & Co. Law (service firm) */
.law { background: #F4F5F7; color: #14213D; }
.law .m-nav { background: #14213D; color: #E9ECF2; }
.law h5, .law .m-nav b { font-family: Georgia, serif; }
.law .m-hero { grid-template-columns: 1.2fr .8fr; }
.law .m-pill { background: #C9A227; color: #14213D; }
.law .m-photo { aspect-ratio: 4/5; background: radial-gradient(ellipse at 50% 34%, #C9B8A8 0 14%, transparent 15%), radial-gradient(ellipse at 50% 92%, #2E3A55 0 42%, transparent 43%), linear-gradient(180deg, #DDE1E8, #B6BDCB); }
.law .m-grid div { aspect-ratio: 4/3; background: #FFFFFF; border: 1px solid #D9DDE4; }
.law .m-grid div::before { content: ""; display: block; width: 26%; aspect-ratio: 1; margin: 18% auto 0; border-radius: 50%; background: #C9A227; opacity: .8; }
.law .m-band { background: #E9ECF2; }

/* Mock: Glow Lab (skincare Shopify) */
.glow { background: #FFF7F3; color: #3A2E39; }
.glow .m-nav b { font-family: var(--display); font-style: italic; font-size: 16px; }
.glow .m-hero h5 { font-family: var(--display); font-style: italic; }
.glow .m-pill { background: #3A2E39; color: #FFF7F3; }
.glow .m-photo { aspect-ratio: 1; border-radius: 50% 50% 12px 12px; background: linear-gradient(180deg, transparent 22%, #F6D5C8 22% 30%, #FBE7DF 30% 88%, transparent 88%) center / 34% 100% no-repeat, radial-gradient(circle at 50% 60%, #F9E3D8, #EFC6B7); }
.glow .m-grid div:nth-child(1) { background: linear-gradient(180deg, transparent 25%, #CFE3D6 25% 85%, transparent 85%) center / 32% 100% no-repeat, #F7EAE4; }
.glow .m-grid div:nth-child(2) { background: linear-gradient(180deg, transparent 25%, #F3C9C1 25% 85%, transparent 85%) center / 32% 100% no-repeat, #F7EAE4; }
.glow .m-grid div:nth-child(3) { background: linear-gradient(180deg, transparent 25%, #E6D7F0 25% 85%, transparent 85%) center / 32% 100% no-repeat, #F7EAE4; }
.glow .m-band { background: #F3C9C1; }

/* Marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding-block: 1.4rem; }
.track { display: flex; gap: 3rem; width: max-content; animation: slide 38s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.track span { font-family: var(--display); font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.2rem); white-space: nowrap; display: flex; align-items: center; gap: 3rem; transition: color .2s ease; }
.track span:hover { color: var(--merlot); font-style: italic; }
.track span::after { content: "✦"; font-size: .6em; color: var(--gilt); }
@keyframes slide { to { transform: translateX(-50%); } }

/* Work */
.work-grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .work-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2rem; } .work-card:nth-child(even) { margin-top: 4rem; } }
.work-card { text-decoration: none; display: grid; gap: 1.1rem; min-width: 0; outline: none; }
.work-card .browser { transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s ease; }
.work-card:hover .browser, .work-card:focus-visible .browser { transform: translateY(-8px); box-shadow: 0 40px 70px -30px rgb(40 20 30 / .45); }
.work-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.work-meta h3 { font-size: 1.5rem; }
.work-meta p { color: var(--muted); font-size: .92rem; }
.tags { display: flex; gap: .4rem; flex-wrap: wrap; }
.tags span { font-size: .72rem; font-weight: 600; letter-spacing: .04em; padding: .3rem .7rem; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); transition: background .2s, color .2s, border-color .2s; }
.work-card:hover .tags span { border-color: var(--merlot); color: var(--merlot); }
.work-note { margin-top: 2.5rem; font-size: .85rem; color: var(--muted); }

/* Problem */
.split { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .split { grid-template-columns: 0.9fr 1.1fr; gap: 5rem; } }
.split h2 { font-size: var(--step-3); margin-top: .9rem; }
/* Problem panel: a wine card that lifts off the page */
.pain { padding-top: 0; }
.pain-panel { --wine: #3F0F1E; --cream: #F8F1EC; --gold: #C9A56E;
  margin-inline: clamp(8px, 2vw, 28px); border-radius: clamp(20px, 3vw, 36px); padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem);
  color: var(--cream); position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(60% 80% at 100% 0%, #5A1A2C, transparent 70%), radial-gradient(50% 70% at 0% 100%, #2A0A14, transparent 70%), var(--wine);
  box-shadow: 0 40px 80px -40px rgb(63 15 30 / .55); }
.pain-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgb(255 255 255 / .07) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%); mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.pain .eyebrow { color: var(--gold); }
.pain-head { align-self: start; }
@media (min-width: 900px) { .pain-head { position: sticky; top: 7rem; } }
.pain h2 { color: var(--cream); }
.strike { display: inline-block; position: relative; color: rgb(248 241 236 / .55); }
.strike::after { content: ""; position: absolute; left: -2%; right: -2%; top: 55%; height: .07em; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.6,.1,.2,1) .35s; }
.mark { position: relative; white-space: nowrap; z-index: 0; }
.mark::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.1em; height: .3em; z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8c40-6 90-7 196-3' fill='none' stroke='%23C9A56E' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
  clip-path: inset(0 100% 0 0); transition: clip-path 1s cubic-bezier(.6,.1,.2,1) 1.1s; }
.rv.in .strike::after, .no-js .strike::after { transform: scaleX(1); }
.rv.in .mark::after, .no-js .mark::after { clip-path: inset(0); }
.pain-lede { margin: 1.4rem 0 2rem; color: rgb(248 241 236 / .72); max-width: 32rem; }
.btn-light { background: var(--cream); color: var(--wine); }
.btn-light::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: translateY(101%); transition: transform .35s cubic-bezier(.6,.1,.2,1); z-index: -1; border-radius: inherit; }
.btn-light:hover::after { transform: translateY(0); }
.symptoms { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.symptoms li { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; padding: 1.6rem 1.6rem 1.5rem; border-radius: 18px;
  background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .1);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), background .35s ease, border-color .35s ease; }
.symptoms li:hover { background: rgb(255 255 255 / .09); border-color: rgb(201 165 110 / .55); transform: translateX(-6px); }
.symptoms .x { font-family: var(--display); font-weight: 500; font-size: clamp(2.4rem, 2rem + 1.5vw, 3.4rem); line-height: .9; color: transparent; -webkit-text-stroke: 1px var(--gold); transition: color .35s ease; }
.symptoms li:hover .x { color: var(--gold); }
.symptoms b { display: block; font-family: var(--display); font-weight: 500; font-size: 1.3rem; line-height: 1.25; margin-bottom: .35rem; color: var(--cream); }
.symptoms p { color: rgb(248 241 236 / .7); }
.symptoms .fix { color: var(--cream); font-size: .95rem; max-height: 0; margin-top: 0; opacity: 0; overflow: hidden; transition: max-height .45s ease, opacity .35s ease, margin .45s ease; }
.symptoms .fix span { display: inline-block; margin-right: .4rem; padding: .15rem .6rem; border-radius: 999px; background: var(--gold); color: var(--wine); font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; vertical-align: .1em; }
.symptoms li:hover .fix, .symptoms li:focus-within .fix { opacity: 1; max-height: 8rem; margin-top: .9rem; }
@media (hover: none) { .symptoms .fix { opacity: 1; max-height: none; margin-top: .9rem; } }
@media (max-width: 520px) { .symptoms li { grid-template-columns: 1fr; gap: .6rem; padding: 1.3rem; } }
@media (prefers-reduced-motion: reduce) { .strike::after { transform: scaleX(1); } .mark::after { clip-path: inset(0); } }

/* Services: hover rows with a cursor-following preview */
.services { background: var(--surface); }
.svc-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.svc-row { position: relative; border-bottom: 1px solid color-mix(in srgb, var(--ink) 25%, transparent); }
.svc-row a { display: grid; grid-template-columns: 1fr; gap: .75rem; padding: 2rem 0; text-decoration: none; position: relative; z-index: 1; transition: padding .4s cubic-bezier(.2,.8,.2,1), color .3s ease; }
@media (min-width: 800px) { .svc-row a { grid-template-columns: 1.1fr 1.4fr auto; align-items: center; gap: 2rem; } }
.svc-row::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .45s cubic-bezier(.6,.1,.2,1); }
.svc-row:hover::before { transform: scaleY(1); }
.svc-row:hover a { color: var(--paper); padding-inline: 1.5rem; }
.svc-row h3 { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.5rem); }
.svc-row p { color: var(--muted); transition: color .3s ease; }
.svc-row:hover p { color: color-mix(in srgb, var(--paper) 75%, transparent); }
.svc-go { width: 52px; height: 52px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; font-size: 1.2rem; transition: transform .4s ease, background .3s ease, color .3s ease, border-color .3s; }
.svc-row:hover .svc-go { transform: rotate(-45deg); background: var(--merlot); border-color: var(--merlot); color: var(--merlot-ink); }
.platforms { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; color: var(--muted); font-size: .9rem; }
.platforms b { font-weight: 600; color: var(--ink); padding: .4rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); transition: transform .25s ease, border-color .25s; }
.platforms b:hover { transform: translateY(-3px); border-color: var(--merlot); }

.peek { position: fixed; left: 0; top: 0; width: 280px; pointer-events: none; z-index: 30; opacity: 0; transform: translate(var(--mx, 0), var(--my, 0)) scale(.85) rotate(-3deg); transition: opacity .25s ease, transform .35s cubic-bezier(.2,.8,.2,1); }
.peek.show { opacity: 1; transform: translate(var(--mx, 0), var(--my, 0)) scale(1) rotate(-3deg); }
.peek > div { display: none; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 1rem; font-size: .8rem; color: var(--ink); }
.peek > div.on { display: block; }
.peek .pk-title { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; font-weight: 600; }
.pk-serp b { color: #1A4FB4; font-weight: 500; font-size: .95rem; display: block; }
.pk-serp span { color: #2E7D32; font-size: .72rem; }
.pk-bars { display: flex; align-items: end; gap: 6px; height: 80px; margin-top: .4rem; }
.pk-bars i { flex: 1; background: var(--merlot); border-radius: 3px 3px 0 0; opacity: .85; }
.pk-plan div { display: flex; justify-content: space-between; padding: .4rem 0; border-bottom: 1px solid var(--line); }
@media (hover: none) { .peek { display: none; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-block: 1px solid var(--line); }
.stat { padding: 2.25rem 1rem 2.25rem 0; }
.stat strong { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.stat span { font-size: .92rem; color: var(--muted); }

/* Process */
.steps { display: grid; gap: 2rem; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
.step { position: relative; padding-top: 1.4rem; display: grid; gap: .5rem; align-content: start; border-top: 1px solid var(--line); }
.step::before { content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 100%; background: var(--merlot); transform: scaleX(.12); transform-origin: left; transition: transform .6s cubic-bezier(.6,.1,.2,1); }
.step:hover::before { transform: scaleX(1); }
.step .n { font-family: var(--display); font-style: italic; color: var(--merlot); font-size: 1.15rem; }
.step h3 { font-size: 1.4rem; }
.step p { color: var(--muted); font-size: .98rem; }
.step .time { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gilt); font-weight: 600; }

/* Results */
.results { background: var(--ink); color: var(--paper); }
.results .eyebrow { color: var(--gilt); }
.results h2 { font-size: var(--step-3); margin-top: .9rem; max-width: 20ch; }
.quotes { display: grid; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 900px) { .quotes { grid-template-columns: 1.3fr 1fr; } .quotes .big { grid-row: span 2; } }
.quote { margin: 0; border: 1px solid color-mix(in srgb, var(--paper) 16%, transparent); border-radius: 18px; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); display: flex; flex-direction: column; gap: 1.25rem; transition: transform .4s cubic-bezier(.2,.8,.2,1), background .4s ease, border-color .4s; }
.quote:hover { transform: translateY(-6px); background: color-mix(in srgb, var(--paper) 6%, transparent); border-color: var(--gilt); }
.quote .metric { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.quote .metric strong { font-family: var(--display); font-size: clamp(2.6rem, 2rem + 2vw, 4rem); font-weight: 500; line-height: 1; color: var(--gilt); display: block; }
.quote .metric span { font-size: .85rem; color: color-mix(in srgb, var(--paper) 70%, transparent); }
.quote blockquote { margin: 0; font-family: var(--display); font-size: 1.2rem; line-height: 1.45; }
.quote.big blockquote { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.65rem); }
.quote cite { font-style: normal; font-size: .88rem; color: color-mix(in srgb, var(--paper) 70%, transparent); margin-top: auto; display: flex; align-items: center; gap: .75rem; }
.quote cite i { width: 38px; height: 38px; border-radius: 50%; background: color-mix(in srgb, var(--gilt) 35%, transparent); display: grid; place-items: center; font-style: normal; font-weight: 600; color: var(--paper); flex: none; }
.quote cite b { color: var(--paper); font-weight: 600; }
.stars { color: var(--gilt); letter-spacing: .2em; font-size: .9rem; }

/* About */
.about-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 0.85fr 1.15fr; gap: 5rem; } }
.portrait-wrap { position: relative; max-width: 440px; }
.portrait { aspect-ratio: 4/5; max-width: 100%; border-radius: 220px 220px 18px 18px; background: radial-gradient(ellipse at 50% 40%, color-mix(in srgb, var(--gilt) 25%, transparent) 0 18%, transparent 19%), radial-gradient(ellipse at 50% 100%, color-mix(in srgb, var(--merlot) 35%, var(--surface)) 0 45%, transparent 46%), linear-gradient(170deg, var(--surface), color-mix(in srgb, var(--merlot) 12%, var(--surface))); display: grid; place-items: end center; padding: 2rem; color: var(--muted); font-size: .85rem; text-align: center; border: 1px solid var(--line); transition: border-radius .6s cubic-bezier(.2,.8,.2,1); }
.portrait-wrap:hover .portrait { border-radius: 18px 220px 18px 220px; }
.badge { position: absolute; right: -1rem; top: 12%; width: 120px; height: 120px; border-radius: 50%; background: var(--merlot); color: var(--merlot-ink); display: grid; place-items: center; text-align: center; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; animation: spin 20s linear infinite; }
.badge b { display: block; font-family: var(--display); font-size: 1.8rem; letter-spacing: 0; text-transform: none; }
@keyframes spin { 50% { transform: rotate(8deg) scale(1.04); } }
@media (max-width: 520px) { .badge { right: .5rem; width: 100px; height: 100px; } }
.about h2 { font-size: var(--step-3); margin-block: .9rem 1.5rem; }
.about .body { color: var(--muted); max-width: 38rem; display: grid; gap: 1rem; }
.about .logo { margin-top: 1.75rem; }

/* FAQ */
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-block: 1.4rem; font-family: var(--display); font-weight: 500; font-size: 1.25rem; line-height: 1.3; transition: color .2s ease; }
summary:hover { color: var(--merlot); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--body); font-weight: 400; color: var(--merlot); font-size: 1.6rem; line-height: 1; transition: transform .3s ease; flex: none; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding-bottom: 1.5rem; max-width: 62ch; }

/* CTA */
.cta { background: var(--surface); position: relative; overflow: hidden; }
.cta-card { display: grid; gap: 2.5rem; position: relative; }
@media (min-width: 900px) { .cta-card { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; } }
.cta h2 { font-size: var(--step-3); margin-block: .9rem 1.25rem; }
.cta h2 em { color: var(--merlot); }
.cta ul { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .5rem; }
.cta li::before { content: "✓"; color: var(--merlot); font-weight: 700; margin-right: .6rem; }
form.audit { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); display: grid; gap: 1rem; min-width: 0; box-shadow: var(--shadow); }
form.audit h3 { font-size: 1.5rem; }
form.audit > p { color: var(--muted); font-size: .92rem; }
label { font-size: .85rem; font-weight: 600; display: grid; gap: .35rem; }
input { font: inherit; font-weight: 400; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); width: 100%; transition: border-color .2s, box-shadow .2s; }
input:focus { outline: none; border-color: var(--merlot); box-shadow: 0 0 0 4px color-mix(in srgb, var(--merlot) 15%, transparent); }
form.audit .btn { justify-content: center; border: 0; }
.form-msg { font-size: .88rem; color: var(--merlot); }

/* Footer */
footer { padding-block: 4rem 2.5rem; }
.foot-big { font-family: var(--display); font-size: clamp(2.2rem, 1.4rem + 4vw, 4.5rem); line-height: 1.05; margin-bottom: 3rem; max-width: 16ch; }
.foot-big a { color: var(--merlot); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .4s ease; font-style: italic; }
.foot-big a:hover { background-size: 100% 2px; }
.foot { display: grid; gap: 2rem; }
@media (min-width: 760px) { .foot { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot h4 { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 .9rem; font-weight: 600; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .95rem; }
.foot ul a { text-decoration: none; transition: color .2s; }
.foot ul a:hover { color: var(--merlot); }
.foot .tag { color: var(--muted); font-size: .92rem; margin-top: .5rem; max-width: 28ch; }
.legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .82rem; color: var(--muted); }

/* Cursor ring (pointer devices only) */
.cursor { position: fixed; left: 0; top: 0; width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1px solid var(--merlot); border-radius: 50%; pointer-events: none; z-index: 40; transform: translate(var(--cx, -100px), var(--cy, -100px)); transition: width .3s ease, height .3s ease, margin .3s ease, background .3s ease, border-color .3s; display: grid; place-items: center; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--merlot-ink); }
.cursor span { opacity: 0; transition: opacity .2s; }
.cursor.hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: color-mix(in srgb, var(--merlot) 12%, transparent); }
.cursor.view { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: var(--merlot); border-color: var(--merlot); }
.cursor.view span { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* Scroll reveal: transform only, so content is always readable */
.js .rv { transform: translateY(28px); transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.js .rv.in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { transform: none; }
  .cursor { display: none; }
}


/* Stock photography (Unsplash license) for the concept mock site */
.m-photo, .m-grid div { background-size: cover !important; background-position: center !important; }
.flora .m-photo { background: url(assets/img/maison-flora-concept-0.jpg) center / cover; }
.flora .m-grid div:nth-child(1) { background: url(assets/img/maison-flora-concept-1.jpg) center / cover; }
.flora .m-grid div:nth-child(2) { background: url(assets/img/maison-flora-concept-2.jpg) center / cover; }
.flora .m-grid div:nth-child(3) { background: url(assets/img/maison-flora-concept-3.jpg) center / cover; }


/* Work cards v2: auto-scrolling screenshots, cursor scrub, 3D tilt, glare, phone + chips */
.work-card { position: relative; }
.stage3d { position: relative; perspective: 1400px; }
.stage3d > .browser { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s ease; position: relative; }
.stage3d > .browser::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgb(255 255 255 / .22), transparent 45%); opacity: 0; transition: opacity .3s ease; z-index: 3; }
.work-card:hover .stage3d > .browser::after { opacity: 1; }
.work-card:hover .browser, .work-card:focus-visible .browser { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-8px); }
.stage3d .viewport { contain: paint; isolation: isolate; border-radius: 0 0 13px 13px; }
.shots { will-change: transform; animation: autoscroll var(--dur, 14s) cubic-bezier(.6,0,.4,1) infinite alternate; }
.shots img { display: block; width: 100%; max-width: 100%; height: auto; }
.shots img.overlap { margin-top: -14.0625%; }
.shots.scrub { animation: none; transition: transform .25s ease-out; }
.work-card:hover .site-mock:not(.scrub) { transform: none; }
@keyframes autoscroll { 0%, 12% { transform: translateY(0); } 88%, 100% { transform: translateY(calc(-1 * var(--dist, 0px))); } }
.phone { position: absolute; right: -4%; bottom: -10%; width: 24%; aspect-ratio: 9 / 19; background: var(--ink); border-radius: 22px; padding: 5px; box-shadow: 0 30px 50px -20px rgb(20 10 20 / .55); transform: translate(var(--px, 0), var(--py, 0)) rotate(4deg); transition: transform .6s cubic-bezier(.2,.8,.2,1); z-index: 4; }
.phone-screen { width: 100%; height: 100%; border-radius: 17px; overflow: hidden; background: #fff; }
.chip { position: absolute; z-index: 4; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: .65rem .9rem; box-shadow: var(--shadow); font-size: .78rem; line-height: 1.3; transform: translate(var(--px, 0), var(--py, 0)); transition: transform .6s cubic-bezier(.2,.8,.2,1); animation: bob 7s ease-in-out infinite; }
.chip b { display: block; font-weight: 600; }
.chip small { color: var(--muted); font-size: .7rem; }
.chip::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--merlot); margin-right: .45rem; vertical-align: middle; }
.c-tr { top: 18%; right: -3%; }
.c-bl { bottom: 8%; left: -3%; animation-delay: -3s; }
.visit { font-size: .85rem; font-weight: 600; color: var(--merlot); display: inline-flex; gap: .35rem; margin-top: -.35rem; }
.visit span { transition: transform .25s ease; }
.work-card:hover .visit span { transform: translate(3px, -3px); }
@media (min-width: 800px) { .work-grid { gap: 3.5rem 2.5rem; } }
@media (max-width: 560px) { .phone { right: 2%; } .c-tr { right: 2%; } .c-bl { left: 2%; } }
@media (prefers-reduced-motion: reduce) { .shots { animation: none; } }
/* About photo */
.portrait { padding: 0; overflow: hidden; display: block; }
.portrait img { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: cover; object-position: 62% 40%; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.portrait-wrap:hover .portrait img { transform: scale(1.05); }
.shots img { image-rendering: -webkit-optimize-contrast; }
/* Logo: white background removed in the browser, so the mark sits directly on the page */
.logo img.clean { width: 100%; margin: 0; mix-blend-mode: normal; }

/* WordPress additions */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg.ok { color: #2E7D32; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nav ul.menu { display: none; list-style: none; gap: 2rem; margin: 0; padding: 0; font-size: .95rem; font-weight: 500; }
@media (min-width: 940px) { .nav ul.menu { display: flex; } }
.nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
@media (min-width: 940px) { .nav-toggle { display: none; } }
.nav-actions { display: flex; align-items: center; gap: .5rem; }
.mobile-menu { border-top: 1px solid var(--line); padding-block: 1rem; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.mobile-menu a { display: block; padding: .6rem 0; text-decoration: none; font-family: var(--display); font-size: 1.4rem; }
@media (min-width: 940px) { .mobile-menu { display: none !important; } }
/* Interior pages and blog */
.page-hero { padding-block: clamp(3rem, 2rem + 4vw, 5rem) 1rem; }
.page-hero h1 { font-size: var(--step-4); margin-top: .9rem; }
.entry { padding-block: 2rem clamp(4rem, 3rem + 4vw, 6rem); }
.entry-content { max-width: 70ch; font-size: 1.08rem; }
.entry-content > * + * { margin-top: 1.1rem; }
.entry-content h2 { font-size: var(--step-3); margin-top: 2.5rem; }
.entry-content h3 { font-size: var(--step-2); margin-top: 2rem; }
.entry-content a { color: var(--merlot); }
.entry-content img { max-width: 100%; height: auto; border-radius: 12px; }
.entry-content .alignwide, .entry-content .alignfull { max-width: none; }
.post-list { display: grid; gap: 2rem; }
@media (min-width: 760px) { .post-list { grid-template-columns: repeat(2, 1fr); } }
.post-card { display: grid; gap: .6rem; text-decoration: none; padding: 1.75rem; border: 1px solid var(--line); border-radius: 16px; background: var(--card); transition: transform .3s ease, border-color .3s ease; }
.post-card:hover { transform: translateY(-4px); border-color: var(--merlot); }
.post-card h2 { font-size: 1.5rem; }
.post-card p { color: var(--muted); }
.post-meta { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gilt); font-weight: 600; }
.pagination { margin-top: 3rem; display: flex; gap: 1rem; }
.logo img { height: auto; }
.admin-bar header.site { top: 32px; }
@media (max-width: 782px) { .admin-bar header.site { top: 46px; } }
.wrap.entry-content { max-width: var(--wrap); }
.entry-content > * { max-width: 70ch; }

/* Get in touch dock: slides up after the hero, opens into a short form */
.nav-inquiry { border-color: var(--line); }
@media (max-width: 700px) { .nav-inquiry { display: none; } }
.inquiry { position: fixed; z-index: 90; left: 50%; bottom: max(14px, env(safe-area-inset-bottom, 0px)); width: min(760px, calc(100% - 24px));
  transform: translate(-50%, calc(100% + 40px)); visibility: hidden; transition: transform .6s cubic-bezier(.2,.8,.2,1), visibility 0s linear .6s; color: var(--ink); }
.inquiry.is-shown, .inquiry.is-open { transform: translate(-50%, 0); visibility: visible; transition-delay: 0s; }
.inquiry-bar, .inquiry-panel { background: var(--card); border: 1px solid var(--line); box-shadow: 0 24px 60px -20px rgb(40 20 30 / .45); }
.inquiry-bar { display: flex; align-items: center; gap: 1rem; padding: .6rem .6rem .6rem 1.4rem; border-radius: 999px; }
.inquiry-bar p { margin: 0; flex: 1; font-size: .92rem; line-height: 1.35; }
.inquiry-bar p span { color: var(--muted); }
.inquiry-bar .btn { padding: .8rem 1.3rem; font-size: .9rem; border: 0; white-space: nowrap; }
.inquiry-bar .btn .arrow { transition: transform .25s ease; }
.inquiry-bar .btn:hover .arrow { transform: translateY(-3px); }
.inquiry-dismiss, .inquiry-close { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 1.3rem; line-height: 1; cursor: pointer; transition: background .2s, color .2s; }
.inquiry-dismiss:hover, .inquiry-close:hover { background: var(--ink); color: var(--paper); }
.inquiry.is-open .inquiry-bar { display: none; }
.inquiry-panel { border-radius: 24px; padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); max-height: calc(100dvh - 110px); overflow: auto; overscroll-behavior: contain; animation: inquiry-in .45s cubic-bezier(.2,.8,.2,1); }
@keyframes inquiry-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.inquiry-head { display: flex; justify-content: space-between; align-items: start; gap: 1rem; margin-bottom: 1.2rem; }
.inquiry-head h2 { font-size: var(--step-2); margin-top: .4rem; }
.inquiry-form { display: grid; gap: 1rem; }
.inquiry-form label { display: grid; gap: .35rem; font-size: .85rem; font-weight: 600; }
.inquiry-grid { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.inquiry-form input, .inquiry-form textarea { padding: .75rem .9rem; }
.inquiry-form textarea { font: inherit; font-weight: 400; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); width: 100%; resize: vertical; transition: border-color .2s, box-shadow .2s; }
.inquiry-form textarea:focus { outline: none; border-color: var(--merlot); box-shadow: 0 0 0 4px color-mix(in srgb, var(--merlot) 15%, transparent); }
.inquiry-needs { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.inquiry-needs legend { font-size: .85rem; font-weight: 600; margin-bottom: .5rem; padding: 0; }
.chip-check { position: relative; display: inline-flex !important; cursor: pointer; }
.chip-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-check span { padding: .5rem .95rem; border-radius: 999px; border: 1px solid var(--line); font-weight: 500; font-size: .88rem; transition: background .2s, border-color .2s, color .2s; }
.chip-check:hover span { border-color: var(--merlot); }
.chip-check input:checked + span { background: var(--merlot); border-color: var(--merlot); color: var(--merlot-ink); }
.chip-check input:focus-visible + span { outline: 2px solid var(--merlot); outline-offset: 2px; }
.inquiry-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.inquiry-actions .btn { border: 0; }
.inquiry-call { color: var(--merlot); font-weight: 600; font-size: .92rem; }
.inquiry .form-msg { margin: 0 0 1rem; }
@media (max-width: 600px) {
  .inquiry-bar { border-radius: 20px; padding: .8rem .8rem .8rem 1rem; }
  .inquiry-bar p span { display: none; }
  .inquiry-panel { max-height: calc(100dvh - 70px); }
}
@media (prefers-reduced-motion: reduce) { .inquiry { transition: none; } .inquiry-panel { animation: none; } }
.legal a { color: inherit; text-underline-offset: 3px; }
.legal a:hover { color: var(--merlot); }
