/* ============================================
   Avangarde Sites — Design tokens
   ============================================ */
:root {
  --ink: #20242b;
  --ink-2: #171a1f;
  --paper: #f1f2ee;
  --paper-raised: #ffffff;
  --gold: #b6862c;
  --gold-dark: #826017;
  --gold-soft: #e7d3a3;
  --muted: #60666e;
  --line: #dcddd7;
  --line-dark: rgba(255, 255, 255, 0.12);
  --text-on-dark: #eef0ee;
  --text-on-dark-muted: #a4a9b3;

  --font-display: "Space Grotesk", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
  --font-accent: "Instrument Serif", serif;

  --cut: 18px;
  --cut-sm: 10px;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 128px;

  --container-w: 1200px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-cool: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snap: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

/* ============================================
   Reset
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* Reduced motion means fewer/gentler animations, not zero: keep a quick opacity
     fade for comprehension, strip movement (translate/scale/rotate/blur). */
  .reveal { transform: none !important; filter: none !important; transition: opacity 450ms ease !important; }
  .browser-frame--tilt { animation: none !important; opacity: 1 !important; transform: rotate3d(0.3, -1, 0, 20deg) rotate(-2deg) !important; }
  .hero__title, .hero__subtitle, .hero__actions { animation: none !important; opacity: 1 !important; filter: none !important; transform: none !important; }
  .tilt-layer { transition: none !important; transform: none !important; }
  .peek__slide { transition: transform 220ms var(--ease-in-out), filter 220ms var(--ease-in-out), opacity 220ms ease !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.15; font-weight: 600; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; font-size: 1rem; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--space-3);
}
.container--narrow { max-width: 760px; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--ink);
  padding: 12px 20px;
  z-index: 999;
  font-weight: 600;
}
.skip-link:focus { left: var(--space-2); top: var(--space-2); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

section[id] { scroll-margin-top: 88px; }

/* ============================================
   Scroll reveal
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(44px) scale(0.96);
  filter: blur(9px);
  transition: opacity 1.4s var(--ease-cool), transform 1.4s var(--ease-cool), filter 1.4s var(--ease-cool);
  will-change: opacity, transform, filter;
}
.reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); filter: blur(0px); }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 160ms var(--ease-snap), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  clip-path: polygon(var(--cut-sm) 0, 100% 0, 100% calc(100% - var(--cut-sm)), calc(100% - var(--cut-sm)) 100%, 0 100%, 0 var(--cut-sm));
  min-height: 44px;
}
.btn--accent { background: var(--gold); color: var(--ink-2); }
.btn--accent:active { transform: translateY(-2px) scale(0.97); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:active { transform: translateY(-2px) scale(0.97); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--ghost:active { transform: scale(0.97); }
.btn--ghost-dark { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn--ghost-dark:active { transform: scale(0.97); }
.btn--lg { padding: 15px 32px; font-size: 1rem; }
@media (hover: hover) and (pointer: fine) {
  .btn--accent:hover { background: var(--gold-dark); color: #fff; transform: translateY(-2px); }
  .btn--dark:hover { background: var(--ink-2); transform: translateY(-2px); }
  .btn--ghost:hover { background: var(--ink); color: var(--paper); }
  .btn--ghost-dark:hover { box-shadow: inset 0 0 0 2px var(--ink); }
}

/* ============================================
   Navbar
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  margin: 0 auto;
  max-width: 100%;
  z-index: 100;
  background: rgba(241, 242, 238, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  border-radius: 0;
  box-shadow: none;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.navbar.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(241, 242, 238, 0.97);
}

/* Floating-island navbar: desktop only (full inline nav is visible here;
   below this the hamburger/mobile-nav pattern stays exactly as it was). */
@media (min-width: 1081px) {
  .navbar {
    border: 1px solid transparent;
    transition:
      background 480ms var(--ease-cool),
      top 480ms var(--ease-cool),
      max-width 480ms var(--ease-cool),
      border-radius 480ms var(--ease-cool),
      border-color 480ms var(--ease-cool),
      box-shadow 480ms var(--ease-cool);
  }
  .navbar.is-scrolled {
    top: 14px;
    max-width: 1060px;
    border-radius: 999px;
    border-color: var(--line);
    box-shadow: 0 24px 50px -24px rgba(23, 26, 31, 0.3), 0 8px 24px -8px rgba(23, 26, 31, 0.14);
  }
  .navbar__inner { transition: height 480ms var(--ease-cool); }
  .navbar__logo-lockup { transition: width 480ms var(--ease-cool); }
  .navbar__cta { transition: padding 480ms var(--ease-cool), font-size 480ms var(--ease-cool); }
  .navbar.is-scrolled .navbar__inner { height: 64px; }
  .navbar.is-scrolled .navbar__logo-lockup { width: 260px; }
  .navbar.is-scrolled .navbar__cta { padding: 9px 18px; font-size: 0.85rem; }
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: var(--space-3);
}
.navbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.navbar__logo-lockup { width: 318px; max-width: 100%; height: auto; display: block; }

.navbar__nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-left: auto;
}
.navbar__nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.navbar__nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .navbar__nav a:hover::after { width: 100%; }
}

