/* tastemaker: macro=Bento Showcase | nav=N-sticky-hide-compact | hero=H-asym-split-photo+floating-product-card | footer=Ft-ink-4col+legal-strip | mood=elegant/light | palette seed=41 (elegant, complementary) | contrast: text/bg 16.36, primary/on-primary 4.93, bg/primary 4.67, bg/accent 4.59 | critique: show-dont-tell 4, hierarchy 4, specificity 4, restraint 4, variety 4, philosophy 4, color 4, mood 4, type 4, spatial 4, overall 4 */

/* ---------- Tokens ---------- */
:root {
  --bg: #fdf8f0;
  --surface: #f3eee6;
  --surface-2: #ebdcc6;
  --text: #1f1a11;
  --muted: #5e5547;
  --primary: #916929;
  --primary-ink: #6f4f1c;
  --on-primary: #ffffff;
  --accent: #4c73a8;
  --border: #e3ddd6;
  --ink: #1f1a11;
  --ink-2: #2b2418;
  --cream: #fdf8f0;
  --cream-muted: #d9cfbf;

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Figtree", "Helvetica Neue", Arial, system-ui, sans-serif;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-6: 24px; --s-8: 32px;
  --s-12: 48px; --s-16: 64px; --s-24: 96px; --s-32: 128px; --s-40: 160px;

  --r-sm: 6px; --r-md: 14px; --r-lg: 22px; --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(31, 26, 17, .06), 0 4px 12px rgba(31, 26, 17, .05);
  --shadow-2: 0 2px 6px rgba(31, 26, 17, .07), 0 18px 40px rgba(31, 26, 17, .10);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --dur-micro: 160ms;
  --dur-ui: 240ms;

  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  font-optical-sizing: auto;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 5.2rem); font-weight: 350; }
h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height: 1.2; }
h4 { font-size: 1.15rem; line-height: 1.3; }
em, .it { font-style: italic; }
h1 em, h2 em { font-weight: 300; color: var(--primary-ink); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }

