/* ============================================
   WALKMAN STUDIOS — Home Page Styles
   ============================================ */

/* ============================================================
   HERO — EDITORIAL
   ============================================================ */

.hero-overlay--deep {
  background: linear-gradient(
    160deg,
    rgba(0, 0, 0, 0.90) 0%,
    rgba(0, 0, 0, 0.82) 50%,
    rgba(10, 10, 10, 0.98) 100%
  );
}

/* Film-grain noise texture */
.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ============================================================
   COPPER STRING LIGHTS
   Three drooping catenary strands of warm LED fairy lights
   layered over the top of the hero for ambient warmth.
   ============================================================ */
.hero-string-lights {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  /* Height of the SVG viewBox in px — lights live in the top 260px */
  height: clamp(200px, 35vh, 320px);
  z-index: 3;
  pointer-events: none;
  overflow: visible;
}

.hero-string-lights svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

/* ---- 6 twinkling classes ---- */
/* Each has a different duration + delay so bulbs never pulse in unison */
.sl-tw-a { animation: sl-flicker 4.2s ease-in-out infinite 0.00s; }
.sl-tw-b { animation: sl-flicker 3.1s ease-in-out infinite 0.85s; }
.sl-tw-c { animation: sl-flicker 5.5s ease-in-out infinite 1.65s; }
.sl-tw-d { animation: sl-flicker 2.8s ease-in-out infinite 0.40s; }
.sl-tw-e { animation: sl-flicker 4.7s ease-in-out infinite 2.15s; }
.sl-tw-f { animation: sl-flicker 3.6s ease-in-out infinite 1.25s; }

@keyframes sl-flicker {
  /* --- Steady warm burn most of the time --- */
  0%,  18%, 28%, 100% { opacity: 1.0; }
  /* --- Quick dip: voltage fluctuation --- */
  22%  { opacity: 0.55; }
  25%  { opacity: 0.88; }
  /* --- Second, subtler dip --- */
  62%  { opacity: 0.68; }
  66%  { opacity: 0.92; }
  /* --- Brief near-off moment --- */
  80%  { opacity: 0.75; }
}

/* Animated SVG waveform at bottom of hero */
.hero-waveform {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  z-index: 2;
  pointer-events: none;
  opacity: 0.12;
  animation: waveformBreathe 6s ease-in-out infinite;
}

.hero-waveform svg { width: 100%; height: 100%; display: block; }
.waveform-bars rect { fill: var(--color-accent); }

@keyframes waveformBreathe {
  0%, 100% { opacity: 0.10; transform: scaleY(0.92); }
  50%       { opacity: 0.18; transform: scaleY(1.06); }
}

/* Left-aligned editorial hero content */
.hero-content--editorial {
  text-align: left;
  max-width: 860px;
  padding: 0 var(--container-padding);
  margin-right: auto;
}

/* Eyebrow badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
  border: 1px solid var(--color-border);
  padding: var(--space-xs) var(--space-md);
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.03);
}

.hero-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  box-shadow: 0 0 8px var(--color-accent);
  animation: badgePulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 6px var(--color-accent); opacity: 1; }
  50%       { box-shadow: 0 0 16px var(--color-accent); opacity: 0.7; }
}

/* Split heading */
.hero-heading {
  display: flex;
  flex-direction: column;
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  margin: 0 0 var(--space-lg);
  letter-spacing: var(--ls-tight);
}

.hero-heading__line { display: block; }

.hero-heading__line--serif {
  font-family: var(--font-heading);
  color: var(--color-text);
  font-weight: var(--fw-bold);
}

.hero-heading__line--accent {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: calc(var(--fs-display) * 1.08);
}

/* Thin gold gradient rule */
.hero-rule {
  height: 1px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  width: 0;
  max-width: 320px;
  margin-bottom: var(--space-xl);
}

.hero-subtext {
  font-size: var(--fs-body-lg);
  color: var(--color-text-secondary);
  max-width: 520px;
  margin: 0 0 var(--space-xl);
  line-height: var(--lh-loose);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}


/* ============================================================
   PHILOSOPHY — Marquee + Two-column Editorial
   ============================================================ */

.philosophy-section {
  padding-top: 0;
  overflow: hidden;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

/* Scrolling marquee ticker */
.philosophy-marquee {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-md) 0;
  margin-bottom: var(--space-4xl);
  background: var(--color-surface);
}

.philosophy-marquee__track {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  white-space: nowrap;
  animation: marqueeScroll 22s linear infinite;
  width: max-content;
}

.philosophy-marquee__track span {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: var(--color-text-muted);
  letter-spacing: var(--ls-tight);
  font-style: italic;
}

