/* tastemaker stamp: project=bottllecup.com | macrostructure=Long-Scroll Narrative + Editorial Index (projects) | nav=N-sticky-hide-on-scroll+hover-submenu | hero=H-editorial-split-arch-photo | footer=Ft-surface-brand+3col-ledger | mood=warm/elegant (Mediterranean editorial) | palette=hand-tuned from generate_palette warm seed 41, contrast matrix checked | light only */

:root {
  --bg: #f5efe6;
  --surface: #ebe2d4;
  --surface-2: #e3d8c6;
  --paper: #fbf8f3;
  --text: #221a14;
  --muted: #6b5f53;
  --primary: #a2472f;
  --primary-dark: #873a25;
  --accent: #4c5631;
  --accent-dark: #3c4426;
  --border: #d9cdbb;
  --on-dark: #f5efe6;

  --font-display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px; --s-8: 32px;
  --s-10: 40px; --s-12: 48px; --s-16: 64px; --s-20: 80px; --s-24: 96px; --s-32: 128px;
  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1280px;
  --radius: 3px;
  --radius-lg: 6px;
  --arch: 1000px 1000px var(--radius) var(--radius);

  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --dur-micro: 160ms;
  --dur-ui: 220ms;

  --shadow-soft: 0 1px 2px rgba(34, 26, 20, .06), 0 12px 32px -12px rgba(34, 26, 20, .18);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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");
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary); }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.05; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 6.2vw, 5.75rem); line-height: .98; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); line-height: 1.12; }
h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1em; text-wrap: pretty; }
em.serif, .serif-it { font-family: var(--font-display); font-style: italic; font-weight: 500; }
::selection { background: var(--primary); color: #fff; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

.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: 12px; top: -60px; z-index: 300; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; color: var(--bg); }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 600; font-size: 15px; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  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);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--text); color: var(--text); }
.btn-ghost:hover { background: var(--text); color: var(--bg); }
.btn-light { background: var(--bg); color: var(--text); }
.btn-light:hover { background: #fff; color: var(--text); }
.btn-outline-light { border-color: rgba(245, 239, 230, .6); color: var(--on-dark); }
.btn-outline-light:hover { background: var(--on-dark); color: var(--accent-dark); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 16px 30px; font-size: 16px; }
.text-link { font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; display: inline-flex; gap: 8px; align-items: center; }
.text-link span { transition: transform var(--dur-micro) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .text-link:hover span { transform: translateX(4px); } }
.link-button { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 239, 230, .86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: transform 300ms var(--ease-out), border-color var(--dur-ui) var(--ease-out);
}
.site-header.is-scrolled { border-bottom-color: var(--border); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; gap: var(--s-8); min-height: 80px; }
.brand img { width: 196px; height: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav li { position: relative; }
.main-nav > ul > li > a { display: block; padding: 10px 12px; font-size: 15px; font-weight: 500; text-decoration: none; border-radius: var(--radius); }
.main-nav a[aria-current="page"] { color: var(--primary); }
.has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.sub-menu {
  position: absolute; top: calc(100% + 4px); left: 0; min-width: 230px;
  background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 8px; box-shadow: var(--shadow-soft);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--dur-ui) var(--ease-out), transform var(--dur-ui) var(--ease-out), visibility 0s linear var(--dur-ui);
}
.sub-menu a { display: block; padding: 9px 12px; text-decoration: none; font-size: 15px; border-radius: var(--radius); }
.sub-menu a:hover { background: var(--surface); color: var(--text); }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.header-actions { display: flex; align-items: center; gap: var(--s-4); }
.header-phone { font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--border); background: transparent; border-radius: var(--radius); cursor: pointer; position: relative; }
.menu-toggle .bar { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); transition: transform var(--dur-ui) var(--ease-out); }
.menu-toggle .bar:nth-of-type(2) { top: 17px; }
.menu-toggle .bar:nth-of-type(3) { top: 25px; }
.menu-toggle[aria-expanded="true"] .bar:nth-of-type(2) { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bar:nth-of-type(3) { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 72px 0 0 0; z-index: 49;
  background: var(--bg); padding: var(--s-6) var(--gutter) var(--s-12);
  overflow-y: auto; display: flex; flex-direction: column; gap: var(--s-8);
}
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font-family: var(--font-display); font-size: 1.9rem; line-height: 1.2; padding: 8px 0; text-decoration: none; border-bottom: 1px solid var(--border); }
.mobile-menu nav a.sub { font-size: 1.35rem; padding-left: 20px; color: var(--muted); }
.mobile-menu-contact { display: flex; flex-direction: column; gap: 8px; font-weight: 600; }

