/* =========================================================
   Class Aesthetics, Tiranë
   Cream + cocoa + warm-ink. Editorial, feminine, considered.
   ========================================================= */

:root {
  /* Brand, derived from classaesthetics.al logo (dusty rose + blush + cream) */
  --ink:           #1B1714;
  --ink-soft:      #2E2622;
  --ink-deep:      #110D0A;
  --bone:          #F5E6E0;     /* warm blush base */
  --cream:         #FAF1ED;     /* cream-pink surface */
  --shell:         #E8CFC8;     /* shell pink */
  --shell-deep:    #D5B5AE;
  --cocoa:         #B07A7E;     /* dusty rose accent (logo-driven) */
  --cocoa-soft:    #C99A9E;     /* soft rose */
  --cocoa-deep:    #7E494E;     /* deep rose */
  --rose-dust:     #C9A99B;
  --stone:         #7E726E;
  --stone-soft:    #9B8E89;

  /* Semantic */
  --bg:            var(--bone);
  --surface:       var(--cream);
  --surface-deep:  var(--shell);
  --text:          var(--ink);
  --text-muted:    var(--stone);
  --text-on-dark:  var(--bone);
  --rule:          rgba(27, 23, 20, .14);
  --rule-soft:     rgba(27, 23, 20, .08);
  --rule-on-dark:  rgba(244, 237, 226, .18);

  /* Type */
  --font-display:  'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --font-body:     'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --text-xs:    clamp(0.74rem, 0.7rem + 0.18vw, 0.84rem);
  --text-sm:    clamp(0.86rem, 0.8rem + 0.25vw, 0.96rem);
  --text-base:  clamp(1rem, 0.95rem + 0.25vw, 1.08rem);
  --text-lg:    clamp(1.12rem, 1.02rem + 0.5vw, 1.24rem);
  --text-xl:    clamp(1.3rem, 1.15rem + 0.75vw, 1.55rem);
  --text-2xl:   clamp(1.55rem, 1.35rem + 0.95vw, 1.95rem);
  --text-3xl:   clamp(1.95rem, 1.6rem + 1.6vw, 2.65rem);
  --text-4xl:   clamp(2.35rem, 1.8rem + 2.5vw, 3.5rem);
  --text-5xl:   clamp(2.8rem, 2rem + 3.4vw, 4.5rem);
  --text-6xl:   clamp(3.2rem, 2.3rem + 4.4vw, 5.5rem);

  --leading-tight:   1.06;
  --leading-snug:    1.2;
  --leading-normal:  1.55;
  --leading-relaxed: 1.7;

  /* Space */
  --section-px:    clamp(1.25rem, 0.75rem + 2vw, 2.5rem);
  --section-py:    clamp(3.5rem, 2.5rem + 4vw, 6rem);
  --section-py-lg: clamp(4.5rem, 3rem + 6vw, 9rem);

  --container:     min(82rem, 100% - 2 * var(--section-px));
  --measure:       62ch;

  /* Motion */
  --ease-out:  cubic-bezier(.2,.7,.2,1);
  --ease-soft: cubic-bezier(.4,0,.2,1);
  --dur-fast:  220ms;
  --dur:       420ms;
  --dur-slow:  900ms;

  --safe-bottom: env(safe-area-inset-bottom, 0);
  --safe-top:    env(safe-area-inset-top, 0);
}

/* =========================================================
   Reset
   ========================================================= */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }

::selection { background: var(--cocoa); color: var(--bone); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: .5rem 1rem;
  background: var(--ink);
  color: var(--bone);
  z-index: 9999;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* =========================================================
   Typography primitives
   ========================================================= */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: var(--leading-tight);
  margin: 0;
  padding-bottom: .08em;
}

h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 400;
  color: var(--cocoa-deep);
}

p { margin: 0 0 1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--cocoa);
  margin: 0 0 .9rem;
}

.lede {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: var(--leading-snug);
  color: var(--ink-soft);
  font-weight: 400;
  max-width: 42ch;
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  min-height: 46px;
  padding: .8rem 1.25rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: .005em;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    background var(--dur-fast) var(--ease-soft),
    color var(--dur-fast) var(--ease-soft),
    border-color var(--dur-fast) var(--ease-soft);
  cursor: pointer;
  white-space: nowrap;
}
.btn-sm { min-height: 40px; padding: .55rem 1rem; font-size: var(--text-xs); letter-spacing: .04em; text-transform: uppercase; }