.section { padding-block: clamp(72px, 9vw, 136px); }
.section--hero-weight { padding-block: clamp(96px, 12vw, 176px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--surface { background: var(--surface); }
.section--ink { background: var(--ink); color: var(--cream); }
.section--ink .muted { color: var(--cream-muted); }
.section--ink .form-card .muted { color: var(--muted); }
.section--ink .form-card .text-link { color: var(--primary-ink); }
.section--ink h2 em { color: #d9b36f; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary-ink); margin-bottom: var(--s-6);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section--ink .eyebrow { color: #d9b36f; }

.lead { font-size: clamp(1.05rem, 1.3vw, 1.22rem); line-height: 1.6; color: var(--muted); max-width: 60ch; }
.section--ink .lead { color: var(--cream-muted); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

.section-head { display: grid; grid-template-columns: 1fr; gap: var(--s-6); margin-bottom: clamp(40px, 5vw, 72px); align-items: end; }
.section-head h2 { margin: 0; max-width: 18ch; }
.section-head .lead { margin: 0; }
@media (min-width: 900px) { .section-head { grid-template-columns: 1.1fr 1fr; gap: var(--s-16); } }
.section-head--center { text-align: center; justify-items: center; grid-template-columns: 1fr !important; }
.section-head--center h2 { max-width: 22ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  border-radius: var(--r-pill); border: 1px solid transparent;
  font-weight: 600; font-size: .98rem; text-decoration: none; line-height: 1;
  transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out);
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--primary); color: var(--on-primary); }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ghost { border-color: var(--text); color: var(--text); background: transparent; }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--outline-light { border-color: rgba(253, 248, 240, .6); color: var(--cream); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: .92rem; }
.btn:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--primary-ink); }
  .btn--ink:hover { background: var(--ink-2); }
  .btn--ghost:hover { background: var(--text); color: var(--cream); }
  .btn--light:hover { background: #fff; }
  .btn--outline-light:hover { background: var(--cream); color: var(--ink); }
  .btn:hover .icon { transform: translateX(3px); }
}
.btn .icon { transition: transform var(--dur-ui) var(--ease-out); }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--primary-ink); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link .icon { width: 16px; height: 16px; transition: transform var(--dur-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .text-link:hover .icon { transform: translate(2px, -2px); } }
.section--ink .text-link { color: #e2c38a; }

.link-btn { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; }

.icon { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Announce bar ---------- */
.announce { background: var(--ink); color: var(--cream); font-size: .82rem; letter-spacing: .02em; }
.announce__track { max-width: var(--container); margin-inline: auto; padding: 9px var(--gutter); display: flex; justify-content: center; gap: 40px; }
.announce span { display: inline-flex; align-items: center; gap: 8px; }
.announce .icon { color: #d9b36f; }
@media (max-width: 760px) { .announce span:not(:first-child) { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 248, 240, .9);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: transform 280ms var(--ease-out), border-color var(--dur-ui) var(--ease-out);
}
.site-header.is-scrolled { border-color: var(--border); box-shadow: 0 6px 24px rgba(31, 26, 17, .05); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); height: var(--header-h); }
.brand img { width: 168px; height: auto; }
.main-nav ul { list-style: none; display: flex; gap: clamp(16px, 2vw, 30px); }
.main-nav a { position: relative; text-decoration: none; font-size: .95rem; font-weight: 500; padding: 6px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--primary); transform: scaleX(0.001); transform-origin: left; transition: transform var(--dur-ui) var(--ease-out); }
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .main-nav a:hover::after { transform: scaleX(1); } }
.site-header__actions { display: flex; align-items: center; gap: var(--s-4); }
.header-phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 500; font-size: .92rem; }
.header-phone .icon { color: var(--primary); }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--border); border-radius: 50%; background: var(--bg); align-items: center; justify-content: center; }
.burger .icon { width: 22px; height: 22px; }
@media (max-width: 1180px) { .header-phone span { display: none; } }
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .burger { display: inline-flex; }
}
@media (max-width: 520px) {
  .site-header__actions .btn { display: none; }
  .brand img { width: 140px; }
}

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 120; background: rgba(31, 26, 17, .45); }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  background: var(--bg); padding: 20px 24px 32px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 28px;
  animation: drawer-in 300ms var(--ease-out);
}
@keyframes drawer-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer__top { display: flex; justify-content: space-between; align-items: center; }
.drawer__close { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border); background: transparent; display: inline-flex; align-items: center; justify-content: center; }
.drawer__close .icon { width: 22px; height: 22px; }
.drawer nav ul { list-style: none; }
.drawer nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); font-family: var(--serif); font-size: 1.6rem; text-decoration: none; }
.drawer nav a[aria-current="page"] { color: var(--primary-ink); font-style: italic; }
.drawer__contact { display: grid; gap: 12px; font-size: .95rem; }
.drawer__contact a, .drawer__contact p { display: flex; gap: 10px; align-items: center; margin: 0; text-decoration: none; }
.drawer__contact .icon { color: var(--primary); }

/* ---------- Hero (home) ---------- */
.hero { padding-block: clamp(28px, 4vw, 48px) clamp(72px, 9vw, 128px); position: relative; }
.hero__grid { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 56px); align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
.hero h1 { font-size: clamp(2.4rem, 4.4vw, 4.3rem); }
.hero h1 { margin-bottom: var(--s-6); }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1 .w > span { display: inline-block; }
.hero .lead { margin-bottom: var(--s-8); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-bottom: var(--s-8); }
.hero__proof { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .9rem; color: var(--muted); }
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof .icon { color: var(--primary); }
.hero__media { position: relative; }
.hero__frame { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 2; background: var(--surface-2); }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero__card {
  position: absolute; left: clamp(-40px, -3vw, -16px); bottom: clamp(-32px, -3vw, -20px);
  display: flex; align-items: center; gap: 14px;
  background: var(--bg); border-radius: var(--r-md); padding: 10px 18px 10px 10px;
  box-shadow: var(--shadow-2); text-decoration: none; max-width: 300px;
}
.hero__card img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; }
.hero__card strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.15rem; }
.hero__card span { font-size: .85rem; color: var(--muted); }
.hero__card .price { color: var(--text); font-weight: 600; }
@media (max-width: 979px) { .hero__card { left: 12px; bottom: -24px; } }