.navbar__cta { margin-left: var(--space-3); }

.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  padding: 0;
  margin-left: auto;
  transition: transform 160ms var(--ease-snap);
}
.navbar__toggle:active { transform: scale(0.9); }
.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  margin: 0 auto;
}
.navbar__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navbar__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  overflow: hidden;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.mobile-nav nav {
  display: flex;
  flex-direction: column;
  padding: 0 var(--space-3);
  gap: var(--space-2);
  overflow: hidden;
  min-height: 0;
  transition: padding 320ms var(--ease-cool);
}
.mobile-nav.is-open nav {
  padding: var(--space-2) var(--space-3) var(--space-4);
}
.mobile-nav a { font-weight: 500; font-size: 1.05rem; padding: 6px 0; }
.mobile-nav .btn { align-self: flex-start; margin-top: var(--space-2); padding: 11px 22px; font-size: 0.88rem; }

/* ============================================
   Hero
   ============================================ */
.hero {
  padding: calc(76px + var(--space-7)) 0 var(--space-7);
  background: linear-gradient(180deg, var(--paper) 0%, #ececE6 100%);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-6);
  align-items: center;
}
.hero__title {
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  letter-spacing: -0.01em;
  animation: fadeInUp 2.2s var(--ease-cool) both;
}
.hl { color: var(--gold-dark); font-family: var(--font-accent); font-style: italic; font-weight: 400; }
.section--dark .hl { color: var(--gold); }
.hero__subtitle {
  margin-top: var(--space-3);
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 46ch;
  animation: fadeInUp 2.2s var(--ease-cool) both 0.35s;
}
.hero__actions {
  margin-top: var(--space-4);
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  animation: fadeInUp 2.2s var(--ease-cool) both 0.7s;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(46px); filter: blur(6px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0px); }
}

.hero__visual { perspective: 1400px; }
/* AVANGARDE-ONLY signature: cursor-tracked tilt on the hero mockup and portfolio
   previews. Purely decorative depth — safe to delete this rule (and the matching
   JS block in script.js) when reusing this file as a client boilerplate. */
.tilt-layer { transition: transform 500ms var(--ease-cool); }
.tilt-layer.is-tracking { transition: none; }
.browser-frame {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 40px 80px -20px rgba(23, 26, 31, 0.35), 0 10px 30px -10px rgba(23, 26, 31, 0.2);
  overflow: hidden;
}
.browser-frame--tilt {
  transform: rotate3d(0.3, -1, 0, 20deg) rotate(-2deg);
  animation: heroReveal 1.9s var(--ease-cool) both, heroFloat 10s ease-in-out 1.9s infinite;
}
@keyframes heroReveal {
  from { opacity: 0; transform: rotate3d(0.3, -1, 0, 32deg) rotate(-2deg) translateY(30px); }
  to { opacity: 1; transform: rotate3d(0.3, -1, 0, 20deg) rotate(-2deg) translateY(0); }
}
@keyframes heroFloat {
  0%, 100% { transform: rotate3d(0.3, -1, 0, 20deg) rotate(-2deg) translateY(0); }
  50% { transform: rotate3d(0.3, -1, 0, 20deg) rotate(-2deg) translateY(-14px); }
}
@media (prefers-reduced-motion: reduce) {
  .browser-frame--tilt { animation: none; }
}
.browser-frame__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #eceeec;
  border-bottom: 1px solid #dfe1de;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--r { background: #ec6a5e; }
