/* =============================================
   FORM THEORY STUDIO — style.css
   ============================================= */

/* ===================== VARIABLES ===================== */
:root {
  --terracotta: #C4704A;
  --off-white:  #FAF7F2;
  --clay:       #B8956A;
  --sage:       #8A9E85;
  --charcoal:   #1A1A1A;
  --warm-grey:  #C8BFB5;

  --font-serif: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --max-w:  1200px;
  --nav-h:  72px;

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

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

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

body {
  background: var(--off-white);
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  min-height: 100dvh;
}

body.menu-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

ul { list-style: none; }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===================== TYPOGRAPHY ===================== */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
}

h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }
h4 { font-size: 1.05rem; font-weight: 500; }

em { font-style: italic; }

.section-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1rem;
}

.section-label--light { color: var(--warm-grey); }

/* ===================== LAYOUT ===================== */
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 110px 32px;
}

.section-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 4.5rem;
}

.section-sub {
  margin-top: 1.1rem;
  font-size: 1rem;
  color: #5a5a5a;
  line-height: 1.8;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-block;
  padding: 14px 34px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--terracotta);
  color: #fff;
  border: 1px solid var(--terracotta);
}
.btn-primary:hover { background: #b3603c; border-color: #b3603c; }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.65);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

.btn-light {
  background: var(--off-white);
  color: var(--charcoal);
  border: 1px solid transparent;
}
.btn-light:hover { background: #fff; }

.text-link {
  display: inline-block;
  margin-top: 2rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--terracotta);
  position: relative;
}
.text-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 1px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.text-link:hover::after { transform: scaleX(1); }

/* ===================== NAVIGATION ===================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: calc(var(--nav-h) + var(--safe-top));
  padding-top: var(--safe-top);
  padding-left: max(36px, var(--safe-left));
  padding-right: max(36px, var(--safe-right));
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled,
#navbar.nav-open {
  background: rgba(250, 247, 242, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--warm-grey);
}

@supports not ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
  #navbar.scrolled,
  #navbar.nav-open {
    background: var(--off-white);
  }
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  transition: color 0.4s ease;
  flex-shrink: 0;
}
#navbar.scrolled .nav-logo,
#navbar.nav-open .nav-logo { color: var(--charcoal); }

.nav-links {
  display: none;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) { .nav-links { display: flex; } }

.nav-links a {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: #fff; }
#navbar.scrolled .nav-links a { color: var(--charcoal); }
#navbar.scrolled .nav-links a:hover { color: var(--terracotta); }

.nav-cta {
  display: none;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 20px;
  border: 1px solid rgba(255,255,255,0.55);
  color: #fff;
  border-radius: 2px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
@media (min-width: 900px) { .nav-cta { display: inline-block; } }
.nav-cta:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

#navbar.scrolled .nav-cta {
  border-color: var(--terracotta);
  color: var(--terracotta);
}
#navbar.scrolled .nav-cta:hover {
  background: var(--terracotta);
  color: #fff;
  border-color: var(--terracotta);
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 6px;
  margin-right: -10px;
  color: inherit;
}
@media (min-width: 900px) { .nav-toggle { display: none; } }

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.4s ease;
}
#navbar.scrolled .nav-toggle span,
#navbar.nav-open .nav-toggle span { background: var(--charcoal); }

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: calc(var(--nav-h) + var(--safe-top));
  left: 0; right: 0; bottom: 0;
  z-index: 190;
  background: var(--off-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
  padding: 2rem 1.5rem calc(2rem + var(--safe-bottom));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  visibility: hidden;
  opacity: 0;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.25s ease,
              visibility 0s linear 0.38s;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.25s ease,
              visibility 0s linear 0s;
}

.mobile-link {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 6vw, 2.2rem);
  font-weight: 400;
  color: var(--charcoal);
  transition: color 0.2s ease;
  padding: 8px 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.mobile-link:hover { color: var(--terracotta); }

.mobile-cta {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 28px;
  border: 1px solid var(--terracotta);
  color: var(--terracotta);
  border-radius: 2px;
  margin-top: 0.75rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.mobile-cta:hover {
  background: var(--terracotta);
  color: #fff;
}

/* ===================== HERO ===================== */
#hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + var(--safe-top));
}