.btn .arrow { display: inline-block; transition: transform var(--dur-fast) var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}
.btn-primary:hover { background: var(--ink-deep); border-color: var(--ink-deep); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.btn-ghost:hover { border-color: var(--ink); }

.btn-ghost-light {
  background: transparent;
  color: var(--bone);
  border-color: var(--rule-on-dark);
}
.btn-ghost-light:hover { border-color: var(--bone); }

/* =========================================================
   Reveal, opacity-only
   ========================================================= */

.reveal {
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-out);
  will-change: opacity;
}
.reveal.in-view { opacity: 1; }
.reveal-d1.in-view { transition-delay: 90ms; }
.reveal-d2.in-view { transition-delay: 180ms; }
.reveal-d3.in-view { transition-delay: 270ms; }
.reveal-d4.in-view { transition-delay: 360ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Clip-path reveal (scroll-linked)
   JS sets --clip from 1 (hidden) to 0 (full reveal)
   ========================================================= */

.clip-reveal {
  --clip: 1;
  position: relative;
  overflow: hidden;
}
.clip-reveal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: inset(0 calc(var(--clip) * 100%) 0 0);
  transition: clip-path 80ms linear;
  will-change: clip-path;
}
@media (prefers-reduced-motion: reduce) {
  .clip-reveal img { clip-path: none; transition: none; }
}

/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--section-px) 1rem;
  padding-top: calc(1rem + var(--safe-top));
  background: transparent;
  transition:
    background var(--dur) var(--ease-soft),
    border-color var(--dur) var(--ease-soft),
    color var(--dur) var(--ease-soft);
  color: var(--bone);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(244, 237, 226, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--ink);
  border-bottom-color: var(--rule-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  color: inherit;
  line-height: 1;
}
.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
.brand-text {
  display: inline-flex;
  align-items: baseline;
  gap: .3rem;
  line-height: 1;
}
.brand-name { line-height: 1; }
.brand-name-italic {
  font-style: italic;
  font-weight: 400;
  color: var(--cocoa);
}
.site-header.scrolled .brand-name-italic { color: var(--cocoa-deep); }

.nav {
  display: none;
  gap: 1.6rem;
  font-size: var(--text-sm);
  font-weight: 400;
}
.nav a { padding: .25rem 0; transition: opacity var(--dur-fast) var(--ease-soft); }
.nav a:hover { opacity: .65; }

.header-cta {
  display: none;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.05rem;
  font-size: var(--text-sm);
  font-weight: 500;
  border: 1px solid currentColor;
  transition: background var(--dur-fast) var(--ease-soft), color var(--dur-fast) var(--ease-soft);
}
.site-header:not(.scrolled) .header-cta { color: var(--bone); }
.site-header.scrolled .header-cta { color: var(--ink); }
.header-cta:hover { background: currentColor; }
.header-cta:hover, .header-cta:hover .arrow { color: var(--bone); }
.site-header.scrolled .header-cta:hover, .site-header.scrolled .header-cta:hover .arrow { color: var(--bone); }

.nav-toggle {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: inherit;
}
.nav-toggle .bar,
.nav-toggle .bar::before,
.nav-toggle .bar::after {
  content: "";
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
}
.nav-toggle .bar { position: relative; }
.nav-toggle .bar::before { position: absolute; top: -7px; left: 0; }
.nav-toggle .bar::after  { position: absolute; top: 7px; left: 0; }

@media (min-width: 880px) {
  .nav { display: inline-flex; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .site-header { padding-left: clamp(1.5rem, 2vw, 2.5rem); padding-right: clamp(1.5rem, 2vw, 2.5rem); }
}

/* =========================================================
   Mobile drawer
   ========================================================= */

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ink);
  color: var(--bone);
  padding: calc(2.5rem + var(--safe-top)) var(--section-px) calc(2rem + var(--safe-bottom));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease-soft);
}
.mobile-drawer.open { opacity: 1; pointer-events: auto; }