.marquee-dot {
  color: var(--color-accent) !important;
  font-style: normal !important;
  font-size: 1.2rem !important;
}

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

/* Two-column philosophy grid */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-4xl);
  align-items: start;
  padding-bottom: var(--space-4xl);
}

/* Left: quote block */
.philosophy-quote {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  position: sticky;
  top: 120px;
}

.philosophy-quote .label {
  display: block;
}

.philosophy-quote blockquote p {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-style: italic;
  color: var(--color-text);
  line-height: 1.4;
  margin: 0;
}

.philosophy-rule {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
}

.philosophy-quote cite {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-style: normal;
  color: var(--color-text-muted);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
}

/* Right: body content */
.philosophy-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.philosophy-body h2 {
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
  margin: 0;
}

.philosophy-body h2 em {
  font-style: italic;
  color: var(--color-accent);
}

.philosophy-text {
  font-size: var(--fs-body-lg);
  color: var(--color-text-secondary);
  line-height: var(--lh-loose);
  margin: 0;
}

/* Numbered values list */
.philosophy-values {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--color-border);
}

.philosophy-values li {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--color-text-secondary);
  transition: color var(--duration-fast) var(--ease-out);
}

.philosophy-values li:hover {
  color: var(--color-text);
}

.philosophy-values__num {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  color: var(--color-accent);
  min-width: 32px;
  flex-shrink: 0;
}


/* ============================================================
   SERVICES — Editorial Numbered List
   ============================================================ */

.services-section--editorial {
  /* inherits section--dark */
}

.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: end;
  margin-bottom: var(--space-3xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}

.services-header__left .label { display: block; margin-bottom: var(--space-md); }
.services-header__left h2 { font-size: var(--fs-h1); line-height: var(--lh-tight); margin: 0; }
.services-header__left h2 em { font-style: italic; color: var(--color-accent); }

.services-header__right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-xl);
}

.services-header__right p {
  font-size: var(--fs-body-lg);
  color: var(--color-text-muted);
  line-height: var(--lh-loose);
  margin: 0;
  max-width: 480px;
}

.services-list { display: flex; flex-direction: column; }

.service-item {
  display: grid;
  grid-template-columns: 100px 1px 1fr auto auto;
  align-items: center;
  gap: 0 var(--space-xl);
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.service-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-accent-glow);
  transform: translateX(-100%);
  transition: transform var(--duration-normal) var(--ease-out);
  z-index: 0;
}

.service-item:hover::before { transform: translateX(0); }
.service-item > * { position: relative; z-index: 1; }

.service-item__num {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: var(--fw-bold);
  color: var(--color-border);
  line-height: 1;
  transition: color var(--duration-normal) var(--ease-out);
  letter-spacing: var(--ls-tight);
  user-select: none;
}

.service-item:hover .service-item__num { color: var(--color-accent); }

.service-item__divider {
  width: 1px;
  height: 60px;
  background: var(--color-border);
  flex-shrink: 0;
  transition: background var(--duration-normal) var(--ease-out);
}

.service-item:hover .service-item__divider { background: var(--color-accent); }

.service-item__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding-right: var(--space-xl);
}

.service-item__title {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: var(--color-text);
  margin: 0;
  transition: color var(--duration-fast) var(--ease-out);
}

.service-item:hover .service-item__title { color: var(--color-accent); }

.service-item__desc {
  font-size: var(--fs-body);
  color: var(--color-text-muted);
  line-height: var(--lh-body);
  margin: 0;
  max-width: 440px;
}

.service-item__tags {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  align-items: flex-end;
}

.service-item__tags span {
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  padding: 3px var(--space-sm);
  white-space: nowrap;
  transition: border-color var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out);
}

.service-item:hover .service-item__tags span {
  border-color: var(--color-accent-dark);
  color: var(--color-accent-light);
}

.service-item__arrow {
  font-size: 1.6rem;
  color: var(--color-border);
  line-height: 1;
  transition: color var(--duration-fast) var(--ease-out),
              transform var(--duration-normal) var(--ease-spring);
}

.service-item:hover .service-item__arrow {
  color: var(--color-accent);
  transform: translate(4px, -4px);
}

.service-item:first-child { border-top: 1px solid var(--color-border); }


/* ============================================================
   GALLERY — Full-bleed Asymmetric Masonry
   ============================================================ */

.gallery-section {
  padding-bottom: 0;
  background: var(--color-bg);
}

/* Editorial two-column header */
.gallery-header {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-3xl);
  align-items: end;
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-3xl);
}

