/* ==========================================================================
   AYEBEE, Be The Light
   Black & white brand system. Sharp, minimal, modern.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  --bg: #050505;
  --ink: #ffffff;
  --muted: #a3a3a3;
  --card: #111111;
  --line: #262626;
  --line-strong: #3d3d3d;

  --font-display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont,
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    Helvetica, Arial, sans-serif;

  --container: 1160px;
  --gutter: 24px;
  --header-h: 72px;
  --mobile-bar-h: 64px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: dark;
}

/* Light context, flip the palette on any section with .light */
.light {
  --bg: #f7f7f7;
  --ink: #0a0a0a;
  --muted: #545454;
  --card: #ffffff;
  --line: #e2e2e2;
  --line-strong: #bdbdbd;
  background: var(--bg);
  color: var(--ink);
  color-scheme: light;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

img,
svg,
iframe {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

b,
strong {
  font-weight: 700;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: #ffffff;
  color: #050505;
}

.light ::selection {
  background: #0a0a0a;
  color: #f7f7f7;
}

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

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

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  background: #ffffff;
  color: #050505;
  padding: 12px 18px;
  font: 600 13px/1 var(--font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 16px;
}

/* --------------------------------------------------------------------------
   3. Layout + type utilities
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(72px, 10vw, 128px);
}

.section-tight {
  padding-block: clamp(56px, 7vw, 88px);
}

.eyebrow {
  font: 600 12px/1.4 var(--font-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow .spark {
  color: var(--ink);
  margin-right: 2px;
}

.display {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.02;
  font-size: clamp(34px, 5vw, 56px);
  text-wrap: balance;
}

.display-xl {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  line-height: 0.99;
  font-size: clamp(34px, 7.2vw, 84px);
  text-wrap: balance;
  overflow-wrap: break-word;
}

.outline-text {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}

@supports not (-webkit-text-stroke: 1px black) {
  .outline-text {
    color: var(--ink);
  }
}

.lead {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
  color: var(--muted);
  max-width: 58ch;
  text-wrap: pretty;
}

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head--split {
  grid-template-columns: 1fr auto;
  align-items: end;
}

.section-head--split .lead {
  grid-column: 1;
}

.kicker-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}

/* --------------------------------------------------------------------------
   4. Buttons + links
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 30px;
  border: 1px solid var(--ink);
  font: 600 13px/1 var(--font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
    border-color 0.22s var(--ease), transform 0.22s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn-solid {
  background: var(--ink);
  color: var(--bg);
}

.btn-solid:hover {
  background: transparent;
  color: var(--ink);
}

.btn-line {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-line:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}

.btn-sm {
  padding: 12px 20px;
  font-size: 12px;
}

.btn-xl {
  width: 100%;
  max-width: 620px;
  padding: 26px 32px;
  font-size: 15px;
  letter-spacing: 0.16em;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-row--center {
  justify-content: center;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 600 13px/1 var(--font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.2s var(--ease), gap 0.2s var(--ease);
}

.arrow-link::after {
  content: "→";
  font-family: var(--font-body);
}

.arrow-link:hover {
  border-color: var(--ink);
  gap: 16px;
}

/* --------------------------------------------------------------------------
   5. Header + navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 5, 0.92);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}

/* Blur only on desktop: backdrop-filter turns the header into the containing
   block for position:fixed children, which would trap the mobile nav overlay. */
@media (min-width: 1121px) {
  .site-header {
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
}

@media (max-width: 1120px) {
  .site-header {
    background: #050505;
  }
}

.site-header.scrolled {
  border-bottom-color: #1c1c1c;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  height: 42px;
  width: auto;
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  font: 600 12px/1 var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a[aria-current="page"] {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-note {
  display: none;
}

.menu-toggle {
  display: none;
  position: relative;
  z-index: 120;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

html.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(4.5px) rotate(45deg);
}

html.nav-open .menu-toggle span:nth-child(2) {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* Mobile navigation overlay */
@media (max-width: 1120px) {
  .menu-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 110;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    gap: 0;
    padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
    background: #050505;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
  }

  html.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
  }

  html.nav-open {
    overflow: hidden;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-bottom: auto;
  }

  .nav-links li {
    border-bottom: 1px solid #1c1c1c;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  }

  html.nav-open .nav-links li {
    opacity: 1;
    transform: none;
  }

  html.nav-open .nav-links li:nth-child(2) { transition-delay: 0.04s; }
  html.nav-open .nav-links li:nth-child(3) { transition-delay: 0.08s; }
  html.nav-open .nav-links li:nth-child(4) { transition-delay: 0.12s; }
  html.nav-open .nav-links li:nth-child(5) { transition-delay: 0.16s; }
  html.nav-open .nav-links li:nth-child(6) { transition-delay: 0.2s; }
  html.nav-open .nav-links li:nth-child(7) { transition-delay: 0.24s; }

  .nav-links a {
    display: block;
    padding: 20px 0;
    font-family: var(--font-display);
    font-size: clamp(28px, 7vw, 40px);
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #ffffff;
    border-bottom: 0;
  }

  .nav-links a[aria-current="page"] {
    color: var(--muted);
    border-bottom: 0;
  }

  .nav-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 32px;
  }

  .nav-cta .btn {
    width: 100%;
    padding: 19px 24px;
  }

  .nav-note {
    display: block;
    margin-top: 20px;
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
  }
}

/* --------------------------------------------------------------------------
   6. Hero (home)
   -------------------------------------------------------------------------- */

.hero {
  display: flex;
  flex-direction: column;
  min-height: min(calc(100svh - var(--header-h) - 104px), 880px);
  text-align: center;
}

.hero-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding-block: clamp(56px, 8vw, 96px);
}

.hero-mark {
  height: clamp(76px, 11vw, 118px);
  width: auto;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.96;
  font-size: clamp(38px, 9.4vw, 108px);
}

.hero .lead {
  margin-inline: auto;
  max-width: 46ch;
}

.hero .btn-row {
  justify-content: center;
  margin-top: 6px;
}

/* Trust strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.trust-item {
  padding: 22px 12px 26px;
  border-left: 1px solid var(--line);
  display: grid;
  gap: 4px;
  justify-items: center;
  text-align: center;
}

.trust-item:first-child {
  border-left: 0;
}

.trust-item b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(17px, 2.4vw, 24px);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 1.1;
}

.trust-item span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 640px) {
  .trust-strip {
    grid-template-columns: 1fr 1fr;
  }

  .trust-item {
    border-left: 0;
    border-top: 1px solid var(--line);
    margin-top: -1px;
  }

  .trust-item:nth-child(even) {
    border-left: 1px solid var(--line);
  }
}

/* --------------------------------------------------------------------------
   7. Page head (interior pages)
   -------------------------------------------------------------------------- */

.page-head {
  padding-block: clamp(64px, 9vw, 120px) clamp(48px, 6vw, 80px);
}

.page-head .container {
  display: grid;
  gap: 20px;
}

.page-head .btn-row {
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   8. Service list (home) + service cards (services page)
   -------------------------------------------------------------------------- */

.svc-list {
  border-top: 1px solid var(--line);
}

.svc-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.25s var(--ease);
}

.svc-row:hover {
  padding-left: 10px;
}

.svc-row-name {
  display: grid;
  gap: 3px;
}

.svc-row-name b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.svc-row-name span {
  font-size: 14px;
  color: var(--muted);
}

.svc-row-meta {
  display: flex;
  align-items: baseline;
  gap: 22px;
  flex-shrink: 0;
}

.svc-row-meta .time {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.svc-row-meta .price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  min-width: 64px;
  text-align: right;
}

@media (max-width: 560px) {
  .svc-row-meta .time {
    display: none;
  }
}

/* Cards */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 820px) {
  .svc-grid {
    grid-template-columns: 1fr;
  }
}

.svc-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  padding: clamp(26px, 3.5vw, 40px);
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease);
}