.mobile-drawer-close {
  position: absolute;
  top: calc(.75rem + var(--safe-top));
  right: var(--section-px);
  width: 44px; height: 44px;
  color: var(--bone);
}
.mobile-drawer-close::before,
.mobile-drawer-close::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 22px; height: 1.5px;
  background: currentColor;
}
.mobile-drawer-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.mobile-drawer-close::after  { transform: translate(-50%, -50%) rotate(-45deg); }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-top: 2rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 5vw, 2.3rem);
}
.mobile-nav a { padding: .25rem 0; }

.mobile-meta {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  font-size: var(--text-sm);
  color: var(--bone);
  opacity: .75;
}
.mobile-meta a:hover { opacity: 1; color: var(--cocoa-soft); }

@media (min-width: 880px) {
  .mobile-drawer { display: none; }
}

/* =========================================================
   HERO with localized text scrim
   ========================================================= */

.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: calc(5rem + var(--safe-top)) var(--section-px) clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  color: var(--bone);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s var(--ease-out), transform 14s linear;
  filter: brightness(.55) saturate(.85);
  will-change: opacity, transform;
}
.hero.loaded .hero-image {
  opacity: 1;
  transform: scale(1);
}

/* Localized scrim, 2-stop gradient anchored to text container */
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(11, 12, 15, .88) 0%,
    rgba(11, 12, 15, 0) 60%
  );
  pointer-events: none;
}
@media (max-width: 720px) {
  .hero-scrim {
    background: linear-gradient(
      to top,
      rgba(11, 12, 15, .92) 10%,
      rgba(11, 12, 15, 0) 78%
    );
  }
}

.hero-body {
  position: relative;
  z-index: 2;
  max-width: 38rem;
  width: 100%;
}
.hero-eyebrow {
  color: var(--cocoa-soft);
  margin-bottom: 1.4rem;
  opacity: 0;
  transition: opacity 1s var(--ease-out) .2s;
}
.hero.loaded .hero-eyebrow { opacity: 1; }

.hero-headline {
  font-size: var(--text-5xl);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin-bottom: 1.25rem;
  opacity: 0;
  transition: opacity 1s var(--ease-out) .35s;
}
.hero.loaded .hero-headline { opacity: 1; }
.hero-headline em { color: var(--cocoa-soft); font-weight: 400; }

.hero-tagline {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: var(--leading-snug);
  font-weight: 400;
  color: rgba(244, 237, 226, .92);
  margin-bottom: 1.75rem;
  max-width: 34ch;
  opacity: 0;
  transition: opacity 1s var(--ease-out) .5s;
}
.hero.loaded .hero-tagline { opacity: 1; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  opacity: 0;
  transition: opacity 1s var(--ease-out) .65s;
}
.hero.loaded .hero-actions { opacity: 1; }

.hero-actions .btn-primary {
  background: var(--bone);
  color: var(--ink);
  border-color: var(--bone);
}
.hero-actions .btn-primary:hover {
  background: var(--cocoa-soft);
  color: var(--ink);
  border-color: var(--cocoa-soft);
}

.hero-corner {
  position: absolute;
  top: calc(5rem + var(--safe-top));
  right: var(--section-px);
  z-index: 2;
  display: none;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cocoa-soft);
  opacity: 0;
  transition: opacity 1s var(--ease-out) .55s;
}
.hero.loaded .hero-corner { opacity: .9; }
.hero-corner-line { width: 32px; height: 1px; background: currentColor; opacity: .45; }

@media (min-width: 720px) {
  .hero-corner { display: inline-flex; }
}

/* Hero strip
   Mobile: continuous horizontal marquee (JS clones spans for seamless loop)
   Desktop: 3-column grid */
