/*
Theme Name: Grand Ice
Theme URI:
Author: Grand Ice
Author URI:
Description: Premium clear ice company theme - dark luxury aesthetic with ice-blue and amber accents.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: grandice
*/

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

:root {
  --bg-deep: #0a0c10;
  --bg-surface: #11141a;
  --bg-card: #181c24;
  --ice-blue: #b8d4e3;
  --ice-light: #ddeaf3;
  --ice-glow: #7bb8d8;
  --amber: #d4a053;
  --amber-light: #e8c27a;
  --amber-dark: #a67830;
  --text-primary: #e8ecf0;
  --text-secondary: #c8cdd2;
  --text-muted: #5a6370;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAV ─── */
nav#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.5rem 3rem;
  display: flex; justify-content: space-between; align-items: center;
  transition: background 0.4s;
}
/* Offset the fixed nav when the WP admin bar is present (logged-in preview) */
body.admin-bar nav#nav { top: 32px; }
body.admin-bar .page-loader,
body.admin-bar .mobile-menu { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar nav#nav,
  body.admin-bar .page-loader,
  body.admin-bar .mobile-menu { top: 46px; }
}
nav#nav.nav-transparent {
  background: linear-gradient(to bottom, rgba(10,12,16,0.95), transparent);
}
nav#nav.nav-solid {
  background: rgba(10,12,16,0.97); backdrop-filter: blur(20px);
}
nav#nav.scrolled { background: rgba(10,12,16,0.97); backdrop-filter: blur(20px); }
.logo {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 300; letter-spacing: 0.15em;
  color: var(--text-primary);
  text-transform: uppercase;
  text-decoration: none;
  display: flex; align-items: center; gap: 0;
}
.logo img {
  height: 1.1rem; width: auto;
  align-self: center;
  position: relative;
  top: 0.02rem;
  margin-left: 0.1rem;
}
.logo .icon-light { display: inline; }
.logo .icon-dark { display: none; }
html.light-mode .logo .icon-light { display: none; }
html.light-mode .logo .icon-dark { display: inline; }
.logo span { color: var(--amber); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  color: var(--text-secondary); text-decoration: none;
  font-size: 0.8rem; font-weight: 300; letter-spacing: 0.12em;
  text-transform: uppercase; transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active, .nav-links .current-menu-item > a, .nav-links .current_page_item > a { color: var(--amber-light); }
html.light-mode .nav-links a:hover,
html.light-mode .nav-links a.active,
html.light-mode .nav-links .current-menu-item > a,
html.light-mode .nav-links .current_page_item > a { color: #b8651a; font-weight: 500; }
.nav-links .menu-item-home { display: none; }
.nav-cta {
  background: transparent; border: 1px solid var(--amber-dark);
  color: var(--amber); padding: 0.6rem 1.8rem;
  font-family: var(--font-body); font-size: 0.75rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer; transition: all 0.3s;
  text-decoration: none; display: inline-block;
}
.nav-cta:hover { background: var(--amber); color: var(--bg-deep); }

/* ─── HAMBURGER ─── */
.hamburger {
  display: none; cursor: pointer; background: none; border: none;
  padding: 0.5rem; z-index: 200;
}
.hamburger span {
  display: block; width: 22px; height: 1.5px; background: var(--text-primary);
  margin: 5px 0; transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

.mobile-menu {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10,12,16,0.98); backdrop-filter: blur(20px);
  z-index: 150; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
}
.mobile-menu.active { display: flex; }
.mobile-menu-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: none; border: none; color: var(--text-muted);
  font-size: 2rem; cursor: pointer; font-weight: 200;
  transition: color 0.3s; line-height: 1;
}
.mobile-menu-close:hover { color: var(--text-primary); }
.mobile-menu a {
  color: var(--text-primary); text-decoration: none;
  font-family: var(--font-display); font-size: 2rem; font-weight: 300;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--amber-light); }
.mobile-menu .nav-cta {
  margin-top: 1rem; font-size: 0.85rem; padding: 0.8rem 2.2rem;
}

/* ─── HERO (Homepage) ─── */
.hero {
  min-height: 130vh; position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(123,184,216,0.06), transparent),
    radial-gradient(ellipse 40% 60% at 20% 60%, rgba(212,160,83,0.04), transparent),
    var(--bg-deep);
}
.hero-grain {
  position: absolute; inset: 0; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px; pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  display: flex; align-items: center;
  max-width: 1300px; width: 100%; padding: 6rem 3rem 3rem;
}
.hero-content { text-align: left; max-width: 600px; }
.hero-image-wrap {
  display: flex; align-items: center; justify-content: center;
  opacity: 0; animation: fadeUp 1.2s 0.6s forwards;
}
.hero-image-wrap { display: none; }
.hero-video-bg {
  position: absolute; inset: 0; z-index: 1;
  overflow: hidden;
  opacity: 0; animation: fadeUp 1.2s 0.6s forwards;
}
.hero-video-bg video {
  position: absolute;
  left: 65%; top: 30%; transform: translate(-50%, -50%);
  width: 160%; min-width: 1800px;
  mix-blend-mode: screen;
}
.hero-video-bg .hero-video-mask {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(to bottom, transparent 85%, rgba(10,12,16,0.3) 88%, rgba(10,12,16,0.6) 90%, rgba(10,12,16,0.85) 93%, var(--bg-deep) 96%);
}
.hero-tag {
  font-size: 0.7rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--amber); font-weight: 300; margin-bottom: 2rem;
  opacity: 0; animation: fadeUp 1s 0.3s forwards;
}
.hero-title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(3rem, 6vw, 6rem); line-height: 1.05;
  letter-spacing: -0.02em; margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp 1s 0.5s forwards;
}
.hero-title em { font-style: italic; color: var(--ice-blue); }
.hero-sub {
  font-size: 1.1rem; font-weight: 200; color: var(--text-secondary);
  max-width: 520px; margin: 0 0 3rem; line-height: 1.7;
  opacity: 0; animation: fadeUp 1s 0.7s forwards;
}
.hero-cta-group {
  display: flex; gap: 1.2rem;
  opacity: 0; animation: fadeUp 1s 0.9s forwards;
}
.hero-scroll {
  position: absolute; bottom: 3rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
  opacity: 0; animation: fadeUp 1s 1.2s forwards;
}
.hero-scroll span {
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-muted);
}
.scroll-line {
  width: 1px; height: 40px; background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollPulse 2s infinite;
}