.svc-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.svc-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.svc-card h2,
.svc-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 2.4vw, 25px);
  letter-spacing: 0;
  line-height: 1.1;
  text-transform: uppercase;
  text-wrap: balance;
}

.svc-card .price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1;
  flex-shrink: 0;
}

.svc-tag {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--ink);
  padding: 5px 8px;
}

.svc-card p {
  color: var(--muted);
  font-size: 15px;
  max-width: 52ch;
}

.svc-card-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.svc-card-foot .duration {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   9. Numbered principles
   -------------------------------------------------------------------------- */

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}

@media (max-width: 820px) {
  .principles {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.principle {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: grid;
  gap: 12px;
  align-content: start;
}

@media (max-width: 820px) {
  .principle {
    padding-block: 24px 32px;
  }
}

.principle .num {
  font: 700 12px/1 var(--font-body);
  letter-spacing: 0.2em;
  color: var(--muted);
}

.principle h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.principle p {
  color: var(--muted);
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   10. Gallery
   -------------------------------------------------------------------------- */

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(32px, 4vw, 48px);
}

.filter-tabs button {
  padding: 14px 2px;
  font: 600 12.5px/1 var(--font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.filter-tabs button:hover {
  color: var(--ink);
}

.filter-tabs button[aria-pressed="true"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
  .gallery-grid,
  .gallery-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tile {
  transition: transform 0.28s var(--ease), opacity 0.3s var(--ease);
}

.tile:hover {
  transform: translateY(-4px);
}

.tile.is-hidden {
  display: none;
}

.tile-media {
  aspect-ratio: 4 / 5;
  background: var(--card);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color 0.28s var(--ease);
}

.tile:hover .tile-media {
  border-color: var(--line-strong);
}

.tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile-mark {
  width: 56px;
  height: 56px;
  background: var(--ink);
  opacity: 0.1;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 .9l3.35 6.79 7.5 1.09-5.43 5.29 1.28 7.46L12 18.02l-6.7 3.52 1.28-7.46L1.15 8.78l7.5-1.09z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 .9l3.35 6.79 7.5 1.09-5.43 5.29 1.28 7.46L12 18.02l-6.7 3.52 1.28-7.46L1.15 8.78l7.5-1.09z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.tile figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.gallery-note {
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   11. Reviews
   -------------------------------------------------------------------------- */

.stars5 {
  display: inline-block;
  width: 108px;
  height: 20px;
  background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 122 24'%3E%3Cpath d='M12 .9l3.35 6.79 7.5 1.09-5.43 5.29 1.28 7.46L12 18.02l-6.7 3.52 1.28-7.46L1.15 8.78l7.5-1.09z'/%3E%3Cpath transform='translate(24.5 0)' d='M12 .9l3.35 6.79 7.5 1.09-5.43 5.29 1.28 7.46L12 18.02l-6.7 3.52 1.28-7.46L1.15 8.78l7.5-1.09z'/%3E%3Cpath transform='translate(49 0)' d='M12 .9l3.35 6.79 7.5 1.09-5.43 5.29 1.28 7.46L12 18.02l-6.7 3.52 1.28-7.46L1.15 8.78l7.5-1.09z'/%3E%3Cpath transform='translate(73.5 0)' d='M12 .9l3.35 6.79 7.5 1.09-5.43 5.29 1.28 7.46L12 18.02l-6.7 3.52 1.28-7.46L1.15 8.78l7.5-1.09z'/%3E%3Cpath transform='translate(98 0)' d='M12 .9l3.35 6.79 7.5 1.09-5.43 5.29 1.28 7.46L12 18.02l-6.7 3.52 1.28-7.46L1.15 8.78l7.5-1.09z'/%3E%3C/svg%3E") left center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 122 24'%3E%3Cpath d='M12 .9l3.35 6.79 7.5 1.09-5.43 5.29 1.28 7.46L12 18.02l-6.7 3.52 1.28-7.46L1.15 8.78l7.5-1.09z'/%3E%3Cpath transform='translate(24.5 0)' d='M12 .9l3.35 6.79 7.5 1.09-5.43 5.29 1.28 7.46L12 18.02l-6.7 3.52 1.28-7.46L1.15 8.78l7.5-1.09z'/%3E%3Cpath transform='translate(49 0)' d='M12 .9l3.35 6.79 7.5 1.09-5.43 5.29 1.28 7.46L12 18.02l-6.7 3.52 1.28-7.46L1.15 8.78l7.5-1.09z'/%3E%3Cpath transform='translate(73.5 0)' d='M12 .9l3.35 6.79 7.5 1.09-5.43 5.29 1.28 7.46L12 18.02l-6.7 3.52 1.28-7.46L1.15 8.78l7.5-1.09z'/%3E%3Cpath transform='translate(98 0)' d='M12 .9l3.35 6.79 7.5 1.09-5.43 5.29 1.28 7.46L12 18.02l-6.7 3.52 1.28-7.46L1.15 8.78l7.5-1.09z'/%3E%3C/svg%3E") left center / contain no-repeat;
}

.stars5--lg {
  width: 178px;
  height: 33px;
}

.rating-hero {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 18px;
}

.rating-hero .score {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(88px, 16vw, 168px);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.rating-hero .rating-meta {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.rating-hero .rating-meta b {
  color: var(--ink);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 980px) {
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .review-grid {
    grid-template-columns: 1fr;
  }
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 26px;
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease);
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.review-card .stars5 {
  width: 86px;
  height: 16px;
}

.review-card blockquote {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink);
  text-wrap: pretty;
}

.review-card footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.review-card footer b {
  font-size: 13.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.review-card footer span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Featured quote (home) */
.quote-feature {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 22px;
}

.quote-feature blockquote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3.4vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.quote-feature cite {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   12. About / story
   -------------------------------------------------------------------------- */

.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

@media (max-width: 860px) {
  .story-grid {
    grid-template-columns: 1fr;
  }
}

.story-copy {
  display: grid;
  gap: 22px;
}

.story-copy p {
  color: var(--muted);
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.7;
}

.story-copy p b {
  color: var(--ink);
  font-weight: 600;
}

.portrait-slot {
  aspect-ratio: 4 / 5;
  background: var(--card);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.portrait-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pull-quote {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(40px, 6vw, 72px);
  text-align: center;
}

.pull-quote p {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: clamp(28px, 5vw, 52px);
  text-wrap: balance;
}

/* --------------------------------------------------------------------------
   13. Book page
   -------------------------------------------------------------------------- */

.book-panel {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 56px);
  background: var(--card);
  border: 1px solid var(--line);
}

.book-panel .fine {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}

@media (max-width: 820px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.step {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: grid;
  gap: 10px;
  align-content: start;
}

@media (max-width: 820px) {
  .step {
    padding-block: 22px 30px;
  }
}

.step .num {
  font: 700 12px/1 var(--font-body);
  letter-spacing: 0.2em;
  color: var(--muted);
}

.step h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  text-transform: uppercase;
}

.step p {
  color: var(--muted);
  font-size: 15px;
}

.step p a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
}

/* Booksy widget embed */
.booksy-panel {
  background: var(--card);
  border: 1px solid var(--line);
  padding: clamp(16px, 2.5vw, 28px);
  display: grid;
  gap: 22px;
}

.booksy-widget {
  position: relative;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* If Booksy mounts a full iframe rather than a button, let it fill the panel. */
.booksy-widget iframe {
  width: 100%;
  border: 0;
}

.booksy-state {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 32px 24px;
  color: var(--muted);
}

.booksy-state[hidden] {
  display: none;
}

.booksy-state .state-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}

.booksy-state p {
  font-size: 14px;
  max-width: 46ch;
  line-height: 1.6;
}

.booksy-spinner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  border-top-color: var(--ink);
  animation: booksy-spin 0.8s linear infinite;
}

@keyframes booksy-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .booksy-spinner {
    animation: none;
    border-top-color: var(--line-strong);
  }
}

.booksy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.booksy-actions .btn {
  flex: 1 1 240px;
}

/* --------------------------------------------------------------------------
   14. Contact
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.info-list {
  border-top: 1px solid var(--line);
}

.info-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 6px;
}

.info-item .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.info-item .value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(19px, 2.4vw, 24px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.info-item .value a {
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.2s var(--ease);
}

.info-item .value a:hover {
  border-bottom-color: var(--ink);
}

.info-item .hint {
  font-size: 13.5px;
  color: var(--muted);
}

.map-frame {
  border: 1px solid var(--line);
  background: var(--card);
}

.map-frame iframe {
  width: 100%;
  height: 420px;
  border: 0;
  filter: grayscale(1) contrast(1.02);
}

.map-frame figcaption {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   15. CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  padding-block: clamp(80px, 11vw, 140px);
  text-align: center;
}

.cta-band .container {
  display: grid;
  justify-items: center;
  gap: 22px;
}

.cta-band .display-xl {
  max-width: 16ch;
}

.cta-band .lead {
  max-width: 44ch;
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid #1c1c1c;
  background: #050505;
  color: #ffffff;
  overflow: hidden;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px 40px;
  padding-block: clamp(56px, 7vw, 88px) clamp(40px, 5vw, 64px);
}

@media (max-width: 980px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.footer-brand {
  display: grid;
  gap: 16px;
  align-content: start;
  justify-items: start;
}

.footer-brand img {
  height: 44px;
  width: auto;
}

.footer-brand .name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}

.footer-brand .motto {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #a3a3a3;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a3a3a3;
  margin-bottom: 18px;
}

.footer-col ul {
  display: grid;
  gap: 12px;
}

.footer-col a:not(.btn) {
  font-size: 14.5px;
  color: #e5e5e5;
  transition: color 0.2s var(--ease);
}

.footer-col a:not(.btn):hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-col p {
  font-size: 14.5px;
  color: #a3a3a3;
  line-height: 1.7;
}

.footer-col .btn {
  margin-top: 4px;
}

.footer-cta {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.footer-bottom {
  border-top: 1px solid #1c1c1c;
  padding-block: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  font-size: 12.5px;
  color: #737373;
}

.footer-giant {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.78;
  font-size: clamp(36px, 12.5vw, 190px);
  text-align: center;
  color: #101010;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100%;
  user-select: none;
  pointer-events: none;
  margin-bottom: -0.12em;
}

/* --------------------------------------------------------------------------
   17. Sticky mobile CTA bar
   -------------------------------------------------------------------------- */

.mobile-bar {
  display: none;
}

@media (max-width: 1120px) {
  .mobile-bar {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    height: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    border-top: 1px solid #262626;
  }

  .mobile-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    font: 700 13px/1 var(--font-body);
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .mobile-bar .mb-book {
    background: #ffffff;
    color: #050505;
  }

  .mobile-bar .mb-call {
    background: #0a0a0a;
    color: #ffffff;
    border-left: 1px solid #262626;
  }

  body {
    padding-bottom: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom, 0px));
  }
}

/* --------------------------------------------------------------------------
   18. Motion
   -------------------------------------------------------------------------- */

@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.22s;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

html.js .reveal.in {
  opacity: 1;
  transform: none;
}

html.js .reveal-group > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

html.js .reveal-group.in > * {
  opacity: 1;
  transform: none;
}

html.js .reveal-group.in > *:nth-child(2) { transition-delay: 0.07s; }
html.js .reveal-group.in > *:nth-child(3) { transition-delay: 0.14s; }
html.js .reveal-group.in > *:nth-child(4) { transition-delay: 0.21s; }
html.js .reveal-group.in > *:nth-child(5) { transition-delay: 0.28s; }
html.js .reveal-group.in > *:nth-child(6) { transition-delay: 0.35s; }
html.js .reveal-group.in > *:nth-child(n + 7) { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html.js .reveal,
  html.js .reveal-group > * {
    opacity: 1;
    transform: none;
  }

  @view-transition {
    navigation: none;
  }
}

/* --------------------------------------------------------------------------
   19. Small helpers
   -------------------------------------------------------------------------- */

.divider {
  border: 0;
  border-top: 1px solid var(--line);
}

.center {
  text-align: center;
}

.stack-sm {
  display: grid;
  gap: 14px;
}

.mt-lg {
  margin-top: clamp(36px, 5vw, 56px);
}

/* --------------------------------------------------------------------------
   20. Products
   -------------------------------------------------------------------------- */

/* Demo notice, tasteful, not scary */
.demo-notice {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: var(--card);
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

.demo-notice .demo-tag {
  flex-shrink: 0;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--ink);
  padding: 5px 9px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.product-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1000px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 820px) {
  .product-grid,
  .product-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .product-grid,
  .product-grid--3 {
    grid-template-columns: 1fr;
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease);
}

.product-card.is-hidden {
  display: none;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.product-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.03), transparent);
  cursor: pointer;
  overflow: hidden;
}

.light .product-media {
  background: linear-gradient(160deg, rgba(0, 0, 0, 0.03), transparent);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-ph {
  width: 34%;
  max-width: 96px;
  aspect-ratio: 1 / 1;
  background: var(--ink);
  opacity: 0.12;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 .9l3.35 6.79 7.5 1.09-5.43 5.29 1.28 7.46L12 18.02l-6.7 3.52 1.28-7.46L1.15 8.78l7.5-1.09z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 .9l3.35 6.79 7.5 1.09-5.43 5.29 1.28 7.46L12 18.02l-6.7 3.52 1.28-7.46L1.15 8.78l7.5-1.09z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--ink);
  padding: 5px 8px;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 20px 0;
}

.product-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.product-cat {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
}

.product-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0;
  text-transform: uppercase;
  line-height: 1.1;
}

.product-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

.product-actions {
  display: grid;
  gap: 8px;
  padding: 18px 20px 20px;
  margin-top: auto;
}

.product-actions .btn {
  width: 100%;
}

/* ---- Product detail modal ---- */

.pmodal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 40px);
}

