/* ---------- Design tokens ----------
   Matte black / graphite / charcoal / chrome, with champagne gold reserved
   as the single accent. The brand runs dark on every page by design, so the
   palette is fixed rather than following the OS light/dark preference. */
:root {
  --color-ink:        #0b0b0b;  /* matte black */
  --color-ink-soft:   #141416;  /* charcoal   */
  --color-bg:         #0b0b0b;
  --color-bg-alt:     #121214;  /* graphite   */
  --color-line:       #2b2b2b;  /* gunmetal   */
  --color-accent:      #c8a86b; /* champagne gold */
  --color-accent-soft: #e2cfa4;
  --color-muted:      #9a9aa2;  /* brushed aluminum */
  --color-text:       #f4f4f6;

  /* Chrome / glass surfaces */
  --glass-bg:      rgba(255, 255, 255, 0.045);
  --glass-bg-hi:   rgba(255, 255, 255, 0.085);
  --glass-border:  rgba(255, 255, 255, 0.11);
  --glass-edge:    rgba(255, 255, 255, 0.22);
  --glass-shadow:  0 18px 50px rgba(0, 0, 0, 0.55);

  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1120px;
  --radius: 2px;
  --radius-card: 16px;

  /* Premium easing — long, weighted, never linear */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  /* Decorative hero layers (smoke, rays, particles) intentionally bleed past
     the viewport edge; nothing on the site scrolls sideways. */
  overflow-x: hidden;
}
body { overflow-x: hidden; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  animation: page-enter 0.5s ease both;
}
body.page-leaving { animation: page-leave 0.32s ease both; }
@keyframes page-enter { from { opacity: 0; } to { opacity: 1; } }
@keyframes page-leave { from { opacity: 1; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  body, body.page-leaving { animation: none; }
}

/* Portfolio and Book pages carry the same photo as a fixed backdrop behind
   every section, tying them visually to the home page. */
body.page-with-photo {
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(60, 58, 64, 0.30) 0%, rgba(0, 0, 0, 0) 65%),
    /* Kept deep — the photo's lit mirror area washes the page out if this
       is lifted. Texture comes from the grain and light-ray layers instead. */
    linear-gradient(180deg, rgba(11, 11, 11, 0.89) 0%, rgba(8, 8, 9, 0.955) 100%),
    url("../images/hero.jpg");
  background-size: auto, auto, cover;
  /* Framed on the same focal point as the cover, so the barber reads
     instead of being cropped out by a dead-centre crop. */
  background-position: center, center, center 35%;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
body.page-with-photo .section-alt { background: rgba(18, 18, 20, 0.62); }
body.page-with-photo .price-card { background: var(--glass-bg); }
body.page-with-photo .portfolio-item { background: rgba(18, 18, 20, 0.55); }
@media (max-width: 860px) {
  /* background-attachment: fixed is unreliable on mobile Safari */
  body.page-with-photo { background-attachment: scroll; }
}
/* Subpages stay centred at every width — a left bias here crops down to
   just his face instead of showing the whole scene. */

/* ---------- Subpage atmosphere (light rays, smoke, film grain) ----------
   Fixed behind the content so the same cinematic depth as the cover
   carries through Portfolio and Book. */
.page-atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
/* Film grain — keeps large dark areas from banding or reading flat. */
.page-grain {
  position: absolute;
  inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.045;
  animation: grain-shift 7s steps(6) infinite;
  will-change: transform;
}
@keyframes grain-shift {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-3%, 2%); }
  40%  { transform: translate(2%, -3%); }
  60%  { transform: translate(-2%, -2%); }
  80%  { transform: translate(3%, 1%); }
  100% { transform: translate(0, 0); }
}
/* Content and chrome ride above the atmosphere. */
body.page-with-photo .page-main,
body.page-with-photo .site-footer { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .page-grain { animation: none; }
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; margin: 0; }
p { margin: 0 0 1em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-accent);
  color: #fff;
  padding: 12px 20px;
  z-index: 999;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---------- Buttons ----------
   Glass surfaces with a chrome edge highlight and a slow sheen sweep on
   hover. `transform` is deliberately never set here — the magnetic-hover
   script owns that property, and fighting it would cause jitter. */