.dot--y { background: #f4bf4f; }
.dot--g { background: #61c454; }
.browser-frame__url {
  margin-left: 10px;
  font-size: 0.8rem;
  color: var(--muted);
  background: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  flex: 1;
  max-width: 220px;
}
.browser-frame__screen { position: relative; aspect-ratio: 16/10.5; background: #fff; }
.mockup-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* Portfolio previews are real screenshots supplied pre-cropped by the client —
   show them at their own native ratio, full width, no forced box ratio and no
   letterboxing (unlike the hero mockup, which is a decorative cover photo). */
.portfolio-card__frame .browser-frame__screen { aspect-ratio: auto; }
.portfolio-card__frame .mockup-bg {
  position: static;
  width: 100%;
  height: auto;
  object-fit: initial;
  display: block;
}

.mockup-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: linear-gradient(100deg, rgba(20, 40, 42, 0.72) 0%, rgba(20, 40, 42, 0.35) 45%, rgba(20, 40, 42, 0.05) 70%);
}
.mockup-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 26px;
}
.mockup-nav__brand {
  font-family: var(--font-display);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}
.mockup-nav__links { display: flex; gap: 8px; }
.mockup-nav__links i { width: 26px; height: 3px; background: rgba(255, 255, 255, 0.55); display: block; border-radius: 2px; }
.mockup-hero { padding: 6% 26px 0; }
.mockup-hero h3 {
  color: #fff;
  font-size: clamp(1.15rem, 2.6vw, 1.7rem);
  font-weight: 600;
  line-height: 1.2;
  max-width: 8ch;
}
.mockup-btn {
  display: inline-block;
  margin-top: 18px;
  background: var(--gold);
  color: var(--ink-2);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 20px;
}

/* ============================================
   Filler
   ============================================ */
.filler { padding: var(--space-7) 0; }
.filler__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-6);
  align-items: center;
}
.filler__visual {
  position: relative;
  min-height: 320px;
}
.filler__glow {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(182, 134, 44, 0.16) 0%, rgba(182, 134, 44, 0) 70%);
  pointer-events: none;
  z-index: 0;
}
.tag-card {
  position: absolute;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  padding: var(--space-3) var(--space-3);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  box-shadow: 0 20px 40px -20px rgba(23, 26, 31, 0.18);
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 228px;
  transform: rotate(var(--rot, 0deg));
  transition: transform 350ms var(--ease-snap), box-shadow 350ms var(--ease-snap), border-color 350ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .tag-card:hover {
    transform: rotate(0deg) translateY(-8px) scale(1.04) !important;
    box-shadow: 0 32px 54px -22px rgba(23, 26, 31, 0.28) !important;
    border-color: var(--gold-soft);
    z-index: 4 !important;
  }
}
.tag-card__head { display: flex; align-items: center; gap: 10px; }
.tag-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--ink);
  color: var(--gold);
  clip-path: polygon(var(--cut-sm) 0, 100% 0, 100% calc(100% - var(--cut-sm)), calc(100% - var(--cut-sm)) 100%, 0 100%, 0 var(--cut-sm));
}
.tag-card__value { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; line-height: 1.2; }
.tag-card--1 { top: 0; left: 4%; z-index: 3; --rot: 0deg; }
.tag-card--2 { top: 38%; left: 26%; z-index: 2; border-color: var(--gold-soft); --rot: 0deg; }
.tag-card--3 { top: 76%; left: 1%; z-index: 1; --rot: 0deg; }
/* Keep the card's resting rotation baked into the scroll-reveal entrance so it
   doesn't pop from "straight" to "rotated" once the reveal classes are cleaned up. */
.tag-card.reveal { transform: translateY(44px) scale(0.96) rotate(var(--rot, 0deg)); }
.tag-card.reveal.is-visible { transform: translateY(0) scale(1) rotate(var(--rot, 0deg)); }

.filler__text h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); text-align: right; }
.filler__text p { margin-top: var(--space-2); color: var(--muted); font-size: 1.15rem; max-width: 100%; text-align: right; }
@media (max-width: 1180px) { .br-wide { display: none; } }
@media (min-width: 1181px) { .filler__inner { grid-template-columns: minmax(0, 1fr) 750px; } }

/* ============================================
   Peek carousel
   ============================================ */