.gallery-header__left {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.gallery-header__line {
  width: 40px;
  height: 1px;
  background: var(--color-accent);
}

.gallery-header__right h2 {
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
  margin: 0 0 var(--space-sm);
}

.gallery-header__right h2 em {
  font-style: italic;
  color: var(--color-accent);
}

.gallery-header__right p {
  color: var(--color-text-muted);
  font-size: var(--fs-body-lg);
  margin: 0;
}

/* Full-bleed masonry grid */
.gallery-masonry {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 420px 300px;
  gap: 3px;
}

/* Feature cell spans full left column and 2 rows */
.gallery-cell--feature {
  grid-column: 1;
  grid-row: 1 / 3;
}

/* Three smaller cells in the right two columns */
.gallery-cell--sm:nth-of-type(2) {
  grid-column: 2;
  grid-row: 1;
}

.gallery-cell--sm:nth-of-type(3) {
  grid-column: 3;
  grid-row: 1;
}

.gallery-cell--sm:nth-of-type(4) {
  grid-column: 2 / 4;
  grid-row: 2;
}

/* Shared cell styles */
.gallery-cell {
  position: relative;
  overflow: hidden;
  background: var(--color-surface);
}

.gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--duration-slow) var(--ease-out);
}

.gallery-cell:hover img {
  transform: scale(1.05);
}

/* Caption overlay */
.gallery-cell__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.80) 0%,
    rgba(0,0,0,0.0) 50%
  );
  display: flex;
  align-items: flex-end;
  padding: var(--space-lg);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.gallery-cell:hover .gallery-cell__overlay {
  opacity: 1;
}

/* Gold top-left corner frame on feature cell */
.gallery-cell--feature::before {
  content: '';
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  width: 40px;
  height: 40px;
  border-top: 2px solid var(--color-accent);
  border-left: 2px solid var(--color-accent);
  z-index: 3;
  pointer-events: none;
  opacity: 0.7;
}

.gallery-cell--feature::after {
  content: '';
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-md);
  width: 40px;
  height: 40px;
  border-bottom: 2px solid var(--color-accent);
  border-right: 2px solid var(--color-accent);
  z-index: 3;
  pointer-events: none;
  opacity: 0.7;
}

.gallery-cell__caption {
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--color-text-muted);
  position: relative;
  z-index: 2;
}


/* ============================================================
   STATS — Full-bleed Dark with Watermark Quote
   ============================================================ */

.stats-section {
  position: relative;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-4xl) 0;
  overflow: hidden;
}

/* Giant watermark text in background */
.stats-bg-quote {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: clamp(8rem, 20vw, 22rem);
  font-weight: var(--fw-bold);
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 168, 76, 0.06);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
  z-index: 0;
}

/* Eyebrow row */
.stats-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-3xl);
  position: relative;
  z-index: 1;
}

.stats-eyebrow__line {
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

/* Four-column grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 1;
}

.stat-item {
  padding: var(--space-xl) var(--space-lg);
  border-right: 1px solid var(--color-border);
  position: relative;
}

.stat-item:first-child {
  padding-left: 0;
}

.stat-item:last-child {
  border-right: none;
}

.stat-item__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 6vw, 6.5rem);
  font-weight: var(--fw-bold);
  color: var(--color-accent);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.stat-item__bar {
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  margin: var(--space-xs) 0;
}

.stat-label {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--color-text);
  text-transform: none;
  letter-spacing: 0;
}

.stat-desc {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  line-height: var(--lh-body);
  margin: 0;
}


/* ============================================================
   VISIT — Split-Screen Layout
   ============================================================ */

.visit-section {
  position: relative;
}

.visit-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}

/* Left info panel */
.visit-panel--info {
  background: var(--color-bg);
  border-right: 1px solid var(--color-border);
  padding: var(--space-4xl) var(--container-padding);
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  justify-content: center;
}

.visit-panel--info .label {
  display: block;
}

.visit-panel--info h2 {
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
  margin: 0;
}

.visit-panel--info h2 em {
  font-style: italic;
  color: var(--color-accent);
}

/* Thin gold rule */
.visit-rule {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
}

/* Contact items */
.visit-contacts {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.visit-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.visit-contact-item__icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
  transition: background var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out);
}

.visit-contact-item:hover .visit-contact-item__icon {
  background: var(--color-accent-glow);
  border-color: var(--color-accent);
}

.visit-contact-item__icon svg {
  width: 16px;
  height: 16px;
}

.visit-contact-item h4 {
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--color-accent);
  margin-bottom: var(--space-2xs);
}

.visit-contact-item p {
  font-size: var(--fs-body);
  color: var(--color-text-secondary);
  margin: 0;
  line-height: var(--lh-body);
}

