/* ==========================================================================
   EP Home Remodeling Demo — showcase site by EP Portfolio
   Palette: espresso, terracotta, olive on plaster.
   ========================================================================== */

:root {
  --paper: #f6f1e9;
  --paper-2: #ede5d8;
  --paper-3: #e3d8c7;
  --ink: #231912;
  --ink-2: #5a4a3d;
  --ink-3: #8a7868;
  --espresso: #1d1510;
  --espresso-2: #2b2019;
  --clay: #c9622c;
  --clay-2: #e07a3f;
  --olive: #34421e;
  --olive-2: #4d5f2e;
  --brass: #b08a4e;
  --line: rgba(35, 25, 18, .12);
  --line-light: rgba(246, 241, 233, .14);

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --radius-lg: 14px;
  --shadow: 0 1px 2px rgba(35,25,18,.06), 0 12px 32px -12px rgba(35,25,18,.25);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--ink); color: var(--paper); padding: 8px 14px; }
.skip:focus { left: 8px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 500; line-height: 1.05; margin: 0; letter-spacing: -.015em; font-variation-settings: "opsz" 144, "SOFT" 30; }
h1 { font-size: clamp(44px, 7.2vw, 96px); }
h2 { font-size: clamp(34px, 4.6vw, 60px); }
h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--clay); font-weight: 400; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 58ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--clay);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.dark .eyebrow { color: var(--clay-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 16px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 15px; letter-spacing: .01em; text-decoration: none;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--clay); color: #fff; box-shadow: 0 10px 24px -10px rgba(201,98,44,.7); }
.btn-primary:hover { background: #b2521f; transform: translateY(-2px); }
.btn-ghost { border-color: currentColor; color: inherit; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.dark .btn-ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--olive); transform: translateY(-2px); }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }

/* ---------- Demo ribbon (EP Portfolio) ---------- */
.ep-ribbon {
  background: var(--espresso); color: #e9dfd1; font-size: 13.5px;
  position: relative; z-index: 60;
}
.ep-ribbon .wrap { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 9px 0; text-align: center; flex-wrap: wrap; }
.ep-ribbon img { width: 20px; height: 20px; border-radius: 4px; background: #fff; padding: 2px; }
.ep-ribbon a { color: var(--clay-2); font-weight: 700; text-decoration: none; }
.ep-ribbon a:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,241,233,.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px -20px rgba(35,25,18,.4); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 46px; width: auto; }
.brand-text { line-height: 1.1; }
.brand-text strong { display: block; font-family: var(--f-display); font-size: 20px; font-weight: 600; color: var(--olive); letter-spacing: .02em; }
.brand-text span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.nav-links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); position: relative; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--clay); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-phone { display: flex; align-items: center; gap: 8px; white-space: nowrap; font-weight: 700; text-decoration: none; font-size: 15px; }
.nav-phone svg { width: 18px; height: 18px; color: var(--clay); }
.nav-cta .btn { padding: 12px 20px; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .3s, opacity .3s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-phone span { display: none; }
  .nav-links { gap: 20px; }
}
@media (max-width: 880px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 0 0 0 0; top: var(--hdr, 78px); background: var(--paper);
    flex-direction: column; gap: 0; padding: 24px var(--gutter);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
  }
  .nav-links a { display: block; font-family: var(--f-display); font-size: 30px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav-links a::after { display: none; }
  .menu-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-cta .btn { display: none; }
  .brand img { height: 40px; }
}

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }
.dark { background: var(--espresso); color: #efe6da; }
.dark .lede, .dark p { color: #cbbfaf; }
.tint { background: var(--paper-2); }
.section-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .lede { margin: 0; }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- Mosaic motif (echoes the backsplash work) ---------- */
.mosaic { display: grid; grid-template-columns: repeat(var(--cols, 12), 1fr); gap: 3px; }
.mosaic i { aspect-ratio: 1; background: var(--c, var(--paper-3)); border-radius: 1.5px; opacity: 0; transform: scale(.6); transition: opacity .5s, transform .5s var(--ease); transition-delay: var(--d, 0s); }
.mosaic.in i { opacity: 1; transform: none; }
.mosaic-strip { --cols: 48; max-width: 100%; }
.mosaic-strip i { aspect-ratio: 1; }
@media (max-width: 700px) { .mosaic-strip { --cols: 24; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 4vw, 56px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 26px; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; animation-delay: calc(var(--i) * .12s + .15s); }
@keyframes rise { to { transform: none; } }
.hero .lede { margin-bottom: 34px; opacity: 0; animation: fade .9s .6s forwards; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; opacity: 0; animation: fade .9s .75s forwards; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero-meta { display: flex; gap: 28px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; opacity: 0; animation: fade .9s .9s forwards; }
.hero-meta div { display: flex; align-items: center; gap: 12px; }
.hero-meta strong { font-family: var(--f-display); font-size: 40px; font-weight: 500; line-height: 1; color: var(--olive); }
.hero-meta div > span { font-size: 13px; line-height: 1.35; color: var(--ink-2); font-weight: 600; }
.stars { color: var(--clay); letter-spacing: 2px; font-size: 15px; }

.hero-visual { position: relative; aspect-ratio: 4/4.6; }
.hero-slides { position: absolute; inset: 0; border-radius: 220px 220px var(--radius-lg) var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--paper-3); }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.4s ease, transform 7s linear; }
.hero-slides img.active { opacity: 1; transform: scale(1); }
.hero-tag {
  position: absolute; left: -28px; bottom: 44px; background: var(--paper); border-radius: var(--radius-lg);
  padding: 16px 20px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; max-width: 290px;
}
.hero-tag .dot { width: 46px; height: 46px; border-radius: 50%; background: var(--olive); color: var(--paper); display: grid; place-items: center; flex: none; }
.hero-tag .dot svg { width: 22px; height: 22px; }
.hero-tag strong { display: block; font-size: 15px; }
.hero-tag span { font-size: 13px; color: var(--ink-2); }
.hero-caption { position: absolute; right: 18px; top: 50%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #fff; font-weight: 700; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.hero-dots { position: absolute; right: 22px; bottom: 22px; display: flex; gap: 8px; }
.hero-dots button { width: 30px; height: 4px; border-radius: 2px; border: 0; background: rgba(255,255,255,.45); padding: 0; transition: background .3s, width .3s; }
.hero-dots button.active { background: #fff; width: 46px; }
.hero-mosaic { position: absolute; right: -36px; top: -24px; width: 150px; --cols: 6; z-index: -1; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 4/3.6; max-width: 640px; }
  .hero-slides { border-radius: 160px 160px var(--radius-lg) var(--radius-lg); }
  .hero-tag { left: 12px; bottom: 16px; }
  .hero-mosaic { display: none; }
}

/* ---------- Trust bar ---------- */
.trust { border-block: 1px solid var(--line); background: var(--paper); }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.trust li { display: flex; align-items: center; gap: 12px; padding: 22px 18px; font-weight: 700; font-size: 14px; border-left: 1px solid var(--line); }
.trust li:first-child { border-left: 0; }
.trust svg { width: 26px; height: 26px; color: var(--clay); flex: none; }
@media (max-width: 960px) { .trust ul { grid-template-columns: repeat(2, 1fr); } .trust li { border-left: 0; border-top: 1px solid var(--line); } .trust li:last-child { grid-column: 1 / -1; } }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--espresso); color: #fff;
  aspect-ratio: 4/5; display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; isolation: isolate;
}
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(29,21,16,.45) 0%, rgba(29,21,16,0) 22%, rgba(29,21,16,0) 40%, rgba(29,21,16,.88) 100%); }
.svc:hover img { transform: scale(1.06); }
.svc-body { padding: 28px; }
.svc-num { position: absolute; top: 22px; left: 26px; font-family: var(--f-display); font-style: italic; font-size: 18px; opacity: .85; }
.svc h3 { color: #fff; margin-bottom: 10px; }
.svc p { color: rgba(255,255,255,.78); font-size: 15px; margin: 0 0 16px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s; }
.svc:hover p, .svc:focus-visible p { max-height: 120px; opacity: 1; }
.svc .more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--clay-2); }
.svc .more svg { width: 16px; height: 16px; }
@media (max-width: 960px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } .svc { aspect-ratio: 4/3.4; } .svc p { max-height: 120px; opacity: 1; } }
@media (hover: none) { .svc p { max-height: 120px; opacity: 1; } }