@media (orientation: landscape) and (max-height: 500px) {
  #hero { min-height: 100svh; height: auto; padding: calc(var(--nav-h) + 2rem) 1rem 2rem; }
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Phone portrait footage: shift up to keep hands+clay centred on wide screens */
  object-position: center 20%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(26, 26, 26, 0.45) 0%,
    rgba(26, 26, 26, 0.6) 50%,
    rgba(20, 14, 10, 0.72) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 max(24px, var(--safe-left)) 0 max(24px, var(--safe-right));
  max-width: 820px;
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--warm-grey);
  margin-bottom: 1.75rem;
}

.hero-headline {
  font-weight: 300;
  line-height: 1.08;
  margin-bottom: 1.75rem;
  color: #fff;
}

.hero-headline em {
  color: rgba(255,255,255,0.82);
}

.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  max-width: 500px;
  margin: 0 auto 2.75rem;
  line-height: 1.85;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: calc(2.25rem + var(--safe-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  pointer-events: none;
}

@media (max-height: 700px) {
  .hero-scroll { display: none; }
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.25);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1) translateY(0); }
  50%       { opacity: 0.9; transform: scaleY(1.15) translateY(3px); }
}

/* ===================== COLLECTION ===================== */
#collection { background: var(--off-white); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .product-grid { gap: 1.75rem; }
}

@media (min-width: 768px) {
  .product-grid { gap: 2rem; }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.product-card {
  background: #fff;
  border-radius: 3px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.07);
}

/* Product images — real photos are 960×1280 (3:4) */
.product-img {
  position: relative;
  aspect-ratio: 3 / 4;
  background-size: cover;
  background-position: center;
  background-color: var(--warm-grey);
}

@supports not (aspect-ratio: 3 / 4) {
  .product-img {
    height: 0;
    padding-top: 133.333%;
  }
}

/* Placeholder treatments — earth-tone gradients */
.product-ph-tray {
  background: linear-gradient(145deg, #d8d2cb 0%, #bfb09e 100%);
}
.product-ph-vase {
  background: linear-gradient(145deg, #d6bc9e 0%, #b8925e 100%);
}
.product-ph-planter {
  background: linear-gradient(145deg, #b8c8b4 0%, #8a9e85 100%);
}

.product-info {
  padding: 1.2rem 1.3rem 1.5rem;
}

.product-info h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.product-info p {
  font-size: 0.83rem;
  color: #666;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid #ede8e2;
}

.price {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--charcoal);
}

.enquire-link {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--terracotta);
  transition: opacity 0.2s ease;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 0 4px 8px;
  cursor: pointer;
}
.enquire-link:hover { opacity: 0.65; }

/* ===================== CUSTOM / SCULPTURAL ===================== */
#custom {
  position: relative;
  min-height: 88vh;
  min-height: 88svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.custom-bg {
  position: absolute;
  inset: 0;
}

.custom-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Landscape 1600×1200 image — centre keeps seahorse + surrounding sculptures in frame */
  object-position: center center;
}

.custom-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(15, 10, 8, 0.88) 0%,
    rgba(20, 14, 10, 0.78) 55%,
    rgba(20, 14, 10, 0.35) 100%
  );
}

.custom-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 110px 32px;
  width: 100%;
}

.custom-content {
  max-width: 580px;
  color: #fff;
}

.custom-heading {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  margin-bottom: 1.5rem;
  color: #fff;
  line-height: 1.1;
}

.custom-sub {
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2.75rem;
}

.custom-offerings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 520px) {
  .custom-offerings { grid-template-columns: 1fr; gap: 1.25rem; }
}

.offering {
  border-left: 2px solid var(--terracotta);
  padding-left: 1.1rem;
}