.visit-contact-item a {
  color: var(--color-text-secondary);
  transition: color var(--duration-fast) var(--ease-out);
}

.visit-contact-item a:hover { color: var(--color-accent); }

/* Map */
.visit-map {
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.visit-map iframe {
  display: block;
  width: 100%;
  height: 220px;
  filter: grayscale(90%) invert(92%) contrast(88%);
  transition: filter var(--duration-slow) var(--ease-out);
}

.visit-map:hover iframe {
  filter: grayscale(50%) invert(92%) contrast(92%);
}

/* Right image panel */
.visit-panel--image {
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

.visit-panel__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--duration-slower) var(--ease-out);
}

.visit-panel--image:hover .visit-panel__img {
  transform: scale(1.04);
}

.visit-panel__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.15) 60%,
    rgba(0,0,0,0.40) 100%
  );
}

/* Editorial diptych inset — second studio photo floating over the main image */
.visit-panel__inset {
  position: absolute;
  bottom: var(--space-2xl);
  left: var(--space-xl);
  width: clamp(180px, 32%, 280px);
  z-index: 3;
  /* A thin warm gold line as the top border — like a physical print with a colour bar */
  border-top: 2px solid var(--color-accent);
  box-shadow:
    0 8px 40px rgba(0,0,0,0.7),
    0 0 0 1px rgba(201, 168, 76, 0.12);
  /* Very slight counter-rotation — editorial, not rigid */
  transform: rotate(-1.5deg);
  transition: transform var(--duration-normal) var(--ease-out);
  overflow: hidden;
}

.visit-panel__inset:hover {
  transform: rotate(0deg) scale(1.03);
}

.visit-panel__inset img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}




/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Large tablet */
@media (max-width: 1200px) {
  .gallery-masonry {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 380px 280px 280px;
  }

  .gallery-cell--feature {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .gallery-cell--sm:nth-of-type(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .gallery-cell--sm:nth-of-type(3) {
    grid-column: 2;
    grid-row: 2;
  }

  .gallery-cell--sm:nth-of-type(4) {
    grid-column: 1 / 3;
    grid-row: 3;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  /* Philosophy */
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .philosophy-quote {
    position: static;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: var(--space-2xl);
  }

  /* Services */
  .services-header {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .service-item {
    grid-template-columns: 80px 1px 1fr auto;
    grid-template-rows: auto auto;
  }

  .service-item__tags { display: none; }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-xl) 0;
  }

  .stat-item:nth-child(odd) { padding-right: var(--space-lg); border-right: 1px solid var(--color-border); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
  .stat-item:first-child { padding-left: 0; }

  /* Visit */
  .visit-split {
    grid-template-columns: 1fr;
  }

  .visit-panel--info {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-3xl) var(--container-padding);
  }

  .visit-panel--image {
    min-height: 500px;
  }

  /* Gallery */
  .gallery-header {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

/* Mobile */
@media (max-width: 768px) {
  /* Hero */
  .hero-content--editorial { text-align: left; }
  .hero-heading { font-size: clamp(2.5rem, 9vw, 4rem); }
  .hero-badge { font-size: 0.65rem; }

  .hero-actions {
    flex-direction: column;
    gap: var(--space-sm);
    align-items: flex-start;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }

  /* Philosophy */
  .philosophy-marquee { margin-bottom: var(--space-2xl); }

  /* Services */
  .service-item {
    grid-template-columns: 60px 1px 1fr auto;
    gap: 0 var(--space-md);
    padding: var(--space-lg) 0;
  }

  .service-item__tags { display: none; }
  .service-item__body { padding-right: var(--space-sm); }
  .service-item__desc { display: none; }
  .services-header__left h2 { font-size: var(--fs-h2); }

  /* Gallery masonry → simple stack */
  .gallery-masonry {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 280px);
  }

  .gallery-cell--feature { grid-column: 1; grid-row: 1; }
  .gallery-cell--sm:nth-of-type(2) { grid-column: 1; grid-row: 2; }
  .gallery-cell--sm:nth-of-type(3) { grid-column: 1; grid-row: 3; }
  .gallery-cell--sm:nth-of-type(4) { grid-column: 1; grid-row: 4; }

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item:nth-child(odd) { padding-right: var(--space-md); border-right: 1px solid var(--color-border); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }

  .stat-number { font-size: clamp(2.5rem, 10vw, 4rem); }

  /* Visit */

}

/* Small mobile */
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .stat-item { padding-right: 0 !important; border-right: none !important; border-bottom: 1px solid var(--color-border); padding-bottom: var(--space-lg); }
  .stat-item:last-child { border-bottom: none; padding-bottom: 0; }
}