/* ─── PAGE HERO (Inner pages) ─── */
.page-hero {
  padding: 14rem 3rem 6rem; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 50% 30%, rgba(212,160,83,0.05), transparent),
    radial-gradient(ellipse 40% 40% at 80% 70%, rgba(123,184,216,0.04), transparent),
    var(--bg-deep);
}
.page-hero-grain {
  position: absolute; inset: 0; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px; pointer-events: none;
}
.page-hero-content { position: relative; z-index: 2; }
.page-tag {
  font-size: 0.7rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--amber); font-weight: 300; margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp 1s 0.3s forwards;
}
.page-title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.8rem, 6vw, 5.5rem); line-height: 1.08;
  letter-spacing: -0.02em; margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp 1s 0.5s forwards;
}
.page-title em { font-style: italic; color: var(--ice-blue); }
.page-sub {
  font-size: 1.05rem; font-weight: 200; color: var(--text-secondary);
  max-width: 500px; margin: 0 auto; line-height: 1.7;
  opacity: 0; animation: fadeUp 1s 0.7s forwards;
}

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--amber); color: var(--bg-deep);
  border: none; padding: 1rem 2.8rem;
  font-family: var(--font-body); font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer; transition: all 0.3s; font-weight: 500;
  text-decoration: none; display: inline-block; text-align: center;
}
.btn-primary:hover { background: var(--amber-light); transform: translateY(-2px); }
.btn-secondary {
  background: transparent; color: var(--text-primary);
  border: 1px solid var(--text-muted); padding: 1rem 2.8rem;
  font-family: var(--font-body); font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer; transition: all 0.3s;
  text-decoration: none; display: inline-block; text-align: center;
}
.btn-secondary:hover { border-color: var(--ice-blue); color: var(--ice-blue); }

/* ─── SECTION STYLES ─── */
section { padding: 8rem 3rem; position: relative; }
.section-tag {
  font-size: 0.65rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--amber); font-weight: 400; margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem); line-height: 1.15;
  margin-bottom: 1.5rem;
}
.section-desc {
  font-weight: 200; color: var(--text-secondary);
  font-size: 1rem; line-height: 1.8; max-width: 560px;
}

/* ─── TESTIMONIAL ─── */
.testimonial {
  max-width: 800px; margin: 0 auto; text-align: center;
  padding: 10rem 3rem;
}
.testimonial-quote {
  font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 300; font-style: italic; line-height: 1.5;
  color: var(--ice-light); margin-bottom: 2rem;
}
.testimonial-author {
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--amber);
}
.testimonial-role {
  font-size: 0.8rem; color: var(--text-muted); margin-top: 0.2rem;
}

/* ─── CTA SECTION ─── */
.cta-section {
  background: linear-gradient(135deg, var(--bg-surface), var(--bg-deep));
  text-align: center; padding: 10rem 3rem; position: relative;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(212,160,83,0.05), transparent);
}
.cta-content { position: relative; z-index: 1; }
.cta-title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.1;
  margin-bottom: 1.5rem;
}
.cta-desc {
  font-weight: 200; color: var(--text-secondary);
  font-size: 1.05rem; margin-bottom: 3rem; max-width: 480px;
  margin-left: auto; margin-right: auto; line-height: 1.7;
}

/* ─── PRODUCTS ─── */
.products-section { padding: 6rem 3rem 8rem; max-width: 1200px; margin: 0 auto; }
.products-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; max-width: 1200px; margin: 0 auto;
}
.product-card {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.08);
  padding: 3rem 2.5rem; text-align: center;
  transition: all 0.4s; position: relative; overflow: hidden;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.35), 0 2px 8px rgba(0,0,0,0.2);
}
.product-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px; background: linear-gradient(90deg, transparent, var(--ice-blue), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.product-card:hover { transform: translateY(-4px); border-color: rgba(184,212,227,0.1); }
.product-card:hover::before { opacity: 0.6; }
.custom-photo-card {
  overflow: hidden; border: 1px solid rgba(255,255,255,0.04);
  position: relative; transition: all 0.4s; cursor: default;
}
.custom-photo-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px; background: linear-gradient(90deg, transparent, var(--ice-blue), transparent);
  opacity: 0; transition: opacity 0.4s; z-index: 1;
}
.custom-photo-card:hover { transform: translateY(-4px); border-color: rgba(184,212,227,0.1); }
.custom-photo-card:hover::before { opacity: 0.6; }
.custom-photo-card img {
  width: 100%; height: 220px; object-fit: cover; display: block;
  transition: transform 0.4s;
}
.custom-photo-card:hover img { transform: scale(1.03); }
.product-visual {
  width: 100%; height: 220px; margin: 0 0 2rem;
  overflow: hidden;
}
.product-visual img {
  width: 100%; height: 100%; object-fit: cover;
}
.product-name {
  font-family: var(--font-display); font-size: 1.6rem;
  font-weight: 400; margin-bottom: 0.6rem;
}
.product-size {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 1.2rem;
}
.product-desc {
  font-weight: 200; color: var(--text-secondary);
  font-size: 0.9rem; line-height: 1.7;
}

/* ─── PROCESS ─── */
.process-section { max-width: 1400px; margin: 0 auto; padding: 6rem 3rem 8rem; }
.process-layout {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 4rem; align-items: start;
}
.process-visual {
  position: relative; height: 900px;
  display: flex; align-items: center; justify-content: center;
  width: 100%;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(212,160,83,0.08), transparent 70%);
  border-radius: 20px;
}
.process-visual svg {
  filter: drop-shadow(0 0 30px rgba(212,160,83,0.15)) drop-shadow(0 0 60px rgba(212,160,83,0.08));
}
.process-steps { display: flex; flex-direction: column; gap: 3rem; }
.step {
  display: grid; grid-template-columns: 50px 1fr; gap: 1.5rem;
  align-items: start;
}
.step-num {
  font-family: var(--font-display); font-size: 2rem;
  color: var(--amber-dark); font-weight: 300; line-height: 1;
}
.step-title {
  font-family: var(--font-display); font-size: 1.3rem;
  font-weight: 400; margin-bottom: 0.4rem;
}
.step-text {
  font-weight: 200; color: var(--text-secondary);
  font-size: 0.88rem; line-height: 1.7;
}

