/* ==========================================================================
   DHOME — "Capsule" design system (nuova identità)
   Nero + oro + bianco. Unbounded / Inter Tight / Geist Mono.
   La capsula (la "O" di DHOME) è la forma madre di tutto il sito.
   ========================================================================== */
:root {
  --paper: #f4f2ed;
  --paper-2: #ebe6dc;
  --card: #ffffff;
  --ink: #0b0b0c;
  --ink-2: #1d1c1a;
  --mute: #77726a;
  --line: rgba(11, 11, 12, .1);
  --line-2: rgba(11, 11, 12, .18);
  --gold: #c89f66;
  --gold-d: #8a6630;
  --gold-l: #f3e9d8;
  --gold-2: #e9cf9f;
  --red: #c4553a;
  --display: 'Unbounded', 'Arial Black', sans-serif;
  --sans: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
  --pad: clamp(16px, 4vw, 60px);
  --ease: cubic-bezier(.19, 1, .22, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --shadow: 0 30px 60px -28px rgba(45, 34, 16, .35), 0 2px 6px rgba(11, 11, 12, .05);
  --shadow-lg: 0 50px 100px -40px rgba(45, 34, 16, .45), 0 4px 14px rgba(11, 11, 12, .06);
  --bone: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }

.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.display { font-family: var(--display); font-weight: 600; letter-spacing: -.03em; }
.serif { font-family: var(--display); font-weight: 600; letter-spacing: -.03em; }
h1 em, h2 em, h3 em, .display em, .serif em { font-style: normal; color: var(--gold); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line > span { display: inline-block; will-change: transform; }

/* sfondo con macchie di colore */
.blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blobs i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.blobs i:nth-child(1) { width: 46vw; height: 46vw; left: -12vw; top: -10vw; background: #ecd8b4; }
.blobs i:nth-child(2) { width: 34vw; height: 34vw; right: -8vw; top: 10vh; background: #f6e7c9; animation-delay: -6s; }
.blobs i:nth-child(3) { width: 30vw; height: 30vw; left: 30vw; bottom: -14vw; background: #e2c999; opacity: .35; animation-delay: -11s; }
@keyframes drift { to { transform: translate(6vw, 4vw) scale(1.12); } }

.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-4%, 3%); } 50% { transform: translate(3%, -5%); } 75% { transform: translate(-6%, -2%); } 100% { transform: translate(0, 0); } }

/* ---------- bottoni capsula ---------- */
.btn { --bg: var(--ink); --fg: #fff; position: relative; display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 7px 0 24px; border-radius: 999px; background: var(--bg); color: var(--fg); font-size: 14.5px; font-weight: 500; overflow: hidden; isolation: isolate; white-space: nowrap; box-shadow: 0 16px 30px -16px rgba(11, 11, 12, .6); transition: color .5s var(--ease), box-shadow .5s; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--gold); transform: scale(0, 1); transform-origin: right; transition: transform .7s var(--ease); }
.btn:hover::before { transform: scale(1, 1); transform-origin: left; }
.btn:hover { color: var(--ink); }
.btn .ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); transition: transform .6s var(--ease), background .4s, color .4s; }
.btn:hover .ico { transform: rotate(-45deg); background: var(--ink); color: var(--gold); }
.btn .ico svg { width: 15px; height: 15px; }
.btn-dark { --bg: var(--ink); --fg: #fff; }
.btn-gold { --bg: var(--gold); --fg: var(--ink); box-shadow: 0 16px 30px -16px rgba(200, 159, 102, .9); }
.btn-gold::before { background: var(--ink); }
.btn-gold:hover { color: #fff; }
.btn-gold .ico { background: var(--ink); color: var(--gold); }
.btn-gold:hover .ico { background: var(--gold); color: var(--ink); }
.btn-ink { --bg: var(--ink); --fg: #fff; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5); }
.btn-ink::before { background: var(--gold); }
.btn-ink .ico { color: var(--ink); }
.btn-ink:hover { color: var(--ink); }
.btn-ghost, .btn:not(.btn-gold):not(.btn-dark):not(.btn-ink).btn-light { --bg: #fff; --fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.btn-ghost .ico { background: var(--ink); color: #fff; }
.btn-lime { --bg: var(--gold); --fg: var(--ink); box-shadow: 0 16px 30px -16px rgba(200, 159, 102, .9); }
.btn-lime::before { background: #fff; }
.btn-lime .ico { background: var(--ink); color: var(--gold); }
.btn-ghost::before { background: var(--ink); }
.btn-ghost:hover { color: #fff; }
.btn-sm { height: 44px; padding: 0 5px 0 18px; font-size: 13.5px; }
.btn-sm .ico { width: 34px; height: 34px; }
.link-u { position: relative; }
.link-u::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.link-u:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- cursore ---------- */
.cursor, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 200; pointer-events: none; }
.cursor { width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--gold); }
.cursor-ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 1.5px solid rgba(200, 159, 102, .35); display: grid; place-items: center; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .4s, border-color .4s; }
.cursor-ring span { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .3s; }
.cursor-ring.is-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--gold); border-color: var(--gold); }
.cursor-ring.is-label span { opacity: 1; }
.cursor-ring.is-hover { width: 60px; height: 60px; margin: -30px 0 0 -30px; border-color: var(--gold); background: rgba(200, 159, 102, .06); }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-ring { display: none; } }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px var(--pad); transition: transform .8s var(--ease); pointer-events: none; }
.nav > * { pointer-events: auto; }
.nav.is-hidden { transform: translateY(-140%); }
.nav.no-anim { transition: none; }
.nav-logo { display: flex; align-items: center; height: 52px; padding: 0 20px; border-radius: 999px; background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), var(--shadow); }
.nav-logo img { width: 112px; height: auto; filter: brightness(0); }
.nav-links { position: relative; display: flex; gap: 2px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), var(--shadow); }
.nav-links a { position: relative; z-index: 1; padding: 11px 17px; font-size: 13.5px; font-weight: 500; color: var(--ink); transition: color .35s; }
.nav-links a:hover, .nav-links a.is-active { color: #fff; }
.nav-blob { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: var(--ink); opacity: 0; transition: opacity .3s; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-burger { display: none; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--shadow); }
.nav-burger i { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--ink); border-radius: 2px; }
.mobile-menu { position: fixed; inset: 0; z-index: 99; background: var(--ink); color: #fff; padding: 110px var(--pad) 40px; display: flex; flex-direction: column; justify-content: space-between; clip-path: circle(0% at calc(100% - 42px) 42px); transition: clip-path .9s var(--ease-io); }
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 42px) 42px); }
.mobile-menu a.big { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(36px, 10vw, 72px); line-height: 1.12; letter-spacing: -.03em; }
@media (max-width: 1060px) { .nav-links { display: none; } .nav-burger { display: block; } .nav .btn { display: none; } }