.btn {
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: 15px 34px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4), inset 0 1px 0 var(--glass-edge);
  transition:
    background 0.55s var(--ease-out-expo),
    border-color 0.55s var(--ease-out-expo),
    box-shadow 0.55s var(--ease-out-expo),
    color 0.55s var(--ease-out-expo);
}
/* Sheen sweep */
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.28) 50%, rgba(255,255,255,0) 100%);
  transition: left 0.85s var(--ease-out-expo);
  pointer-events: none;
}
.btn:hover::after { left: 140%; }

.btn-primary {
  background: linear-gradient(135deg, rgba(200, 168, 107, 0.95) 0%, rgba(172, 136, 78, 0.85) 100%);
  border-color: rgba(200, 168, 107, 0.55);
  color: #14110a;
}
.btn-primary:hover {
  background: linear-gradient(135deg, rgba(220, 195, 148, 0.98) 0%, rgba(190, 154, 95, 0.92) 100%);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255,255,255,0.4), 0 0 34px rgba(200, 168, 107, 0.32);
  border-color: rgba(226, 207, 164, 0.75);
}
.btn-ghost {
  background: var(--glass-bg);
  border-color: var(--glass-border);
  color: #fff;
}
.btn-ghost:hover {
  background: var(--glass-bg-hi);
  border-color: var(--glass-edge);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.3);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background 0.6s var(--ease-out-expo),
    border-color 0.6s var(--ease-out-expo),
    backdrop-filter 0.6s var(--ease-out-expo),
    box-shadow 0.6s var(--ease-out-expo);
}
/* Glass panel engages once the page has scrolled past the fold edge. */
.site-header.is-scrolled {
  background: rgba(11, 11, 11, 0.62);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: var(--glass-border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.logo span { color: var(--color-accent); }

.nav {
  display: flex;
  gap: 32px;
}
.nav a {
  position: relative;
  color: #eeeeeb;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.nav a:hover { opacity: 1; color: var(--color-accent-soft); }
.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -6px;
  height: 1px;
  background: var(--color-accent-soft);
  transition: left 0.25s ease, right 0.25s ease;
}
.nav a:hover::after { left: 0; right: 0; }

.nav-book { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  background: #fff;
  margin: 0 auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  background:
    linear-gradient(160deg, #140d16 0%, #0d0d0d 55%, #170f1a 100%);
  background-image:
    linear-gradient(160deg, rgba(18,10,20,0.2) 0%, rgba(18,10,20,0.2) 100%),
    url("../images/hero.jpg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 60% 50% at 30% 20%, rgba(40,36,42,0.25) 0%, rgba(0,0,0,0) 60%),
    radial-gradient(ellipse 55% 45% at 75% 80%, rgba(30,24,20,0.22) 0%, rgba(0,0,0,0) 60%),
    linear-gradient(180deg, rgba(11,11,11,0.74) 0%, rgba(8,4,10,0.92) 100%);
}

/* ---------- Hero cinematic atmosphere ---------- */
.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}
.hero-smoke {
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 720px;
  max-height: 720px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.16;
  background: radial-gradient(circle, rgba(210,210,220,0.55) 0%, rgba(210,210,220,0) 70%);
  animation: hero-smoke-drift 28s ease-in-out infinite;
  will-change: transform;
}
.hero-smoke.smoke-1 { left: -12%; top: -14%; }
.hero-smoke.smoke-2 {
  right: -12%;
  bottom: -14%;
  background: radial-gradient(circle, rgba(200,168,107,0.28) 0%, rgba(200,168,107,0) 70%);
  animation-duration: 34s;
  animation-delay: -9s;
}
@keyframes hero-smoke-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(5%, 4%) scale(1.08); }
}

.hero-ray {
  position: absolute;
  top: -25%;
  width: 2px;
  height: 150%;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(230,230,240,0.10) 40%, rgba(230,230,240,0.03) 62%, rgba(255,255,255,0) 100%);
  transform: rotate(12deg);
  filter: blur(1px);
  animation: hero-ray-drift 20s ease-in-out infinite;
  will-change: transform, opacity;
}
.hero-ray.ray-1 { left: 16%; }
.hero-ray.ray-2 {
  left: 58%;
  animation-duration: 24s;
  animation-delay: -7s;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(200,168,107,0.09) 45%, rgba(200,168,107,0) 100%);
}
.hero-ray.ray-3 { left: 84%; animation-duration: 27s; animation-delay: -13s; }
@keyframes hero-ray-drift {
  0%, 100% { opacity: 0.5; transform: rotate(12deg) translateX(0); }
  50%      { opacity: 1;   transform: rotate(9deg) translateX(3%); }
}