.hero-strip {
  background: var(--ink);
  color: var(--bone);
  padding: 1.25rem 0;
  border-top: 1px solid var(--rule-on-dark);
  overflow: hidden;
}
.hero-strip-inner {
  display: flex;
  gap: 2.75rem;
  width: max-content;
  margin: 0;
  padding: 0 var(--section-px);
  animation: hero-strip-marquee 34s linear infinite;
}
.hero-strip-inner > span {
  display: inline-flex;
  align-items: baseline;
  gap: .55rem;
  font-size: var(--text-sm);
  flex-shrink: 0;
  white-space: nowrap;
}
.hero-strip-inner b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-lg);
  color: var(--bone);
  font-style: italic;
}
.hero-strip-inner em {
  font-style: normal;
  color: rgba(244, 237, 226, .55);
  font-size: var(--text-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero-strip-inner > span::before {
  content: "·";
  color: var(--cocoa-soft);
  margin-right: .55rem;
  font-size: 1.4em;
  line-height: 0;
}
.hero-strip-inner > span:first-child::before { content: none; }

@keyframes hero-strip-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-strip-inner { animation: none; }
}

/* Desktop: stop the marquee, lay out as 3-column grid */
@media (min-width: 720px) {
  .hero-strip { padding: 1.5rem var(--section-px); }
  .hero-strip-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: auto;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0;
    animation: none;
  }
  .hero-strip-inner > span {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    align-items: flex-start;
    white-space: normal;
  }
  .hero-strip-inner > span::before { content: none; }
  .hero-strip-inner > span[data-clone] { display: none; }
}

/* =========================================================
   ORJOLA
   ========================================================= */

.orjola {
  padding: var(--section-py) var(--section-px);
  max-width: var(--container);
  margin: 0 auto;
}
.orjola-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 4rem;
}

.orjola-figure {
  margin: 0;
  width: min(60%, 240px);
  margin-left: auto;
  margin-right: auto;
  filter: drop-shadow(0 24px 32px rgba(176, 122, 126, .28)) drop-shadow(0 8px 16px rgba(27, 23, 20, .12));
}
.orjola-figure .clip-reveal {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--shell);
  border-radius: 50%;
  overflow: hidden;
}
.orjola-figure figcaption {
  margin-top: .85rem;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.orjola-text h2 {
  font-size: var(--text-3xl);
  line-height: 1.08;
  margin-bottom: 1.25rem;
}
.orjola-body p {
  font-family: var(--font-display);
  font-size: var(--text-base);
  line-height: var(--leading-snug);
  color: var(--ink-soft);
  font-weight: 400;
  margin-bottom: .85em;
}

.orjola-creds {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--rule-soft);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: .75rem;
}
.orjola-creds li {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.orjola-creds b {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-sm);
  line-height: 1.18;
  color: var(--ink);
}
.orjola-creds span {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.3;
}

@media (min-width: 720px) {
  .orjola-figure { width: 100%; max-width: none; filter: none; }
  .orjola-figure .clip-reveal { aspect-ratio: 4 / 5; border-radius: 50%; }
  .orjola-figure figcaption { text-align: left; }
  .orjola-text h2 { font-size: var(--text-4xl); margin-bottom: 1.5rem; }
  .orjola-body p { font-size: var(--text-lg); line-height: var(--leading-relaxed); }
  .orjola-creds { gap: 1.5rem; }
  .orjola-creds b { font-size: var(--text-base); }
  .orjola-creds span { font-size: var(--text-xs); }
}

@media (min-width: 880px) {
  .orjola-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .orjola-figure { filter: drop-shadow(0 30px 50px rgba(176, 122, 126, .25)) drop-shadow(0 10px 20px rgba(27, 23, 20, .12)); }
  .orjola-creds { grid-template-columns: 1fr 1fr 1fr; gap: 2rem; }
}

/* =========================================================
   LASER & SKIN SERVICES
   ========================================================= */

.laser {
  padding: var(--section-py) var(--section-px);
  background: var(--surface);
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}
.laser-head {
  max-width: var(--container);
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
}
.laser-head h2 {
  font-size: var(--text-4xl);
  line-height: 1.06;
  margin-bottom: 1.25rem;
  max-width: 22ch;
}

.laser-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 1rem;
}
.treatment {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  padding: 0;
  background: transparent;
}
.treatment-img {
  margin: 0;
  aspect-ratio: 1 / 1;
  background: var(--shell);
  overflow: hidden;
}
.treatment-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92);
  transition: transform 700ms var(--ease-out);
}
.treatment:hover .treatment-img img { transform: scale(1.03); }
.treatment-body {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.treatment-num {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cocoa);
  font-weight: 500;
  line-height: 1;
}
.treatment h3 {
  font-size: var(--text-xl);
  line-height: 1.12;
  margin: 0;
}
.treatment p {
  margin: 0;
  font-size: var(--text-sm);
  line-height: var(--leading-snug);
  color: var(--text-muted);
  max-width: 38ch;
}
.treatment p b {
  font-weight: 500;
  color: var(--ink);
}