/* ---------- Assurance strip ---------- */
.assure { border-block: 1px solid var(--border); }
.assure ul { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); }
.assure li { display: flex; gap: 14px; align-items: flex-start; padding: 28px 20px; border-right: 1px solid var(--border); }
.assure li:nth-child(2n) { border-right: 0; }
.assure li:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
.assure .icon { width: 30px; height: 30px; color: var(--primary); }
.assure strong { display: block; font-weight: 600; }
.assure span { font-size: .9rem; color: var(--muted); }
@media (min-width: 900px) {
  .assure ul { grid-template-columns: repeat(4, 1fr); }
  .assure li { border-bottom: 0 !important; border-right: 1px solid var(--border) !important; }
  .assure li:last-child { border-right: 0 !important; }
}

/* ---------- Bento ---------- */
.bento { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
.tile { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 280px; background: var(--surface-2); color: var(--cream); text-decoration: none; display: flex; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 900ms var(--ease-out); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 16, 10, 0) 35%, rgba(20, 16, 10, .72) 100%); }
.tile__body { margin-top: auto; padding: clamp(20px, 2.5vw, 32px); width: 100%; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.tile h3 { margin: 0 0 6px; color: var(--cream); }
.tile p { margin: 0; font-size: .95rem; color: rgba(253, 248, 240, .88); max-width: 34ch; }
.tile__go { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--cream); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; transition: transform var(--dur-ui) var(--ease-out); }
.tile__go .icon { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) {
  .tile:hover img { transform: scale(1.04); }
  .tile:hover .tile__go { transform: rotate(-45deg); }
}
.tile--text { background: var(--ink); color: var(--cream); padding: clamp(24px, 3vw, 40px); flex-direction: column; justify-content: space-between; }
.tile--text::after { display: none; }
.tile--text .big { font-family: var(--serif); font-size: clamp(3.5rem, 7vw, 6rem); line-height: 1; color: #d9b36f; font-weight: 300; }
.tile--text p { color: var(--cream-muted); }
.tile--light { background: var(--surface-2); color: var(--text); padding: clamp(24px, 3vw, 36px); flex-direction: column; justify-content: space-between; gap: 20px; }
.tile--light::after { display: none; }
.tile--light h3 { color: var(--text); }
.tile--light .row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.tile--light .tile__go { background: var(--ink); color: var(--cream); }
.tile--light p { color: var(--muted); }
@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; }
  .tile--a { grid-column: 1 / 3; grid-row: 1 / 3; }
  .tile--b { grid-column: 3 / 5; grid-row: 1; }
  .tile--c { grid-column: 3; grid-row: 2 / 4; }
  .tile--d { grid-column: 4; grid-row: 2; }
  .tile--e { grid-column: 4; grid-row: 3; }
  .tile--f { grid-column: 1 / 3; grid-row: 3; }
}