.offering h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.4rem;
}

.offering p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
}

.custom-price {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-grey);
  margin-bottom: 2rem;
}

/* ===================== STUDIO STORY ===================== */
#studio { background: var(--off-white); }

.studio-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 110px 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 768px) {
  .studio-inner {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
  }
}

.studio-text h2 { margin-bottom: 1.75rem; }

.studio-text p {
  font-size: 1rem;
  color: #4a4a4a;
  line-height: 1.9;
  margin-bottom: 1rem;
}

.studio-img {
  position: relative;
  isolation: isolate;
}

.studio-img img {
  width: 100%;
  /* process-vase.jpeg is 899×1599 (~9:16) — use matching ratio to avoid heavy crop */
  aspect-ratio: 9 / 16;
  max-height: 80vh;
  object-fit: cover;
  /* Shift up slightly so hands + vase (upper frame) stay visible */
  object-position: center 15%;
  border-radius: 2px;
}

@supports not (aspect-ratio: 9 / 16) {
  .studio-img img { height: 70vh; }
}

/* Offset border decoration */
.studio-img::before {
  content: '';
  position: absolute;
  top: 18px; left: 18px;
  right: -18px; bottom: -18px;
  border: 1px solid var(--warm-grey);
  border-radius: 2px;
  z-index: -1;
  pointer-events: none;
}

/* ===================== PROCESS ===================== */
#process { background: #fff; }

.process-video {
  position: relative;
  margin: 0 auto 4.5rem;
  max-width: 880px;
  border-radius: 6px;
  overflow: hidden;
  background: #0d0a08;
  box-shadow: 0 16px 50px rgba(20, 14, 10, 0.18);
  isolation: isolate;
  cursor: pointer;
}

.process-video video {
  width: 100%;
  height: auto;
  max-height: 80vh;
  max-height: 80svh;
  display: block;
  margin: 0 auto;
  transition: transform 6s ease, filter 0.5s ease;
}

/* Cinematic vignette + warm gradient veil over poster */
.process-video::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,0) 30%, rgba(15,10,8,0.55) 100%),
    linear-gradient(180deg, rgba(15,10,8,0.05) 0%, rgba(15,10,8,0.45) 100%);
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

/* Slow ken-burns on hover (desktop) */
@media (hover: hover) and (pointer: fine) {
  .process-video:hover video {
    transform: scale(1.04);
    filter: brightness(1.05);
  }
}

.process-video.is-playing { cursor: default; }
.process-video.is-playing::before { opacity: 0; }
.process-video.is-playing video { transform: none; filter: none; }

/* ── Play button ── */
.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  background: transparent;
  color: #fff;
  border: none;
  cursor: pointer;
  z-index: 3;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-play-core {
  position: relative;
  z-index: 2;
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--terracotta);
  box-shadow:
    0 14px 40px rgba(196, 112, 74, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  transition: background 0.25s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.video-play-core svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
  transform: translateX(3px);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
}

/* Two pulsing rings — staggered for layered ripple effect */
.video-play-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  pointer-events: none;
  animation: playPulse 2.6s cubic-bezier(0.2, 0.7, 0.4, 1) infinite;
}
.video-play-ring--2 {
  animation-delay: 1.3s;
  border-color: rgba(255, 255, 255, 0.32);
}

@keyframes playPulse {
  0%   { transform: scale(0.85); opacity: 0;   }
  20%  {                          opacity: 0.9; }
  100% { transform: scale(1.7);  opacity: 0;   }
}

.video-play:hover .video-play-core,
.video-play:focus-visible .video-play-core {
  background: #b3603c;
  box-shadow: 0 18px 50px rgba(196, 112, 74, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  transform: scale(1.06);
}

.video-play:focus-visible {
  outline: none;
}
.video-play:focus-visible .video-play-core {
  box-shadow:
    0 18px 50px rgba(196, 112, 74, 0.6),
    0 0 0 3px var(--off-white),
    0 0 0 5px var(--terracotta);
}

.video-play:active .video-play-core { transform: scale(0.96); }

.process-video.is-playing .video-play {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -50%) scale(0.5);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
}