/* If 5 treatments and the 5th is alone, center it on its row */
.laser-grid > .treatment:nth-child(odd):last-child {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc(50% - .5rem);
  max-width: 22rem;
}

@media (min-width: 720px) {
  .laser-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 1.5rem;
  }
  .treatment h3 { font-size: var(--text-2xl); }
  .treatment p { font-size: var(--text-base); }
  .laser-grid > .treatment:nth-child(odd):last-child {
    grid-column: auto;
    justify-self: stretch;
    width: auto;
    max-width: none;
  }
}
@media (min-width: 1024px) {
  .laser-grid {
    grid-template-columns: repeat(5, 1fr);
    column-gap: 1.25rem;
  }
}

/* Pricing block */
.pricing {
  margin: clamp(3rem, 5vw, 4.5rem) auto 0;
  max-width: var(--container);
}
.pricing-promo {
  background: var(--ink);
  color: var(--bone);
  padding: .9rem 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.pricing-promo[hidden] { display: none; }
.pricing-promo-tag {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cocoa-soft);
  font-weight: 500;
}
.pricing-promo p { margin: 0; font-family: var(--font-display); font-style: italic; font-size: var(--text-base); }

.pricing-head {
  margin-bottom: 1.75rem;
}
.pricing-head h3 {
  font-size: var(--text-3xl);
  line-height: 1.06;
  margin: .25rem 0 1rem;
  max-width: 22ch;
}
.pricing-head p {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--ink-soft);
}

.pricing-tables {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.pricing-card {
  background: var(--bone);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border: 1px solid var(--rule-soft);
}
.pricing-card-alt {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}
.pricing-card h4 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-xs);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cocoa);
  margin: 0 0 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule-soft);
}
.pricing-card-alt h4 { color: var(--cocoa-soft); border-bottom-color: var(--rule-on-dark); }

.pricing-card-note {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-base);
  color: rgba(244, 237, 226, .7);
  margin: -.5rem 0 1rem;
}

.price-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: .65rem 0;
  border-bottom: 1px dashed var(--rule-soft);
  font-size: var(--text-sm);
}
.price-list li:last-child { border-bottom: none; }
.price-list li span {
  flex: 1;
  font-weight: 400;
}
.price-list li b {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-lg);
  color: var(--ink);
  letter-spacing: -.005em;
  white-space: nowrap;
}
.pricing-card-alt .price-list li {
  border-bottom-color: var(--rule-on-dark);
}
.pricing-card-alt .price-list li b { color: var(--bone); }
.pricing-card-alt .price-list li span { color: rgba(244, 237, 226, .82); }

.price-list-pack li { padding: 1rem 0; }
.pack-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-xl);
  color: var(--cocoa-soft);
  margin-right: .35em;
  font-weight: 400;
}
.pack-price {
  font-size: var(--text-2xl) !important;
  font-style: italic;
  font-weight: 400 !important;
}

.pricing-card-alt .btn-primary {
  background: var(--bone);
  color: var(--ink);
  border-color: var(--bone);
  margin-top: .5rem;
}
.pricing-card-alt .btn-primary:hover { background: var(--cocoa-soft); border-color: var(--cocoa-soft); }

@media (min-width: 720px) {
  .pricing-tables { grid-template-columns: 1.4fr 1fr; gap: 1.5rem; }
}

/* =========================================================
   BROWS (clip-path reveal feature)
   ========================================================= */

.brows {
  padding: var(--section-py) var(--section-px);
  max-width: var(--container);
  margin: 0 auto;
}
.brows-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.brows-feature-image {
  aspect-ratio: 3 / 2;
  background: var(--shell);
  width: 100%;
  order: -1;
}
.brows-feature-text h2 {
  font-size: var(--text-4xl);
  line-height: 1.06;
  margin-bottom: 1.25rem;
  max-width: 16ch;
}

@media (min-width: 880px) {
  .brows-feature {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 4rem;
    align-items: center;
  }
  .brows-feature-image { order: 0; aspect-ratio: 4 / 5; }
}