.hero-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px 1px rgba(255,255,255,0.55);
  opacity: 0;
  animation: hero-particle-float linear infinite;
  will-change: transform, opacity;
}
.hero-particle.gold {
  background: #c8a86b;
  box-shadow: 0 0 7px 1px rgba(200,168,107,0.65);
}
@keyframes hero-particle-float {
  0%   { opacity: 0;   transform: translateY(0) translateX(0); }
  12%  { opacity: 0.7; }
  88%  { opacity: 0.45; }
  100% { opacity: 0;   transform: translateY(-140px) translateX(16px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-smoke, .hero-ray, .hero-particle { animation: none; opacity: 0.1; }
}
@media (max-width: 640px) {
  .hero-ray.ray-3 { display: none; }
}

.hero-content {
  position: relative;
  z-index: 4;
  /* Must be wide enough for the wordmark at its largest size. If this is
     narrower than the wordmark, the inline-block overflows to the RIGHT
     rather than centring, which visibly skews the whole stack. The slogan
     keeps its own tighter measure below. */
  width: 100%;
  max-width: 900px;
}

.signature {
  position: relative;
  display: inline-block;
  max-width: 100%;
  margin: 0 0 0.2em;
}
.signature::before {
  content: "";
  position: absolute;
  inset: -50% -20%;
  background: radial-gradient(ellipse at center, rgba(214,214,222,0.22) 0%, rgba(200,168,107,0.10) 45%, rgba(0,0,0,0) 75%);
  filter: blur(26px);
  animation: hero-glow-pulse 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes hero-glow-pulse {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .signature::before { animation: none; opacity: 0.75; }
}
.home-logo {
  display: inline-block;
  color: #fff;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  text-transform: uppercase;
  /* Tracking is generous, so the lower bound has to stay small enough that
     the wordmark never forces horizontal overflow on narrow phones — only
     the fluid and max values grow. */
  font-size: clamp(1.7rem, 8.8vw, 5.4rem);
  line-height: 1;
  letter-spacing: 0.14em;
  margin: 0;
  padding-left: 0.14em;
  max-width: 100%;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.6);
  animation: signature-write 6s ease-in-out infinite;
}
.signature-flourish {
  display: block;
  width: 60%;
  max-width: 320px;
  height: 12px;
  margin: 0.9em auto 0;
  color: var(--color-accent-soft);
}
.signature-flourish line {
  stroke: currentColor;
  stroke-width: 1;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  vector-effect: non-scaling-stroke;
  animation: signature-write 6s ease-in-out infinite;
}
.signature-flourish rect {
  fill: currentColor;
  opacity: 0;
  animation: mark-appear 6s ease-in-out infinite;
}
@keyframes signature-write {
  0%   { clip-path: inset(0 100% 0 0); stroke-dashoffset: 100; opacity: 1; }
  45%  { clip-path: inset(0 0% 0 0);   stroke-dashoffset: 0;   opacity: 1; }
  70%  { clip-path: inset(0 0% 0 0);   stroke-dashoffset: 0;   opacity: 1; }
  85%  { clip-path: inset(0 0% 0 0);   stroke-dashoffset: 0;   opacity: 0; }
  86%  { clip-path: inset(0 100% 0 0); stroke-dashoffset: 100; opacity: 0; }
  100% { clip-path: inset(0 100% 0 0); stroke-dashoffset: 100; opacity: 0; }
}
@keyframes mark-appear {
  0%, 44%   { opacity: 0; }
  48%       { opacity: 1; }
  70%       { opacity: 1; }
  85%, 100% { opacity: 0; }
}
/* Rises sooner and quicker — it now overlaps the tail of the wordmark's
   write-on rather than waiting for it to fully finish. */
@keyframes slogan-reveal {
  0%, 38%   { opacity: 0; transform: translateY(10px); }
  47%       { opacity: 1; transform: translateY(0); }
  70%       { opacity: 1; transform: translateY(0); }
  85%, 100% { opacity: 0; transform: translateY(10px); }
}
@media (prefers-reduced-motion: reduce) {
  .home-logo, .signature-flourish line { animation: none; clip-path: none; stroke-dashoffset: 0; opacity: 1; }
  .signature-flourish rect { animation: none; opacity: 1; }
  .home-slogan { animation: none; opacity: 1; transform: none; }
}
.home-slogan {
  font-family: 'Marcellus', serif;
  font-style: normal;
  font-weight: 400;
  color: #e9e6df;
  font-size: clamp(1.18rem, 2.6vw, 1.5rem);
  letter-spacing: 0.04em;
  max-width: 480px;
  margin: 0 auto 2.4em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
  animation: slogan-reveal 6s ease-in-out infinite;
}
.home-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
/* Hero buttons sit a touch larger for presence against the 3D scene. */
.hero .home-actions .btn { padding: 17px 40px; }
.home-contact {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 40px;
  z-index: 4;
}

/* ---------- Icon links (phone / email / instagram) ---------- */
.social-links {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
}
.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  color: #e6e4df;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.icon-link:hover {
  color: var(--color-accent-soft);
  border-color: var(--color-accent-soft);
  background: rgba(255,255,255,0.06);
}
.icon-link svg { width: 17px; height: 17px; }
/* The TikTok mark is a solid glyph while its siblings are 1.5px outlines,
   so it needs to sit slightly smaller to carry the same optical weight. */
.icon-link svg.icon-tiktok { width: 15px; height: 15px; }

/* ---------- Page header offset (subpages without a hero) ---------- */
.page-main { padding-top: 72px; }

/* ---------- Section shell ---------- */
.section {
  position: relative;
  padding: 150px 0;
}
.section-alt { background: var(--color-bg-alt); }

/* Hairline rule between stacked sections — a thin chrome seam. */
.section + .section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(90%, var(--max-width));
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.14) 50%, rgba(255,255,255,0) 100%);
}

.eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.5em;
}
.eyebrow.center { text-align: center; }

.section-title {
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin-bottom: 0.5em;
  background: linear-gradient(180deg, #ffffff 0%, #cfcfd6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-title.center { text-align: center; }

.section-sub {
  color: var(--color-muted);
  max-width: 520px;
  margin: 0 auto 3.5em;
  font-size: 1.02rem;
  line-height: 1.75;
}
.section-sub.center { text-align: center; }

/* ---------- Bio ---------- */
.bio-section { padding-bottom: 110px; }
.bio-text {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
  color: var(--color-muted);
  font-size: 1.12rem;
  line-height: 1.95;
  letter-spacing: 0.005em;
}
/* Opening line carries a little more presence, editorial style. */
.bio-text::first-line {
  color: #e8e8ec;
}

/* ---------- Portfolio ---------- */
.portfolio-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.portfolio-item {
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-line);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.42);
  transform: translateZ(0);
  transition:
    transform 0.7s var(--ease-out-expo),
    box-shadow 0.7s var(--ease-out-expo),
    border-color 0.7s var(--ease-out-expo);
}
/* Glass sheen that sweeps across on hover. */
.portfolio-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(105deg, rgba(255,255,255,0) 35%, rgba(255,255,255,0.16) 50%, rgba(255,255,255,0) 65%);
  transform: translateX(-120%);
  transition: transform 0.95s var(--ease-out-expo);
  pointer-events: none;
}
.portfolio-item:hover::after { transform: translateX(120%); }
.portfolio-item:hover {
  transform: translateY(-8px);
  border-color: rgba(200, 168, 107, 0.5);
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(200, 168, 107, 0.25),
    0 0 40px rgba(200, 168, 107, 0.12);
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 1.1s var(--ease-out-expo), filter 0.7s var(--ease-out-expo);
  filter: saturate(0.92) contrast(1.02);
}
.portfolio-item:hover img {
  transform: scale(1.08);
  filter: saturate(1.05) contrast(1.05);
}
.portfolio-item.is-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-line) 100%);
}
.portfolio-item.is-placeholder img { display: none; }
.portfolio-item.is-placeholder::after {
  content: "Photo coming soon";
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--color-muted);
}