/* ---------- Feature split (about / story) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.stack { position: relative; padding: 0 0 60px 0; }
.stack .main { border-radius: var(--radius-lg); width: 82%; aspect-ratio: 615/750; object-fit: cover; box-shadow: var(--shadow); }
.stack .inset { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-lg); border: 8px solid var(--paper); box-shadow: var(--shadow); }
.tint .stack .inset { border-color: var(--paper-2); }
.stack .badge {
  position: absolute; top: 28px; right: 6%; width: 132px; height: 132px; border-radius: 50%;
  background: var(--clay); color: #fff; display: grid; place-items: center; text-align: center; box-shadow: var(--shadow);
}
.stack .badge strong { font-family: var(--f-display); font-size: 46px; line-height: .9; display: block; font-weight: 500; }
.stack .badge span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.ticks { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; font-weight: 600; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--olive) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat; }
.dark .ticks li::before { background-color: var(--clay); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

/* ---------- Numbers ---------- */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); margin-top: 64px; }
.numbers div { padding: 30px 24px 0 0; }
.numbers strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(44px, 5vw, 72px); line-height: 1; color: #fff; margin-bottom: 8px; }
.numbers strong sup { font-size: .45em; color: var(--clay-2); vertical-align: top; margin-left: 2px; }
.numbers div > span { font-size: 14px; color: #bfb2a2; font-weight: 600; }
@media (max-width: 760px) { .numbers { grid-template-columns: repeat(2, 1fr); row-gap: 20px; } }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; }
.step { padding: 36px 32px 40px; border-top: 2px solid var(--line-light); position: relative; transition: background .4s; }
.step::before { content: ""; position: absolute; top: -2px; left: 0; height: 2px; width: 0; background: var(--clay-2); transition: width 1.1s var(--ease); }
.step.in::before { width: 100%; }
.step:nth-child(2)::before { transition-delay: .25s; }
.step:nth-child(3)::before { transition-delay: .5s; }
.step:hover { background: rgba(255,255,255,.03); }
.step-num { font-family: var(--f-display); font-size: 64px; line-height: 1; color: var(--clay-2); font-style: italic; font-weight: 300; margin-bottom: 26px; display: block; }
.step h3 { color: #fff; margin-bottom: 14px; }
.step ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; }
.step li { font-size: 14px; font-weight: 700; color: #e9dfd1; display: flex; gap: 10px; align-items: center; }
.step li::before { content: ""; width: 6px; height: 6px; background: var(--clay-2); transform: rotate(45deg); }
@media (max-width: 860px) { .process { grid-template-columns: 1fr; } .step { padding-inline: 0; } }

/* ---------- Projects / gallery ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filters button {
  border: 1.5px solid var(--line); background: transparent; border-radius: 999px; padding: 9px 18px; font-weight: 700; font-size: 14px; color: var(--ink-2);
  transition: all .25s;
}
.filters button:hover { border-color: var(--ink); color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 120px; grid-auto-flow: dense; gap: 14px; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--paper-3); cursor: zoom-in; border: 0; padding: 0; text-align: left; transition: opacity .4s, transform .4s var(--ease); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile figcaption, .tile .cap {
  position: absolute; left: 12px; right: 12px; bottom: 12px; background: rgba(246,241,233,.94); backdrop-filter: blur(6px); color: var(--ink);
  border-radius: 10px; padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px;
  transform: translateY(calc(100% + 16px)); transition: transform .45s var(--ease);
}
.tile:hover .cap, .tile:focus-visible .cap { transform: none; }
.cap strong { display: block; font-size: 15px; }
.cap span { font-size: 12px; color: var(--ink-3); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cap svg { width: 20px; height: 20px; color: var(--clay); flex: none; }
.tile.hide { display: none; }
.t-a { grid-column: span 7; grid-row: span 4; }
.t-b { grid-column: span 5; grid-row: span 2; }
.t-c { grid-column: span 5; grid-row: span 2; }
.t-d { grid-column: span 4; grid-row: span 3; }
.t-e { grid-column: span 4; grid-row: span 3; }
.t-f { grid-column: span 4; grid-row: span 3; }
.gallery.filtered .tile { grid-column: span 4; grid-row: span 3; }
@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery .tile, .gallery.filtered .tile { grid-column: span 1; grid-row: span 2; }
  .gallery .t-a { grid-column: span 2; }
  .tile .cap { transform: none; }
}
@media (hover: none) { .tile .cap { transform: none; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20,14,10,.94); display: grid; place-items: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity .35s; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 8px; }
.lightbox figcaption { color: #e9dfd1; text-align: center; margin-top: 14px; font-size: 15px; }
.lightbox figcaption strong { font-family: var(--f-display); font-size: 22px; font-weight: 500; display: block; color: #fff; }
.lb-btn { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.lb-btn:hover { background: var(--clay); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; } }

/* ---------- Spotlight (medallion feature) ---------- */
.spotlight { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 560px; }
.spotlight-img { position: relative; overflow: hidden; }
.spotlight-img img { width: 100%; height: 100%; object-fit: cover; }
.spotlight-body { padding: clamp(40px, 7vw, 100px); display: flex; flex-direction: column; justify-content: center; background: var(--olive); color: #eef0e2; }
.spotlight-body h2 { color: #fff; margin-bottom: 22px; }
.spotlight-body p { color: #d5dabd; }
.spotlight-body .eyebrow { color: #e8b98a; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 26px 0 34px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); }
.specs strong { display: block; font-family: var(--f-display); font-size: 20px; line-height: 1.2; margin-bottom: 4px; color: #fff; font-weight: 500; }
.specs span { font-size: 12.5px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: #b9c19c; }
@media (max-width: 860px) { .spotlight { grid-template-columns: 1fr; } .spotlight-img { aspect-ratio: 4/3; } .specs { grid-template-columns: 1fr 1fr 1fr; } }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.rating-card { background: var(--paper); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.rating-big { font-family: var(--f-display); font-size: 84px; line-height: 1; font-weight: 400; }
.rating-card .stars { font-size: 22px; margin: 6px 0 12px; display: block; }
.platforms { display: flex; gap: 12px; margin-top: 22px; }
.platforms img { width: 50%; border-radius: 10px; border: 1px solid var(--line); background: #fff; aspect-ratio: 3/2; object-fit: contain; }
.quotes { display: grid; gap: 18px; }
.quote { background: var(--paper); border-radius: var(--radius-lg); padding: 30px 32px; border-left: 4px solid var(--clay); position: relative; }
.quote blockquote { margin: 0 0 18px; font-family: var(--f-display); font-size: clamp(19px, 1.8vw, 23px); line-height: 1.4; font-weight: 400; }
.quote footer { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.quote footer .av { width: 42px; height: 42px; border-radius: 50%; background: var(--olive); color: #fff; display: grid; place-items: center; font-weight: 700; }
.quote footer strong { display: block; }
.quote footer span { color: var(--ink-3); }
.sample-tag { position: absolute; top: 14px; right: 16px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--ink-3); border: 1px dashed var(--ink-3); border-radius: 4px; padding: 3px 7px; }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- Service area ---------- */
.area { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.cities { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.cities span { padding: 9px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.cities span.hq { background: var(--olive); color: #fff; border-color: var(--olive); }
.map { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1.15; background: var(--paper-3); box-shadow: var(--shadow); }
.map svg { width: 100%; height: 100%; display: block; }
@media (max-width: 860px) { .area { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative; font-family: var(--f-display); font-size: clamp(19px, 1.8vw, 23px); line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; border: 1.5px solid var(--line); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9622c' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .35s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--paper-2); }
.faq details p { color: var(--ink-2); padding-bottom: 24px; max-width: 64ch; margin: 0; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 24px; padding: clamp(44px, 7vw, 96px); color: #fff; isolation: isolate; }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(29,21,16,.94) 0%, rgba(29,21,16,.78) 55%, rgba(29,21,16,.35) 100%); }
.cta-band h2 { color: #fff; max-width: 15ch; margin-bottom: 18px; }
.cta-band p { color: #ddd1c2; max-width: 46ch; font-size: 18px; }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.cta-band .btn-ghost { color: #fff; }
.cta-band .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- Forms ---------- */
.quote-form { background: var(--paper); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow); }
.quote-form h3 { margin-bottom: 6px; }
.quote-form .sub { color: var(--ink-2); font-size: 15px; margin-bottom: 22px; }
.progress { display: flex; gap: 6px; margin-bottom: 24px; }
.progress i { flex: 1; height: 4px; background: var(--paper-3); border-radius: 2px; transition: background .4s; }
.progress i.on { background: var(--clay); }
.fstep { display: none; animation: fade .45s; }
.fstep.active { display: block; }
.fstep legend { font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; padding: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice label { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 16px 8px; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 700; font-size: 13.5px; cursor: pointer; transition: all .2s; background: #fff; height: 100%; }
.choice label svg { width: 28px; height: 28px; color: var(--clay); }
.choice input:checked + label { border-color: var(--clay); background: #fdf3ec; box-shadow: 0 0 0 3px rgba(201,98,44,.15); }
.choice input:focus-visible + label { outline: 2px solid var(--clay); outline-offset: 2px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 3px rgba(201,98,44,.15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; }
.form-nav .back { background: none; border: 0; font-weight: 700; color: var(--ink-2); padding: 10px 0; }
.form-note { font-size: 12.5px; color: var(--ink-3); margin-top: 14px; display: flex; gap: 8px; align-items: center; }
.form-note svg { width: 14px; height: 14px; flex: none; }
.success { text-align: center; padding: 24px 0; }
.success .check { width: 72px; height: 72px; border-radius: 50%; background: var(--olive); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; }
.success .check svg { width: 34px; height: 34px; }
@media (max-width: 520px) { .choice-grid { grid-template-columns: repeat(2, 1fr); } .field-row { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 5vw, 64px); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(42px, 6.4vw, 84px); max-width: 16ch; margin-bottom: 22px; }
.crumbs { font-size: 13px; font-weight: 700; color: var(--ink-3); margin-bottom: 22px; display: flex; gap: 8px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--clay); }
.page-hero .mosaic { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); width: min(280px, 26vw); --cols: 8; }
@media (max-width: 760px) { .page-hero .mosaic { display: none; } }

/* Service detail rows */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--line); }
.svc-row:nth-child(even) .svc-row-img { order: 2; }
.svc-row-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5/4; box-shadow: var(--shadow); }
.svc-row-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-row .num { font-family: var(--f-display); font-style: italic; color: var(--clay); font-size: 20px; margin-bottom: 10px; display: block; }
.svc-row h2 { font-size: clamp(32px, 3.6vw, 48px); margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 28px; }
.chips span { background: var(--paper-2); border-radius: 999px; padding: 7px 14px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
@media (max-width: 860px) { .svc-row { grid-template-columns: 1fr; } .svc-row:nth-child(even) .svc-row-img { order: 0; } }

/* Values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { background: var(--paper); border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--line); }
.value .ico { width: 54px; height: 54px; border-radius: 14px; background: var(--paper-2); display: grid; place-items: center; margin-bottom: 22px; color: var(--clay); }
.value .ico svg { width: 26px; height: 26px; }
.value h3 { margin-bottom: 10px; }
.value p { color: var(--ink-2); margin: 0; font-size: 15.5px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.team figure { margin: 0; }
.team img { border-radius: var(--radius-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; margin-bottom: 14px; }
.team figcaption strong { display: block; font-family: var(--f-display); font-size: 22px; font-weight: 500; }
.team figcaption span { color: var(--ink-3); font-size: 14px; font-weight: 600; }
@media (max-width: 760px) { .team { grid-template-columns: 1fr; } }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-card { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-card a, .contact-card div { display: flex; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.contact-card .ico { width: 48px; height: 48px; border-radius: 50%; background: var(--paper-2); color: var(--clay); display: grid; place-items: center; flex: none; }
.contact-card .ico svg { width: 22px; height: 22px; }
.contact-card small { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 800; }
.contact-card strong { font-size: 18px; }
.hours { margin-top: 28px; font-size: 15px; }
.hours div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: #cbbfaf; padding: 80px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.site-footer h4 { font-family: var(--f-body); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #fff; margin-bottom: 18px; font-weight: 800; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--clay-2); }
.footer-brand img { height: 64px; width: auto; background: var(--paper); border-radius: 10px; padding: 8px 10px; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; }
.footer-bottom { border-top: 1px solid var(--line-light); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
.footer-bottom a { color: var(--clay-2); font-weight: 700; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile sticky action bar */
.mobile-bar { display: none; }
@media (max-width: 700px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(246,241,233,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .mobile-bar .btn { padding: 13px 12px; }
  body { padding-bottom: 76px; }
  .notes-toggle { bottom: 88px !important; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; }

/* ==========================================================================
   EP Portfolio "Designer Notes" — annotates why each section converts
   ========================================================================== */
.notes-toggle {
  position: fixed; left: 18px; bottom: 18px; z-index: 90;
  display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px;
  background: var(--espresso); color: #fff; border: 0; border-radius: 999px; box-shadow: 0 14px 34px -12px rgba(0,0,0,.6);
  font-weight: 700; font-size: 13.5px; transition: transform .25s var(--ease);
}
.notes-toggle:hover { transform: translateY(-2px); }
.notes-toggle img { width: 30px; height: 30px; border-radius: 50%; background: #fff; padding: 3px; }
.notes-toggle .sw { width: 34px; height: 20px; border-radius: 999px; background: rgba(255,255,255,.22); position: relative; transition: background .25s; flex: none; }
.notes-toggle .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.notes-on .notes-toggle .sw { background: var(--clay); }
.notes-on .notes-toggle .sw::after { transform: translateX(14px); }

[data-note] { position: relative; }
.note-pin {
  position: absolute; z-index: 40; top: -14px; left: -14px;
  display: none; align-items: center; gap: 8px; border: 0; padding: 0; background: none; text-align: left;
}
.notes-on .note-pin { display: flex; }
.note-pin .n {
  width: 32px; height: 32px; border-radius: 50%; background: var(--clay); color: #fff; font-weight: 800; font-size: 14px;
  display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(201,98,44,.6); animation: pulse 2s infinite; flex: none;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 14px rgba(201,98,44,0); } 100% { box-shadow: 0 0 0 0 rgba(201,98,44,0); } }
.note-card {
  position: absolute; top: 40px; left: 0; width: min(320px, 78vw); background: #fff; color: var(--ink); border-radius: 12px; padding: 16px 18px;
  box-shadow: 0 20px 50px -14px rgba(0,0,0,.45); font-size: 14px; line-height: 1.5; font-weight: 500;
  opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
}
.note-card b { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); margin-bottom: 6px; }
.note-pin:hover .note-card, .note-pin:focus .note-card, .note-pin.open .note-card { opacity: 1; transform: none; pointer-events: auto; }
.notes-on [data-note] { outline: 2px dashed rgba(201,98,44,.55); outline-offset: 14px; border-radius: 6px; }
/* full-bleed blocks: keep the outline inside the viewport */
.notes-on .trust[data-note], .notes-on .spotlight[data-note] { outline-offset: -8px; }
.notes-on .trust[data-note] > .note-pin, .notes-on .spotlight[data-note] > .note-pin { top: 0; left: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
}

/* ==========================================================================
   EP Portfolio showcase page
   ========================================================================== */
.ep-hero .hero-grid { grid-template-columns: 1fr 1.05fr; }
.devices { position: relative; aspect-ratio: 1.12; }
.browser { position: absolute; left: 0; top: 4%; width: 88%; background: #fff; border-radius: 14px; box-shadow: 0 40px 80px -30px rgba(35,25,18,.55), 0 0 0 1px var(--line); overflow: hidden; transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d9cbb5; }
.browser-bar i:first-child { background: #e07a3f; }
.browser-bar span { margin-left: 12px; flex: 1; background: #fff; border-radius: 6px; font-size: 11px; padding: 4px 10px; color: var(--ink-3); font-weight: 600; }
.browser-screen { background: var(--paper); padding: 12px 16px 18px; }
.mini-nav { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.mini-nav img { height: 22px; width: auto; margin-right: auto; }
.mini-nav span { width: 34px; height: 5px; border-radius: 3px; background: var(--paper-3); }
.mini-nav b { background: var(--clay); color: #fff; font-size: 8px; padding: 5px 9px; border-radius: 99px; }
.mini-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: center; margin-bottom: 14px; }
.mini-h { font-family: var(--f-display); font-size: clamp(14px, 1.9vw, 24px); line-height: 1.05; margin: 0 0 10px; }
.mini-h em { color: var(--clay); }
.mini-l { display: block; height: 5px; background: var(--paper-3); border-radius: 3px; margin-bottom: 5px; }
.mini-l.short { width: 70%; }
.mini-btn { display: inline-block; margin-top: 8px; background: var(--clay); color: #fff; font-size: 8px; padding: 6px 10px; border-radius: 99px; }
.mini-hero img { border-radius: 60px 60px 8px 8px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-cards img { aspect-ratio: 4/5; object-fit: cover; border-radius: 6px; width: 100%; }
.phone { position: absolute; right: 0; bottom: 0; width: 30%; aspect-ratio: 9/18.5; background: var(--espresso); border-radius: 30px; padding: 8px; box-shadow: 0 40px 70px -24px rgba(35,25,18,.6); animation: bob 6s ease-in-out infinite; }
.phone-screen { background: var(--paper); border-radius: 23px; height: 100%; overflow: hidden; display: flex; flex-direction: column; }
.phone-screen img { height: 55%; object-fit: cover; width: 100%; }
.phone-screen p { font-family: var(--f-display); font-size: clamp(11px, 1.3vw, 16px); line-height: 1.1; margin: 10px 10px auto; }
.phone-screen p em { color: var(--clay); }
.phone-screen b { margin: 0 8px 6px; text-align: center; font-size: 9px; padding: 7px; border-radius: 99px; border: 1px solid var(--ink); }
.phone-screen b.o { background: var(--clay); border-color: var(--clay); color: #fff; margin-bottom: 10px; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.float-card { position: absolute; display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow); font-size: 12px; color: var(--ink-2); animation: fade .8s both; }
.float-card strong { display: block; color: var(--ink); font-size: 13px; }
.float-card svg { width: 30px; height: 30px; padding: 6px; border-radius: 8px; background: var(--olive); color: #fff; flex: none; }
.fc-1 { left: -4%; bottom: 14%; animation-delay: 1s; }
.fc-2 { right: 18%; top: -3%; animation-delay: 1.3s; }
.fc-2 svg { background: var(--clay); }
@media (max-width: 900px) { .ep-hero .hero-grid { grid-template-columns: 1fr; } .devices { max-width: 620px; } .fc-1 { left: 0; } }
@media (max-width: 520px) { .float-card { display: none; } }

.evolve { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.evolve h2 { font-size: clamp(30px, 3.6vw, 46px); }
.evolve-list { display: grid; gap: 14px; }
.evolve-list div { background: var(--paper); border-radius: var(--radius-lg); padding: 22px 24px; display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: start; border: 1px solid var(--line); }
.evolve-list span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; padding: 6px 0; text-align: center; border-radius: 6px; background: var(--paper-3); color: var(--ink-2); }
.evolve-list span.after { background: var(--olive); color: #fff; }
.evolve-list p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 860px) { .evolve { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .evolve-list div { grid-template-columns: 1fr; } .evolve-list span { justify-self: start; padding: 6px 12px; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: clamp(48px, 6vw, 80px); }
.stat { padding: 32px 28px 28px 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat strong { font-family: var(--f-display); font-size: clamp(46px, 5vw, 68px); font-weight: 400; line-height: 1; color: var(--clay); display: block; margin-bottom: 14px; }
.stat p { font-weight: 600; font-size: 15.5px; margin-bottom: 12px; }
.stat cite { font-size: 12px; color: var(--ink-3); font-style: normal; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { padding-left: 0; border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } .stat, .stat + .stat { padding-left: 0; border-left: 0; } .stat + .stat { border-top: 1px solid var(--line); } }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.benefit { padding: 30px; border-radius: var(--radius-lg); background: var(--paper-2); transition: transform .35s var(--ease), background .35s; }
.benefit:hover { transform: translateY(-4px); background: var(--paper-3); }
.benefit .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: var(--paper); display: grid; place-items: center; margin-bottom: 20px; }
.benefit .ico svg { width: 24px; height: 24px; }
.benefit h3 { margin-bottom: 10px; }
.benefit p { color: var(--ink-2); margin: 0; font-size: 15.5px; }
@media (max-width: 900px) { .benefits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .benefits { grid-template-columns: 1fr; } }

.compare-scroll { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line-light); }
.compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line-light); vertical-align: middle; }
.compare thead th { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #bfb2a2; font-weight: 800; background: rgba(255,255,255,.03); }
.compare tbody th { font-weight: 700; color: #fff; width: 32%; }
.compare td { color: #cbbfaf; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .ep { background: rgba(201,98,44,.12); color: #fff; }
.compare thead .ep { background: var(--clay); color: #fff; }
.compare .y, .compare .n, .compare .p { display: inline-flex; align-items: center; gap: 8px; }
.compare .y::before, .compare .n::before, .compare .p::before { content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none; background: center/11px no-repeat; }
.compare .y::before { background-color: var(--olive-2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.compare .ep .y::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9622c' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.compare .n::before { background-color: rgba(255,255,255,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bfb2a2' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E"); }
.compare .p::before { background-color: rgba(176,138,78,.35); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E"); }
.compare-note { font-size: 13px; color: #8f8172 !important; margin-top: 14px; }

.included { margin: 0; }
.included li { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.ep-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ep-steps > div { background: var(--paper); border-radius: var(--radius-lg); padding: 32px; position: relative; overflow: hidden; }
.ep-steps span { font-family: var(--f-display); font-style: italic; font-size: 90px; line-height: .8; color: var(--paper-3); position: absolute; right: 18px; top: 18px; }
.ep-steps h3 { margin: 50px 0 12px; position: relative; }
.ep-steps p { color: var(--ink-2); margin: 0; position: relative; }
@media (max-width: 860px) { .ep-steps { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .notes-toggle { padding: 8px 10px 8px 8px; gap: 8px; }
  .notes-toggle > span:not(.sw) { display: none; }
}