/* ─── CLIENTS ─── */
.clients-section { background: var(--bg-surface); text-align: center; padding: 6rem 3rem 8rem; }
.client-logos {
  display: flex; justify-content: center; align-items: center;
  gap: 4rem; flex-wrap: wrap; opacity: 0.4;
}
.client-logo {
  font-family: var(--font-display); font-size: 1.4rem;
  letter-spacing: 0.1em; color: var(--text-muted);
  font-weight: 300; text-transform: uppercase;
}

/* ─── STORY ─── */
.story-section {
  max-width: 900px; margin: 0 auto; padding: 4rem 3rem 8rem;
}
.story-block {
  margin-bottom: 5rem;
}
.story-block h2 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.15;
  margin-bottom: 1.5rem;
}
.story-block p {
  font-weight: 200; color: #c8cdd2;
  font-size: 1rem; line-height: 1.9; margin-bottom: 1.5rem;
}
html.light-mode .story-block p { color: #333 !important; }
html.light-mode .story-block p.section-tag { color: #b8651a !important; }
html.light-mode .section-tag,
html.light-mode .page-tag,
html.light-mode p.section-tag { color: #b8651a !important; }
html.light-mode .contact-form-wrap,
html.light-mode .urgent-contact-box {
  box-shadow: 0 10px 40px rgba(0,0,0,0.18), 0 4px 12px rgba(0,0,0,0.1);
  border: 1px solid rgba(0,0,0,0.1) !important;
}
html.light-mode .story-photo-caption { color: #666 !important; }
html.light-mode .page-sub { color: #555 !important; }
.story-photo {
  margin: 3rem 0; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.04);
}
.story-photo img {
  width: 100%; height: 400px; object-fit: cover;
  display: block;
}
.story-photo-caption {
  padding: 1rem 1.5rem;
  font-size: 0.8rem; font-weight: 200; color: var(--text-muted);
  font-style: italic;
}
.story-values {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem; margin-top: 3rem;
}
.value-card {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.04);
  padding: 2.5rem 2rem; position: relative; overflow: hidden;
}
.value-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px; background: linear-gradient(90deg, transparent, var(--amber-dark), transparent);
}
.value-card h3 {
  font-family: var(--font-display); font-size: 1.4rem;
  font-weight: 400; margin-bottom: 0.8rem;
}
.value-card p {
  font-weight: 200; color: var(--text-secondary);
  font-size: 0.9rem; line-height: 1.7; margin-bottom: 0;
}

/* ─── GALLERY ─── */
.gallery-section { max-width: 1200px; margin: 0 auto; padding: 4rem 3rem 8rem; }
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.gallery-card {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.04);
  overflow: hidden; transition: all 0.4s;
}
.gallery-card:hover { transform: translateY(-4px); border-color: rgba(184,212,227,0.1); }
.gallery-placeholder {
  height: 280px;
  background: linear-gradient(135deg, rgba(123,184,216,0.08), rgba(212,160,83,0.06), rgba(123,184,216,0.04));
}
.gallery-card-image {
  width: 100%; height: 280px; overflow: hidden;
}
.gallery-card-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.gallery-title {
  font-family: var(--font-display); font-size: 1.2rem;
  font-weight: 400; padding: 1.5rem 1.5rem 0.5rem;
}
.gallery-desc {
  font-weight: 200; color: var(--text-secondary);
  font-size: 0.88rem; line-height: 1.7; padding: 0 1.5rem 1.5rem;
}

/* ─── FAQ ─── */
.faq-section { max-width: 800px; margin: 0 auto; padding: 4rem 3rem 8rem; }
.faq-item {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.04);
  margin-bottom: 1rem; overflow: hidden;
}
.faq-question {
  width: 100%; padding: 1.5rem 2rem; background: none; border: none;
  color: var(--text-primary); font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 400; text-align: left;
  cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; transition: color 0.3s;
}
.faq-question:hover { color: var(--amber-light); }
.faq-icon {
  font-size: 1.4rem; color: var(--amber); transition: transform 0.3s;
  font-weight: 300;
}
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 2rem;
}
.faq-item.active .faq-answer {
  max-height: 300px; padding: 0 2rem 1.5rem;
}
.faq-answer p {
  font-weight: 200; color: var(--text-secondary);
  font-size: 0.95rem; line-height: 1.8;
}

/* ─── CAREERS ─── */
.careers-section {
  max-width: 900px; margin: 0 auto; padding: 4rem 3rem 8rem;
}
.careers-intro {
  margin-bottom: 5rem;
}
.careers-intro h2 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.15;
  margin-bottom: 1.5rem;
}
.careers-intro p {
  font-weight: 200; color: var(--text-secondary);
  font-size: 1rem; line-height: 1.9; margin-bottom: 1.5rem;
}
.careers-perks {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; margin-bottom: 5rem;
}
.perk {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.04);
  padding: 2rem 1.8rem; position: relative; overflow: hidden;
}
.perk::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px; background: linear-gradient(90deg, transparent, var(--ice-blue), transparent);
}
.perk h3 {
  font-family: var(--font-display); font-size: 1.3rem;
  font-weight: 400; margin-bottom: 0.6rem;
}
.perk p {
  font-weight: 200; color: var(--text-secondary);
  font-size: 0.88rem; line-height: 1.7;
}
.careers-openings {
  margin-bottom: 3rem;
}
.careers-openings h2 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.15;
  margin-bottom: 2rem;
}
.no-openings {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.04);
  padding: 4rem 2.5rem; text-align: center;
}
.no-openings p {
  font-weight: 200; color: var(--text-secondary);
  font-size: 1rem; line-height: 1.8;
}
.no-openings a {
  color: var(--amber); text-decoration: none; transition: color 0.3s;
}
.no-openings a:hover { color: var(--amber-light); }