@media (max-width: 1120px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-block; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 640px) {
  .header-phone { display: none; }
  .header-inner { min-height: 72px; }
  .brand img { width: 158px; }
  .header-actions .btn { display: none; }
}

/* ---------- Section scaffolding ---------- */
.section { padding-block: clamp(72px, 10vw, 136px); }
.section-tight { padding-block: clamp(56px, 7vw, 96px); }
.section-surface { background: var(--surface); }
.section-paper { background: var(--paper); }
.section-dark { background: var(--accent-dark); color: var(--on-dark); }
.section-dark a:hover { color: #fff; }
.section-dark .lead, .section-dark .muted { color: rgba(245, 239, 230, .82); }
.label {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary); margin-bottom: var(--s-6);
}
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-dark .label { color: #e5b8a6; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--s-12); align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); font-size: 1.08rem; max-width: 52ch; }
.section-dark .section-head p { color: rgba(245, 239, 230, .82); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.6; color: var(--muted); }
.muted { color: var(--muted); }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; gap: var(--s-6); } }

/* ---------- Home hero ---------- */
.hero { padding-block: clamp(32px, 5vw, 64px) clamp(64px, 8vw, 112px); }
.hero h1 { font-size: clamp(2.6rem, 5.1vw, 4.7rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; }
.hero h1 em { font-style: italic; color: var(--primary); }
.hero-sub { font-size: clamp(1.08rem, 1.4vw, 1.25rem); color: var(--muted); max-width: 46ch; margin-top: var(--s-6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-10); }
.hero-proof { display: flex; align-items: center; gap: var(--s-4); margin-top: var(--s-10); padding-top: var(--s-6); border-top: 1px solid var(--border); max-width: 520px; }
.hero-proof strong { font-family: var(--font-display); font-size: 2.6rem; font-weight: 500; line-height: 1; color: var(--accent); }
.hero-proof span { font-size: 15px; color: var(--muted); line-height: 1.45; }
.hero-visual { position: relative; }
.hero-arch { border-radius: var(--arch); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); }
.hero-arch img { width: 100%; height: 100%; object-fit: cover; object-position: 38% center; transform-origin: 50% 60%; }
.hero-caption {
  position: absolute; left: -28px; bottom: 36px;
  background: var(--paper); padding: 14px 18px; border-radius: var(--radius);
  box-shadow: var(--shadow-soft); font-size: 14px; line-height: 1.4; max-width: 240px;
}
.hero-caption b { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; width: 100%; margin-inline: auto; }
  .hero-caption { left: 12px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(40px, 6vw, 88px) clamp(40px, 5vw, 72px); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.page-hero h1 { margin-bottom: 0; }
.page-hero .lead { margin: 0; }
.breadcrumbs { font-size: 14px; color: var(--muted); margin-bottom: var(--s-6); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs span[aria-hidden] { margin-inline: 8px; }
.page-hero-image { margin-top: clamp(40px, 5vw, 64px); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 21 / 9; }
.page-hero-image img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-image { aspect-ratio: 4 / 3; }
}

/* ---------- Split blocks ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media.arch { border-radius: var(--arch); aspect-ratio: 4 / 5; }
.split-media.tall { aspect-ratio: 4 / 5; }
.split-media.wide { aspect-ratio: 3 / 2; }
.split-media.square { aspect-ratio: 1; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
}
.prose h2 { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .check-list { padding: 0; list-style: none; margin: 0 0 1.2em; }
.prose ul li, .check-list li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.prose ul li::before, .check-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 14px; height: 1.5px; background: var(--primary); }

/* ---------- Before / after ---------- */
.ba { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 2; user-select: none; background: var(--surface); --pos: 50%; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--paper); transform: translateX(-1px); pointer-events: none; }
.ba-handle::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%; background: var(--paper); color: var(--text);
  display: grid; place-items: center; font-weight: 600; letter-spacing: 2px; box-shadow: var(--shadow-soft);
}
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-tag { position: absolute; top: 16px; padding: 6px 12px; background: rgba(34, 26, 20, .72); color: var(--on-dark); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; border-radius: var(--radius); pointer-events: none; }
.ba-tag.before { left: 16px; }
.ba-tag.after { right: 16px; }
.ba-caption { margin-top: var(--s-4); font-size: 14px; color: var(--muted); }