.brows-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 1rem;
}
.brow-item {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--rule-soft);
}
.brow-num {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cocoa);
  line-height: 1;
  margin-bottom: .25rem;
}
.brow-item h3 {
  font-size: var(--text-2xl);
  line-height: 1.1;
  margin-bottom: .5rem;
}
.brow-lede {
  font-family: var(--font-display);
  font-size: var(--text-base);
  line-height: var(--leading-snug);
  color: var(--cocoa-deep);
  margin-bottom: .85rem;
}
.brow-lede em { font-style: italic; color: var(--cocoa); }
.brow-item p {
  font-size: var(--text-sm);
  line-height: var(--leading-snug);
  margin-bottom: .85rem;
  color: var(--ink-soft);
}
.brow-item p:last-child { margin-bottom: 0; }
.brow-meta {
  font-size: var(--text-xs);
  color: var(--text-muted);
  padding-top: .65rem;
  margin-top: auto;
  border-top: 1px solid var(--rule-soft);
}
.brow-meta b { color: var(--ink); font-weight: 500; }

/* 3rd item alone, center it on its row */
.brows-list > .brow-item:nth-child(odd):last-child {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc(50% - .5rem);
  max-width: 22rem;
}

@media (min-width: 720px) {
  .brows-list { grid-template-columns: 1fr 1fr 1fr; gap: 0 2.5rem; }
  .brow-item { padding: 1.5rem 0 0; }
  .brow-item h3 { font-size: var(--text-3xl); }
  .brow-lede { font-size: var(--text-lg); }
  .brow-item p { font-size: var(--text-base); }
  .brow-item:not(:last-child) { padding-right: 2.5rem; border-right: 1px solid var(--rule-soft); margin-right: -1px; }
  .brows-list > .brow-item:nth-child(odd):last-child {
    grid-column: auto;
    justify-self: stretch;
    width: auto;
    max-width: none;
  }
}

.brows-foot {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--shell);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: center;
}
.brows-foot p {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--ink-soft);
  margin: 0;
}
@media (min-width: 880px) {
  .brows-foot { grid-template-columns: 1fr auto; gap: 2rem; }
}

/* =========================================================
   GALLERY
   ========================================================= */

.gallery {
  padding: var(--section-py) var(--section-px);
  max-width: var(--container);
  margin: 0 auto;
}
.gallery-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.gallery-head h2 {
  font-size: var(--text-4xl);
  line-height: 1.06;
  margin-bottom: 1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
}
.gal-tile { margin: 0; }
.gal-tile img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: saturate(.92);
}
.gal-tile figcaption {
  margin-top: .55rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-xs);
  color: var(--text-muted);
}
.gal-tall img { aspect-ratio: 3 / 4; }
.gal-wide { grid-column: span 2; }
.gal-wide img { aspect-ratio: 16 / 10; }

@media (min-width: 720px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .gal-tall { grid-row: span 2; }
  .gal-tall img { aspect-ratio: 3 / 5; }
  .gal-wide { grid-column: span 2; }
  .gal-wide img { aspect-ratio: 16 / 11; }
}

/* =========================================================
   BLOG
   ========================================================= */

.blog {
  padding: var(--section-py) var(--section-px);
  background: var(--surface);
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}
.blog-head {
  max-width: var(--container);
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
}
.blog-head h2 {
  font-size: var(--text-4xl);
  line-height: 1.06;
  margin: .25rem 0 1.25rem;
  max-width: 22ch;
}

.blog-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.post-hero { grid-column: 1 / -1; }
.post {
  display: flex;
  flex-direction: column;
  background: var(--bone);
  border: 1px solid var(--rule-soft);
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-soft);
}
.post:hover { transform: translateY(-3px); border-color: var(--rule); }
.post figure {
  margin: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--shell);
}
.post figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease-out);
}
.post:hover figure img { transform: scale(1.03); }

.post-body {
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.post-meta {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cocoa);
}
.post h3 {
  font-size: var(--text-xl);
  line-height: 1.14;
  margin: 0;
}
.post p {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--ink-soft);
  line-height: var(--leading-snug);
}
.post-cta {
  align-self: flex-start;
  margin-top: .35rem;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  display: inline-flex;
  gap: .35em;
}

.post-hero h3 { font-size: var(--text-2xl); }
.post-hero figure { aspect-ratio: 16 / 9; }
.post-hero .post-body { padding: 1.5rem; }