/* ---------- Product cards ---------- */
.products { display: grid; gap: clamp(20px, 2.4vw, 32px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.pcard { position: relative; display: flex; flex-direction: column; background: var(--bg); border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--border); transition: transform var(--dur-ui) var(--ease-out); }
.pcard::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: var(--shadow-2); opacity: 0; pointer-events: none; transition: opacity var(--dur-ui) var(--ease-out); }
.pcard__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--surface); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.pcard__badge { position: absolute; top: 14px; left: 14px; background: var(--bg); color: var(--text); border-radius: var(--r-pill); padding: 5px 12px; font-size: .75rem; font-weight: 600; letter-spacing: .04em; }
.pcard__badge--new { background: var(--accent); color: #fff; }
.pcard__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pcard h3 { margin: 0; font-size: 1.45rem; }
.pcard__price { font-weight: 600; white-space: nowrap; }
.pcard__meta { font-size: .9rem; color: var(--muted); margin: 0; }
.pcard__desc { font-size: .93rem; margin: 4px 0 0; }
.pcard__foot { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.swatches { display: flex; gap: 6px; list-style: none; }
.swatches li { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(31, 26, 17, .2); }
@media (hover: hover) and (pointer: fine) {
  .pcard:hover { transform: translateY(-4px); }
  .pcard:hover::after { opacity: 1; }
  .pcard:hover .pcard__media img { transform: scale(1.05); }
}
.pcard__spec { list-style: none; display: grid; gap: 4px; font-size: .86rem; color: var(--muted); border-top: 1px solid var(--border); padding-top: 12px; margin-top: 8px; }
.pcard__spec b { color: var(--text); font-weight: 600; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: var(--s-12); }
.chip { border: 1px solid var(--border); background: var(--bg); border-radius: var(--r-pill); padding: 10px 18px; font-size: .92rem; font-weight: 500; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chip small { opacity: .7; margin-left: 4px; }
@media (hover: hover) and (pointer: fine) { .chip:hover { border-color: var(--text); } }
.pcard.is-out { display: none; }

/* ---------- Lens anatomy ---------- */
.anatomy { display: grid; gap: clamp(32px, 5vw, 80px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 980px) { .anatomy { grid-template-columns: 1fr 1fr; } }
.anatomy__visual { position: relative; aspect-ratio: 1 / 1; max-width: 560px; width: 100%; margin-inline: auto; }
.anatomy__visual svg { width: 100%; height: 100%; overflow: visible; }
.anatomy__list { list-style: none; display: grid; gap: 0; counter-reset: layer; }
.anatomy__list li { padding: 22px 0; border-top: 1px solid rgba(253, 248, 240, .16); display: grid; grid-template-columns: 56px 1fr; gap: 12px; transition: opacity var(--dur-ui) var(--ease-out); }
.anatomy__list li:last-child { border-bottom: 1px solid rgba(253, 248, 240, .16); }
.anatomy__list .n { font-family: var(--serif); font-size: 1.8rem; color: #d9b36f; line-height: 1; }
.anatomy__list h3 { margin: 0 0 6px; font-size: 1.3rem; }
.anatomy__list p { margin: 0; color: var(--cream-muted); font-size: .96rem; }

/* ---------- Split / media blocks ---------- */
.split { display: grid; gap: clamp(32px, 5vw, 80px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 940px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-media { grid-template-columns: 1.25fr 1fr; }
  .split--reverse > :first-child { order: 2; }
}
.media { border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); position: relative; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--tall { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 3 / 2; }
.media--square { aspect-ratio: 1 / 1; }
.media figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(253, 248, 240, .92); padding: 6px 12px; border-radius: var(--r-pill); font-size: .82rem; color: var(--text); }
.media-stack { position: relative; padding-bottom: 12%; }
.media-stack .media--inset { position: absolute; right: -4%; bottom: 0; width: 46%; border: 6px solid var(--bg); box-shadow: var(--shadow-2); aspect-ratio: 1 / 1; }
.section--surface .media-stack .media--inset { border-color: var(--surface); }
[data-parallax] { will-change: transform; }

/* Steps */
.steps { list-style: none; display: grid; gap: 0; }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--border); }
.steps li:last-child { border-bottom: 1px solid var(--border); }
.steps .n { font-family: var(--serif); font-size: 2rem; font-weight: 300; color: var(--primary); line-height: 1; }
.steps h3 { font-size: 1.25rem; margin: 0 0 4px; }
.steps p { margin: 0; color: var(--muted); font-size: .97rem; }

/* Three-up visual cards */
.cards { display: grid; gap: clamp(16px, 2vw, 28px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-md); padding: clamp(24px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 12px; }
.section--surface .card { background: var(--bg); }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--muted); }
.card .icon-badge { width: 52px; height: 52px; border-radius: 50%; background: var(--surface-2); display: inline-flex; align-items: center; justify-content: center; color: var(--primary-ink); }
.card .icon-badge .icon { width: 24px; height: 24px; }
.card__figure { background: var(--surface); border-radius: 10px; padding: 18px; display: flex; justify-content: center; }
.card__figure svg { width: 100%; max-width: 220px; height: auto; }
.card--num .num { font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--primary); font-weight: 300; }

/* Choose steps (home) */
.choose { display: grid; gap: clamp(16px, 2vw, 28px); grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 900px) { .choose { grid-template-columns: repeat(3, 1fr); } }
.choose__item { border-top: 2px solid var(--text); padding-top: 22px; display: grid; gap: 14px; }
.choose__item .k { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--primary-ink); }
.choose__fig { background: var(--surface); border-radius: var(--r-md); aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; padding: 20px; }
.choose__fig svg { width: 100%; height: 100%; max-height: 180px; }
.choose__item h3 { margin: 0; }
.choose__item p { margin: 0; color: var(--muted); }