/* ---------- Prices ---------- */
.price-grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.price-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 56px 32px 52px;
  text-align: center;
  cursor: pointer;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-edge);
  transform: translateZ(0);
  transition:
    transform 0.7s var(--ease-out-expo),
    border-color 0.7s var(--ease-out-expo),
    box-shadow 0.7s var(--ease-out-expo),
    background 0.7s var(--ease-out-expo);
}
/* Gold light pooling in from the top edge on hover. */
.price-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg, rgba(200,168,107,0) 0%, rgba(200,168,107,0.85) 50%, rgba(200,168,107,0) 100%);
  opacity: 0;
  transition: opacity 0.7s var(--ease-out-expo);
}
.price-card:hover::before { opacity: 1; }
.price-card:hover {
  transform: translateY(-10px);
  background: var(--glass-bg-hi);
  border-color: rgba(200, 168, 107, 0.42);
  box-shadow:
    0 34px 70px rgba(0, 0, 0, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 0 46px rgba(200, 168, 107, 0.14);
}
.price-card h2 {
  font-size: 1.55rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.55em;
  color: #f4f4f6;
}
.price-desc {
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 2.2em;
}
.price-amount {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  background: linear-gradient(180deg, #e2cfa4 0%, #b08a4e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* Add-on card: informational, not bookable — reads as a quieter tier. */
.price-card-addon {
  cursor: default;
  border-style: dashed;
  border-color: rgba(200, 168, 107, 0.3);
  background: rgba(255, 255, 255, 0.022);
}
.price-card-addon:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(200, 168, 107, 0.42);
  box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-edge);
}
.price-card-addon:hover::before { opacity: 0; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: rgba(8, 8, 9, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-top: 1px solid var(--glass-border);
  color: var(--color-muted);
  padding: 44px 0;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav { display: none; }
  .nav-book { display: none; }
  .nav-toggle { display: flex; }

  .nav.nav-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(13,13,13,0.97);
    padding: 24px;
    gap: 20px;
  }
  .nav.nav-open a { font-size: 1rem; }

  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; justify-content: center; }

  /* Full-bleed on phones — letterboxing a landscape photo on a tall screen
     leaves too much empty gradient above/below to look intentional. */
  .hero {
    background-size: cover;
    background-position: left 35%;
  }
}

@media (max-width: 480px) {
  .section { padding: 96px 0; }
  /* Tighten the wordmark's tracking so it breathes inside narrow screens. */
  .home-logo { letter-spacing: 0.08em; padding-left: 0.08em; }
  .price-card { padding: 44px 26px 40px; }
  .portfolio-grid { gap: 12px; }
}