/* ---------- sipario ---------- */
.curtain { position: fixed; inset: 0; z-index: 150; background: var(--ink); display: grid; place-items: center; pointer-events: none; clip-path: inset(0 0 0 0); }
.curtain img { width: min(240px, 50vw); }
.curtain .bar { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }

/* ---------- sezioni comuni ---------- */
.section { position: relative; padding: clamp(100px, 15vh, 180px) var(--pad); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px 0 6px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 30px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.eyebrow::before { content: ''; width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3dc, var(--gold) 55%, var(--gold-d)); }
.eyebrow b { font-weight: 400; color: var(--mute); }
.big-title { font-family: var(--display); font-weight: 600; font-size: clamp(42px, 6.4vw, 112px); line-height: .98; letter-spacing: -.045em; }

/* ---------- campi form ---------- */
.field { position: relative; display: block; margin-bottom: 14px; }
.field span { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; height: 52px; padding: 0 18px; border-radius: 18px; border: 0; outline: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); transition: box-shadow .3s; appearance: none; -webkit-appearance: none; }
.field textarea { height: 100px; padding: 14px 18px; resize: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 22px) 23px, calc(100% - 17px) 23px; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: inset 0 0 0 2px var(--gold), 0 0 0 5px rgba(200, 159, 102, .1); }
.field .is-err, .field input.is-err, .field textarea.is-err { box-shadow: inset 0 0 0 2px var(--red); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--mute); margin: 6px 0 18px; cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; border-radius: 7px; box-shadow: inset 0 0 0 1.5px var(--line-2); margin: 0; display: grid; place-items: center; background: #fff; transition: background .3s; }
.check input:checked { background: var(--gold); box-shadow: none; }
.check input:checked::after { content: ''; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.check.is-err input { box-shadow: inset 0 0 0 2px var(--red); }
.btn.is-loading .lbl { opacity: .45; }
.btn.is-loading .ico svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- ritratti placeholder ---------- */
.ph { --h: 36; position: relative; overflow: hidden; border-radius: inherit; container-type: inline-size; background: radial-gradient(90% 75% at 50% 22%, hsl(var(--h) 40% 93%) 0%, hsl(var(--h) 30% 81%) 60%, hsl(var(--h) 24% 70%) 100%); }
.ph .sil { position: absolute; left: 50%; bottom: -3%; width: 84%; transform: translateX(-50%); color: hsl(var(--h) 25% 34%); opacity: .4; }
.ph .ini { position: absolute; left: 7cqw; top: 6cqw; font-family: var(--display); font-weight: 600; font-size: 20cqw; line-height: 1; color: #fff; letter-spacing: -.05em; }
.ph .soon { position: absolute; right: 7cqw; top: 8cqw; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .9); }
.av .ph .ini, .av-mini .ph .ini { left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; font-size: 40cqw; }
.av .ph .sil, .av .ph .soon { display: none; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { position: relative; margin: 0 12px 12px; border-radius: 40px; background: var(--ink); color: #fff; padding: clamp(70px, 10vh, 120px) var(--pad) 28px; overflow: hidden; }
.foot-cta { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; padding-bottom: 50px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.foot-cta h2 { font-family: var(--display); font-weight: 600; font-size: clamp(40px, 6vw, 100px); line-height: .98; letter-spacing: -.045em; }
.foot-cta h2 em { color: var(--gold); }
.foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 40px 0; }
.foot-grid h4 { margin: 0 0 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 400; color: rgba(255, 255, 255, .5); }
.foot-grid a, .foot-grid p { display: block; margin: 0 0 8px; color: rgba(255, 255, 255, .85); font-size: 15px; }
.foot-word svg { width: 100%; height: auto; display: block; }
.foot-legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 14px; color: rgba(255, 255, 255, .45); }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   AGENTI — directory
   ========================================================================== */
.page-top { position: relative; padding: clamp(140px, 19vh, 210px) var(--pad) 30px; overflow: hidden; }
.ag-title { position: relative; z-index: 1; font-family: var(--display); font-weight: 600; font-size: clamp(52px, 9vw, 168px); line-height: .92; letter-spacing: -.055em; }
.ag-title em { color: var(--gold); }
.ag-title .cap { display: inline-block; vertical-align: middle; width: 1.5em; height: .74em; margin: 0 .06em; border-radius: 999px; overflow: hidden; background: var(--gold); box-shadow: var(--shadow); position: relative; top: -.06em; }
.ag-title .cap .avs { display: flex; height: 100%; align-items: center; padding-left: .08em; }
.ag-title .cap .avs span { width: .56em; height: .56em; border-radius: 50%; margin-left: -.14em; box-shadow: 0 0 0 .04em var(--gold); overflow: hidden; }
.ag-intro { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-top: 36px; }
.ag-intro p { max-width: 480px; color: var(--mute); margin: 0; font-size: 17px; }
.ag-tools { position: sticky; top: 0; z-index: 20; padding: 88px var(--pad) 14px; margin-top: -70px; background: linear-gradient(180deg, var(--paper) 78%, rgba(242, 242, 238, 0)); }
.ag-tools-in { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.chipbtn { height: 42px; padding: 0 18px; border-radius: 999px; font-size: 13.5px; font-weight: 500; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: background .35s, color .35s, box-shadow .35s; }
.chipbtn:hover { box-shadow: inset 0 0 0 1px var(--gold); }
.chipbtn.is-on { background: var(--ink); color: #fff; box-shadow: 0 10px 22px -10px rgba(11, 11, 12, .6); }
.ag-search { margin-left: auto; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); min-width: 260px; }
.ag-search input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 14px; }
.ag-search svg { width: 16px; height: 16px; opacity: .5; }
.ag-zone { height: 46px; padding: 0 40px 0 18px; border-radius: 999px; border: 0; outline: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line); appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 22px) 20px, calc(100% - 17px) 20px; background-size: 5px 5px; background-repeat: no-repeat; font-size: 13.5px; }
.ag-count { color: var(--mute); padding: 0 var(--pad); margin: 14px 0 0; }
.ag-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 24px var(--pad) 120px; }
.ag-card { position: relative; display: block; padding: 10px; border-radius: 30px; background: #fff; box-shadow: var(--shadow); transition: transform .6s var(--ease), box-shadow .6s; }
.ag-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ag-card .pic { position: relative; aspect-ratio: 4 / 4.4; border-radius: 22px; overflow: hidden; }
.ag-card .pic > * { transition: transform 1.1s var(--ease); }
.ag-card:hover .pic > * { transform: scale(1.06); }
.ag-card .pic img { width: 100%; height: 100%; object-fit: cover; }
.ag-card .hover-cta { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; display: flex; justify-content: space-between; align-items: center; height: 48px; padding: 0 6px 0 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 500; transform: translateY(140%); transition: transform .7s var(--ease); }
.ag-card .hover-cta i { width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--gold); display: grid; place-items: center; font-style: normal; }
.ag-card:hover .hover-cta { transform: translateY(0); }
.ag-card .badge { position: absolute; z-index: 2; top: 10px; left: 10px; height: 28px; padding: 0 12px; display: flex; align-items: center; border-radius: 999px; background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.ag-card .badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); margin-right: 7px; box-shadow: 0 0 0 3px rgba(200, 159, 102, .2); }
.ag-card .info { display: flex; justify-content: space-between; align-items: start; gap: 10px; padding: 14px 8px 6px; }
.ag-card .name { font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1.1; letter-spacing: -.03em; }
.ag-card .role { margin-top: 6px; color: var(--gold-d); }
.ag-card .zone { color: var(--mute); text-align: right; font-size: 13px; }
.ag-empty { grid-column: 1 / -1; padding: 80px 0; text-align: center; color: var(--mute); display: none; }
@media (max-width: 1100px) { .ag-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .ag-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .ag-card .name { font-size: 15px; } .ag-card .zone { display: none; } .ag-search { min-width: 0; flex: 1 1 100%; margin-left: 0; order: -1; } }