/* ---------- Reviews ---------- */
.reviews { display: grid; gap: clamp(16px, 2vw, 24px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.review { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-md); padding: 28px; display: flex; flex-direction: column; gap: 16px; margin: 0; }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 1.12rem; line-height: 1.5; }
.review figcaption { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .9rem; color: var(--muted); }
.review figcaption strong { color: var(--text); display: block; font-weight: 600; }
.stars { display: flex; gap: 2px; color: var(--primary); }
.stars .icon { width: 16px; height: 16px; }
.review__product { font-size: .78rem; background: var(--surface); padding: 4px 10px; border-radius: var(--r-pill); color: var(--text); white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; font-family: var(--serif); font-size: clamp(1.1rem, 1.5vw, 1.3rem); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 22px; height: 22px; color: var(--primary); transition: transform var(--dur-ui) var(--ease-out); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .answer { padding: 0 0 24px; color: var(--muted); max-width: 70ch; }
.faq .answer p:last-child { margin: 0; }
.faq-group + .faq-group { margin-top: var(--s-16); }
.faq-group h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: var(--s-6); }
.faq-layout { display: grid; gap: var(--s-12); }
@media (min-width: 980px) { .faq-layout { grid-template-columns: 260px 1fr; gap: var(--s-24); } .faq-nav { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
.faq-nav ul { list-style: none; display: grid; gap: 4px; }
.faq-nav a { display: block; padding: 8px 0; text-decoration: none; color: var(--muted); border-left: 2px solid var(--border); padding-left: 14px; }
.faq-nav a:hover, .faq-nav a:focus-visible { color: var(--text); border-color: var(--primary); }

/* ---------- Forms ---------- */
.form-wrap { display: grid; gap: clamp(32px, 5vw, 72px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 980px) { .form-wrap { grid-template-columns: 1fr 1.15fr; } }
.form-card { background: var(--bg); border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 48px); box-shadow: var(--shadow-1); border: 1px solid var(--border); color: var(--text); }
.form-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; }
.field label { font-size: .88rem; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg); border: 1px solid #cfc6b8; border-radius: 10px; padding: 13px 14px;
  transition: border-color var(--dur-micro) var(--ease-out);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(76, 115, 168, .2); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #a63b2b; }
.field .err, .consent .err { color: #a63b2b; font-size: .84rem; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .9rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--primary); }
.consent .err { grid-column: 2; }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.form-foot .small { margin: 0; }
.form-success { display: grid; gap: 12px; justify-items: start; padding: clamp(8px, 2vw, 16px) 0; }
.form-success .tick { width: 56px; height: 56px; border-radius: 50%; background: #e3ecdf; color: #2f5d34; display: inline-flex; align-items: center; justify-content: center; }
.form-success .tick .icon { width: 28px; height: 28px; }
.form-success h3 { margin: 0; }
.form-success p { margin: 0; color: var(--muted); }
.contact-list { list-style: none; display: grid; gap: 18px; margin-top: var(--s-8); }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.contact-list .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2); color: var(--primary-ink); display: inline-flex; align-items: center; justify-content: center; }
.section--ink .contact-list .ic { background: rgba(253, 248, 240, .08); color: #d9b36f; }
.contact-list .ic .icon { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.section--ink .contact-list small { color: var(--cream-muted); }
.contact-list a, .contact-list span { font-size: 1.05rem; text-decoration: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(32px, 5vw, 64px) clamp(56px, 7vw, 96px); }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: var(--s-8); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-hero__grid { display: grid; gap: clamp(32px, 5vw, 64px); grid-template-columns: 1fr; align-items: end; }
@media (min-width: 980px) { .page-hero__grid { grid-template-columns: 1.1fr 1fr; } }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); margin-bottom: var(--s-6); }
.page-hero .media { aspect-ratio: 4 / 3; }
.page-hero--banner .media { aspect-ratio: 21 / 9; margin-top: clamp(32px, 4vw, 56px); }
@media (max-width: 700px) { .page-hero--banner .media { aspect-ratio: 4 / 3; } }
.page-hero--plain { border-bottom: 1px solid var(--border); }

/* ---------- Stats ---------- */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--border); }
.facts div { padding: 28px 20px 28px 0; border-bottom: 1px solid var(--border); }
.facts strong { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 300; line-height: 1; color: var(--primary-ink); margin-bottom: 8px; }
.facts span { color: var(--muted); font-size: .95rem; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, 1fr); } .facts div { padding-right: 28px; } }
.section--ink .facts, .section--ink .facts div { border-color: rgba(253, 248, 240, .16); }
.section--ink .facts strong { color: #d9b36f; }
.section--ink .facts span { color: var(--cream-muted); }

/* ---------- Team ---------- */
.team { display: grid; gap: clamp(20px, 2.4vw, 32px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.person { margin: 0; }
.person .media { aspect-ratio: 4 / 5; margin-bottom: 18px; }
.person h3 { margin: 0 0 4px; }
.person .role { color: var(--primary-ink); font-size: .9rem; font-weight: 600; margin-bottom: 10px; }
.person p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--bg); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 620px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th { background: var(--surface); font-weight: 600; font-size: .85rem; letter-spacing: .04em; }
tbody tr:last-child td { border-bottom: 0; }
td .yes { color: #2f5d34; font-weight: 600; }

/* ---------- Prose (legal) ---------- */
.legal-layout { display: grid; gap: var(--s-12); }
@media (min-width: 1000px) { .legal-layout { grid-template-columns: 240px 1fr; gap: var(--s-24); } .legal-toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
.legal-toc h2 { font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.legal-toc ol { list-style: none; display: grid; gap: 2px; font-size: .92rem; }
.legal-toc a { display: block; padding: 6px 0 6px 12px; text-decoration: none; color: var(--muted); border-left: 2px solid var(--border); }
.legal-toc a:hover { color: var(--text); border-color: var(--primary); }
.prose { max-width: 76ch; }
.prose h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose .table-wrap { margin: 1.2em 0 1.6em; }
.prose .box { background: var(--surface); border-radius: var(--r-md); padding: 22px 24px; margin: 1.4em 0; }
.prose .box p:last-child { margin: 0; }
.updated { font-size: .9rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: var(--r-lg); overflow: hidden; color: var(--cream); isolation: isolate; padding: clamp(40px, 7vw, 96px) clamp(24px, 5vw, 72px); display: grid; gap: 24px; }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 16, 10, .82) 0%, rgba(20, 16, 10, .55) 55%, rgba(20, 16, 10, .2) 100%); }
.cta-band h2 { max-width: 16ch; margin: 0; color: var(--cream); }
.cta-band p { max-width: 48ch; color: rgba(253, 248, 240, .88); margin: 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Showroom info / map ---------- */
.hours { list-style: none; display: grid; gap: 0; }
.hours li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); }
.section--ink .hours li { border-color: rgba(253, 248, 240, .16); }
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4 / 3; background: var(--surface); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Face shape guide */
.shapes { display: grid; gap: clamp(16px, 2vw, 28px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.shape { border: 1px solid var(--border); border-radius: var(--r-md); padding: 28px; background: var(--bg); display: grid; gap: 14px; align-content: start; }
.shape svg { width: 120px; height: 140px; }
.shape h3 { margin: 0; }
.shape p { margin: 0; color: var(--muted); font-size: .96rem; }
.shape .fit { font-size: .9rem; }
.shape .fit b { color: var(--primary-ink); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.tags li a, .tags li span { display: inline-block; font-size: .82rem; background: var(--surface); padding: 4px 10px; border-radius: var(--r-pill); text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--cream); padding-top: clamp(64px, 8vw, 104px); font-size: .95rem; }
.site-footer__top { display: grid; gap: 40px; grid-template-columns: 1fr; padding-bottom: 48px; }
@media (min-width: 720px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .site-footer__top { grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 56px; } }
.site-footer__brand img { width: 190px; margin-bottom: 20px; }
.site-footer__brand p { color: var(--cream-muted); max-width: 40ch; }
.site-footer h2 { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #d9b36f; margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a, .site-footer .link-btn { color: var(--cream); text-decoration: none; }
.site-footer a:hover, .site-footer .link-btn:hover { text-decoration: underline; }
.site-footer .link-btn { text-decoration: none; font-size: inherit; }
.site-footer__contact li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; }
.site-footer__contact .icon { color: #d9b36f; margin-top: 4px; }
.site-footer__contact span { color: var(--cream-muted); }
.site-footer__payments { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-block: 22px; border-top: 1px solid rgba(253, 248, 240, .14); font-size: .85rem; color: var(--cream-muted); }
.site-footer__payments ul { display: flex; flex-wrap: wrap; gap: 8px; }
.site-footer__payments .pay li { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; min-width: 56px; padding: 0 10px; background: #fff; border-radius: 6px; color: var(--ink); font-size: .8rem; font-weight: 600; }
.site-footer__payments .pay img { width: auto; height: 16px; }
.site-footer__payments .pay img[alt="Mastercard"] { height: 22px; }
.site-footer__payments .pay img[alt="American Express"] { height: 24px; }
.site-footer__payments .pay img[alt="Visa"] { height: 13px; }
.site-footer__payments .pay__text .icon { width: 16px; height: 16px; color: var(--primary-ink); }
.site-footer__legal { border-top: 1px solid rgba(253, 248, 240, .14); padding-block: 22px 28px; font-size: .82rem; color: var(--cream-muted); display: grid; gap: 6px; }
.site-footer__legal p { margin: 0; }

/* ---------- Cookie banner ---------- */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; display: flex; justify-content: flex-start; pointer-events: none; }
.cookie__box { pointer-events: auto; position: relative; width: min(560px, 100%); background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: 0 24px 60px rgba(31, 26, 17, .22); padding: 26px 26px 22px; animation: cookie-in 300ms var(--ease-out); max-height: calc(100vh - 32px); overflow-y: auto; }
@keyframes cookie-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.cookie h2 { font-size: 1.35rem; margin: 0 0 8px; padding-right: 36px; }
.cookie p { font-size: .9rem; color: var(--muted); margin-bottom: 16px; }
.cookie__close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); background: transparent; display: inline-flex; align-items: center; justify-content: center; }
.cookie__actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.cookie__actions .btn { min-height: 44px; padding: 0 14px; font-size: .9rem; }
.cookie__prefs { display: grid; gap: 10px; margin-bottom: 16px; }
.switch { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; padding: 10px 12px; background: var(--surface); border-radius: 10px; }
.switch input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--primary); }
.switch small { display: block; color: var(--muted); font-size: .8rem; }