/* ---------- Interactive press effects ---------- */
.magnetic {
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.click-ring {
  position: fixed;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  border: 1px solid var(--color-accent-soft);
  pointer-events: none;
  z-index: 9999;
  animation: click-ring-anim 0.6s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}
@keyframes click-ring-anim {
  0%   { transform: scale(0.3); opacity: 0.9; }
  100% { transform: scale(7); opacity: 0; }
}

/* ---------- Custom clipper cursor ---------- */
body.has-custom-cursor,
body.has-custom-cursor a,
body.has-custom-cursor button {
  cursor: none;
}
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 10000;
}
.clipper-icon {
  width: 34px;
  height: 34px;
  translate: -9px -32px;
  rotate: -20deg;
  scale: 1;
  color: var(--color-accent-soft);
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.55));
  transition: rotate 0.18s ease-out, scale 0.18s ease-out, color 0.18s ease;
}
.custom-cursor.is-active .clipper-icon {
  rotate: 0deg;
  scale: 1.15;
  color: #fff;
  animation: clipper-buzz 0.09s linear infinite;
}
.custom-cursor.is-clicking .clipper-icon {
  scale: 0.85;
}
@keyframes clipper-buzz {
  0%, 100% { rotate: -3deg; }
  50%      { rotate: 3deg; }
}

/* ---------- Scroll reveal ----------
   Long expo easing with a slight scale and blur lift-off, so elements
   settle into place rather than simply fading. */
.reveal { opacity: 0; }
.reveal.is-visible { animation: reveal-in 1.15s var(--ease-out-expo) forwards; }
.reveal.reveal-done { opacity: 1; }
@keyframes reveal-in {
  from {
    opacity: 0;
    transform: translateY(38px) scale(0.965);
    filter: blur(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Parallax drift — only engages once the entrance animation has finished,
   so the two never compete for `transform`. */
.bio-section .eyebrow.reveal-done,
.bio-section .section-title.reveal-done {
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .magnetic { transition: none; }
  .click-ring { display: none; }
  .custom-cursor { display: none; }
  .reveal { opacity: 1; animation: none; }
}

/* ---------- Booking confirmation ---------- */
body.confirm-locked { overflow: hidden; }

.confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 6, 7, 0.62);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out-expo), backdrop-filter 0.5s var(--ease-out-expo);
}
.confirm-overlay[hidden] { display: none; }
.confirm-overlay.is-open {
  opacity: 1;
  backdrop-filter: blur(22px) saturate(130%);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
}

.confirm-confetti {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.confirm-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 56px 48px 44px;
  text-align: center;
  border-radius: 26px;
  border: 1px solid var(--glass-border);
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(200,168,107,0.10) 0%, rgba(0,0,0,0) 70%),
    rgba(18, 18, 20, 0.86);
  backdrop-filter: blur(26px) saturate(150%);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 var(--glass-edge),
    0 0 60px rgba(200, 168, 107, 0.07);
  transform: translateY(26px) scale(0.955);
  opacity: 0;
  transition:
    transform 0.75s var(--ease-out-expo),
    opacity 0.6s var(--ease-out-expo);
}
.confirm-overlay.is-open .confirm-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}
/* Gold seam along the top edge of the card. */
.confirm-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 62%;
  height: 1px;
  background: linear-gradient(90deg, rgba(200,168,107,0) 0%, rgba(200,168,107,0.9) 50%, rgba(200,168,107,0) 100%);
}