.peek { padding: 0 0 12px; overflow: hidden; }
.peek__stage {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  height: 300px;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}
.peek__stage.is-dragging { cursor: grabbing; }
.peek__track { position: absolute; inset: 0; }
.peek__slide {
  position: absolute;
  top: 50%; left: 50%;
  width: 310px;
  transform: translate(-50%, -50%) translateX(var(--drag, 0px)) translateX(var(--x, 0px)) scale(var(--s, 1));
  filter: blur(var(--b, 0px));
  opacity: var(--o, 1);
  transition: transform 480ms var(--ease-in-out), filter 480ms var(--ease-in-out), opacity 480ms ease;
  pointer-events: none;
}
.peek__stage.is-dragging .peek__slide { transition: filter 480ms var(--ease-in-out), opacity 480ms ease; }
.peek__slide[data-offset="0"] { --x: 0px; --s: 1; --b: 0px; --o: 1; z-index: 3; pointer-events: auto; }
.peek__slide[data-offset="-1"] { --x: -280px; --s: 0.82; --b: 1.5px; --o: 0.65; z-index: 2; }
.peek__slide[data-offset="1"] { --x: 280px; --s: 0.82; --b: 1.5px; --o: 0.65; z-index: 2; }
.peek__slide[data-offset="-2"] { --x: -440px; --s: 0.66; --b: 3px; --o: 0; z-index: 1; }
.peek__slide[data-offset="2"] { --x: 440px; --s: 0.66; --b: 3px; --o: 0; z-index: 1; }

.testimonial-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  box-shadow: 0 30px 50px -22px rgba(23, 26, 31, 0.4);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.testimonial-card__name { font-size: 1.05rem; }
.testimonial-card__site { font-size: 0.85rem; color: var(--gold-dark); font-weight: 500; }
.testimonial-card__quote { font-size: 0.95rem; color: var(--muted); line-height: 1.55; max-width: 30ch; }
.testimonial-card__rating { color: var(--gold-soft); font-size: 0.8rem; letter-spacing: 2px; }

.peek__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-4);
}
.peek__arrow {
  position: relative;
  z-index: 5;
  width: 46px; height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 10px 24px -12px rgba(23, 26, 31, 0.35);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.peek__arrow:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) {
  .peek__arrow:hover { background: var(--ink); color: var(--paper); transform: scale(1.08); }
}

/* ============================================
   Section shared
   ============================================ */
.section { padding: var(--space-7) 0; }
.section--dark { background: var(--ink); color: var(--text-on-dark); }
.section--dark .section__lead { color: var(--text-on-dark-muted); }
.section__title { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.section__title--sentence { font-size: clamp(1.6rem, 2.2vw, 2.1rem); font-weight: 500; max-width: 46ch; }
.section__lead { margin-top: var(--space-2); color: var(--muted); font-size: 1.1rem; max-width: 62ch; }

/* ============================================
   Servicii
   ============================================ */
.services {
  margin-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.service-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  padding: var(--space-5);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.service-card--primary {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  background: linear-gradient(155deg, #2a2f38 0%, #14171c 78%);
  color: var(--text-on-dark);
  border: none;
  padding: var(--space-6);
  overflow: hidden;
  filter:
    drop-shadow(20px 20px 0 var(--gold))
    drop-shadow(0 45px 70px rgba(10, 12, 15, 0.45));
  margin-bottom: var(--space-4);
}
.service-card__glow {
  position: absolute;
  z-index: 0;
  top: -120px;
  right: -100px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(182, 134, 44, 0.4) 0%, rgba(182, 134, 44, 0) 68%);
  pointer-events: none;
}
.service-card--primary .service-card__col,
.service-card--primary .check-list { position: relative; z-index: 1; }
.service-card__col { display: flex; flex-direction: column; }
.service-card--primary h3 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); }
.service-card--primary p { color: var(--text-on-dark-muted); margin-top: var(--space-3); font-size: 1.2rem; }
.service-card--primary .check-list li { border-color: var(--line-dark); }
.service-card--primary .check-list li::before { color: var(--gold); }

.service-card--secondary {
  position: relative;
  overflow: hidden;
  max-width: 620px;
  align-self: flex-start;
  background: linear-gradient(160deg, #ffffff 0%, #faf5e7 100%);
}
.service-card--secondary::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -70px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(182, 134, 44, 0.14) 0%, rgba(182, 134, 44, 0) 70%);
  pointer-events: none;
}
.service-card--secondary .service-card__head,
.service-card--secondary .check-list,
.service-card--secondary .btn { position: relative; z-index: 1; }
.service-card--secondary h3 { font-size: 1.5rem; }
.service-card--secondary p { color: var(--muted); margin-top: var(--space-2); }