/* ==========================================================================
   PAGINA AGENTE + AGENDA
   ========================================================================== */
.ap { position: relative; display: grid; grid-template-columns: minmax(300px, .85fr) 1.15fr; gap: clamp(30px, 5vw, 80px); padding: clamp(110px, 15vh, 140px) var(--pad) 80px; }
.ap-sticky { position: sticky; top: 100px; }
.ap-portrait { position: relative; aspect-ratio: 4 / 5; border-radius: 36px; overflow: hidden; box-shadow: var(--shadow-lg); }
.ap-portrait .ph, .ap-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ap-portrait .rating { position: absolute; z-index: 2; right: 14px; top: 14px; display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 13px; font-weight: 600; }
.ap-portrait .rating svg { width: 13px; height: 13px; color: var(--gold); }
.ap-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px; border-radius: 26px; background: #fff; box-shadow: var(--shadow); }
.ap-stats div { padding: 18px; }
.ap-stats div + div { box-shadow: -1px 0 0 var(--line); }
.ap-stats b { display: block; font-family: var(--display); font-weight: 600; font-size: 30px; line-height: 1; letter-spacing: -.04em; }
.ap-stats span { display: block; margin-top: 6px; color: var(--mute); }
.ap-back { display: inline-flex; align-items: center; gap: 10px; color: var(--mute); margin-bottom: 22px; }
.ap-back:hover { color: var(--gold-d); }
.ap-name { font-family: var(--display); font-weight: 600; font-size: clamp(48px, 6.6vw, 110px); line-height: .92; letter-spacing: -.055em; }
.ap-name em { color: var(--gold); display: block; }
.ap-role { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.pill { height: 34px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; }
.pill.gold { background: var(--gold); color: var(--ink); box-shadow: none; }
.ap-bio { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; color: var(--ink-2); max-width: 620px; margin: 28px 0 0; }

.book { margin-top: 44px; border-radius: 36px; background: #fff; box-shadow: var(--shadow-lg); overflow: hidden; }
.book-tabs { position: relative; display: flex; padding: 6px; margin: 16px 16px 0; border-radius: 999px; background: var(--paper); }
.book-tabs button { position: relative; z-index: 1; flex: 1; height: 46px; border-radius: 999px; font-size: 14px; font-weight: 500; transition: color .35s; }
.book-tabs button.is-on { color: #fff; }
.book-tabs .thumb { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); border-radius: 999px; background: var(--ink); transition: transform .6s var(--ease); }
.book-tabs.second .thumb { transform: translateX(100%); }
.book-pane { padding: 26px clamp(18px, 3vw, 34px) 32px; }
.book-pane[hidden] { display: none; }
.steps { display: flex; gap: 8px; margin-bottom: 22px; }
.steps i { flex: 1; height: 4px; border-radius: 4px; background: var(--paper-2); overflow: hidden; position: relative; }
.steps i::after { content: ''; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.steps i.is-on::after { transform: scaleX(1); }
.book h3 { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.05; letter-spacing: -.04em; margin: 0 0 6px; }
.book .hint { color: var(--mute); margin: 0 0 20px; font-size: 14px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cal-month { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -.03em; text-transform: capitalize; }
.cal-month em { color: var(--mute); font-weight: 400; }
.cal-nav { display: flex; gap: 8px; }
.cal-nav button { width: 44px; height: 44px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; transition: background .3s, color .3s; }
.cal-nav button:hover:not(:disabled) { background: var(--ink); color: #fff; }
.cal-nav button:disabled { opacity: .3; cursor: default; }
.cal-nav svg { width: 14px; height: 14px; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-dow span { text-align: center; padding: 8px 0; color: var(--mute); }
.cal-viewport { position: relative; overflow: hidden; }
.day { position: relative; aspect-ratio: 1 / .9; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; font-size: 16px; font-weight: 500; font-variant-numeric: tabular-nums; background: var(--paper); transition: background .3s, color .3s, box-shadow .3s, transform .45s var(--ease); }
.day .dots { display: flex; gap: 3px; height: 4px; }
.day .dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.day.is-free { cursor: pointer; background: var(--gold-l); color: var(--gold-d); }
.day.is-free:hover { background: var(--gold); color: var(--ink); transform: translateY(-3px); box-shadow: 0 14px 26px -12px rgba(200, 159, 102, .8); }
.day.is-free:hover .dots i { background: var(--ink); }
.day.is-off { color: rgba(11, 11, 12, .22); background: transparent; }
.day.is-full { color: rgba(11, 11, 12, .32); background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.day.is-full::after { content: ''; position: absolute; left: 30%; right: 30%; top: 50%; height: 1.5px; background: rgba(11, 11, 12, .2); transform: rotate(-20deg); }
.day.is-empty { visibility: hidden; }
.day.is-today { box-shadow: inset 0 0 0 2px var(--ink); }
.day.is-sel { background: var(--ink); color: #fff; }
.day.is-sel .dots i { background: var(--gold); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; color: var(--mute); }
.cal-legend span { display: inline-flex; align-items: center; gap: 8px; }
.cal-legend i { width: 12px; height: 12px; border-radius: 4px; }
.slots-wrap { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.slots-wrap[hidden] { display: none; }
.slots-title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.slots-title b { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -.03em; text-transform: capitalize; }
.slots-title span { color: var(--gold-d); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(94px, 1fr)); gap: 8px; }
.slot { height: 52px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); font-weight: 500; font-variant-numeric: tabular-nums; font-size: 15px; transition: background .3s, color .3s, box-shadow .3s, transform .3s; }
.slot:hover:not(:disabled) { box-shadow: inset 0 0 0 2px var(--gold); color: var(--gold-d); transform: translateY(-2px); }
.slot:disabled { color: rgba(11, 11, 12, .25); text-decoration: line-through; cursor: not-allowed; box-shadow: none; background: var(--paper); }
.slot.is-sel { background: var(--ink); color: #fff; box-shadow: none; }
.mtype { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 4px 0 18px; }
.mtype label { position: relative; cursor: pointer; }
.mtype input { position: absolute; opacity: 0; }
.mtype span { display: flex; flex-direction: column; gap: 10px; padding: 16px; height: 100%; border-radius: 22px; background: var(--paper); font-size: 13.5px; font-weight: 500; transition: box-shadow .3s, background .3s, color .3s; }
.mtype span svg { width: 22px; height: 22px; color: var(--gold); }
.mtype input:checked + span { background: var(--ink); color: #fff; box-shadow: 0 14px 26px -12px rgba(11, 11, 12, .6); }
.mtype input:checked + span svg { color: var(--gold); }
.summary { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 26px; background: var(--ink); color: #fff; margin-bottom: 20px; }
.summary .cal-ico { flex: none; width: 56px; height: 60px; border-radius: 18px; background: #fff; color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.summary .cal-ico small { font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-d); margin-bottom: 4px; }
.summary .cal-ico b { font-family: var(--display); font-weight: 600; font-size: 24px; }
.summary .txt { font-size: 13.5px; color: rgba(255, 255, 255, .7); }
.summary .txt b { display: block; font-weight: 500; color: #fff; font-size: 15px; text-transform: capitalize; }
.summary button { margin-left: auto; margin-right: 6px; height: 36px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: 12.5px; }
.bform-actions { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.bform-actions .back { color: var(--mute); font-size: 14px; }
.success { text-align: center; padding: 26px 6px 10px; }
.success svg.house { width: 118px; height: 118px; margin: 0 auto 10px; display: block; }
.success svg.house path { fill: none; stroke: var(--gold); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.success h3 { font-size: clamp(30px, 3vw, 46px); }
.success p { color: var(--mute); max-width: 460px; margin: 14px auto 0; }
.success .when { display: inline-flex; gap: 10px; align-items: center; margin-top: 22px; height: 44px; padding: 0 20px; border-radius: 999px; background: var(--gold-l); color: var(--gold-d); font-size: 14px; font-weight: 500; text-transform: capitalize; }
.success .acts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.spark { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); pointer-events: none; }
.spark:nth-child(3n) { background: var(--ink); }
.spark:nth-child(3n+1) { background: var(--gold-2); }
.ap-list { margin-top: 70px; }
.ap-list h3 { font-family: var(--display); font-weight: 600; font-size: 34px; letter-spacing: -.04em; margin: 0 0 20px; }
@media (max-width: 980px) { .ap { grid-template-columns: 1fr; } .ap-sticky { position: relative; top: 0; } .ap-portrait { aspect-ratio: 4 / 4.2; } }
@media (max-width: 640px) { .mtype { grid-template-columns: 1fr; } .row2 { grid-template-columns: 1fr; } .day { font-size: 14px; border-radius: 12px; } .cal-dow, .cal-grid { gap: 4px; } }

@media (prefers-reduced-motion: reduce) { .grain, .blobs i { animation: none; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
.ag-title .cap .avs span .ph { width: 100%; height: 100%; }
.ag-title .cap .avs span .ph .soon, .ag-title .cap .avs span .ph .sil { display: none; }
.ag-title .cap .avs span .ph .ini { left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; font-size: 38cqw; }