/* --- Animated checkmark --- */
.confirm-check {
  width: 76px;
  height: 76px;
  margin: 0 auto 26px;
}
.confirm-check svg { width: 100%; height: 100%; overflow: visible; }
.confirm-check-ring,
.confirm-check-mark {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.confirm-check-ring {
  stroke: #3ddc84;
  stroke-width: 2;
  opacity: 0.9;
  stroke-dasharray: 145;
  stroke-dashoffset: 145;
  filter: drop-shadow(0 0 10px rgba(61, 220, 132, 0.4));
}
.confirm-check-mark {
  stroke: #3ddc84;
  stroke-width: 3.2;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  filter: drop-shadow(0 0 8px rgba(61, 220, 132, 0.55));
}
.confirm-overlay.is-open .confirm-check-ring {
  animation: confirm-draw-ring 0.85s var(--ease-out-expo) 0.15s forwards;
}
.confirm-overlay.is-open .confirm-check-mark {
  animation: confirm-draw-mark 0.5s var(--ease-out-expo) 0.72s forwards;
}
@keyframes confirm-draw-ring { to { stroke-dashoffset: 0; } }
@keyframes confirm-draw-mark { to { stroke-dashoffset: 0; } }

/* --- Copy --- */
.confirm-eyebrow {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 1.1em;
}
.confirm-title {
  font-family: var(--font-head);
  font-size: clamp(1.85rem, 5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.7em;
  background: linear-gradient(180deg, #ffffff 0%, #d2d2d8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.confirm-lead {
  color: #ececed;
  font-size: 1.02rem;
  margin: 0 0 1em;
}
.confirm-text {
  color: var(--color-muted);
  font-size: 0.93rem;
  line-height: 1.75;
  margin: 0 0 1.4em;
}
.confirm-signoff {
  color: var(--color-accent-soft);
  font-family: var(--font-head);
  font-size: 1.06rem;
  margin: 0 0 2em;
}

/* --- Address --- */
.confirm-address {
  display: block;
  margin: 0 auto 1.6em;
  padding: 20px 24px;
  max-width: 320px;
  border-radius: 14px;
  border: 1px solid rgba(200, 168, 107, 0.28);
  background: rgba(200, 168, 107, 0.05);
}
.confirm-address-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.9em;
}
.confirm-address-line {
  display: block;
  color: #f0f0f2;
  font-size: 1rem;
  line-height: 1.6;
}

/* --- Actions --- */
.confirm-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.confirm-actions .btn {
  padding: 14px 28px;
  font-size: 0.72rem;
  cursor: pointer;
}

/* Staggered entrance for the card's contents. */
.confirm-overlay.is-open .confirm-eyebrow,
.confirm-overlay.is-open .confirm-title,
.confirm-overlay.is-open .confirm-lead,
.confirm-overlay.is-open .confirm-text,
.confirm-overlay.is-open .confirm-address,
.confirm-overlay.is-open .confirm-signoff,
.confirm-overlay.is-open .confirm-actions {
  animation: confirm-rise 0.7s var(--ease-out-expo) both;
}
.confirm-overlay.is-open .confirm-eyebrow  { animation-delay: 0.30s; }
.confirm-overlay.is-open .confirm-title    { animation-delay: 0.38s; }
.confirm-overlay.is-open .confirm-lead     { animation-delay: 0.46s; }
.confirm-overlay.is-open .confirm-text     { animation-delay: 0.53s; }
.confirm-overlay.is-open .confirm-address  { animation-delay: 0.60s; }
.confirm-overlay.is-open .confirm-signoff  { animation-delay: 0.67s; }
.confirm-overlay.is-open .confirm-actions  { animation-delay: 0.74s; }
@keyframes confirm-rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Responsive --- */
@media (max-width: 560px) {
  .confirm-overlay { padding: 16px; }
  .confirm-card { padding: 44px 26px 34px; border-radius: 22px; }
  .confirm-check { width: 64px; height: 64px; margin-bottom: 20px; }
  .confirm-actions { flex-direction: column; }
  .confirm-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .confirm-overlay,
  .confirm-card { transition: none; }
  .confirm-overlay.is-open .confirm-check-ring,
  .confirm-overlay.is-open .confirm-check-mark { animation: none; stroke-dashoffset: 0; }
  .confirm-overlay.is-open .confirm-eyebrow,
  .confirm-overlay.is-open .confirm-title,
  .confirm-overlay.is-open .confirm-lead,
  .confirm-overlay.is-open .confirm-text,
  .confirm-overlay.is-open .confirm-address,
  .confirm-overlay.is-open .confirm-signoff,
  .confirm-overlay.is-open .confirm-actions { animation: none; }
}