/* ---------- Problem list ---------- */
.pain-list { counter-reset: pain; margin: var(--s-8) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--border); }
.pain-list li { counter-increment: pain; display: grid; grid-template-columns: 48px 1fr; gap: var(--s-4); padding: var(--s-5) 0; border-bottom: 1px solid var(--border); }
.pain-list li::before { content: counter(pain, decimal-leading-zero); font-family: var(--font-display); font-size: 1.4rem; color: var(--primary); line-height: 1.2; }
.pain-list b { display: block; font-weight: 600; margin-bottom: 2px; }
.pain-list span { color: var(--muted); font-size: 16px; }

/* ---------- Service index ---------- */
.service-index { border-top: 1px solid var(--border); }
.service-row {
  display: grid; grid-template-columns: 80px minmax(0, 1.1fr) minmax(0, 1.2fr) 240px; gap: var(--s-8);
  align-items: center; padding-block: var(--s-8); border-bottom: 1px solid var(--border);
  text-decoration: none; position: relative;
}
.service-row:hover { color: inherit; }
.service-num { font-family: var(--font-display); font-size: 1.6rem; color: var(--primary); }
.service-row h3 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.6rem); transition: transform var(--dur-ui) var(--ease-out); }
.service-row p { margin: 0; color: var(--muted); font-size: 16px; }
.service-row .service-meta { display: block; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--text); }
.service-thumb { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.service-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .service-row:hover h3 { transform: translateX(8px); }
  .service-row:hover .service-thumb img { transform: scale(1.05); }
}
@media (max-width: 980px) {
  .service-row { grid-template-columns: 56px 1fr; }
  .service-row p { grid-column: 2; }
  .service-thumb { grid-column: 1 / -1; aspect-ratio: 16 / 9; order: -1; }
}

/* ---------- Project rail ---------- */
.rail-wrap { position: relative; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(280px, 34vw, 460px); gap: var(--s-6);
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--s-6);
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
  padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1);
  scroll-padding-inline: var(--gutter);
}
.rail > * { scroll-snap-align: start; }
.rail-controls { display: flex; gap: var(--s-2); }
.rail-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--text); background: transparent; cursor: pointer; display: grid; place-items: center; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.rail-btn:hover { background: var(--text); color: var(--bg); }
.project-card { display: block; text-decoration: none; }
.project-card:hover { color: inherit; }
.project-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); position: relative; }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease-out); }
.project-chip { position: absolute; left: 14px; top: 14px; background: var(--paper); padding: 5px 10px; border-radius: var(--radius); font-size: 12.5px; font-weight: 600; letter-spacing: .04em; }
.project-card h3 { margin: var(--s-4) 0 2px; font-size: 1.6rem; }
.project-card .place { color: var(--muted); font-size: 15px; margin: 0; }
@media (hover: hover) and (pointer: fine) { .project-card:hover .project-media img { transform: scale(1.04); } }

/* ---------- Timeline ---------- */
.timeline-wrap { position: relative; }
.timeline { position: relative; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 1px; background: var(--border); }
.timeline-progress { position: absolute; z-index: 1; left: 27px; top: 8px; width: 1px; height: calc(100% - 16px); background: var(--primary); transform-origin: top; transform: scaleY(0); }
.timeline li { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--s-8); padding-block: var(--s-8); border-bottom: 1px solid var(--border); }
.timeline li:last-child { border-bottom: 0; }
.timeline .step-dot { width: 56px; height: 56px; border-radius: 50%; background: var(--bg); border: 1px solid var(--primary); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.35rem; color: var(--primary); position: relative; z-index: 1; }
.section-surface .timeline .step-dot { background: var(--surface); }
.timeline h3 { margin: 6px 0 4px; }
.timeline .step-time { font-size: 14px; font-weight: 600; color: var(--accent); }
.timeline p { margin: 6px 0 0; color: var(--muted); }
.timeline li > p { grid-column: 2; margin-top: -12px; }
.timeline.wide li { grid-template-columns: 56px minmax(0, .9fr) minmax(0, 1.3fr); }
.timeline.wide li > p { grid-column: auto; margin-top: 6px; }
@media (max-width: 860px) { .timeline.wide li { grid-template-columns: 56px 1fr; } .timeline.wide li > p { grid-column: 2; } }