.check-list { margin-top: var(--space-4); display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  padding-left: 28px;
  position: relative;
  font-size: 0.98rem;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.check-list li:last-child { border-bottom: none; padding-bottom: 0; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: var(--gold-dark);
  font-weight: 700;
}
.service-card .btn { margin-top: var(--space-4); align-self: flex-start; }
.service-card--primary .btn--dark { background: var(--gold); color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) {
  .service-card--primary .btn--dark:hover { background: var(--gold-dark); color: #fff; }
}

/* ============================================
   Cum lucram — steps
   ============================================ */
.steps {
  margin-top: var(--space-6);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
.step { border-top: 2px solid var(--line-dark); padding-top: var(--space-3); }
.step__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-bottom: 8px;
}
.step__num {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.15rem;
  font-weight: 600;
  flex-shrink: 0;
}
.step__head h3 { font-size: 1rem; margin: 0; }
.step p { color: var(--text-on-dark-muted); font-size: 0.96rem; }

/* ============================================
   Portofoliu
   ============================================ */
.portfolio-grid {
  margin-top: var(--space-6);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
.portfolio-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.portfolio-card:active { transform: translateY(-6px) scale(0.98); }
@media (hover: hover) and (pointer: fine) {
  .portfolio-card:hover { transform: translateY(-6px); box-shadow: 0 28px 44px -22px rgba(23, 26, 31, 0.28); }
}
.portfolio-card__frame { padding: var(--space-3) var(--space-3) 0; perspective: 1000px; }
.portfolio-card__frame .browser-frame { transition: transform 400ms var(--ease-snap); }
.portfolio-card__frame .browser-frame { box-shadow: 0 24px 40px -20px rgba(23, 26, 31, 0.3); }
.portfolio-card__body { padding: var(--space-3) var(--space-4) var(--space-4); }
.portfolio-card__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: #5f4610;
  background: var(--gold-soft);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.portfolio-card__link { display: block; color: inherit; cursor: pointer; }
.portfolio-card__link:focus-visible { outline: 3px solid var(--gold); outline-offset: -6px; }
.portfolio-card__title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.portfolio-card__go { display: inline-flex; flex: none; color: var(--gold-dark); transition: transform 300ms var(--ease-snap); }
@media (hover: hover) and (pointer: fine) {
  .portfolio-card:hover .portfolio-card__go { transform: translate(3px, -3px); }
}
.portfolio-card h3 { font-size: 1.2rem; }
.portfolio-card p { color: var(--muted); margin-top: 4px; font-size: 0.92rem; }

/* ============================================
   De ce Avangarde
   ============================================ */
.reasons {
  margin-top: var(--space-4);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5) var(--space-5);
}
.reason__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-bottom: 8px;
}
.reason__num {
  font-family: var(--font-display);
  color: var(--gold-dark);
  font-size: 1.2rem;
  font-weight: 600;
}
.reason__head h3 { font-size: 1.2rem; margin: 0; }
.reason p { color: var(--muted); }

/* ============================================
   FAQ accordion
   ============================================ */
.section--faq { background: #e9e9e3; }
.accordion { margin-top: var(--space-5); border-top: 1px solid var(--line); }
.accordion__item {
  border-bottom: 1px solid var(--line);
}
.accordion__item summary {
  padding: var(--space-3) 0;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  transition: opacity 160ms var(--ease-snap), color 0.3s var(--ease);
}
.accordion__item summary:active { opacity: 0.65; }
@media (hover: hover) and (pointer: fine) {
  .accordion__item summary:hover { color: var(--gold-dark); }
}
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold-dark);
  flex-shrink: 0;
  display: inline-block;
  transition: transform 320ms var(--ease-snap);
}
.accordion__item.is-open summary::after { transform: rotate(45deg); color: var(--gold); }
.accordion__item p {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  opacity: 0;
  color: var(--muted);
  max-width: 68ch;
  transition: grid-template-rows 320ms var(--ease-cool), opacity 220ms ease;
}
.accordion__item p > span { overflow: hidden; min-height: 0; }
.accordion__item.is-open p { grid-template-rows: 1fr; opacity: 1; padding-bottom: var(--space-3); }

/* ============================================
   Contact form
   ============================================ */
.contact-layout {
  margin-top: var(--space-5);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-5);
  align-items: start;
}
.contact-form { margin-top: 0; }