/* ── Caption strip in the corner ── */
.video-meta {
  position: absolute;
  left: 28px;
  bottom: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: opacity 0.4s ease, transform 0.5s ease;
}

.video-meta-line {
  display: block;
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
}

.process-video.is-playing .video-meta {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

@media (max-width: 600px) {
  .video-play { width: 80px; height: 80px; }
  .video-play-core { width: 70px; height: 70px; }
  .video-play-core svg { width: 26px; height: 26px; }
  .video-meta { left: 18px; bottom: 16px; font-size: 0.58rem; letter-spacing: 0.18em; gap: 10px; }
  .video-meta-line { width: 20px; }
}

@media (hover: none) and (pointer: coarse) {
  .video-play:hover .video-play-core {
    background: var(--terracotta);
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .video-play-ring { animation: none; opacity: 0; }
  .process-video video { transition: none; }
  .process-video:hover video { transform: none; }
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 600px) {
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-top: 1px solid var(--warm-grey);
}

@media (min-width: 600px) {
  .step + .step {
    border-left: 1px solid var(--warm-grey);
  }
}

.step-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--warm-grey);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.step h4 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.step p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.75;
  max-width: 220px;
  margin: 0 auto;
}

/* ===================== FOOTER ===================== */
footer#contact { background: var(--charcoal); }

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px max(32px, var(--safe-right)) 48px max(32px, var(--safe-left));
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 600px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--off-white);
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--warm-grey);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  align-items: flex-start;
}

@media (min-width: 600px) {
  .footer-links { align-items: flex-end; }
}

.footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-grey);
  transition: color 0.2s ease;
  min-height: 44px;
  padding: 4px 0;
  cursor: pointer;
}
.footer-contact:hover { color: var(--off-white); }

.footer-contact svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.footer-location {
  font-size: 0.78rem;
  color: rgba(200, 191, 181, 0.45);
  letter-spacing: 0.08em;
}

.footer-copy {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 22px max(32px, var(--safe-right)) calc(22px + var(--safe-bottom)) max(32px, var(--safe-left));
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 0.72rem;
  color: rgba(200, 191, 181, 0.35);
}

/* ===================== SCROLL ANIMATIONS ===================== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== RESPONSIVE OVERRIDES ===================== */
@media (max-width: 480px) {
  :root { --nav-h: 64px; }

  #navbar {
    padding-left: max(20px, var(--safe-left));
    padding-right: max(20px, var(--safe-right));
  }

  .section-inner  { padding: 72px max(20px, var(--safe-left)) 72px max(20px, var(--safe-right)); }
  .custom-inner   { padding: 72px max(20px, var(--safe-left)) 72px max(20px, var(--safe-right)); }
  .studio-inner   { padding: 72px max(20px, var(--safe-left)) 72px max(20px, var(--safe-right)); gap: 2.5rem; }
  .footer-inner   { padding: 64px max(20px, var(--safe-right)) 40px max(20px, var(--safe-left)); }
  .footer-copy    { padding: 20px max(20px, var(--safe-right)) calc(20px + var(--safe-bottom)) max(20px, var(--safe-left)); }

  .hero-headline { margin-bottom: 1.25rem; }
  .hero-sub { margin-bottom: 2rem; }
  .hero-ctas { flex-direction: column; align-items: center; gap: 0.75rem; }
  .btn { width: 100%; max-width: 320px; text-align: center; padding: 16px 28px; }

  .product-grid { gap: 1rem; }
  .product-info { padding: 1rem 1rem 1.25rem; }

  .footer-links { align-items: flex-start; }

  .studio-img::before { display: none; }
}

@media (hover: none) and (pointer: coarse) {
  .product-card:hover {
    transform: none;
    box-shadow: none;
  }
  .text-link::after { display: none; }
  .btn-primary:hover { background: var(--terracotta); border-color: var(--terracotta); }
}