/* ─── CONTACT ─── */
.contact-section {
  padding: 6rem 3rem 8rem;
  max-width: 1200px;
  margin: 0 auto;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 6rem;
  align-items: start;
}
.contact-info { padding-top: 0.5rem; }
.contact-info h2 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.15;
  margin-bottom: 1.5rem;
}
.contact-info p {
  font-weight: 200; color: var(--text-secondary);
  font-size: 0.95rem; line-height: 1.8;
  margin-bottom: 3rem;
}
.contact-details { display: flex; flex-direction: column; gap: 1.8rem; }
.contact-item {
  display: flex; align-items: flex-start; gap: 1.2rem;
}
.contact-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border: 1px solid rgba(212,160,83,0.4);
  display: flex; align-items: center; justify-content: center;
  margin-top: 0.1rem;
}
.contact-icon svg { width: 16px; height: 16px; }
.contact-item-label {
  font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 0.3rem; font-weight: 400;
}
.contact-item-value {
  font-size: 0.95rem; color: var(--text-secondary); font-weight: 200;
}
.contact-item-value a {
  color: var(--text-secondary); text-decoration: none; transition: color 0.3s;
}
.contact-item-value a:hover { color: var(--amber-light); }
.contact-divider {
  width: 40px; height: 1px;
  background: linear-gradient(to right, var(--amber-dark), transparent);
  margin: 3rem 0;
}
.hours-title {
  font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 1rem; font-weight: 400;
}
.hours-row {
  display: flex; justify-content: space-between;
  font-size: 0.88rem; font-weight: 200; color: var(--text-secondary);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.hours-row:last-child { border-bottom: none; }

/* ─── DELIVERY MAP ─── */
.delivery-map-section {
  padding: 6rem 3rem 8rem; text-align: center;
  background: var(--bg-surface);
}
.delivery-map-section .section-tag { margin-bottom: 1rem; }
.delivery-map-section h2 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.15;
  margin-bottom: 1rem;
}
.delivery-map-section p {
  font-weight: 200; color: var(--text-secondary);
  font-size: 1rem; line-height: 1.8; max-width: 560px;
  margin: 0 auto 3rem;
}
.map-container {
  max-width: 1000px; margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.04);
  overflow: hidden; position: relative;
}
.map-container iframe {
  width: 100%; height: 450px; border: 0;
  filter: grayscale(1) invert(0.92) contrast(0.9);
  transition: filter 0.3s;
}
html.light-mode .map-container iframe {
  filter: grayscale(0.3) contrast(1);
}
.map-container:hover iframe {
  filter: grayscale(0.5) invert(0.92) contrast(0.95);
}
html.light-mode .map-container:hover iframe {
  filter: grayscale(0) contrast(1);
}

/* ─── CONTACT FORM ─── */
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.04);
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
}
.contact-form-wrap::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber-dark), transparent);
}
.form-title {
  font-family: var(--font-display); font-size: 1.8rem;
  font-weight: 300; margin-bottom: 0.5rem;
}
.form-title span { color: var(--amber); }
.form-subtitle {
  font-size: 0.85rem; font-weight: 200; color: var(--text-muted);
  margin-bottom: 2.5rem;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.form-group {
  display: flex; flex-direction: column; gap: 0.5rem;
}
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--amber); font-weight: 400;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(212,160,83,0.15);
  color: var(--text-primary);
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 200;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a6370' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-group select option {
  background: var(--bg-card);
  color: var(--text-primary);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(212,160,83,0.4);
  background: rgba(212,160,83,0.03);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  margin-top: 0.2rem;
  display: flex; align-items: center; gap: 1.5rem;
}
.form-note {
  font-size: 0.78rem; font-weight: 200; color: var(--text-muted);
  line-height: 1.5;
}

/* ─── SOCIAL ─── */
.footer-social {
  display: flex; gap: 1.2rem; justify-content: flex-start;
  padding-top: 1.2rem;
}
.footer-social a {
  color: var(--text-muted); transition: color 0.3s;
}
.footer-social a:hover { color: var(--amber-light); }
.footer-social svg { width: 20px; height: 20px; }

/* ─── FOOTER ─── */
footer {
  padding: 4rem 3rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 4rem;
}
.footer-brand .logo { margin-bottom: 1rem; display: inline-flex; }
.footer-tagline {
  font-weight: 200; color: var(--text-muted);
  font-size: 0.85rem; line-height: 1.6;
}
.footer-col h4 {
  font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 1.2rem; font-weight: 400;
}
.footer-col a {
  display: block; color: var(--text-secondary);
  text-decoration: none; font-size: 0.88rem; font-weight: 200;
  margin-bottom: 0.7rem; transition: color 0.3s;
}
.footer-col a:hover { color: var(--amber-light); }
.footer-bottom {
  text-align: center; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.03);
  font-size: 0.75rem; color: var(--text-muted); font-weight: 200;
}