.contact-cards { display: flex; flex-direction: column; gap: var(--space-3); }
.contact-cards__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-dark);
  padding: var(--space-3);
  clip-path: polygon(var(--cut-sm) 0, 100% 0, 100% calc(100% - var(--cut-sm)), calc(100% - var(--cut-sm)) 100%, 0 100%, 0 var(--cut-sm));
  color: var(--text-on-dark);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.contact-card:active { transform: translateY(-3px) scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .contact-card:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-3px); border-color: var(--gold); }
}
.contact-card__icon { display: inline-flex; color: var(--gold); }
.contact-card__label { font-size: 0.82rem; color: var(--text-on-dark-muted); font-weight: 500; }
.contact-card__value { font-size: 0.92rem; font-weight: 600; word-break: break-word; }

.contact-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  color: var(--text-on-dark);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.contact-line:active { transform: translateY(-2px) scale(0.98); }
@media (hover: hover) and (pointer: fine) {
  .contact-line:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--gold); transform: translateY(-2px); }
}
.contact-line .contact-card__icon { flex-shrink: 0; }
.contact-line__value { font-size: 0.95rem; font-weight: 500; }
.form-status { margin: var(--space-2) 0 0; font-size: 0.92rem; min-height: 1.2em; text-align: right; }
.form-status:empty { margin: 0; min-height: 0; }
.form-status.is-success { color: #7bd88f; }
.form-status.is-error { color: #ec6a5e; }

/* Spam trap: invisible to people, tempting to bots */
.wizard__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ---- Step-by-step contact card ---- */
.wizard {
  position: relative;
  padding: var(--space-5);
  background:
    radial-gradient(110% 80% at 100% 0%, rgba(182, 134, 44, 0.13), transparent 60%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: border-color 0.5s var(--ease);
}
.wizard:focus-within { border-color: rgba(182, 134, 44, 0.55); }

/* Collapsible rows (progress + nav fold away once the form is sent) */
.wizard__collapse {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 520ms var(--ease-cool), opacity 300ms var(--ease);
}
.wizard__collapse-inner { overflow: hidden; min-height: 0; }
.wizard.is-done .wizard__collapse { grid-template-rows: 0fr; opacity: 0; }

.wizard__progress { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-4); }
.wizard__count { font-size: 0.85rem; color: var(--text-on-dark-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.wizard__count b { color: var(--text-on-dark); font-weight: 600; }
.wizard__bar { flex: 1; height: 2px; background: var(--line-dark); overflow: hidden; }
.wizard__bar i {
  display: block;
  height: 100%;
  background: var(--gold);
  transform-origin: left;
  transform: scaleX(0.3333);
  transition: transform 700ms var(--ease-cool);
}

/* Steps are stacked in the same spot; JS sets the viewport height to the active one */
.wizard__viewport {
  position: relative;
  overflow: hidden;
  margin: -6px;
  padding: 6px;
  transition: height 480ms var(--ease-cool);
}
.wizard__step { min-width: 0; }
.is-ready .wizard__step {
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(36px);
  filter: blur(6px);
  transition: opacity 320ms var(--ease), transform 560ms var(--ease-cool), filter 320ms var(--ease), visibility 0s linear 560ms;
}
.is-ready .wizard__step.is-past { transform: translateX(-36px); }
.is-ready .wizard__step.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  filter: none;
  transition-delay: 110ms, 110ms, 110ms, 0s;
}

/* Contents of the active step rise in one after another */
.is-ready .wizard__q,
.is-ready .option,
.is-ready .wizard__step > .field-line,
.is-ready .wizard__done-text {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 260ms var(--ease), transform 260ms var(--ease);
}
.is-ready .wizard__step.is-active .wizard__q,
.is-ready .wizard__step.is-active .option,
.is-ready .wizard__step.is-active > .field-line,
.is-ready .wizard__step.is-active .wizard__done-text {
  opacity: 1;
  transform: none;
  transition: opacity 600ms var(--ease-cool), transform 700ms var(--ease-cool);
  transition-delay: calc(var(--i, 0) * 65ms + 180ms);
}

.wizard__q {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-on-dark);
  margin-bottom: var(--space-4);
}

/* Business type tiles */
.wizard__options { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.option { position: relative; display: block; cursor: pointer; }
.option input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.option__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 68px;
  padding: 12px 18px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.2;
  color: var(--text-on-dark);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--line-dark);
  clip-path: polygon(var(--cut-sm) 0, 100% 0, 100% calc(100% - var(--cut-sm)), calc(100% - var(--cut-sm)) 100%, 0 100%, 0 var(--cut-sm));
  transition: background 300ms var(--ease), box-shadow 300ms var(--ease), transform 160ms var(--ease-snap);
}
.option:active .option__box { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) {
  .option:hover .option__box { background: rgba(255, 255, 255, 0.09); box-shadow: inset 0 0 0 1px rgba(182, 134, 44, 0.65); }
}
.option input:focus-visible + .option__box { box-shadow: inset 0 0 0 2px var(--gold-soft); }
.option input:checked + .option__box { background: rgba(182, 134, 44, 0.15); box-shadow: inset 0 0 0 1.5px var(--gold); }
.option__tick {
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.28);
  transition: background 300ms var(--ease), box-shadow 300ms var(--ease), transform 400ms var(--ease-snap);
}
.option__tick svg { stroke: var(--ink-2); stroke-dasharray: 22; stroke-dashoffset: 22; transition: stroke-dashoffset 380ms var(--ease-cool) 60ms; }
.option input:checked + .option__box .option__tick { background: var(--gold); box-shadow: none; transform: scale(1.1); }
.option input:checked + .option__box .option__tick svg { stroke-dashoffset: 0; }