/* ---------- Materials mosaic ---------- */
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s-6); }
.mosaic figure { margin: 0; }
.mosaic .m-media { border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic figcaption { margin-top: var(--s-3); font-size: 15px; color: var(--muted); }
.mosaic figcaption b { color: var(--text); font-weight: 600; display: block; }
.mosaic .m1 { grid-column: 1 / span 4; } .mosaic .m1 .m-media { aspect-ratio: 2 / 3; }
.mosaic .m2 { grid-column: 5 / span 5; align-self: end; } .mosaic .m2 .m-media { aspect-ratio: 1; }
.mosaic .m3 { grid-column: 10 / span 3; } .mosaic .m3 .m-media { aspect-ratio: 2 / 3; }
.mosaic .m4 { grid-column: 3 / span 6; } .mosaic .m4 .m-media { aspect-ratio: 3 / 2; }
.mosaic .m5 { grid-column: 9 / span 4; align-self: center; }
@media (max-width: 860px) {
  .mosaic { grid-template-columns: 1fr 1fr; }
  .mosaic > * { grid-column: auto !important; }
  .mosaic .m4 { grid-column: 1 / -1 !important; }
  .mosaic .m5 { grid-column: 1 / -1 !important; }
}

/* ---------- Testimonials ---------- */
.quote-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.quote-feature blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.2; font-weight: 500; }
.quote-feature cite { display: block; margin-top: var(--s-6); font-family: var(--font-body); font-style: normal; font-size: 15px; }
.quote-feature cite b { display: block; font-size: 16px; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); margin-top: clamp(40px, 6vw, 72px); }
.quote-card { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--s-8); display: flex; flex-direction: column; gap: var(--s-6); }
.section-dark .quote-card { background: rgba(245, 239, 230, .06); border-color: rgba(245, 239, 230, .18); }
.quote-card p { margin: 0; font-size: 16px; }
.quote-card footer { margin-top: auto; font-size: 14px; }
.quote-card footer b { display: block; font-size: 15px; }
.stars { color: var(--primary); display: inline-flex; gap: 3px; }
.section-dark .stars { color: #e5b8a6; }
@media (max-width: 900px) { .quotes, .quote-feature { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.price-list { border-top: 1px solid var(--border); }
.price-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.4fr) minmax(170px, .6fr); gap: var(--s-8); padding-block: var(--s-8); border-bottom: 1px solid var(--border); align-items: start; }
.price-row h3 { margin: 0 0 6px; }
.price-row .price { font-family: var(--font-display); font-size: clamp(1.8rem, 2.6vw, 2.3rem); line-height: 1; text-align: right; }
.price-row .price small { display: block; white-space: nowrap; font-family: var(--font-body); font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.price-row p { margin: 0; color: var(--muted); font-size: 16px; }
.price-row ul { margin: 10px 0 0; }
@media (max-width: 860px) { .price-row { grid-template-columns: 1fr; gap: var(--s-3); } .price-row .price { text-align: left; } }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
.plan { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--s-10) var(--s-8); display: flex; flex-direction: column; }
.plan.featured { background: var(--accent-dark); color: var(--on-dark); border-color: var(--accent-dark); }
.plan.featured .muted, .plan.featured .plan-note { color: rgba(245, 239, 230, .8); }
.plan.featured .check-list li::before { background: #e5b8a6; }
.plan-name { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.plan.featured .plan-name { color: #e5b8a6; }
.plan-price { font-family: var(--font-display); font-size: 3rem; line-height: 1; margin: var(--s-4) 0 var(--s-2); }
.plan-note { font-size: 14px; color: var(--muted); margin-bottom: var(--s-6); }
.plan .check-list { margin-bottom: var(--s-8); font-size: 16px; }
.plan .btn { margin-top: auto; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; } }

/* ---------- Cards / features ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--s-8); }
.section-surface .card { background: var(--bg); }
.card h3 { font-size: 1.55rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; margin: 0; }
.card .icon { display: block; width: 40px; height: 40px; color: var(--primary); margin-bottom: var(--s-6); }
.icon svg { display: block; width: 100%; height: 100%; }
.rail-btn svg { width: 20px; height: 20px; }
.card-media { border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); border: 1px solid var(--border); display: flex; flex-direction: column; }
.card-media .cm-img { aspect-ratio: 4 / 3; overflow: hidden; }
.card-media .cm-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.card-media .cm-body { padding: var(--s-6) var(--s-8) var(--s-8); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-media .cm-body p { color: var(--muted); font-size: 16px; margin: 0; }
.card-media .cm-body .text-link { margin-top: auto; padding-top: var(--s-4); align-self: flex-start; }
@media (hover: hover) and (pointer: fine) { .card-media:hover .cm-img img { transform: scale(1.04); } }
@media (max-width: 1000px) { .cards.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards, .cards.two, .cards.four { grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stat { padding: var(--s-8) var(--s-6); border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2.6rem, 4.6vw, 4rem); font-weight: 500; line-height: 1; color: var(--accent); }
.stat span { display: block; margin-top: 10px; font-size: 15px; color: var(--muted); }
.section-dark .stats, .section-dark .stat { border-color: rgba(245, 239, 230, .2); }
.section-dark .stat strong { color: var(--on-dark); }
.section-dark .stat span { color: rgba(245, 239, 230, .78); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); } }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-6); padding: var(--s-6) 0; font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 500; line-height: 1.25; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; font-family: var(--font-body); font-size: 20px; color: var(--primary); transition: transform var(--dur-ui) var(--ease-out); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 64px var(--s-6) 0; color: var(--muted); }
.faq-item .faq-body p:last-child { margin-bottom: 0; }
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-aside { position: sticky; top: 110px; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } .faq-aside { position: static; } .faq-item .faq-body { padding-right: 0; } }

/* ---------- Forms ---------- */
.form-section { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.form-card { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5) var(--s-6); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 600; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea, .field select {
  width: 100%; padding: 13px 14px; border: 1px solid #bfb09a; border-radius: var(--radius);
  background: #fff; font: inherit; font-size: 16px; color: var(--text);
  transition: border-color var(--dur-micro) var(--ease-out);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(162, 71, 47, .18); }
.field input::placeholder, .field textarea::placeholder { color: #8f8273; }
.field.has-error input, .field.has-error textarea { border-color: #b3261e; }
.field-error { margin: 0; font-size: 14px; color: #a1231b; }
.field-check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.field-check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--primary); flex: none; }
.field-check label { flex: 1; font-weight: 400; font-size: 15px; line-height: 1.5; }
.field-check .field-error { flex-basis: 100%; }
.form-legal { font-size: 13px; line-height: 1.5; color: var(--muted); margin: var(--s-6) 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { text-align: left; padding: var(--s-8) 0; color: var(--text); }
.form-success svg { color: var(--accent); margin-bottom: var(--s-4); }
.form-success h3 { font-size: 2rem; }
.form-success p { color: var(--muted); }
.contact-points { list-style: none; margin: var(--s-8) 0 0; padding: 0; display: grid; gap: var(--s-5); }
.contact-points li { display: grid; grid-template-columns: 40px 1fr; gap: var(--s-4); align-items: start; }
.contact-points .icon { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; color: var(--primary); }
.contact-points .icon svg { width: 18px; height: 18px; }
.contact-points b { display: block; font-size: 14px; color: var(--muted); font-weight: 600; }
.contact-points a, .contact-points address { font-style: normal; font-weight: 600; font-size: 17px; text-decoration: none; }
@media (max-width: 900px) { .form-section { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--accent-dark); color: var(--on-dark); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.cta-band .cta-text { padding: clamp(32px, 5vw, 72px); }
.cta-band h2 { color: var(--on-dark); }
.cta-band .label { color: #e5b8a6; }
.cta-band p { color: rgba(245, 239, 230, .84); max-width: 48ch; }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-8); }
.cta-band .cta-img { min-height: 280px; }
.cta-band .cta-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .cta-img { order: -1; aspect-ratio: 16 / 9; min-height: 0; } }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-6); }
.member .m-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 4; background: var(--surface); }
.member .m-photo img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { margin: var(--s-4) 0 2px; font-size: 1.5rem; }
.member .role { font-size: 14px; font-weight: 600; color: var(--primary); margin-bottom: 8px; }
.member p { font-size: 15.5px; color: var(--muted); }
@media (max-width: 1000px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .team { grid-template-columns: 1fr; } }

/* ---------- Project grid / filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-10); }
.filter-btn { border: 1px solid var(--border); background: transparent; padding: 9px 18px; border-radius: 999px; cursor: pointer; font-size: 15px; 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); }
.filter-btn:hover { border-color: var(--text); }
.filter-btn[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(32px, 4vw, 56px) var(--s-8); }
.project-grid .project-card:nth-child(4n+2), .project-grid .project-card:nth-child(4n+3) { }
.project-grid .project-media { aspect-ratio: 3 / 2; }
.project-grid .project-card:nth-child(4n+1) .project-media, .project-grid .project-card:nth-child(4n) .project-media { aspect-ratio: 4 / 3; }
.project-specs { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--muted); margin-top: 6px; }
.project-specs span b { color: var(--text); font-weight: 600; }
.project-card .p-text { margin-top: 10px; font-size: 16px; color: var(--muted); }
.project-card[hidden] { display: none; }
@media (max-width: 760px) { .project-grid { grid-template-columns: 1fr; } }

/* ---------- Legal pages ---------- */
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.legal-toc { position: sticky; top: 110px; font-size: 15px; }
.legal-toc ol { list-style: none; padding-left: 0; margin: 0; display: grid; gap: 8px; }
.legal-toc a { text-decoration: none; color: var(--muted); }
.legal-toc a:hover { color: var(--primary); }
.legal-toc a.btn, .legal-toc a.btn:hover { color: #fff; }
.legal-body { max-width: 760px; }
.legal-body h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-top: 1.8em; scroll-margin-top: 110px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 1.35rem; margin-top: 1.4em; }
.legal-body ul, .legal-body ol { padding-left: 22px; }
.legal-body li { margin-bottom: 6px; }
.legal-meta { font-size: 14px; color: var(--muted); }
.table-wrap { overflow-x: auto; margin: var(--s-6) 0; border: 1px solid var(--border); border-radius: var(--radius-lg); }
table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 560px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--surface); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
.data-box { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--s-6) var(--s-8); margin: var(--s-6) 0; }
.data-box dl { display: grid; grid-template-columns: 180px 1fr; gap: 8px 16px; margin: 0; }
.data-box dt { font-weight: 600; }
.data-box dd { margin: 0; }
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; } .legal-toc { position: static; } }
@media (max-width: 560px) { .data-box dl { grid-template-columns: 1fr; gap: 2px; } .data-box dd { margin-bottom: 10px; } }