/* ─── PAGE TRANSITION ─── */
body { animation: pageIn 0.5s ease; }
body.page-exit { animation: pageOut 0.3s ease forwards; }
@keyframes pageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pageOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* ─── LOADING ANIMATION ─── */
.page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg-deep);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease;
}
.page-loader.hidden { opacity: 0; pointer-events: none; }
.loader-icon {
  width: 120px; height: auto;
  animation: loaderPulse 1.2s ease-in-out infinite;
}
.loader-icon.icon-light { display: inline; }
.loader-icon.icon-dark { display: none; }
html.light-mode .loader-icon.icon-light { display: none; }
html.light-mode .loader-icon.icon-dark { display: inline; }
@keyframes loaderPulse {
  0%, 100% { opacity: 0.3; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* ─── BACK TO TOP ─── */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 90;
  width: 44px; height: 44px;
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06);
  color: var(--text-muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: all 0.3s;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { color: var(--amber-light); border-color: rgba(212,160,83,0.3); }
.back-to-top svg { width: 18px; height: 18px; }

/* ─── STICKY MOBILE CTA ─── */
.mobile-sticky-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 90; padding: 1rem 1.5rem;
  background: rgba(10,12,16,0.95); backdrop-filter: blur(20px);
  border-top: 1px solid rgba(212,160,83,0.15);
}
.mobile-sticky-cta a {
  display: block; width: 100%; text-align: center;
  background: var(--amber); color: var(--bg-deep);
  padding: 0.9rem; font-family: var(--font-body);
  font-size: 0.78rem; letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none;
  font-weight: 500; transition: background 0.3s;
}
.mobile-sticky-cta a:hover { background: var(--amber-light); }

/* ─── DARK/LIGHT MODE TOGGLE ─── */
.theme-toggle {
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); padding: 0.4rem;
  transition: color 0.3s; display: flex; align-items: center;
}
.theme-toggle:hover { color: var(--amber-light); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun { display: none; }

/* Light mode overrides */
html.light-mode {
  --bg-deep: #f5f5f0;
  --bg-surface: #eaeae5;
  --bg-card: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #555555;
  --text-muted: #888888;
  --ice-blue: #4a8fad;
  --ice-light: #2a6080;
  --amber: #b8862d;
  --amber-light: #9a7020;
  --amber-dark: #c4963a;
}
html.light-mode .theme-toggle .icon-moon { display: none; }
html.light-mode .theme-toggle .icon-sun { display: block; }
html.light-mode .page-loader { background: var(--bg-deep); }
html.light-mode nav#nav.nav-transparent {
  background: linear-gradient(to bottom, rgba(245,245,240,0.95), transparent);
}
html.light-mode nav#nav.nav-solid,
html.light-mode nav#nav.scrolled {
  background: rgba(245,245,240,0.97); backdrop-filter: blur(20px);
}
html.light-mode .mobile-menu {
  background: rgba(245,245,240,0.98);
}
html.light-mode .hamburger span { background: var(--text-primary); }
html.light-mode .back-to-top { background: #fff; border-color: rgba(0,0,0,0.08); }
html.light-mode .mobile-sticky-cta { background: rgba(245,245,240,0.95); }
html.light-mode .comparison-glass svg polygon,
html.light-mode .comparison-glass svg rect,
html.light-mode .comparison-glass svg circle { stroke-opacity: 0.7 !important; fill-opacity: 0.25 !important; }
html.light-mode .comparison-glass svg path,
html.light-mode .comparison-glass svg ellipse { stroke-opacity: 0.6 !important; opacity: 0.7 !important; }
html.light-mode .comparison-glass svg line { stroke-opacity: 0.6 !important; }
html.light-mode .comparison-glass svg text { opacity: 1 !important; }
html.light-mode .hero-title { color: #e8ecf0; }
html.light-mode .hero-title em { color: #b8d4e3; }
html.light-mode .hero-tag { color: #d4a053; }
html.light-mode .hero-sub { color: #8a94a0; }
html.light-mode .hero .btn-secondary { color: #e8ecf0; border-color: #5a6370; }
html.light-mode .hero .btn-secondary:hover { color: #b8d4e3; border-color: #b8d4e3; }
html.light-mode .hero .btn-primary { color: #0a0c10; }
html.light-mode .hero-video-bg .hero-video-mask {
  background: linear-gradient(to bottom, transparent 85%, rgba(245,245,240,0.3) 88%, rgba(245,245,240,0.6) 90%, rgba(245,245,240,0.85) 93%, var(--bg-deep) 96%);
}
html.light-mode .process-visual svg { filter: invert(0.9) contrast(1.5) hue-rotate(180deg) brightness(0.7); }

/* Light mode homepage hero — match video's gray background, no blend mode */
html.light-mode body.home .hero { background: #898a8e; }
html.light-mode body.home .hero-bg { background: #898a8e; }
@media (min-width: 901px) {
  html.light-mode body.home .hero::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 180px;
    pointer-events: none;
    z-index: 5;
    background: linear-gradient(to bottom, transparent 0%, rgba(137,138,142,0.5) 30%, var(--bg-deep) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 40%, black 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 40%, black 100%);
  }
}
.hero-video-light { display: none; }
html.light-mode .hero-video-dark { display: none; }
html.light-mode .hero-video-light { display: block; }
html.light-mode .hero-video-light video {
  mix-blend-mode: normal !important;
  width: 110% !important;
  min-width: 1200px !important;
  left: 60% !important;
  top: 40% !important;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, black 12%, black 72%, transparent 92%),
    linear-gradient(to bottom, black 0%, black 94%, transparent 100%);
  mask-image:
    linear-gradient(to right, transparent 0%, black 12%, black 72%, transparent 92%),
    linear-gradient(to bottom, black 0%, black 94%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
/* To revert: change color back to #1a1a1a */
html.light-mode body.home .hero-title { color: #8a4a10; text-shadow: 0 1px 2px rgba(255,255,255,0.25); }
html.light-mode body.home .hero-title em { color: #2a6080; }
html.light-mode body.home .hero-tag { color: #5a3810; }
html.light-mode body.home .hero-sub { color: #2a2a2a; }
html.light-mode body.home .hero .btn-primary { background: var(--amber); color: #fff; border-color: var(--amber); }
html.light-mode body.home .hero .btn-primary:hover { background: var(--amber-light); border-color: var(--amber-light); }
html.light-mode body.home .hero .btn-secondary { color: var(--text-primary); border-color: var(--text-muted); }
html.light-mode body.home .hero .btn-secondary:hover { color: var(--ice-light); border-color: var(--ice-light); }

/* ─── TESTIMONIAL CAROUSEL ─── */
.testimonial-carousel {
  position: relative; max-width: 800px; margin: 0 auto;
  text-align: center; padding: 10rem 3rem;
  overflow: hidden;
}
.testimonial-slide {
  display: none; animation: fadeUp 0.6s ease;
}
.testimonial-slide.active { display: block; }
.carousel-dots {
  display: flex; justify-content: center; gap: 0.6rem;
  margin-top: 2.5rem;
}
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--text-muted); border: none;
  cursor: pointer; padding: 0; opacity: 0.4;
  transition: all 0.3s;
}
.carousel-dot.active { opacity: 1; background: var(--amber); }

/* ─── 404 PAGE ─── */
.error-section {
  flex: 1; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 10rem 3rem 6rem;
  position: relative; overflow: hidden; min-height: 70vh;
}
.error-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(123,184,216,0.04), transparent),
    radial-gradient(ellipse 40% 40% at 30% 60%, rgba(212,160,83,0.03), transparent),
    var(--bg-deep);
}
.error-content {
  position: relative; z-index: 2;
  opacity: 0; animation: fadeUp 1s 0.3s forwards;
}
.error-code {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(6rem, 15vw, 12rem); line-height: 1;
  letter-spacing: -0.02em; margin-bottom: 1rem;
}
.error-code span {
  background: linear-gradient(135deg, var(--ice-blue), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.error-title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.2;
  margin-bottom: 1.5rem;
}
.error-title em { font-style: italic; color: var(--ice-blue); }
.error-desc {
  font-weight: 200; color: var(--text-secondary);
  font-size: 1.05rem; line-height: 1.8;
  max-width: 440px; margin: 0 auto 3rem;
}
.error-actions {
  display: flex; gap: 1.2rem; justify-content: center;
}

/* ─── PHOTO CAROUSEL ─── */
.photo-carousel-section {
  padding: 4rem 0 6rem; overflow: visible;
  position: relative;
}
.photo-carousel-header {
  text-align: center; padding: 0 3rem; margin-bottom: 3rem;
}
.photo-carousel-wrap {
  position: relative; padding: 0 3rem;
  overflow-x: clip; overflow-y: visible;
}
.photo-carousel-track {
  display: flex; gap: 1.5rem;
  transition: transform 0.5s ease;
}
.photo-carousel-track .carousel-slide-item {
  min-width: calc(33.333% - 1rem);
  overflow: visible; border: 1px solid rgba(255,255,255,0.04);
  transition: all 0.4s; flex-shrink: 0;
  position: relative;
}
.photo-carousel-track .carousel-slide-item > img {
  overflow: hidden;
}
.photo-carousel-track .carousel-slide-item::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px; background: linear-gradient(90deg, transparent, var(--ice-blue), transparent);
  opacity: 0; transition: opacity 0.4s; z-index: 1;
}
.photo-carousel-track .carousel-slide-item:hover { transform: translateY(-4px); border-color: rgba(184,212,227,0.1); }
.photo-carousel-track .carousel-slide-item:hover::before { opacity: 0.6; }
.photo-carousel-track .carousel-slide-item img {
  width: 100%; height: 400px; object-fit: cover; display: block;
  transition: transform 0.4s;
}
.photo-carousel-track .carousel-slide-item:hover img { transform: scale(1.03); }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; z-index: 5;
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.carousel-arrow:hover { color: var(--amber-light); border-color: rgba(212,160,83,0.3); }
.carousel-arrow svg { width: 18px; height: 18px; }
.carousel-arrow-left { left: 0.5rem; }
.carousel-arrow-right { right: 0.5rem; }

/* ─── IMAGE POPUP ─── */
.carousel-slide-item {
  position: relative;
}
.carousel-slide-item .item-popup {
  position: absolute; top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  pointer-events: none;
  opacity: 0; transform: scale(1.05);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.carousel-slide-item:hover .item-popup {
  opacity: 1; transform: scale(1.05);
}
.carousel-slide-item .item-popup img {
  width: 100%; display: block;
}
.item-popup-caption {
  padding: 1rem 1.2rem;
}
.item-popup-title {
  font-family: var(--font-display); font-size: 1.1rem;
  font-weight: 300; color: var(--text-primary); margin-bottom: 0.3rem;
}
.item-popup-credit {
  font-size: 0.7rem; font-weight: 200; color: var(--text-muted);
  font-style: italic;
}

/* ─── SCROLL PROGRESS BAR ─── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: var(--amber); z-index: 9998;
  width: 0%; transition: width 0.1s linear;
}

/* ─── CUSTOM CURSOR ─── */
@media (pointer: fine) {
  *, *::before, *::after { cursor: none !important; }
  .custom-cursor {
    position: fixed; top: 0; left: 0; z-index: 99999;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--amber); pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
    mix-blend-mode: difference;
  }
  .custom-cursor.hovering {
    width: 24px; height: 24px;
    background: var(--ice-blue);
  }
  .custom-cursor-ring {
    position: fixed; top: 0; left: 0; z-index: 99998;
    width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid rgba(212,160,83,0.3);
    pointer-events: none; transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
  }
  .custom-cursor-ring.hovering {
    width: 48px; height: 48px;
    border-color: rgba(123,184,216,0.4);
  }
}

/* ─── PARALLAX HERO ─── */
.hero-bg, .page-hero-bg { will-change: transform; }

/* ─── LAZY LOAD BLUR ─── */
img.lazy-blur {
  filter: blur(20px); transition: filter 0.6s ease;
}
img.lazy-blur.loaded { filter: blur(0); }

/* ─── CLIENT HOVER EFFECTS ─── */
.client-logo {
  position: relative; transition: all 0.4s; cursor: default;
}
.client-logo::after {
  content: ''; position: absolute; bottom: -4px; left: 50%;
  width: 0; height: 1px; background: var(--amber);
  transition: all 0.4s; transform: translateX(-50%);
}
.client-logo:hover {
  color: var(--ice-light); text-shadow: 0 0 20px rgba(123,184,216,0.3);
}
.client-logo:hover::after { width: 100%; }

/* ─── SIZE COMPARISON ─── */
.size-comparison {
  max-width: 900px; margin: 0 auto; padding: 6rem 3rem;
  text-align: center;
}
.size-comparison h2 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.15;
  margin-bottom: 1rem;
}
.size-comparison > p {
  font-weight: 200; color: var(--text-secondary);
  font-size: 1rem; line-height: 1.8; max-width: 500px;
  margin: 0 auto 3rem;
}
.comparison-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 3rem; align-items: end;
}
.comparison-item { text-align: center; }
.comparison-glass {
  margin: 0 auto 1.5rem;
  display: flex; align-items: flex-end; justify-content: center;
}
.comparison-glass svg { width: 100%; height: auto; max-width: 220px; }
.comparison-label {
  font-family: var(--font-display); font-size: 1.2rem;
  font-weight: 400; margin-bottom: 0.3rem;
}
.comparison-size {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--amber);
}

.delivery-options-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1.5rem; max-width: 900px; margin: 0 auto;
}
.delivery-options-grid > div {
  flex: 1 1 calc(20% - 1.2rem);
  max-width: calc(20% - 1.2rem);
  min-width: 150px;
}

.custom-photos-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem; margin-top: 3rem;
}

/* WP Gallery block inside the Products & Portfolio templates — styled to match the hardcoded grid */
.custom-photos-content { margin-top: 3rem; }
.custom-photos-content .wp-block-gallery,
.portfolio-content .wp-block-gallery {
  display: grid !important; grid-template-columns: repeat(4, 1fr);
  gap: 1rem; margin: 0;
}
.custom-photos-content .wp-block-gallery .wp-block-image,
.portfolio-content .wp-block-gallery .wp-block-image {
  margin: 0 !important; width: auto !important;
  overflow: hidden; border: 1px solid rgba(255,255,255,0.04);
  position: relative; transition: all 0.4s;
}
.custom-photos-content .wp-block-gallery .wp-block-image img,
.portfolio-content .wp-block-gallery .wp-block-image img {
  width: 100%; height: 220px; object-fit: cover; display: block;
  transition: transform 0.4s;
}
.custom-photos-content .wp-block-gallery .wp-block-image:hover,
.portfolio-content .wp-block-gallery .wp-block-image:hover {
  transform: translateY(-4px); border-color: rgba(184,212,227,0.1);
}
.custom-photos-content .wp-block-gallery .wp-block-image:hover img,
.portfolio-content .wp-block-gallery .wp-block-image:hover img {
  transform: scale(1.03);
}
.custom-photos-content .wp-block-gallery figcaption { display: none; }
.portfolio-content .wp-block-gallery figcaption {
  font-family: var(--font-display); font-size: 1rem; font-weight: 400;
  color: var(--text-primary); text-align: left; padding: 1rem 0 0;
  background: transparent; position: static;
}
@media (max-width: 900px) {
  .custom-photos-content .wp-block-gallery,
  .portfolio-content .wp-block-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .custom-photos-content .wp-block-gallery,
  .portfolio-content .wp-block-gallery { grid-template-columns: 1fr; }
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s, transform 0.8s;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav#nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-cta.desktop-cta { display: none; }
  .hamburger { display: block; }
  section { padding: 5rem 1.5rem; }
  html:not(.light-mode) body.home { background: #000 !important; }
  html:not(.light-mode) body.home .hero { min-height: auto !important; padding-bottom: 0 !important; background: #000 !important; }
  html:not(.light-mode) body.home .hero-bg { background: #000 !important; }
  html.light-mode body.home .hero { min-height: auto !important; padding-bottom: 0 !important; background: linear-gradient(in oklch to bottom, #f0f0f2 0%, #c8c9cc 60%) !important; }
  html.light-mode body.home .hero-bg { background: transparent !important; }
  html.light-mode body.home .hero::after { display: none; }
  html.light-mode body.home .hero + section {
    position: relative;
  }
  html.light-mode body.home .hero + section::before {
    content: '';
    position: absolute;
    top: -1px; left: 0; right: 0;
    height: 120px;
    pointer-events: none;
    background: linear-gradient(in oklch to bottom, #c8c9cc 0%, var(--bg-deep) 100%);
  }
  html.light-mode body.home .hero-video-dark { display: none !important; }
  html.light-mode body.home .hero-video-light { display: block !important; }
  html.light-mode body.home .hero-video-light video {
    mix-blend-mode: normal !important;
    top: 70% !important;
    left: 50% !important;
    width: 150% !important;
    min-width: 500px !important;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 92%, transparent 100%) !important;
    mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 92%, transparent 100%) !important;
    -webkit-mask-composite: source-over !important;
    mask-composite: add !important;
  }
  html.light-mode body.home .hero-title { color: #8a4a10 !important; text-shadow: 0 1px 2px rgba(255,255,255,0.25); }
  html.light-mode body.home .hero-sub { color: #2a2a2a !important; }
  html.light-mode body.home .hero-tag { color: #5a3810 !important; }
  html.light-mode body.home .hero-title em { color: #2a6080 !important; }
  .hero { min-height: auto !important; padding-bottom: 0 !important; background: var(--bg-deep) !important; }
  .hero-bg { background: var(--bg-deep) !important; }
  .hero-grain { display: none !important; }
  .hero-inner { padding: 0 1.5rem !important; padding-top: 4rem !important; padding-bottom: 36vh !important; position: relative !important; }
  .hero-video-bg { inset: 0 !important; opacity: 1 !important; animation: none !important; }
  .hero-video-bg video {
    position: absolute !important;
    top: 67% !important; left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 200% !important; height: auto !important;
    min-width: 560px !important;
    object-fit: initial !important; object-position: initial !important;
    mix-blend-mode: screen !important;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 92%, transparent 100%) !important;
    mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 92%, transparent 100%) !important;
  }
  .hero-video-bg .hero-video-mask { display: none !important; }
  .hero .hero-cta-group { display: none !important; }
  .hero-content { text-align: center; max-width: 100%; }
  .hero-cta-group {
    position: absolute !important; bottom: 0.5rem !important; left: 0 !important; right: 0 !important;
    z-index: 10 !important; padding: 0 1.5rem !important;
    opacity: 1 !important; animation: none !important;
    flex-direction: column !important; align-items: center !important;
  }
  .hero-cta-group { justify-content: center; flex-wrap: wrap; gap: 0.8rem; }
  .btn-primary, .btn-secondary { width: 100%; text-align: center; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .testimonial { padding: 6rem 1.5rem; }
  .cta-section { padding: 6rem 1.5rem; }
  .page-hero { padding: 8rem 1.5rem 3rem; }
  .products-section { padding: 4rem 1.5rem 6rem; }
  .products-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .process-section { padding: 6rem 1.5rem 4rem !important; }
  .process-layout { grid-template-columns: 1fr; gap: 3rem; }
  .process-visual { height: auto; aspect-ratio: 550 / 700; max-width: 560px; margin: 0 auto; }
  .clients-section { padding: 4rem 1.5rem 6rem; }
  .contact-section { padding: 4rem 1.5rem 6rem; }
  .story-section { padding: 3rem 1.5rem 6rem; }
  .story-values { grid-template-columns: 1fr; }
  .story-photo img { height: 250px; }
  .careers-section { padding: 3rem 1.5rem 6rem; }
  .careers-perks { grid-template-columns: 1fr; }
  .gallery-section { padding: 3rem 1.5rem 6rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .faq-section { padding: 3rem 1.5rem 6rem; }
  .photo-carousel-section { overflow: hidden !important; }
  .photo-carousel-wrap { padding: 0 !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch; }
  .photo-carousel-header { padding: 0 1.5rem; }
  .photo-carousel-track { transform: none !important; transition: none !important; flex-wrap: nowrap !important; gap: 0 !important; scroll-snap-type: x mandatory; }
  .photo-carousel-track .carousel-slide-item { min-width: 100vw !important; scroll-snap-align: center; flex-shrink: 0 !important; }
  .carousel-slide-item .item-popup {
    position: relative !important; bottom: auto !important; left: auto !important;
    right: auto !important; transform: none !important;
    opacity: 1 !important; display: block !important;
    box-shadow: none !important; border: none !important; border-top: 1px solid rgba(255,255,255,0.04) !important;
    background: var(--bg-card) !important; margin: 0 !important; width: auto !important;
  }
  .carousel-slide-item .item-popup img { display: none !important; }
  .carousel-arrow { display: none !important; }
  .cta-section { padding: 3rem 1.5rem 5rem !important; }
  .hero .hero-cta-group {
    position: absolute !important; bottom: 0.5rem !important; left: 0 !important; right: 0 !important;
    z-index: 10 !important; padding: 0 1.5rem !important;
    opacity: 1 !important; animation: none !important;
    flex-direction: column !important; align-items: center !important;
  }
  .cta-section .hero-cta-group {
    position: relative !important; bottom: auto !important; left: auto !important; right: auto !important;
    flex-direction: column !important; align-items: center !important; gap: 0.8rem !important;
    padding: 0 !important; opacity: 1 !important; animation: none !important;
  }
  html.light-mode .hero .btn-secondary { color: var(--text-primary) !important; border-color: var(--text-muted) !important; }
  html.light-mode .hero .btn-secondary:hover { color: var(--ice-blue) !important; border-color: var(--ice-blue) !important; }
  .cta-title { font-size: clamp(2rem, 8vw, 3rem) !important; }
  .cta-desc { font-size: 0.95rem !important; margin-bottom: 2rem !important; }
  .error-section { padding: 8rem 1.5rem 4rem; }
  .error-actions { flex-wrap: wrap; gap: 0.8rem; }
  .size-comparison { padding: 4rem 1.5rem; }
  .comparison-grid { gap: 1.5rem; }
  .delivery-map-section { padding: 4rem 1.5rem 6rem; }
  .map-container iframe { height: 300px; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .contact-form-wrap { padding: 2rem 1.5rem; order: -1; }
  .form-grid { grid-template-columns: 1fr; }
  .form-submit { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .form-submit .btn-primary { width: 100%; }
  .mobile-sticky-cta { display: block; }
  .back-to-top { bottom: 5.5rem; right: 1rem; }
  .testimonial-carousel { padding: 6rem 1.5rem; }
  .delivery-options-grid > div { flex-basis: calc(50% - 0.75rem); max-width: calc(50% - 0.75rem); }
  .custom-photos-grid { grid-template-columns: repeat(2, 1fr); }
  body { padding-bottom: 4.5rem; }
  [style*="padding: 6rem 3rem"] { padding: 4rem 1.5rem 6rem !important; }
  [style*="padding: 6rem 3rem 4rem"] { padding: 3rem 1.5rem 2rem !important; }
  [style*="padding: 8rem 3rem"] { padding: 5rem 1.5rem !important; }
  [style*="padding: 4rem 0 6rem"] { padding: 3rem 0 4rem !important; }
  [style*="padding: 10rem 3rem"] { padding: 8rem 1.5rem 1.5rem !important; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(2.5rem, 12vw, 4rem); }
  .page-title { font-size: clamp(2.2rem, 10vw, 3.5rem); }
  .contact-icon { width: 34px; height: 34px; }
  .delivery-options-grid > div { flex-basis: 100%; max-width: 100%; }
  .custom-photos-grid { grid-template-columns: 1fr; }
  .hero-video-bg video { min-width: 440px !important; }
  .process-visual { max-width: none; margin-left: -1.5rem; margin-right: -1.5rem; width: calc(100% + 3rem); }
  .comparison-grid { grid-template-columns: 1fr; max-width: 250px; margin: 0 auto; }
}

/* ─── CONTACT FORM 7 — match the dark amber theme ─── */
.wpcf7 form .wpcf7-response-output {
  margin: 2rem 0 0;
  padding: 1rem 1.5rem;
  border: 1px solid var(--amber-dark);
  background: rgba(212, 160, 83, 0.08);
  color: var(--amber-light);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  text-align: center;
}
.wpcf7 form.sent .wpcf7-response-output {
  border-color: var(--amber);
  background: rgba(212, 160, 83, 0.1);
  color: var(--amber-light);
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  border-color: rgba(212, 160, 83, 0.4);
  background: rgba(212, 160, 83, 0.05);
  color: var(--text-secondary);
}
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  border-color: #8b3a3a;
  background: rgba(139, 58, 58, 0.12);
  color: #d9a5a5;
}
.wpcf7-not-valid-tip {
  color: #d9a5a5;
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  margin-top: 0.4rem;
  display: block;
}
.wpcf7-form-control.wpcf7-not-valid {
  border-color: #8b3a3a !important;
}
.wpcf7-spinner {
  background-color: var(--amber);
}
.wpcf7-spinner::before {
  background-color: var(--bg-deep);
}