.pmodal[hidden] {
  display: none;
}

html.pmodal-open {
  overflow: hidden;
}

.pmodal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.74);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.pmodal-dialog {
  position: relative;
  z-index: 1;
  width: min(940px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: #0b0b0b;
  border: 1px solid var(--line-strong);
  display: grid;
  grid-template-columns: 1fr 1fr;
  animation: pmodal-in 0.28s var(--ease);
}

@keyframes pmodal-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.99);
  }
}

@media (max-width: 760px) {
  .pmodal-dialog {
    grid-template-columns: 1fr;
    max-height: 92vh;
  }
}

.pmodal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.pmodal-close:hover {
  background: var(--ink);
  color: #050505;
}

.pmodal-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), transparent);
  border-right: 1px solid var(--line);
}

@media (max-width: 760px) {
  .pmodal-media {
    aspect-ratio: 16 / 10;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

.pmodal-media .product-ph {
  width: 30%;
  max-width: 120px;
}

.pmodal-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #050505;
  background: #ffffff;
  padding: 5px 8px;
}

.pmodal-badge:empty {
  display: none;
}

.pmodal-body {
  padding: clamp(24px, 3.5vw, 40px);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pmodal-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pmodal-cat {
  color: #a3a3a3;
}

.pmodal-status {
  color: #050505;
  background: #ffffff;
  padding: 4px 8px;
  letter-spacing: 0.12em;
}

.pmodal-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 1.02;
}

.pmodal-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  line-height: 1;
}

.pmodal-desc {
  font-size: 15.5px;
  line-height: 1.6;
  color: #e5e5e5;
}

.pmodal-block {
  border-top: 1px solid #1e1e1e;
  padding-top: 14px;
}

.pmodal-block h3 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a3a3a3;
  margin-bottom: 6px;
}

.pmodal-block p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #e5e5e5;
}

.pmodal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.pmodal-actions .btn {
  flex: 1 1 200px;
}

.pmodal-demo {
  font-size: 12.5px;
  line-height: 1.55;
  color: #8a8a8a;
  border-top: 1px solid #1e1e1e;
  padding-top: 14px;
}