/* ---------- Misc ---------- */
.badge-row { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-6); }
.badge { display: inline-block; padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; font-size: 14px; }
.note { border-left: 2px solid var(--primary); padding: 4px 0 4px var(--s-6); color: var(--muted); }
.map-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--paper); }
.map-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.map-card .map-body { padding: var(--s-6) var(--s-8); }
.region-list { columns: 2; column-gap: var(--s-8); padding: 0; margin: 0; list-style: none; }
.region-list li { padding: 10px 0; border-bottom: 1px solid var(--border); break-inside: avoid; display: flex; justify-content: space-between; gap: 12px; }
.region-list li span { color: var(--muted); font-size: 15px; }
@media (max-width: 600px) { .region-list { columns: 1; } }
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); padding-block: clamp(56px, 8vw, 96px) var(--s-8); margin-top: 0; font-size: 15.5px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: var(--s-10); padding-bottom: var(--s-12); border-bottom: 1px solid var(--border); }
.footer-brand img { width: 260px; margin-bottom: var(--s-6); }
.footer-brand p { color: var(--muted); max-width: 36ch; }
.footer-title { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin-bottom: var(--s-5); }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { text-decoration: none; }
.footer-contact li span { display: block; font-size: 13px; color: var(--muted); }
.footer-contact a { font-weight: 600; text-decoration: none; }
.footer-contact address { font-style: normal; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-4); padding-top: var(--s-6); font-size: 14px; color: var(--muted); }
.footer-bottom p { margin: 0; }
@media (max-width: 1000px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; display: flex; justify-content: flex-end; pointer-events: none; }
.cookie-inner { pointer-events: auto; width: 100%; max-width: 520px; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: 0 20px 60px -20px rgba(34, 26, 20, .35); padding: var(--s-6); display: grid; grid-template-columns: 1fr; gap: var(--s-5); }
.cookie-inner h2 { font-size: 1.5rem; margin-bottom: 6px; }
.cookie-inner p { font-size: 15px; color: var(--muted); margin: 0; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.cookie-actions .btn { flex: 1 1 auto; }
.cookie-prefs { display: grid; gap: 10px; margin-top: var(--s-4); }
.toggle { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.toggle input { width: 18px; height: 18px; accent-color: var(--primary); }
@media (max-width: 760px) { .cookie-inner { grid-template-columns: 1fr; padding: var(--s-5); } .cookie-actions { justify-content: stretch; } .cookie-actions .btn { flex: 1; } }

/* ---------- Motion ---------- */
html.motion [data-reveal] { opacity: 0; }
html.motion .hero [data-hero] { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