/* "Altceva" free-text row slides open under the tiles */
.wizard__other {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 420ms var(--ease-cool), opacity 300ms var(--ease);
}
.wizard__other.is-open { grid-template-rows: 1fr; opacity: 1; }
.wizard__other > div { overflow: hidden; min-height: 0; }
.wizard__other .field-line { margin-top: var(--space-3); }

/* Underlined text fields with a gold line that draws in on focus */
.field-line { position: relative; }
.field-line input {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 10px 0 14px;
  background: transparent;
  border: 0;
  border-radius: 0;
  outline: none;
  color: var(--text-on-dark);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}
.field-line--sm input { font-size: 1.15rem; }
.field-line input::placeholder { color: rgba(238, 240, 238, 0.5); }
.field-line::before,
.field-line::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; }
.field-line::before { height: 1.5px; background: var(--line-dark); }
.field-line::after {
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 520ms var(--ease-cool);
}
.field-line:focus-within::after { transform: scaleX(1); }

/* Back / next controls */
.wizard__nav { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: var(--space-4); }
.wizard__back,
.wizard__next {
  height: 56px;
  border: 0;
  cursor: pointer;
  clip-path: polygon(var(--cut-sm) 0, 100% 0, 100% calc(100% - var(--cut-sm)), calc(100% - var(--cut-sm)) 100%, 0 100%, 0 var(--cut-sm));
}
.wizard__back {
  display: grid;
  place-items: center;
  width: 56px;
  padding: 0;
  overflow: hidden;
  background: transparent;
  color: var(--text-on-dark);
  box-shadow: inset 0 0 0 1.5px var(--line-dark);
  transition: width 420ms var(--ease-cool), margin 420ms var(--ease-cool), opacity 260ms var(--ease), background 300ms var(--ease), transform 160ms var(--ease-snap), visibility 0s;
}
.wizard.is-first .wizard__back {
  width: 0;
  margin-right: -12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: width 420ms var(--ease-cool), margin 420ms var(--ease-cool), opacity 260ms var(--ease), visibility 0s linear 420ms;
}
.wizard__back:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) {
  .wizard__back:hover { background: rgba(255, 255, 255, 0.08); }
}
.wizard__next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  padding: 0 18px;
  background: var(--gold);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  transition: background 300ms var(--ease), opacity 350ms var(--ease), padding 420ms var(--ease-cool), transform 160ms var(--ease-snap);
}
.wizard__next:disabled { opacity: 0.32; cursor: not-allowed; }
.wizard__next:not(:disabled):active { transform: scale(0.95); }
.wizard__next-arrow { display: grid; width: 20px; overflow: hidden; transition: width 420ms var(--ease-cool), opacity 260ms var(--ease), transform 300ms var(--ease-snap); }
.wizard__next-arrow svg { flex: none; }
.wizard__next-label { max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap; transition: max-width 420ms var(--ease-cool), opacity 300ms var(--ease) 80ms; }
.wizard.is-last .wizard__next { padding: 0 30px; }
.wizard.is-last .wizard__next-arrow { width: 0; opacity: 0; }
.wizard.is-last .wizard__next-label { max-width: 140px; opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .wizard__next:not(:disabled):hover { background: var(--gold-dark); color: #fff; }
  .wizard__next:not(:disabled):hover .wizard__next-arrow { transform: translateX(3px); }
}

/* Sent confirmation */
.wizard__done-icon { display: block; width: 64px; height: 64px; margin-bottom: var(--space-3); fill: none; }
.wizard__done-icon circle { stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 176; stroke-dashoffset: 176; transition: stroke-dashoffset 900ms var(--ease-cool); }
.wizard__done-icon path { stroke: var(--gold-soft); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; transition: stroke-dashoffset 500ms var(--ease-cool); }
.wizard__step--done.is-active .wizard__done-icon circle { stroke-dashoffset: 0; transition-delay: 250ms; }
.wizard__step--done.is-active .wizard__done-icon path { stroke-dashoffset: 0; transition-delay: 800ms; }
.wizard__done-text { color: var(--text-on-dark-muted); max-width: 36ch; }

@media (max-width: 600px) {
  .wizard { padding: var(--space-3) var(--space-3) var(--space-4); }
  .option__box { padding: 10px 14px; font-size: 1rem; min-height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .is-ready .wizard__step,
  .is-ready .wizard__step.is-past { transform: none !important; filter: none !important; }
  .is-ready .wizard__q, .is-ready .option, .is-ready .wizard__step > .field-line, .is-ready .wizard__done-text { transform: none !important; }
}

/* ============================================
   Footer
   ============================================ */
.footer { background: var(--ink-2); color: var(--text-on-dark-muted); padding: var(--space-6) 0 var(--space-3); }
.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.4fr;
  gap: var(--space-4);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--line-dark);
}
.footer__logo { width: 350px; max-width: 100%; height: auto; display: block; margin-bottom: var(--space-3); }
.footer__col h3 {
  color: var(--text-on-dark);
  font-size: 0.95rem;
  margin-bottom: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
}
.footer__col a { display: block; margin-bottom: 10px; font-size: 0.92rem; transition: color 0.2s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .footer__col a:hover { color: var(--gold); }
}
.footer__bottom { padding-top: var(--space-3); font-size: 0.85rem; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--space-2); }
  .hero__content { display: contents; }
  .hero__title { order: 1; }
  .hero__visual { order: 2; width: 70%; max-width: 480px; margin: 0 auto; }
  .hero__subtitle { order: 3; margin-top: var(--space-2); }
  .hero__actions { order: 4; margin-top: var(--space-2); }
  .filler__inner { grid-template-columns: 1fr; }
  .filler__visual {
    order: 2;
    margin-top: var(--space-4);
    position: static;
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
  }
  .tag-card { position: static; width: 100%; max-width: 280px; --rot: 0deg; }
  .filler__glow { display: none; }
  .service-card--primary { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .reasons { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-cards { max-width: 480px; }
}

@media (max-width: 620px) {
  .peek__stage { height: 340px; }
  .peek__slide { width: 250px; }
  .peek__slide[data-offset="-1"] { --x: -180px; }
  .peek__slide[data-offset="1"] { --x: 180px; }
  .peek__slide[data-offset="-2"] { --x: -300px; }
  .peek__slide[data-offset="2"] { --x: 300px; }
  .peek__arrow { width: 38px; height: 38px; }
  .peek__nav { gap: var(--space-3); }
}

@media (max-width: 1080px) {
  .navbar__nav, .navbar__cta { display: none; }
  .navbar__toggle { display: flex; }
  .mobile-nav {
    display: grid;
    grid-template-rows: 0fr;
    visibility: hidden;
    transition: grid-template-rows 320ms var(--ease-cool), visibility 0s linear 320ms;
  }
  .mobile-nav.is-open { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
}

@media (max-width: 720px) {
  .hero { padding: calc(76px + var(--space-3)) 0 var(--space-3); }
  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .contact-cards__row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .reason__head, .step__head { flex-direction: column; align-items: flex-start; gap: 4px; }

  /* The fake browser mockups (hero + portfolio) use a fixed aspect-ratio for
     the "screen"; at narrow phone widths that makes it too short for the
     overlay content (nav + headline + button), clipping the button entirely.
     Give it more relative height and trim the overlay spacing to match. */
  .browser-frame__screen { aspect-ratio: 5 / 4; }
  .mockup-nav { padding: 10px 16px; }
  .mockup-hero { padding: 2% 16px 0; }
  .mockup-hero h3 { font-size: 1rem; max-width: 9ch; }
  .mockup-btn { margin-top: 6px; font-size: 0.7rem; padding: 7px 14px; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-2); }
  .btn--lg { padding: 13px 22px; }
  .navbar__logo-lockup { width: 242px; }
}