/* On small mobile, secondary cards become tile-style */
@media (max-width: 519px) {
  .post:not(.post-hero) figure { aspect-ratio: 1 / 1; }
  .post:not(.post-hero) h3 { font-size: var(--text-base); line-height: 1.18; }
  .post:not(.post-hero) p { display: none; }
  .post:not(.post-hero) .post-body { padding: 1rem; gap: .5rem; }
  .post:not(.post-hero) .post-cta { font-size: 10px; }
}

@media (min-width: 720px) {
  .blog-grid { gap: 1.5rem; }
  .post-hero { flex-direction: row; }
  .post-hero figure { aspect-ratio: 3 / 2; flex: 1 1 50%; height: auto; }
  .post-hero .post-body { flex: 1 1 50%; padding: 2rem 2.25rem; justify-content: center; gap: .85rem; }
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact {
  background: var(--ink);
  color: var(--bone);
  padding: var(--section-py-lg) var(--section-px) 0;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: var(--container);
  margin: 0 auto;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.contact-text .eyebrow { color: var(--cocoa-soft); }
.contact h2 {
  font-size: var(--text-4xl);
  line-height: 1.06;
  margin: .25rem 0 1.5rem;
  color: var(--bone);
  max-width: 18ch;
}
.contact h2 em { color: var(--cocoa-soft); }
.contact-text > p {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  color: rgba(244, 237, 226, .82);
  margin-bottom: 2rem;
  max-width: 38ch;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.contact .btn-primary {
  background: var(--bone);
  color: var(--ink);
  border-color: var(--bone);
}
.contact .btn-primary:hover { background: var(--cocoa-soft); border-color: var(--cocoa-soft); }
.contact .btn-ghost {
  color: var(--bone);
  border-color: var(--rule-on-dark);
}
.contact .btn-ghost:hover { border-color: var(--bone); }

.contact-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 0;
  padding-top: 2rem;
  border-top: 1px solid var(--rule-on-dark);
}
.contact-meta > div { display: flex; flex-direction: column; gap: .35rem; }
.contact-meta dt {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cocoa-soft);
}
.contact-meta dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-base);
  line-height: var(--leading-snug);
  color: var(--bone);
  font-weight: 400;
}
.contact-meta-note {
  display: block;
  font-size: var(--text-xs);
  color: rgba(244, 237, 226, .55);
  margin-top: .25rem;
  font-family: var(--font-body);
  font-style: normal;
}

@media (min-width: 880px) {
  .contact-inner {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    align-items: start;
  }
  .contact-meta {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding-top: 0;
    border-top: none;
    padding-left: 2rem;
    border-left: 1px solid var(--rule-on-dark);
  }
}

.contact-map {
  max-width: var(--container);
  margin: 0 auto;
  border-top: 1px solid var(--rule-on-dark);
}
.contact-map[hidden] + .contact-map-placeholder { display: flex; }
.contact-map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  background: var(--ink-soft);
  color: rgba(244, 237, 226, .55);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-base);
  margin: 0 auto;
  max-width: var(--container);
  border-top: 1px solid var(--rule-on-dark);
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  background: var(--ink-deep);
  color: var(--bone);
  padding: clamp(3rem, 5vw, 4.5rem) var(--section-px) clamp(1.5rem, 3vw, 2.25rem);
  padding-bottom: calc(clamp(1.5rem, 3vw, 2.25rem) + var(--safe-bottom) + 4rem);
}
@media (min-width: 880px) {
  .site-footer { padding-bottom: clamp(1.5rem, 3vw, 2.25rem); }
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: var(--container);
  margin: 0 auto;
}
.footer-mark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  margin-bottom: .65rem;
  display: inline-block;
}
.footer-mark i { font-style: italic; font-weight: 400; color: var(--cocoa-soft); margin-left: .25em; }
.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-base);
  color: rgba(244, 237, 226, .65);
  margin: 0;
  max-width: 32ch;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
}
.footer-cols h4 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-xs);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cocoa-soft);
  margin: 0 0 .85rem;
}
.footer-cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  font-size: var(--text-sm);
  color: rgba(244, 237, 226, .72);
}
.footer-cols a { transition: color var(--dur-fast) var(--ease-soft); }
.footer-cols a:hover { color: var(--cocoa-soft); }

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule-on-dark);
  font-size: var(--text-xs);
  color: rgba(244, 237, 226, .55);
  letter-spacing: .03em;
}