/* ---------- Motion initial states ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); }
.js [data-reveal-group] > * { opacity: 0; transform: translateY(20px); }
.js .hero [data-hero] { opacity: 0; }
.js .hero h1 .w > span { transform: translateY(105%); }
.js .hero__frame { clip-path: inset(0 0 100% 0 round 22px); }
.motion-ready [data-reveal], .motion-ready [data-reveal-group] > *, .no-motion [data-reveal], .no-motion [data-reveal-group] > * { will-change: auto; }
.no-motion [data-reveal], .no-motion [data-reveal-group] > *, .no-motion .hero [data-hero] { opacity: 1 !important; transform: none !important; }
.no-motion .hero h1 .w > span { transform: none !important; }
.no-motion .hero__frame { clip-path: none !important; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-reveal-group] > *, .js .hero [data-hero] { opacity: 1 !important; transform: none !important; }
  .js .hero h1 .w > span { transform: none !important; }
  .js .hero__frame { clip-path: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* 404 */
.notfound { text-align: center; padding-block: clamp(80px, 12vw, 160px); }
.notfound .big { font-family: var(--serif); font-size: clamp(6rem, 18vw, 12rem); line-height: 1; color: var(--primary); font-weight: 300; }
.notfound .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
.cta-band .eyebrow, .cta-band h2 em { color: #e2c38a; }
.timeline { list-style: none; display: grid; gap: 0; border-left: 1px solid var(--border); margin-left: 8px; }
.timeline li { position: relative; padding: 0 0 32px 32px; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--primary); }
.timeline .y { font-family: var(--serif); font-size: 1.5rem; color: var(--primary-ink); display: block; line-height: 1.2; }
.timeline h3 { font-size: 1.2rem; margin: 4px 0 6px; }
.timeline p { margin: 0; color: var(--muted); }
.process { display: grid; gap: clamp(20px, 2.4vw, 32px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); counter-reset: proc; }
.process figure { margin: 0; }
.process .media { aspect-ratio: 4 / 3; margin-bottom: 16px; }
.process h3 { margin: 0 0 6px; }
.process p { margin: 0; color: var(--muted); font-size: .96rem; }
.process .k { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--primary-ink); display: block; margin-bottom: 6px; }
.steps .n .icon { width: 28px; height: 28px; }
@media (min-width: 900px) { .products--3 { grid-template-columns: repeat(3, 1fr); } }
/* Le colonne della griglia non devono allargarsi oltre il contenitore (tabelle con min-width) */
.legal-layout > *, .faq-layout > *, .split > *, .form-wrap > *, .page-hero__grid > *, .anatomy > *, .hero__grid > * { min-width: 0; }