@media (min-width: 720px) {
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 880px) {
  .footer-inner { grid-template-columns: minmax(0, 22rem) 1fr; align-items: start; }
}

/* =========================================================
   STICKY MOBILE CTA
   ========================================================= */

.sticky-cta {
  position: fixed;
  left: .75rem;
  right: .75rem;
  bottom: calc(.75rem + var(--safe-bottom));
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
  padding: .65rem .65rem .65rem 1rem;
  background: rgba(11, 12, 15, .94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--bone);
  border: 1px solid var(--rule-on-dark);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease-soft);
}
.sticky-cta.visible { opacity: 1; pointer-events: auto; }
.sticky-cta-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  font-size: var(--text-sm);
}
.sticky-cta-text small {
  color: rgba(244, 237, 226, .65);
  font-size: var(--text-xs);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.sticky-cta-text b {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: var(--text-base);
  color: var(--bone);
}
.sticky-cta .btn-primary {
  background: var(--bone);
  color: var(--ink);
  border-color: var(--bone);
  min-height: 40px;
  padding: .5rem 1rem;
}

@media (min-width: 880px) {
  .sticky-cta { display: none; }
}

/* =========================================================
   BLOG POST PAGE (used by blog/[slug].html)
   ========================================================= */

.bp-wrap {
  padding: calc(6rem + var(--safe-top)) var(--section-px) var(--section-py);
  max-width: 44rem;
  margin: 0 auto;
}
.bp-back {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: var(--text-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cocoa);
  margin-bottom: 2rem;
}
.bp-back:hover { color: var(--cocoa-deep); }
.bp-back .arrow { transform: rotate(180deg); }

.bp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cocoa);
  margin-bottom: 1rem;
}
.bp-title {
  font-size: var(--text-5xl);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
}
.bp-title em { color: var(--cocoa-deep); }
.bp-lede {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: var(--leading-snug);
  color: var(--ink-soft);
  font-weight: 400;
  margin: 0 0 2rem;
  max-width: 38ch;
}

.bp-hero {
  margin: 0 calc(var(--section-px) * -1) 2.5rem;
  aspect-ratio: 16 / 9;
  background: var(--shell);
  overflow: hidden;
}
.bp-hero img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 720px) {
  .bp-hero { margin: 0 0 2.5rem; }
}

.bp-body {
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
@media (min-width: 720px) {
  .bp-body { font-size: 1.22rem; line-height: 1.7; }
}
.bp-body p { margin: 0 0 1.25em; max-width: 38em; }
.bp-body h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: var(--text-2xl);
  line-height: 1.18;
  color: var(--ink);
  margin: 2.25rem 0 1rem;
  max-width: 22ch;
}
.bp-body h3 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-base);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cocoa);
  margin: 1.75rem 0 .5rem;
}
.bp-body ul, .bp-body ol { margin: 0 0 1.5em; padding-left: 1.25em; }
.bp-body ul li, .bp-body ol li { margin-bottom: .35em; }
.bp-body strong { color: var(--ink); font-weight: 500; }
.bp-body em { color: var(--cocoa-deep); }

.bp-pull {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-2xl);
  line-height: 1.22;
  color: var(--ink);
  border-left: 2px solid var(--cocoa);
  padding: .25rem 0 .25rem 1.1rem;
  margin: 2rem 0;
  max-width: 32ch;
}

.bp-foot {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule-soft);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.bp-foot a { color: var(--ink); border-bottom: 1px solid currentColor; padding-bottom: 1px; }

.bp-related {
  background: var(--surface);
  border-top: 1px solid var(--rule-soft);
  padding: var(--section-py) var(--section-px);
}
.bp-related-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.bp-related h2 {
  font-size: var(--text-3xl);
  margin: 0 0 1.5rem;
}
.bp-related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 720px) { .bp-related-grid { grid-template-columns: 1fr 1fr; } }

/* =========================================================
   Reduced motion final pass
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .hero-image { transition: none; transform: none; }
  .post:hover { transform: none; }
  .post:hover figure img { transform: none; }
  * { animation: none !important; }
}
