/*
Theme Name: Multi Sign
Description: Business theme for Multi Sign
Version: 1.0.0
Text Domain: multi-sign
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ─── Design tokens ─────────────────────────────────────────────────────────── */

:root {
  --radius: 1.5rem;
  --font-sans: "Barlow", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Bebas Neue", ui-sans-serif, system-ui, sans-serif;

  --background: oklch(0.16 0.006 285);
  --foreground: oklch(0.97 0.002 285);
  --card: oklch(0.205 0.007 285);
  --card-foreground: oklch(0.97 0.002 285);
  --popover: oklch(0.205 0.007 285);
  --popover-foreground: oklch(0.97 0.002 285);
  --primary: oklch(0.575 0.19 33);
  --primary-foreground: oklch(0.99 0 0);
  --secondary: oklch(0.23 0.008 285);
  --secondary-foreground: oklch(0.97 0.002 285);
  --muted: oklch(0.23 0.008 285);
  --muted-foreground: oklch(0.7 0.008 285);
  --accent: oklch(0.66 0.2 33);
  --accent-strong: oklch(0.42 0.17 33);
  --accent-foreground: oklch(0.99 0 0);
  --destructive: oklch(0.577 0.245 27.325);
  --destructive-foreground: oklch(0.984 0.003 247.858);
  --border: oklch(0.3 0.008 285);
  --input: oklch(0.3 0.008 285);
  --ring: oklch(0.66 0.2 33);
  --surface: oklch(0.19 0.007 285);
  --surface-2: oklch(0.225 0.009 285);

  --hue-ember: oklch(0.7 0.19 40);
  --hue-indigo: oklch(0.72 0.15 270);
  --hue-emerald: oklch(0.78 0.2 120);
  --hue-amber: oklch(0.85 0.2 75);
  --hue-cyan: oklch(0.72 0.16 200);
  --hue-magenta: oklch(0.68 0.22 340);
  --hue-violet: oklch(0.62 0.19 300);
  --hue-lime: oklch(0.85 0.19 135);

  --stand-out-fill: oklch(0.78 0.01 70);
  --stand-out-outline: oklch(0.38 0.02 35);
  --stand-out-highlight: oklch(0.98 0 0 / 0.45);
  --stand-out-shadow: oklch(0.08 0 0 / 0.85);
}

/* ─── Base ───────────────────────────────────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); }

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

a { color: inherit; text-decoration: none; }

button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── Keyframes ──────────────────────────────────────────────────────────────── */

@keyframes hero-progress {
  from { width: 0%; }
  to   { width: 100%; }
}

@keyframes text-reveal {
  0%   { opacity: 0; transform: translateY(18px); filter: blur(4px); }
  100% { opacity: 1; transform: translateY(0);    filter: blur(0);   }
}

@keyframes scanline {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(200%);  }
}

@keyframes creative-gradient {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 200% 50%; }
  100% { background-position: 400% 50%; }
}

@keyframes cap-stroke-slide {
  to { background-position: 300% 50%; }
}

@keyframes caret-blink {
  0%, 49%  { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes panel-rotate {
  to { transform: rotate(360deg); }
}

@keyframes panel-node-pulse {
  0%, 100% { opacity: 0.25; transform: scale(0.9);  }
  50%      { opacity: 0.55; transform: scale(1.15); }
}

@keyframes panel-holo-sheen {
  0%   { background-position: 0%   0%;   opacity: 0.05; }
  50%  { background-position: 100% 100%; opacity: 0.11; }
  100% { background-position: 0%   0%;   opacity: 0.05; }
}

@keyframes hero-sparkle {
  0%, 100% { opacity: 0.2; transform: scale(0.8);  }
  50%      { opacity: 0.7; transform: scale(1.3);  }
}

@keyframes hero-orb-bl {
  0%   { transform: translate3d(0, 0, 0) scale(1);   }
  100% { transform: translate3d(6%, -5%, 0) scale(1.1); }
}

@keyframes hero-panel-progress {
  from { width: 0%; }
  to   { width: 100%; }
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Utility ────────────────────────────────────────────────────────────────── */

.animate-text-reveal {
  animation: text-reveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-scanline {
  animation: scanline 4s linear infinite;
}

.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }
.scrollbar-hide::-webkit-scrollbar { display: none; }

/* ─── Component: stand-out text ──────────────────────────────────────────────── */

.stand-out {
  color: var(--stand-out-fill);
  -webkit-text-stroke: 1.5px var(--stand-out-outline);
  paint-order: stroke fill;
  text-shadow:
    0 -1px 0 var(--stand-out-highlight),
    2px 3px 0 var(--stand-out-shadow),
    3px 5px 8px var(--stand-out-shadow);
}

/* ─── Component: buttons ─────────────────────────────────────────────────────── */

.btn-creative {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-creative::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, #c73e1d, #e85d3a, #f4a261, #e9c46a, #d66d6d, #c73e1d);
  background-size: 400% 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn-creative:hover::before {
  opacity: 1;
  animation: creative-gradient 5s ease-in-out infinite;
}

.btn-creative::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: translateX(-100%);
  transition: transform 1s ease;
}

.btn-creative:hover::after { transform: translateX(100%); }

.btn-creative:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(232,93,58,0.4), 0 0 36px rgba(232,93,58,0.2);
}

/* ─── Component: glass surface ───────────────────────────────────────────────── */

.glass {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid color-mix(in oklab, var(--foreground) 16%, transparent);
  background: color-mix(in oklab, oklch(0.22 0.03 290) 42%, transparent);
  backdrop-filter: blur(28px) saturate(150%);
  box-shadow: 0 40px 80px -50px oklch(0.05 0 0 / 0.8);
}

/* ─── Component: tile ────────────────────────────────────────────────────────── */

.tile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid color-mix(in oklab, var(--tile-hue, var(--accent)) 30%, transparent);
  background:
    linear-gradient(
      155deg,
      color-mix(in oklab, var(--tile-hue, var(--accent)) 26%, transparent),
      color-mix(in oklab, oklch(0.22 0.03 290) 45%, transparent)
    );
}

/* ─── Component: mesh background ─────────────────────────────────────────────── */

.mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(70% 55% at 8% 0%,   color-mix(in oklab, var(--hue-indigo)  18%, transparent), transparent 60%),
    radial-gradient(60% 50% at 95% 12%,  color-mix(in oklab, var(--hue-ember)   14%, transparent), transparent 62%),
    radial-gradient(65% 45% at 75% 65%,  color-mix(in oklab, var(--hue-cyan)    12%, transparent), transparent 65%),
    radial-gradient(60% 45% at 15% 85%,  color-mix(in oklab, var(--hue-emerald) 10%, transparent), transparent 65%),
    linear-gradient(180deg, oklch(0.18 0.04 300), oklch(0.14 0.03 285));
}

/* ─── Component: hue-line ────────────────────────────────────────────────────── */

.hue-line {
  height: 2px;
  width: 2.5rem;
  border-radius: 999px;
  background: var(--tile-hue, var(--accent));
  box-shadow: 0 0 14px color-mix(in oklab, var(--tile-hue, var(--accent)) 70%, transparent);
}

/* ─── Component: card-stroke ─────────────────────────────────────────────────── */

.card-stroke { position: relative; isolation: isolate; }

.card-stroke::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 2px;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  background-image: linear-gradient(90deg, var(--hue-ember), var(--hue-amber), var(--hue-emerald), var(--hue-cyan), var(--hue-indigo), var(--hue-ember));
  background-size: 300% 100%;
  background-position: 0% 50%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.card-stroke:hover::before,
.card-stroke:focus-visible::before {
  opacity: 1;
  animation: cap-stroke-slide 2.5s linear infinite;
}

/* ─── Component: hero canvas ─────────────────────────────────────────────────── */

.hero-canvas {
  position: absolute;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
  background: oklch(0.32 0.1 32);
}

.hero-canvas::before,
.hero-canvas::after {
  content: '';
  position: absolute;
  inset: -25%;
  pointer-events: none;
  background-repeat: no-repeat;
  filter: blur(58px);
}

.hero-canvas::before {
  background:
    radial-gradient(circle 48vw at 6%  8%,  oklch(0.5  0.23 25)  0%, transparent 68%),
    radial-gradient(circle 38vw at 22% 38%, oklch(0.48 0.21 300) 0%, transparent 66%),
    radial-gradient(circle 42vw at 8%  72%, oklch(0.66 0.18 135) 0%, transparent 68%),
    radial-gradient(circle 36vw at 18% 94%, oklch(0.7  0.17 80)  0%, transparent 66%),
    radial-gradient(circle 44vw at 48% 18%, oklch(0.58 0.16 195) 0%, transparent 68%),
    radial-gradient(circle 40vw at 56% 58%, oklch(0.72 0.16 70)  0%, transparent 66%),
    radial-gradient(circle 34vw at 42% 86%, oklch(0.6  0.18 160) 0%, transparent 66%),
    radial-gradient(circle 46vw at 94% 12%, oklch(0.5  0.22 280) 0%, transparent 68%),
    radial-gradient(circle 40vw at 88% 48%, oklch(0.54 0.22 15)  0%, transparent 68%),
    radial-gradient(circle 38vw at 96% 82%, oklch(0.68 0.17 125) 0%, transparent 66%),
    radial-gradient(circle 32vw at 76% 92%, oklch(0.58 0.15 210) 0%, transparent 66%);
  opacity: 1;
}

.hero-canvas::after {
  background:
    radial-gradient(circle 42vw at 4%  52%, oklch(0.52 0.2  330) 0%, transparent 66%),
    radial-gradient(circle 36vw at 30% 8%,  oklch(0.68 0.17 50)  0%, transparent 66%),
    radial-gradient(circle 40vw at 70% 6%,  oklch(0.62 0.16 165) 0%, transparent 68%),
    radial-gradient(circle 38vw at 62% 36%, oklch(0.5  0.21 290) 0%, transparent 66%),
    radial-gradient(circle 44vw at 26% 62%, oklch(0.56 0.18 25)  0%, transparent 68%),
    radial-gradient(circle 36vw at 82% 68%, oklch(0.7  0.16 90)  0%, transparent 66%),
    radial-gradient(circle 34vw at 54% 92%, oklch(0.54 0.2  340) 0%, transparent 66%);
  opacity: 0.95;
  mix-blend-mode: screen;
}

.hero-canvas-sparkle {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 999px;
  background: oklch(1 0 0 / 0.85);
  opacity: 0.35;
  box-shadow: 0 0 14px 4px var(--panel-hue, var(--hue-ember));
  animation: hero-sparkle 4s ease-in-out infinite;
}

.hero-canvas-glow-bl {
  position: absolute;
  left: -14%;
  bottom: -14%;
  width: 62%;
  height: 62%;
  pointer-events: none;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 68%, color-mix(in oklab, var(--hue-magenta) 35%, oklch(0.28 0.07 340)) 0%, color-mix(in oklab, var(--hue-magenta) 22%, oklch(0.2 0.05 340)) 22%, transparent 55%),
    radial-gradient(circle at 54% 80%, color-mix(in oklab, var(--hue-ember)   40%, oklch(0.25 0.07 40))  0%, color-mix(in oklab, var(--hue-ember)   24%, oklch(0.18 0.05 40))  24%, transparent 56%),
    radial-gradient(circle at 16% 86%, color-mix(in oklab, var(--hue-amber)   32%, oklch(0.26 0.05 75))  0%, color-mix(in oklab, var(--hue-amber)   18%, oklch(0.18 0.04 75))  26%, transparent 58%);
  filter: blur(44px);
  mix-blend-mode: screen;
  opacity: 0.92;
  animation: hero-orb-bl 26s ease-in-out infinite alternate;
}

/* ─── Component: panels ──────────────────────────────────────────────────────── */

.panel-shell {
  position: relative;
  border-radius: 2px;
  perspective: 1600px;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.panel-shell-active {
  transform: translateY(-2px) scale(1.005);
  z-index: 2;
}

.panel-flip {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 1.1s cubic-bezier(0.7, 0, 0.2, 1);
}

.panel-flip-open { transform: rotateY(180deg); }

.panel-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 2px;
  backface-visibility: hidden;
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--panel-hue) 3%, transparent);
}

.panel-face-back { transform: rotateY(180deg); }

.panel-shell-active .panel-face-back {
  box-shadow: 0 28px 70px -40px color-mix(in oklab, var(--panel-hue, var(--accent)) 45%, transparent);
}

.panel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 5000ms ease-out;
  will-change: transform;
}

.panel-img-active { transform: scale(1.08); }

.panel-hue-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, color-mix(in oklab, var(--panel-hue) 26%, transparent) 0%, transparent 62%);
  pointer-events: none;
}

.type-caret {
  display: inline-block;
  width: 2px;
  height: 0.85em;
  background: currentColor;
  margin-left: 2px;
  vertical-align: -0.05em;
  animation: caret-blink 1s step-start infinite;
}

.panel-cover {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(155deg, color-mix(in oklab, var(--panel-hue) 6%, transparent) 0%, transparent 40%),
    radial-gradient(80% 60% at 100% 100%, color-mix(in oklab, var(--panel-hue) 8%, transparent) 0%, transparent 55%),
    color-mix(in oklab, var(--background) 22%, transparent);
  backdrop-filter: blur(2px) saturate(110%);
}

.panel-shell-active .panel-cover {
  background:
    linear-gradient(155deg, color-mix(in oklab, var(--panel-hue) 14%, transparent) 0%, transparent 42%),
    radial-gradient(80% 60% at 100% 100%, color-mix(in oklab, var(--panel-hue) 16%, transparent) 0%, transparent 55%),
    color-mix(in oklab, var(--background) 30%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--panel-hue) 14%, transparent);
}

.panel-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(to bottom, oklch(1 0 0 / 0.025), transparent 35%);
  pointer-events: none;
}

.panel-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right,  color-mix(in oklab, var(--panel-hue) 6%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklab, var(--panel-hue) 6%, transparent) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.04;
  pointer-events: none;
}

.panel-cover-glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from 0deg, transparent 0%, var(--panel-hue) 10%, transparent 20%);
  opacity: 0.08;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: panel-rotate 14s linear infinite;
  pointer-events: none;
}

.panel-shell-active .panel-cover-glow { opacity: 0.18; }

.panel-cover-lines {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background:
    linear-gradient(135deg, transparent 49.5%, color-mix(in oklab, var(--panel-hue) 28%, transparent) 50%, transparent 50.5%),
    linear-gradient(45deg,  transparent 49.5%, color-mix(in oklab, var(--panel-hue) 22%, transparent) 50%, transparent 50.5%);
  pointer-events: none;
}

.panel-cover-node {
  position: absolute;
  top: 50%; left: 50%;
  width: 4px; height: 4px;
  margin-top: -2px; margin-left: -2px;
  border-radius: 999px;
  background: var(--panel-hue);
  opacity: 0.12;
  box-shadow: 0 0 8px 1px color-mix(in oklab, var(--panel-hue) 30%, transparent);
  animation: panel-node-pulse 5s ease-in-out infinite;
  pointer-events: none;
}

.panel-cover-sheen {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background:
    linear-gradient(135deg, transparent 38%, color-mix(in oklab, var(--panel-hue) 18%, transparent) 45%, oklch(1 0 0 / 0.03) 50%, color-mix(in oklab, var(--panel-hue) 18%, transparent) 55%, transparent 62%);
  background-size: 250% 250%;
  animation: panel-holo-sheen 9s ease-in-out infinite;
  pointer-events: none;
}

.panel-shell-active .panel-cover-sheen { opacity: 0.14; }

/* ─── Hero panels grid ───────────────────────────────────────────────────────── */

.hero-panels-grid {
  gap: 3px;
  overflow: hidden;
  border-radius: calc(var(--radius) - 4px);
  /* Fallback values for when Tailwind CDN hasn't loaded yet */
  display: grid;
  height: 70svh;
  min-height: 520px;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(6, 1fr);
}

/* ─── Hero text overlay ──────────────────────────────────────────────────────── */

.hero-text-overlay {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
}

.hero-text-inner {
  max-width: 56rem;
  width: 100%;
  text-align: center;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.025em;
  color: var(--foreground);
  filter: drop-shadow(0 2px 18px rgba(0,0,0,0.6));
}

@media (min-width: 640px)  { .hero-title { font-size: 3rem;    } }
@media (min-width: 1024px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1280px) { .hero-title { font-size: 4.5rem;  } }

.hero-sentence-wrap {
  margin-top: 1.5rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) { .hero-sentence-wrap { height: 2.5rem; } }

.hero-sentence {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: color-mix(in oklab, var(--foreground) 80%, transparent);
  filter: drop-shadow(0 1px 10px rgba(0,0,0,0.7));
  white-space: nowrap;
}

@media (min-width: 640px) { .hero-sentence { font-size: 0.875rem; } }

.hero-cta-wrap {
  pointer-events: auto;
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

/* ─── Hero responsive ────────────────────────────────────────────────────────── */

@media (max-width: 639px) {
  /* Title: line-height 1 prevents character clipping if text wraps to 2 lines */
  .hero-title { line-height: 1; }

  /* Sentence: allow wrapping instead of overflowing horizontally */
  .hero-sentence {
    white-space: normal;
    text-align: center;
    max-width: 80vw;
  }

  /* Sentence container: auto height so it grows when sentence wraps; tighter top gap */
  .hero-sentence-wrap {
    height: auto;
    min-height: 1.5rem;
    margin-top: 0.875rem;
  }

  /* Tighten gap above CTA so the three-item stack fits in the panels area */
  .hero-cta-wrap { margin-top: 0.875rem; }

  /* Panels extend to section edges, cancelling the container's px-4 padding */
  #heroPanels {
    margin-left: -1rem;
    margin-right: -1rem;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  /* Panels extend to section edges, cancelling the container's sm:px-6 padding */
  #heroPanels {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
  }
}

/* ─── Header responsive ──────────────────────────────────────────────────────── */

/* Slim down the quote button label at narrow tablet to prevent crowding */
@media (min-width: 640px) and (max-width: 767px) {
  .header-quote-btn {
    font-size: 0.75rem;
    padding: 0 0.625rem;
    gap: 0.375rem;
  }
}

/* Mobile right padding: a touch tighter to give the toggle breathing room */
@media (max-width: 479px) {
  .header-right-area { padding: 0 0.875rem; gap: 0.5rem; }
}

/* ─── Hero progress bar ──────────────────────────────────────────────────────── */

.hero-progress-bar {
  height: 2px;
  background: var(--primary);
  border-radius: 999px;
  width: 0%;
}

.hero-progress-bar.animating {
  animation: hero-panel-progress linear forwards;
}

/* ─── Site header (white split layout) ──────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 76px;
  /* No background — children define their own backgrounds */
}

/* Outer flex row */
.header-shell {
  display: flex;
  height: 100%;
  width: 100%;
  background: linear-gradient(to right, #fff, #fff, rgba(255, 255, 255, 0.5));;
}

/* Left: solid white logo zone */
.header-logo-area {
  position: relative;
  z-index: 10;
  display: flex;
  height: 100%;
  align-items: center;
  background: #fff;
  padding: 0 1.5rem;
  flex-shrink: 0;
}

@media (max-width: 479px) {
  .header-logo-area { padding: 0 0.875rem; }
  .header-logo-img, .custom-logo { max-width: 130px; max-height: 44px; height: auto; }
}

@media (min-width: 1024px) {
  .header-logo-area { padding: 0 2rem; }
}

.header-logo-link {
  display: inline-flex;
  height: 100%;
  align-items: center;
  text-decoration: none;
}

.header-logo-img,
.custom-logo {
  height: 56px;  /* slightly less than 76px header for vertical breathing room */
  width: auto;
  object-fit: contain;
  display: block;
}

.header-logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: #1a1a1a;
  line-height: 1;
}

.header-logo-text strong { color: var(--accent-strong); font-weight: 700; }

/* Remove default WP custom logo wrapper styles */
.custom-logo-link {
  display: inline-flex;
  height: 100%;
  align-items: center;
}

/* Right: white gradient + blur */
.header-right-area {
  position: relative;
  z-index: 10;
  display: flex;
  height: 100%;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  background: linear-gradient(to right, #fff, #fff, rgba(255,255,255,0.5));
  backdrop-filter: blur(20px);
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .header-right-area { padding: 0 2rem; }
}

/* Desktop: phone + CTA */
.header-desktop-cta {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .header-desktop-cta { display: flex; }
}

/* Phone menu */
.phone-menu {
  position: relative;
}

.phone-trigger {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(26,26,26,0.3);
  background: none;
  color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}

.phone-trigger:hover,
.phone-trigger[aria-expanded="true"] {
  border-color: var(--accent-strong);
  color: var(--accent-strong);
}

.phone-trigger[aria-expanded="true"] {
  background: var(--accent-strong);
  color: #fff;
}

.phone-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.75rem);
  z-index: 100;
  width: 16rem;
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid rgba(0,0,0,0.1);
  background: #fff;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

.phone-panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.phone-panel-row:last-of-type { border-bottom: none; }

.phone-panel-region {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(0,0,0,0.6);
  margin-bottom: 0.1rem;
}

.phone-panel-number {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s;
}

.phone-panel-number:hover { color: var(--accent-strong); }

.phone-copy-btn {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  border: none;
  background: none;
  color: rgba(26,26,26,0.7);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.phone-copy-btn:hover {
  background: rgba(0,0,0,0.05);
  color: var(--accent-strong);
}

/* Header Get a Quote */
.header-quote-btn {
  display: inline-flex;
  height: 2.25rem;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(26,26,26,0.2);
  padding: 0 0.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a1a;
  background: none;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
  font-family: var(--font-sans);
}

.header-quote-btn:hover {
  border-color: var(--accent-strong);
  color: var(--accent-strong);
}

/* At 1024–1279px the centered nav would reach the phone button.
   Shrinking the quote btn to icon-only opens ~120px of clearance. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .quote-btn-label { display: none; }
}

/* Mobile toggle */
.mobile-toggle {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(26,26,26,0.2);
  background: none;
  color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.mobile-toggle:hover {
  border-color: var(--accent-strong);
  color: var(--accent-strong);
}

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

/* Desktop nav — absolutely centered in header (matches React source) */
.header-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 20;
  transform: translateX(-50%) translateY(-50%);
  display: none;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1.5rem;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .header-nav { display: flex; }
}

/* Nav links */
.nav-link {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  border-radius: 0.375rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1a1a1a;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}

.nav-link:hover,
.nav-link-active {
  background: color-mix(in oklab, var(--accent) 10%, transparent);
  color: var(--accent-strong);
}

.nav-link-active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  width: 100%;
  background: var(--accent-strong);
  border-radius: 999px;
}

/* Dropdown wrapper */
.nav-dropdown {
  position: relative;
}

/* Dropdown panel */
.nav-dropdown-panel {
  position: absolute;
  left: 50%;
  margin-left: -440px; /* half of 880px — JS adjusts this to clamp to viewport */
  top: 100%;
  z-index: 50;
  margin-top: 0.75rem;
  width: 880px;
  max-width: 96vw;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.97);
  padding: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.2);
  backdrop-filter: blur(20px);
  animation: dropdown-in 0.18s ease;
}

@keyframes dropdown-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nav-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding-bottom: 0.625rem;
  margin-bottom: 0.75rem;
}

.nav-dropdown-header-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(0,0,0,0.45);
}

.nav-dropdown-view-all {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-strong);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-dropdown-view-all:hover { color: color-mix(in oklab, var(--accent-strong) 75%, transparent); }

.nav-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.25rem 2rem;
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  padding: 0.625rem 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: #1a1a1a;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown-item:hover {
  background: rgba(0,0,0,0.04);
  color: var(--accent-strong);
}

.nav-dropdown-dot {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: color-mix(in oklab, var(--accent) 60%, transparent);
  transition: background 0.2s;
}

.nav-dropdown-item:hover .nav-dropdown-dot {
  background: var(--accent);
}

/* Mobile menu panel */
.mobile-menu {
  position: fixed;
  left: 0;
  right: 0;
  top:78px;
  z-index: 40;
  height: calc(100dvh - 76px);
  overflow: hidden;
  border-top: 1px solid rgba(0,0,0,0.1);
  background: #fff;
  display: flex;
  flex-direction: column;
}

/* Restore hidden-attribute behaviour — our display:flex above overrides the UA stylesheet */
.mobile-menu[hidden] { display: none; }

/* Always hide on desktop — mirrors React's lg:hidden on the mobile overlay */
@media (min-width: 1024px) {
  .mobile-menu { display: none !important; }
}

.mobile-nav {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}

.mobile-nav-link {
  display: block;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding: 0.875rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-nav-link:hover { color: var(--accent-strong); }

/* Mobile accordion */
.mobile-accordion {
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.mobile-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-accordion-label {
  flex: 1;
  padding: 0.875rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-accordion-label:hover { color: var(--accent-strong); }

.mobile-accordion-toggle {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  border: none;
  background: none;
  color: #1a1a1a;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.mobile-accordion-toggle:hover {
  background: rgba(0,0,0,0.05);
  color: var(--accent-strong);
}

.mobile-accordion-chevron {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s;
}

.mobile-accordion-toggle[aria-expanded="true"] .mobile-accordion-chevron {
  transform: rotate(-135deg) translateY(-2px);
}

.mobile-accordion-panel {
  padding-bottom: 0.75rem;
  padding-left: 0.75rem;
}

.mobile-accordion-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  padding: 0.625rem 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(26,26,26,0.8);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.mobile-accordion-item:hover {
  background: rgba(0,0,0,0.04);
  color: var(--accent-strong);
}

/* Mobile footer (phones + CTA) */
.mobile-menu-footer {
  border-top: 1px solid rgba(0,0,0,0.1);
  background: #fff;
  padding: 1.25rem 1.5rem;
  flex-shrink: 0;
}

.mobile-phones {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.mobile-phone-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0.5rem;
  border: 1px solid rgba(0,0,0,0.1);
  padding: 0.75rem 1rem;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.mobile-phone-card:hover {
  border-color: var(--accent-strong);
  background: color-mix(in oklab, var(--accent) 4%, transparent);
}

.mobile-phone-region {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(0,0,0,0.55);
  margin-bottom: 0.1rem;
}

.mobile-phone-number {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a1a;
}

.mobile-quote-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: none;
  background: var(--accent-strong);
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  font-family: var(--font-sans);
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.2);
  transition: opacity 0.2s;
}

.mobile-quote-btn:hover { opacity: 0.9; }

/* Gradient bottom border */
.header-gradient-border {
  pointer-events: none;
  position: absolute;
  bottom: -2px;
  left: 0;
  z-index: 5;
  height: 3px;
  width: 100%;
  background: linear-gradient(to right, var(--hue-amber), var(--hue-cyan), var(--hue-ember));
  box-shadow: 0 2px 10px oklch(0.65 0.18 190 / 0.5);
}

/* Screen-reader only */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* ─── Site footer ────────────────────────────────────────────────────────────── */

.site-footer {
  position: relative;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  background: rgb(194, 65, 12);
  overflow: hidden;
}

.footer-topline {
  pointer-events: none;
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  z-index: 20;
  height: 3px;
  background: linear-gradient(to right, var(--hue-amber), var(--hue-cyan), var(--hue-ember));
  box-shadow: 0 2px 10px oklch(0.65 0.18 190 / 0.5);
}

.footer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, #fff 0%, #fff 55%, rgba(255, 255, 255, 0.4) 100%);
}

.footer-inner {
  position: relative;
  z-index: 10;
  max-width: 72rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}

.footer-logo-wrap img,
.footer-logo-wrap a img,
.footer-logo-wrap .custom-logo { height: 150px; width: auto; }

.footer-contact {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-row:hover { color: var(--accent); }

.footer-contact-icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-nav-heading {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: #1a1a1a;
  margin: 0;
}

.footer-links {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a,
.footer-links li a {
  font-size: 0.875rem;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover,
.footer-links li a:hover { color: var(--accent); }

.footer-cta { padding-top: 3rem; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
}

@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }

.footer-copy { font-size: 0.75rem; color: #1a1a1a; }

/* ─── Quote modal ────────────────────────────────────────────────────────────── */

/* .quote-modal is just a state container — open/close toggled via .open class */
.quote-modal {}

/* DialogOverlay: overlayClassName="bg-black/25" — fixed, fades in/out */
.quote-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0,0,0,0.25);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;  /* duration-200 */
}

.quote-modal.open .quote-modal-overlay {
  opacity: 1;
  pointer-events: all;
}

/* DialogContent: fixed left-[50%] top-[50%] z-50 grid translate-x-[-50%] translate-y-[-50%]
   gap-4 duration-200 zoom-in-95/zoom-out-95 fade-in-0/fade-out-0
   w-[calc(100%-2rem)] max-w-xl overflow-hidden rounded-2xl border border-[#1a1a1a]/8
   bg-gradient-to-br from-[#fff8f0] via-[#ffffff] to-[#f0faff] p-0
   shadow-[0_25px_60px_-15px_rgba(0,0,0,0.2)] backdrop-blur-2xl */
.quote-modal-box {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 50;
  display: grid;
  gap: 1rem;                   /* gap-4 */
  width: calc(100% - 2rem);
  max-width: 36rem;            /* max-w-xl */
  overflow: hidden;
  border-radius: 1rem;         /* rounded-2xl */
  border: 1px solid rgba(26,26,26,0.08);
  background: linear-gradient(135deg, #fff8f0, #ffffff, #f0faff);
  padding: 0;
  box-shadow: 0 25px 60px -15px rgba(0,0,0,0.2);
  backdrop-filter: blur(40px); /* backdrop-blur-2xl */
  max-height: calc(100dvh - 3rem);
  overflow-y: auto;
  /* closed: fade-out-0 + zoom-out-95 */
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-50%) scale(0.95);
  transition: opacity 0.2s ease, transform 0.2s ease; /* duration-200 */
}

/* open: fade-in-0 + zoom-in-95 → full opacity + scale(1) */
.quote-modal.open .quote-modal-box {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(-50%) scale(1);
}

/* absolute inset-x-0 top-0 h-1 bg-gradient-to-r from-[#f59e0b] via-[#f97316] to-[#06b6d4] */
.qm-bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 0.25rem;             /* h-1 = 4px */
  background: linear-gradient(to right, #f59e0b, #f97316, #06b6d4);
  z-index: 1;
}

/* shadcn DialogContent close: absolute right-4 top-4 rounded-sm opacity-70 hover:opacity-100 */
.quote-modal-close {
  position: absolute;
  top: 1rem;                   /* top-4 */
  right: 1rem;                 /* right-4 */
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.125rem;     /* rounded-sm */
  opacity: 0.7;
  color: #1a1a1a;
  transition: opacity 0.15s;
}

.quote-modal-close:hover { opacity: 1; }

/* p-6 sm:p-8 */
.qm-inner { padding: 1.5rem; }

@media (min-width: 640px) {
  .qm-inner { padding: 2rem; }
}

/* DialogTitle: font-display text-3xl uppercase tracking-tight text-[#1a1a1a] sm:text-4xl */
.qm-title {
  font-family: var(--font-display);
  font-size: 1.875rem;         /* text-3xl */
  line-height: 2.25rem;
  text-transform: uppercase;
  letter-spacing: -0.025em;   /* tracking-tight */
  color: #1a1a1a;
}

@media (min-width: 640px) {
  .qm-title { font-size: 2.25rem; line-height: 2.5rem; } /* sm:text-4xl */
}

/* DialogDescription: mt-0 text-sm text-[#1a1a1a]/70 */
.qm-sub {
  margin-top: 0;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: rgba(26,26,26,0.7);
}

/* mt-5 grid grid-cols-1 gap-2 sm:grid-cols-2 */
.qm-phones {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;                 /* gap-2 */
  margin-top: 1.25rem;         /* mt-5 */
}

@media (min-width: 640px) {
  .qm-phones { grid-template-columns: 1fr 1fr; }
}

/* flex items-center justify-between gap-3 rounded-lg border border-[#1a1a1a]/8
   bg-white/40 px-3 py-2 backdrop-blur-sm */
.qm-phone-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;                /* gap-3 */
  border-radius: 1.5rem;       /* rounded-lg */
  border: 1px solid rgba(26,26,26,0.08);
  background: rgba(255,255,255,0.4);
  padding: 0.5rem 0.75rem;    /* py-2 px-3 */
  backdrop-filter: blur(4px);  /* backdrop-blur-sm */
}

/* min-w-0 inside phone card info */
.qm-phone-info { min-width: 0; }

/* text-[12px] font-medium uppercase tracking-[0.12em] text-[#1a1a1a]/75 */
.qm-phone-region {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(26,26,26,0.75);
}

/* text-sm font-semibold text-[#1a1a1a] transition-colors hover:text-[#c2410c] */
.qm-phone-number {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.15s;
}

.qm-phone-number:hover { color: #c2410c; }

/* inline-flex h-7 w-7 shrink-0 items-center justify-center rounded-md
   text-[#1a1a1a]/70 transition-colors hover:bg-[#1a1a1a]/5 hover:text-[#c2410c] */
.qm-copy-btn {
  display: inline-flex;
  height: 1.75rem;             /* h-7 */
  width: 1.75rem;              /* w-7 */
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;     /* rounded-md */
  color: rgba(26,26,26,0.7);
  transition: background 0.15s, color 0.15s;
}

.qm-copy-btn:hover {
  background: rgba(26,26,26,0.05);
  color: #c2410c;
}

/* mt-2 rounded-xl border border-emerald-600/40 bg-emerald-50 p-5 text-center */
.qm-success {
  margin-top: 0.5rem;          /* mt-2 */
  border-radius: 0.75rem;      /* rounded-xl */
  border: 1px solid rgba(5,150,105,0.4);
  background: #ecfdf5;         /* emerald-50 */
  padding: 1.25rem;            /* p-5 */
  text-align: center;
}

/* mx-auto flex h-10 w-10 items-center justify-center rounded-full bg-emerald-100 */
.qm-success-icon {
  margin: 0 auto;
  display: flex;
  height: 2.5rem;              /* h-10 */
  width: 2.5rem;               /* w-10 */
  align-items: center;
  justify-content: center;
  border-radius: 9999px;       /* rounded-full */
  background: #d1fae5;         /* emerald-100 */
}

/* mt-3 font-display text-xl uppercase tracking-tight text-[#1a1a1a] */
.qm-success-title {
  margin-top: 0.75rem;         /* mt-3 */
  font-family: var(--font-display);
  font-size: 1.25rem;          /* text-xl */
  line-height: 1.75rem;
  text-transform: uppercase;
  letter-spacing: -0.025em;   /* tracking-tight */
  color: #1a1a1a;
}

/* mt-1 text-sm text-[#1a1a1a]/70 */
.qm-success-msg {
  margin-top: 0.25rem;         /* mt-1 */
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: rgba(26,26,26,0.7);
}

/* Button variant="outline" + mt-3 rounded-full border-[#1a1a1a]/20 text-[#1a1a1a] hover:bg-[#1a1a1a]/5 */
.qm-success-close {
  margin-top: 0.75rem;         /* mt-3 */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;              /* h-10 — shadcn Button default */
  padding: 0 1rem;             /* px-4 — shadcn Button default */
  border-radius: 9999px;       /* rounded-full */
  border: 1px solid rgba(26,26,26,0.2);
  background: transparent;
  color: #1a1a1a;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.15s;
}

.qm-success-close:hover { background: rgba(26,26,26,0.05); }

/* Form: mt-2 space-y-3 */
.qm-form {
  margin-top: 0.5rem;          /* mt-2 */
  display: flex;
  flex-direction: column;
  gap: 0.75rem;                /* space-y-3 */
}

/* FormItem: space-y-2 */
.qm-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;                 /* space-y-2 */
}

/* FormLabel: text-sm font-medium leading-none text-[#1a1a1a] */
.qm-label {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;              /* leading-none */
  color: #1a1a1a;
}

.qm-required { color: #c2410c; }

/* flex h-9 w-full rounded-md border px-3 py-1 text-base shadow-sm transition-colors
   focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring
   disabled:cursor-not-allowed disabled:opacity-50 md:text-sm
   border-[#1a1a1a]/12 bg-white/80 text-[#1a1a1a] placeholder:text-[#1a1a1a]/65 */
.qm-input {
  display: flex;
  width: 100%;
  height: 2.25rem;             /* h-9 */
  border-radius: calc(var(--radius) - 2px); /* rounded-md */
  border-style: var(--tw-border-style, solid); /* border */
  border-width: 1px;
  border-color: oklab(21.7786% -7.45058e-9 0 / .12); /* border-[#1a1a1a]/12 */
  background: rgba(255,255,255,0.8);
  padding: 0.25rem 0.75rem;   /* py-1 px-3 */
  font-size: 1rem;             /* text-base */
  line-height: 1.5rem;
  font-family: var(--font-sans);
  color: #1a1a1a;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); /* shadow-sm v4 */
  /* transition-colors: color, background-color, border-color, ... */
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

@media (min-width: 768px) {
  .qm-input { font-size: 0.875rem; line-height: 1.25rem; } /* md:text-sm */
}

.qm-input::placeholder { color: rgba(26,26,26,0.65); }

/* focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring */
.qm-input:focus-visible {
  outline: none;
  /* ring-1 on top of shadow-sm */
  box-shadow: 0 0 0 1px var(--accent),
              0 1px 3px 0 rgb(0 0 0 / 0.1),
              0 1px 2px -1px rgb(0 0 0 / 0.1);
}

/* disabled:cursor-not-allowed disabled:opacity-50 */
.qm-input:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.qm-input.invalid {
  border-color: oklch(50.5827% 0.213324 27.3738); /* #c2410c in oklch */
  box-shadow: 0 0 0 1px oklch(50.5827% 0.213324 27.3738);
}

/* Textarea base: py-2 (vs Input's py-1) + min-h-[120px] resize-none from custom class */
.qm-textarea {
  height: auto;
  min-height: 120px;           /* min-h-[120px] custom, overrides base min-h-[60px] */
  padding-top: 0.5rem;         /* py-2 — Textarea uses py-2, Input uses py-1 */
  padding-bottom: 0.5rem;
  resize: none;
}

/* grid grid-cols-1 gap-4 sm:grid-cols-2 */
.qm-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;                   /* gap-4 */
}

@media (min-width: 640px) {
  .qm-grid-2 { grid-template-columns: 1fr 1fr; }
}

/* FormMessage: text-sm font-medium text-[#c2410c] */
.qm-error {
  font-size: 0.875rem;         /* text-sm */
  font-weight: 500;            /* font-medium */
  color: #c2410c;
}

/* Button: btn-creative w-full rounded-full bg-[#1a1a1a] py-3 text-sm font-semibold
   uppercase tracking-wider text-white hover:bg-[#333333]
   + shadcn base: inline-flex items-center justify-center gap-2 */
.qm-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;                 /* gap-2 */
  width: 100%;
  border-radius: 9999px;       /* rounded-full */
  background: #1a1a1a;
  padding: 0.75rem 1rem;      /* py-3 px-4 */
  font-size: 0.875rem;         /* text-sm */
  font-weight: 600;            /* font-semibold */
  text-transform: uppercase;
  letter-spacing: 0.05em;     /* tracking-wider */
  color: #fff;
  transition: background 0.2s, opacity 0.2s;
}

.qm-submit:hover:not(:disabled) { background: #333333; }
.qm-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* ─── Section layout helpers ─────────────────────────────────────────────────── */

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--foreground);
  margin-top: 0.75rem;
  line-height: 1;
}

.section-sub {
  font-size: 1rem;
  color: oklch(1 0 0 / 0.7);
  margin-top: 0.75rem;
  max-width: 50ch;
  line-height: 1.65;
}

/* ─── Why Choose Us tiles grid ───────────────────────────────────────────────── */

.why-tiles-grid {
  display: grid;
  grid-auto-rows: minmax(6.5rem, auto);
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .why-tiles-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.why-tiles-grid .tile { padding: 1.25rem; display: flex; flex-direction: column; justify-content: space-between; }

.why-tile-index {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}

.why-tile-label {
  font-weight: 500;
  line-height: 1.5;
  margin-top: 1.25rem;
}

.why-tile-label.featured {
  font-family: var(--font-display);
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.why-tile-label:not(.featured) { font-size: 0.75rem; }

/* ─── Intro section card ─────────────────────────────────────────────────────── */

.intro-card {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid color-mix(in oklab, var(--foreground) 10%, transparent);
  background: color-mix(in oklab, var(--foreground) 2%, transparent);
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
  backdrop-filter: blur(20px);
}

@media (min-width: 768px) { .intro-card { padding: 4rem; } }

.intro-card-scanline {
  pointer-events: none;
  position: absolute;
  inset: 0;
  height: 50%;
  width: 100%;
  background: linear-gradient(to bottom, transparent, color-mix(in oklab, var(--foreground) 3%, transparent), transparent);
  animation: scanline 4s linear infinite;
}

.intro-card-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.intro-card-divider-line {
  height: 1px;
  flex: 1;
  background: linear-gradient(to right, transparent, color-mix(in oklab, var(--accent) 50%, transparent), transparent);
}

.intro-card-label {
  font-family: monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.intro-card-group { display: flex; flex-direction: column; gap: 1.5rem; }

.intro-card-lead {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  line-height: 1.6;
  color: color-mix(in oklab, var(--foreground) 90%, transparent);
}

.intro-card-lead strong {
  font-weight: 700;
  font-style: italic;
  background: linear-gradient(135deg, var(--accent), var(--hue-amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-right: 0.5rem;
}

.intro-card-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  border-top: 1px solid color-mix(in oklab, var(--foreground) 5%, transparent);
  padding-top: 1.5rem;
}

@media (min-width: 768px) { .intro-card-cols { grid-template-columns: 1fr 1fr; } }

.intro-card-body {
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.intro-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .intro-card-meta { align-items: flex-end; justify-content: flex-end; }
}

/* Floating offset frames */
.intro-card-wrapper {
  position: relative;
}

.intro-card-frame-1,
.intro-card-frame-2 {
  position: absolute;
  inset: 0;
  border-radius: calc(var(--radius) + 4px);
  transition: transform 0.5s ease;
  pointer-events: none;
}

.intro-card-frame-1 {
  z-index: -1;
  border: 1px solid color-mix(in oklab, var(--accent) 20%, transparent);
  transform: translate(8px, 8px);
}

.intro-card-frame-2 {
  z-index: -2;
  border: 1px solid color-mix(in oklab, var(--hue-cyan) 10%, transparent);
  transform: translate(16px, 16px);
}

.intro-card-wrapper:hover .intro-card-frame-1 { transform: translate(16px, 16px); }
.intro-card-wrapper:hover .intro-card-frame-2 { transform: translate(28px, 28px); }

/* ─── FAQ section ────────────────────────────────────────────────────────────── */

.faq-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .faq-grid { grid-template-columns: 0.8fr 1.2fr; }
}

.faq-list {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-faq-item] { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
[data-faq-item]:last-child { border-bottom: none; }

.faq-btn {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

.faq-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.45;
  transition: opacity 0.3s, box-shadow 0.3s;
}

.faq-question {
  flex: 1;
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.4;
}

@media (min-width: 640px) { .faq-question { font-size: 1.125rem; } }

.faq-icon {
  flex-shrink: 0;
  color: var(--accent);
  width: 20px;
  height: 20px;
  display: block;
}

.faq-icon-minus { display: none; }

.faq-btn[aria-expanded="true"] .faq-icon-plus  { display: none; }
.faq-btn[aria-expanded="true"] .faq-icon-minus { display: block; }

.faq-body-wrap {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.3s ease-out, opacity 0.3s ease-out;
}

.faq-body-wrap.open { grid-template-rows: 1fr; opacity: 1; }

.faq-body-inner { overflow: hidden; }

.faq-answer {
  padding-bottom: 1.5rem;
  padding-left: 1.5rem;
  padding-right: 2.5rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}

/* ─── Testimonials section ───────────────────────────────────────────────────── */

.testi-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
}

.testi-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.75rem;
}

.testi-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  color: var(--tile-hue, var(--accent));
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.testi-body {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 640px) { .testi-body { font-size: 1rem; } }

.testi-footer {
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

.testi-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--foreground);
}

.testi-role {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-foreground);
}

/* ─── Portfolio section ──────────────────────────────────────────────────────── */

.port-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  margin-top: 2.5rem;
}

.port-nav::-webkit-scrollbar { display: none; }

@media (min-width: 1024px) {
  .port-nav { gap: 2rem; justify-content: space-between; }
}

.port-nav-btn {
  position: relative;
  flex-shrink: 0;
  scroll-snap-align: start;
  white-space: nowrap;
  padding-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted-foreground);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.5s ease-out;
}

@media (min-width: 1024px) {
  .port-nav-btn { font-size: 0.8125rem; letter-spacing: 0.08em; }
}

.port-nav-btn.active,
.port-nav-btn:hover { color: var(--foreground); }

.port-nav-btn::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease-out;
}

.port-nav-btn.active::after { transform: scaleX(1); }

.port-img-area {
  position: relative;
  width: 100%;
  height: 52vh;
  overflow: hidden;
  margin-top: 2rem;
}

@media (min-width: 640px) { .port-img-area { height: 62vh; } }
@media (min-width: 1024px) { .port-img-area { height: 74vh; } }

.port-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition:
    opacity 1100ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 1100ms cubic-bezier(0.16, 1, 0.3, 1);
}

.port-img.active { opacity: 1; transform: scale(1); }

.port-gradient {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    oklch(0.16 0.006 285) 0%,
    oklch(0.16 0.006 285 / 0.25) 45%,
    oklch(0.16 0.006 285 / 0.6) 100%
  );
}

.port-active-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 1.5rem 2rem;
  margin: 0 auto;
  max-width: 72rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 3rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--foreground);
}

/* ─── Industries section ─────────────────────────────────────────────────────── */

.ind-grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 1024px) {
  .ind-grid { grid-template-columns: 1.05fr 1fr; align-items: start; }
}

.ind-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ind-list li { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.ind-list li:last-child { border-bottom: none; }

.ind-btn {
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

.ind-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.35rem;
  border: 1px solid currentColor;
  opacity: 0.3;
  transition: background 0.3s, box-shadow 0.3s, border 0.3s, opacity 0.3s;
}

.ind-content { min-width: 0; flex: 1; }

.ind-title {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  transition: color 0.3s;
}

.ind-btn.active .ind-title,
.ind-btn:hover .ind-title { color: var(--foreground); }

.ind-body-wrap {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.45s ease-out, opacity 0.45s ease-out;
}

.ind-body-wrap.open { grid-template-rows: 1fr; opacity: 1; }

.ind-body-inner { min-height: 0; overflow: hidden; }

.ind-body-text {
  display: block;
  padding-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}

.ind-icon {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--muted-foreground);
  transition: transform 0.3s, color 0.3s;
  width: 16px;
  height: 16px;
}

.ind-btn.active .ind-icon { transform: rotate(45deg); color: var(--accent); }

.ind-preview-sticky {
  position: static;
}

@media (min-width: 1024px) {
  .ind-preview-sticky { position: sticky; top: 7rem; }
}

.ind-preview {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.ind-preview-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ind-preview-slide.active { opacity: 1; }

.ind-preview-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ind-preview-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, 0.2);
}

/* ─── Products section ───────────────────────────────────────────────────────── */

.prod-section {
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .prod-section { height: 100svh; min-height: 640px; }
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 46vw;
  gap: 0.75rem;
  flex: 1;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .prod-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 24vw;
  }
}

@media (min-width: 1024px) {
  .prod-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-auto-rows: auto;
  }
}

.prod-card {
  position: relative;
  height: 100%;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.prod-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  filter: grayscale(35%);
  transition: transform 700ms ease-out, opacity 700ms ease-out, filter 700ms ease-out;
}

.prod-card:hover .prod-img {
  transform: scale(1.06);
  opacity: 1;
  filter: grayscale(0%);
}

.prod-gradient {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--background) 0%, rgba(0, 0, 0, 0.3) 45%, transparent 100%);
}

.prod-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .prod-label { padding: 1rem; font-size: 0.9375rem; }
}

/* ─── Services carousel: cap-card ───────────────────────────────────────────── */

.cap-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 1rem;
}

.cap-track::-webkit-scrollbar { display: none; }

.cap-card {
  display: block;
  text-decoration: none;
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  scroll-snap-align: start;
  width: 62%;
}

@media (min-width: 640px)  { .cap-card { width: 38%; } }
@media (min-width: 1024px) { .cap-card { width: 23%; } }

.cap-card-inner {
  position: relative;
  overflow: hidden;
}

.cap-card-inner img {
  aspect-ratio: 3 / 5;
  width: 100%;
  object-fit: cover;
  display: block;
  transition: transform 700ms ease-out;
}

.cap-card:hover .cap-card-inner img { transform: scale(1.05); }

.cap-card-gradient {
  pointer-events: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 55%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(0, 0, 0, 0) 100%
  );
}

.cap-card-label {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

@media (min-width: 640px) { .cap-card-label { font-size: 1rem; } }

.cap-scroll-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  width: 2.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--foreground);
  background: transparent;
  cursor: pointer;
  transition: border-color 200ms, color 200ms;
  flex-shrink: 0;
}

.cap-scroll-btn:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}

.cap-scroll-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

/* ─── Placeholder section ────────────────────────────────────────────────────── */

.placeholder-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  border: 1px dashed color-mix(in oklab, var(--border) 60%, transparent);
  border-radius: var(--radius);
  margin: 1.5rem;
}

.placeholder-section-label {
  font-family: monospace;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--muted-foreground);
  text-transform: uppercase;
}

/* ─── Hero header gradient accent ────────────────────────────────────────────── */

.hero-header-gradient {
  position: absolute;
  left: 0; top: 0;
  z-index: 40;
  height: 102px;
  width: 100%;
  background: linear-gradient(90deg, #facc15, #f97316);
  mask-image: linear-gradient(to bottom, black 0%, black 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 50%, transparent 100%);
  pointer-events: none;
}

/* ─── Layout utilities (CDN-independent fallback) ────────────────────────────── */
/* These mirror the Tailwind classes used in templates.                           */
/* Tailwind CDN will override with identical rules when it loads.                 */

.relative  { position: relative; }
.absolute  { position: absolute; }
.fixed     { position: fixed; }
.sticky    { position: sticky; }
.inset-0   { inset: 0; }

.block        { display: block; }
.inline-block { display: inline-block; }
.flex         { display: flex; }
.inline-flex  { display: inline-flex; }
.grid         { display: grid; }
.hidden       { display: none; }

.flex-col     { flex-direction: column; }
.flex-row     { flex-direction: row; }
.flex-wrap    { flex-wrap: wrap; }
.flex-1       { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.items-start  { align-items: flex-start; }
.items-center { align-items: center; }
.items-end    { align-items: flex-end; }
.justify-start   { justify-content: flex-start; }
.justify-center  { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end     { justify-content: flex-end; }

.gap-1   { gap: 0.25rem; }
.gap-2   { gap: 0.5rem; }
.gap-3   { gap: 0.75rem; }
.gap-4   { gap: 1rem; }
.gap-6   { gap: 1.5rem; }
.gap-8   { gap: 2rem; }
.gap-x-8 { column-gap: 2rem; }
.gap-y-3 { row-gap: 0.75rem; }

.grid-cols-1  { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2  { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3  { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4  { grid-template-columns: repeat(4, 1fr); }
.grid-rows-6  { grid-template-rows: repeat(6, 1fr); }

.overflow-hidden { overflow: hidden; }
.overflow-auto   { overflow: auto; }

.z-10 { z-index: 10; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.w-full  { width: 100%; }
.w-4     { width: 1rem; }
.w-2     { width: 0.5rem; }
.h-full  { height: 100%; }
.h-4     { height: 1rem; }
.h-2     { height: 0.5rem; }
.h-1     { height: 0.25rem; }
.h-px    { height: 1px; }
.min-h-\[100svh\] { min-height: 100svh; }

.mx-auto  { margin-left: auto; margin-right: auto; }
.mt-3     { margin-top: 0.75rem; }
.mt-5     { margin-top: 1.25rem; }
.mt-6     { margin-top: 1.5rem; }
.mt-7     { margin-top: 1.75rem; }
.mt-8     { margin-top: 2rem; }
.mb-2     { margin-bottom: 0.5rem; }
.mb-8     { margin-bottom: 2rem; }
.-mt-\[76px\] { margin-top: -76px; }

.px-4  { padding-left: 1rem;    padding-right: 1rem; }
.px-6  { padding-left: 1.5rem;  padding-right: 1.5rem; }
.px-8  { padding-left: 2rem;    padding-right: 2rem; }
.py-4  { padding-top: 1rem;     padding-bottom: 1rem; }
.py-8  { padding-top: 2rem;     padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem;   padding-bottom: 2.5rem; }
.py-20 { padding-top: 5rem;     padding-bottom: 5rem; }
.py-28 { padding-top: 7rem;     padding-bottom: 7rem; }
.pt-6  { padding-top: 1.5rem; }
.pt-14 { padding-top: 3.5rem; }
.pb-10 { padding-bottom: 2.5rem; }
.p-5   { padding: 1.25rem; }
.p-8   { padding: 2rem; }

.max-w-7xl { max-width: 80rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-2xl { max-width: 42rem; }

.rounded-full { border-radius: 9999px; }
.rounded-2xl  { border-radius: calc(var(--radius) + 8px); }
.rounded-3xl  { border-radius: calc(var(--radius) + 12px); }

.border   { border-width: 1px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }

.text-xs   { font-size: 0.75rem;  line-height: 1rem; }
.text-sm   { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem;     line-height: 1.5rem; }
.text-lg   { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl   { font-size: 1.25rem;  line-height: 1.75rem; }
.text-2xl  { font-size: 1.5rem;   line-height: 2rem; }
.text-3xl  { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl  { font-size: 2.25rem;  line-height: 2.5rem; }

.font-light    { font-weight: 300; }
.font-normal   { font-weight: 400; }
.font-medium   { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold     { font-weight: 700; }
.font-display  { font-family: var(--font-display); }
.font-sans     { font-family: var(--font-sans); }
.font-mono     { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace; }
.italic        { font-style: italic; }

.uppercase   { text-transform: uppercase; }
.tracking-tight   { letter-spacing: -0.025em; }
.tracking-wider   { letter-spacing: 0.05em; }
.tracking-widest  { letter-spacing: 0.1em; }
.leading-none     { line-height: 1; }
.leading-tight    { line-height: 1.25; }
.leading-relaxed  { line-height: 1.625; }

.text-white          { color: #fff; }
.text-foreground     { color: var(--foreground); }
.text-muted-foreground { color: var(--muted-foreground); }
.text-accent         { color: var(--accent); }
.text-primary-foreground { color: var(--primary-foreground); }
.text-transparent    { color: transparent; }

.bg-background { background-color: var(--background); }
.bg-primary    { background-color: var(--primary); }

.pointer-events-none { pointer-events: none; }
.select-none         { user-select: none; }
.whitespace-nowrap   { white-space: nowrap; }
.opacity-95          { opacity: 0.95; }
.isolate             { isolation: isolate; }
.cursor-pointer      { cursor: pointer; }

/* Responsive — sm (≥640px) */
@media (min-width: 640px) {
  .sm\:px-6        { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:col-span-2  { grid-column: span 2; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .sm\:grid-rows-2 { grid-template-rows: repeat(2, 1fr); }
  .sm\:col-start-1 { grid-column-start: 1; }
  .sm\:col-start-2 { grid-column-start: 2; }
  .sm\:col-start-3 { grid-column-start: 3; }
  .sm\:row-start-1 { grid-row-start: 1; }
  .sm\:row-start-2 { grid-row-start: 2; }
  .sm\:flex-row    { flex-direction: row; }
  .sm\:items-end   { align-items: flex-end; }
  .sm\:justify-between { justify-content: space-between; }
  .sm\:text-4xl    { font-size: 2.25rem; line-height: 2.5rem; }
  .sm\:hidden      { display: none; }
  .sm\:block       { display: block; }
  .sm\:flex        { display: flex; }
}

/* Responsive — md (≥768px) */
@media (min-width: 768px) {
  .md\:flex-row   { flex-direction: row; }
  .md\:items-end  { align-items: flex-end; }
  .md\:block      { display: block; }
  .md\:hidden     { display: none; }
  .md\:p-16       { padding: 4rem; }
  .md\:text-2xl   { font-size: 1.5rem; line-height: 2rem; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:items-end  { align-items: flex-end; }
}

/* Responsive — lg (≥1024px) */
@media (min-width: 1024px) {
  .lg\:pt-8        { padding-top: 2rem; }
  .lg\:pb-14       { padding-bottom: 3.5rem; }
  .lg\:pt-24       { padding-top: 6rem; }
  .lg\:pb-12       { padding-bottom: 3rem; }
  .lg\:pt-14       { padding-top: 3.5rem; }
  .lg\:py-10       { padding-top: 2.5rem;  padding-bottom: 2.5rem; }
  .lg\:py-28       { padding-top: 7rem;    padding-bottom: 7rem; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lg\:hidden      { display: none; }
  .lg\:block       { display: block; }
  .lg\:flex        { display: flex; }
}

/* group-hover (used on intro card wrapper) */
.group:hover .group-hover\:translate-x-4 { transform: translateX(1rem); }
.group:hover .group-hover\:translate-y-4 { transform: translateY(1rem); }

/* ─── Single industry page ───────────────────────────────────────────────────── */

/* Breadcrumb bar */
.ind-breadcrumb-bar {
    position: relative;
    z-index: 20;
    width: 100%;
    background: oklch(0.16 0.006 285 / 0.95);
    backdrop-filter: blur(12px);
    padding-top: 32px; /* clear fixed header (76px) + 8px gap */
    padding-bottom: 0.5rem;
}

.ind-breadcrumb-inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.ind-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.ind-breadcrumb__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ind-breadcrumb__item svg {
    color: oklch(0.97 0.002 285 / 0.35);
    flex-shrink: 0;
}

.ind-breadcrumb__link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: oklch(0.97 0.002 285 / 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.ind-breadcrumb__link:hover { color: var(--accent); }

.ind-breadcrumb__current {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--foreground);
}

/* Sticky tabs */
.ind-tabs-sticky {
    position: sticky;
    top: 76px;
    z-index: 40;
    width: 100%;
    background: oklch(0.16 0.006 285 / 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ind-tabs-scroll {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-left: max(1.5rem, calc((100% - 80rem) / 2 + 1.5rem));
}

.ind-tabs-scroll::-webkit-scrollbar { display: none; }

.ind-tabs-track {
    display: flex;
    flex-nowrap: nowrap;
    align-items: stretch;
}

.ind-tab {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.5rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.3;
    text-align: center;
    white-space: nowrap;
    color: oklch(0.97 0.002 285 / 0.85);
    text-decoration: none;
    border-top-left-radius: 1.25rem;
    border-top-right-radius: 1.25rem;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    transition: background 0.2s, color 0.2s;
}

.ind-tab:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--foreground);
}

.ind-tab--active {
    background: oklch(0.97 0.002 285 / 0.08);
    color: var(--hue-amber);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    border-top-left-radius: 1.25rem;
    border-top-right-radius: 1.25rem;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Rainbow gradient underline on active tab */
.ind-tab__underline {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 0;
    background: linear-gradient(to right, var(--hue-ember), var(--hue-amber), var(--hue-emerald), var(--hue-cyan), var(--hue-indigo));
    box-shadow: 0 0 12px oklch(0.7 0.19 40 / 0.55);
}

/* Hero section */
.ind-hero {
    position: relative;
    min-height: 52svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: var(--background);
    padding-top: 76px;
}

.ind-hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.ind-hero__header-strip {
    position: absolute;
    left: 0;
    top: 0;
    height: 102px;
    width: 100%;
    background: linear-gradient(to right, #facc15, #f97316);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 50%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, black 50%, transparent 100%);
}

/* Simple aurora blobs (simpler than chaos blobs) */
.ind-aurora {
    position: absolute;
    border-radius: 9999px;
    filter: blur(80px);
}

.ind-aurora--amber {
    width: 38vw;
    height: 38vw;
    top: 8%;
    left: 4%;
    background: var(--hue-amber);
    opacity: 0.35;
}

.ind-aurora--ember {
    width: 32vw;
    height: 32vw;
    bottom: 6%;
    right: 6%;
    background: var(--hue-ember);
    opacity: 0.32;
}

/* Hero content */
.ind-hero__content {
    position: relative;
    z-index: 10;
    max-width: 80rem;
    margin: 0 auto;
    width: 100%;
    padding: 4rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
}

.ind-hero__title {
    font-size: clamp(2.25rem, 6vw, 3.75rem);
    text-transform: uppercase;
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: var(--foreground);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
    margin: 0;
    max-width: 62rem;
}

.ind-hero__bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    width: 100%;
}

@media (min-width: 640px) {
    .ind-hero__bottom {
        flex-direction: row;
        align-items: center;
    }
}

.ind-hero__desc {
    max-width: 42rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.7;
    color: oklch(0.97 0.002 285 / 0.8);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
    margin: 0;
}

@media (min-width: 640px) {
    .ind-hero__desc { font-size: 1rem; }
}

.ind-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-shrink: 0;
    border-radius: 9999px;
    background: var(--primary);
    padding: 0.875rem 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--primary-foreground);
    border: none;
    cursor: pointer;
}

/* ─── Industry page content wrapper ─────────────────────────────────────────── */
.industry-page-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 5rem;
    padding-top: 4rem;
    padding-bottom: 6rem;
}

/* card-stroke on industry archive cards — hover image scale */
.card-stroke .industry-card-img-wrap {
    transition: transform 0.5s;
}
.card-stroke:hover .industry-card-img-wrap {
    transform: scale(1.05);
}

/* ─── Product hero additions ─────────────────────────────────────────────────── */
.ind-aurora--cyan {
    width: 24vw;
    height: 24vw;
    top: 45%;
    right: 34%;
    background: var(--hue-cyan);
    opacity: 0.18;
}

/* ─── Product page content wrapper ──────────────────────────────────────────── */
.product-page-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding-top: 3rem;
    padding-bottom: 6rem;
}

/* ─── Capability page content wrapper ───────────────────────────────────────── */
.cap-page-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding-bottom: 6rem;
}

/* ─── Portfolio archive ───────────────────────────────────────────────────────── */
.port-filter-bar {
    position: sticky;
    top: 76px;
    z-index: 40;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    background: oklch(0.16 0.006 285 / 0.95);
    backdrop-filter: blur(12px);
}
.port-filter-inner {
    position: relative;
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.75rem 0.5rem;
}
@media (min-width: 640px) {
    .port-filter-inner { justify-content: center; padding: 0.75rem 0.75rem; }
}
.port-filter-tabs {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    overflow-x: auto;
    gap: 0.75rem;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
@media (min-width: 640px) { .port-filter-tabs { gap: 1rem; } }
@media (min-width: 768px) { .port-filter-tabs { gap: 1.25rem; } }
@media (min-width: 1024px) { .port-filter-tabs { gap: 1.5rem; } }
.port-filter-tabs::-webkit-scrollbar { display: none; }
.port-filter-tab {
    position: relative;
    flex-shrink: 0;
    padding: 0.5rem 0.125rem;
    background: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.3s;
}
.port-filter-tab__label {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted-foreground);
    transition: color 0.3s;
}
@media (min-width: 640px) { .port-filter-tab__label { font-size: 13px; letter-spacing: 0.16em; } }
@media (min-width: 1024px) { .port-filter-tab__label { font-size: 14px; } }
.port-filter-tab:hover .port-filter-tab__label { color: var(--hue-amber); }
.port-filter-tab--active .port-filter-tab__label { color: var(--foreground); }
.port-filter-dot {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 9999px;
    background: var(--hue-amber);
    opacity: 0;
    transition: opacity 0.3s;
}
.port-filter-tab:hover .port-filter-dot { opacity: 1; filter: blur(2px); }
.port-filter-tab--active .port-filter-dot { opacity: 1; filter: none; }

.port-layout-wrap { max-width: 80rem; margin: 0 auto; width: 100%; padding: 2.5rem 1.5rem 6rem; }
.port-layout { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .port-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 3.5rem; } }

.port-sidebar { }
@media (min-width: 1024px) { .port-sidebar { position: sticky; top: 148px; align-self: start; } }
.port-sidebar__title { font-family: var(--font-display); font-size: clamp(1.125rem, 2vw, 1.5rem); text-transform: uppercase; letter-spacing: -0.02em; color: var(--foreground); margin: 0 0 1rem; }

.port-list { display: flex; flex-direction: column; }
.port-list-item { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 0.5rem 0; text-decoration: none; transition: color 0.2s; }
.port-list-item__name { font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.02em; color: var(--foreground); transition: color 0.2s; }
.port-list-item:hover .port-list-item__name { color: var(--accent); }
.port-list-item__badge { display: inline-flex; border-radius: 9999px; border: 1px solid oklch(0.85 0.2 75 / 0.3); background: oklch(0.85 0.2 75 / 0.1); padding: 0.125rem 0.5rem; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--hue-amber); }

.port-cards { display: flex; flex-direction: column; gap: 3rem; }
.port-card {
    display: block;
    text-decoration: none;
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid rgba(255,255,255,0.1);
    background: oklch(0.19 0.007 285 / 0.4);
    backdrop-filter: blur(4px);
    scroll-margin-top: 10rem;
    transition: border-color 0.3s, background 0.3s;
}
.port-card:hover { border-color: rgba(255,255,255,0.25); background: oklch(0.19 0.007 285 / 0.6); }
.port-card__img-wrap { display: block; overflow: hidden; aspect-ratio: 16/9; }
.port-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; display: block; }
.port-card:hover .port-card__img { transform: scale(1.03); }
.port-card__img-placeholder { aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, oklch(0.74 0.2 60 / 0.25), oklch(0.66 0.17 205 / 0.15)); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; color: rgba(255,255,255,0.5); }
.port-card__body { padding: 1.5rem; }
@media (min-width: 640px) { .port-card__body { padding: 2rem; } }
.port-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.port-card__title { font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.02em; color: var(--foreground); }
.port-card__badge { display: inline-flex; border-radius: 9999px; border: 1px solid oklch(0.85 0.2 75 / 0.3); background: oklch(0.85 0.2 75 / 0.1); padding: 0.25rem 0.625rem; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--hue-amber); }
.port-card__desc { margin-top: 1rem; max-width: 42rem; font-size: 0.875rem; line-height: 1.6; color: var(--muted-foreground); }

/* ─── Portfolio single page ──────────────────────────────────────────────────── */
.port-hero {
    position: relative;
    margin-top: -76px;
    min-height: 46svh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    padding-top: 120px;
    padding-bottom: 2rem;
}
.port-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.port-hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.port-hero__bg-overlay {
    position: absolute;
    inset: 0;
    background: oklch(0.06 0.02 40 / 0.45);
}
.port-hero__bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, oklch(0.06 0.02 40 / 0.72) 0%, oklch(0.06 0.02 40 / 0.28) 45%, oklch(0.06 0.02 40 / 0.62) 100%);
}
.port-hero__content {
    position: relative;
    z-index: 10;
    width: fit-content;
    margin: 0 auto;
    padding: 2.5rem 2rem 3rem;
    text-align: center;
    backdrop-filter: blur(12px);
    border-radius: 2rem;
    background: radial-gradient(66% 86% at 50% 50%, oklch(0.06 0.02 40 / 0.62) 0%, oklch(0.06 0.02 40 / 0.34) 55%, transparent 100%);
}
.port-hero__badge {
    display: inline-flex;
    border-radius: 9999px;
    border: 1px solid oklch(0.85 0.2 75 / 0.3);
    background: oklch(0.85 0.2 75 / 0.1);
    padding: 0.25rem 0.625rem;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--hue-amber);
}
.port-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    text-transform: uppercase;
    line-height: 0.9;
    letter-spacing: -0.02em;
    color: var(--foreground);
    text-shadow: 0 2px 18px rgba(0,0,0,0.45);
    margin: 1.25rem auto 0;
    max-width: 56rem;
}
.port-hero__desc {
    margin: 1.25rem auto 0;
    max-width: 42rem;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--foreground);
    text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}
.port-hero__btn {
    margin-top: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 9999px;
    background: var(--primary);
    padding: 0.875rem 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--primary-foreground);
    border: none;
    cursor: pointer;
}

/* Stats bar */
.port-stats { max-width: 80rem; margin: 0 auto; width: 100%; padding: 2.5rem 1.5rem 0; }
.port-stats__inner { display: grid; gap: 1px; overflow: hidden; border-radius: 1rem; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.1); }
@media (min-width: 640px) { .port-stats__inner { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .port-stats__inner { grid-template-columns: repeat(4, 1fr); } }
.port-stats__cell { background: oklch(0.19 0.007 285 / 0.6); padding: 1.5rem; backdrop-filter: blur(4px); }
.port-stats__label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted-foreground); margin: 0; }
.port-stats__value { margin: 0.5rem 0 0; font-size: 0.875rem; font-weight: 600; line-height: 1.4; color: var(--foreground); }

/* Detail description */
.port-detail-desc { max-width: 48rem; margin: 0 auto; width: 100%; padding: 2.5rem 1.5rem 0; text-align: center; }
.port-detail-desc__text { font-size: 1rem; line-height: 1.7; color: var(--muted-foreground); margin: 0; }
@media (min-width: 640px) { .port-detail-desc__text { font-size: 1.125rem; } }

/* Portfolio page content wrapper */
.port-page-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding-top: 4rem;
    padding-bottom: 6rem;
}


/* ═══════════════════════════════════════════════════════════ ABOUT PAGE ══ */

/* card-stroke-static — always-visible rainbow border */
.card-stroke-static {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}
.card-stroke-static::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    padding: 2px;
    border-radius: inherit;
    pointer-events: none;
    background-image: linear-gradient(90deg, var(--hue-ember), var(--hue-amber), var(--hue-emerald), var(--hue-cyan), var(--hue-indigo), var(--hue-ember));
    background-size: 300% 100%;
    background-position: 0% 50%;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    animation: cap-stroke-slide 4s linear infinite;
}

/* ── Hero ── */
.about-hero {
    position: relative;
    min-height: 60svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--background);
    margin-top: -76px;
    padding-top: 76px;
    overflow: hidden;
}

.about-hero__warm-strip {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    height: 102px;
    background: linear-gradient(to right, #facc15, #f97316);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 50%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, black 50%, transparent 100%);
    pointer-events: none;
}

.about-hero__blob {
    position: absolute;
    border-radius: 9999px;
    filter: blur(60px);
}

.about-hero__inner {
    position: relative;
    z-index: 10;
    max-width: 80rem;
    margin: 0 auto;
    width: 100%;
    padding: 1.5rem 1.5rem 2.5rem;
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 640px) {
    .about-hero__inner { padding-top: 2.5rem; padding-bottom: 3.5rem; }
}

@media (min-width: 1024px) {
    .about-hero__inner { grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; }
}

.about-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1.5rem;
}

.about-hero__eyebrow-line {
    height: 2px;
    width: 2.5rem;
    background: var(--accent);
    border-radius: 999px;
    flex-shrink: 0;
}

.about-hero__eyebrow-text {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: var(--foreground);
}

.about-hero__title {
    font-size: clamp(2.25rem, 6vw, 3.75rem);
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--foreground);
    margin: 1rem 0 0;
}

.about-hero__tagline {
    font-size: 1rem;
    line-height: 1.6;
    color: color-mix(in oklab, var(--foreground) 90%, transparent);
    margin: 1.25rem 0 0;
    max-width: 42rem;
}

@media (min-width: 640px) { .about-hero__tagline { font-size: 1.125rem; } }

.about-hero__img-wrap {
    position: relative;
    aspect-ratio: 4/3;
    width: 100%;
    max-width: 36rem;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: color-mix(in oklab, var(--surface) 40%, transparent);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

@media (min-width: 1024px) { .about-hero__img-wrap { margin: 0; } }

.about-hero__img-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg,
        color-mix(in oklab, var(--hue-amber) 25%, transparent),
        color-mix(in oklab, var(--hue-cyan) 15%, transparent),
        color-mix(in oklab, var(--hue-ember) 20%, transparent));
}

.about-hero__img-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    background: linear-gradient(135deg,
        color-mix(in oklab, var(--hue-amber) 30%, transparent),
        color-mix(in oklab, var(--hue-ember) 20%, transparent));
    color: var(--accent);
}

.about-hero__img-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: color-mix(in oklab, var(--foreground) 70%, transparent);
}

.about-hero__img-corner {
    position: absolute;
    width: 10rem;
    height: 10rem;
    border-radius: 9999px;
    filter: blur(48px);
    pointer-events: none;
}

/* ── Main content wrapper ── */
.about-main {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 5rem;
    padding-top: 4rem;
    padding-bottom: 6rem;
}

.about-section {
    max-width: 80rem;
    margin: 0 auto;
    width: 100%;
    padding: 0 1.5rem;
}

/* ── Mission & Vision ── */
.about-mv-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 1024px) { .about-mv-grid { grid-template-columns: 1fr 1fr; } }

.about-mv-tile {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    padding: 2rem;
}

@media (min-width: 640px) { .about-mv-tile { padding: 2.5rem; } }

.about-mv-eyebrow {
    display: block;
    margin-bottom: 0.75rem;
    margin-top: 1.25rem;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.28em;
}

.about-mv-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--foreground);
    margin: 0;
    line-height: 1;
}

.about-mv-text {
    margin: 1rem 0 0;
    font-size: 1rem;
    line-height: 1.65;
    color: color-mix(in oklab, var(--foreground) 85%, transparent);
}

/* ── Our Company ── */
.about-co-header { margin-bottom: 2.5rem; }

.about-co-eyebrow {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: var(--accent);
}

.about-co-heading {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--foreground);
    margin: 0;
    line-height: 1;
}

.about-co-grid {
    display: grid;
    gap: 2.5rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .about-co-grid { grid-template-columns: 1.2fr 1fr; gap: 3.5rem; }
}

.about-co-text-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.about-co-text {
    font-size: 1rem;
    line-height: 1.65;
    color: color-mix(in oklab, var(--foreground) 85%, transparent);
    margin: 0;
}

.about-co-phones {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    padding-top: 0.5rem;
}

.about-co-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: color-mix(in oklab, var(--surface) 40%, transparent);
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}

.about-co-phone:hover { border-color: var(--accent); color: var(--accent); }

.about-co-cards {
    display: grid;
    grid-auto-rows: minmax(6.5rem, auto);
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.about-co-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.25rem;
}

.about-co-card--featured { grid-column: span 2; }

.about-co-card__num {
    font-size: 1.5rem;
    font-weight: normal;
    line-height: 1;
}

.about-co-card__body { margin-top: 1.25rem; }

.about-co-card__title {
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--foreground);
    margin: 0;
}

.about-co-card__title--featured {
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.about-co-card__desc {
    margin: 0.25rem 0 0;
    font-size: 0.75rem;
    line-height: 1.6;
    color: color-mix(in oklab, var(--foreground) 60%, transparent);
}

/* ── Dark sliding panel ── */
.about-panel {
    position: relative;
    z-index: 10;
    overflow: hidden;
    border-radius: 1.5rem 1.5rem 0 0;
    background: var(--background);
}

.about-panel__mesh {
    position: absolute;
    inset: 0;
    opacity: 0.95;
    pointer-events: none;
    /* override .mesh position so it fills the panel */
    background:
        radial-gradient(70% 55% at 8% 0%,   color-mix(in oklab, var(--hue-indigo)  18%, transparent), transparent 60%),
        radial-gradient(60% 50% at 95% 12%,  color-mix(in oklab, var(--hue-ember)   14%, transparent), transparent 62%),
        radial-gradient(65% 45% at 75% 65%,  color-mix(in oklab, var(--hue-cyan)    12%, transparent), transparent 65%),
        radial-gradient(60% 45% at 15% 85%,  color-mix(in oklab, var(--hue-emerald) 10%, transparent), transparent 65%),
        linear-gradient(180deg, oklch(0.18 0.04 300), oklch(0.14 0.03 285));
}

.about-panel__inner {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 5rem;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* ── Company History ── */
.about-history-grid {
    display: grid;
    gap: 2.5rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .about-history-grid { grid-template-columns: 1fr 1.5fr; gap: 3.5rem; }
}

.about-history-eyebrow {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: var(--accent);
}

.about-history-title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--foreground);
    margin: 0;
    line-height: 1;
}

.about-history-texts {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.about-history-text {
    font-size: 1rem;
    line-height: 1.65;
    color: color-mix(in oklab, var(--foreground) 85%, transparent);
    margin: 0;
}

/* ── CEO card ── */
.about-ceo-card {
    overflow: hidden;
    border-radius: 1.5rem;
    background: color-mix(in oklab, var(--surface) 40%, transparent);
    padding: 2rem;
}

@media (min-width: 640px) { .about-ceo-card { padding: 3rem; } }

.about-ceo-inner {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 1024px) { .about-ceo-inner { flex-direction: row; align-items: center; } }

.about-ceo-portrait {
    position: relative;
    aspect-ratio: 3/4;
    width: 100%;
    max-width: 260px;
    overflow: hidden;
    border-radius: 1rem;
    background: linear-gradient(135deg,
        color-mix(in oklab, var(--hue-amber) 30%, transparent),
        color-mix(in oklab, var(--hue-cyan) 20%, transparent),
        color-mix(in oklab, var(--hue-ember) 20%, transparent));
    margin: 0 auto;
    flex-shrink: 0;
}

@media (min-width: 1024px) { .about-ceo-portrait { margin: 0; } }

.about-ceo-portrait__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: color-mix(in oklab, var(--foreground) 70%, transparent);
}

.about-ceo-portrait__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-ceo-bio { flex: 1; }

@media (min-width: 1024px) { .about-ceo-bio { padding-left: 2rem; } }

.about-ceo-eyebrow {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: var(--accent);
}

.about-ceo-name {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--foreground);
    margin: 0;
    line-height: 1;
}

.about-ceo-role {
    margin: 0.25rem 0 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: color-mix(in oklab, var(--foreground) 80%, transparent);
}

.about-ceo-texts {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-ceo-text {
    font-size: 1rem;
    line-height: 1.65;
    color: color-mix(in oklab, var(--foreground) 85%, transparent);
    margin: 0;
}

.about-ceo-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.about-ceo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ── Closing CTA ── */
.about-cta-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 6px solid var(--hue-amber);
    border-right: 6px solid var(--hue-ember);
    background: linear-gradient(135deg,
        color-mix(in oklab, var(--surface) 80%, transparent),
        color-mix(in oklab, var(--surface) 60%, transparent),
        color-mix(in oklab, var(--surface) 80%, transparent));
    box-shadow: 0 0 80px -12px rgba(245, 158, 11, 0.25);
    backdrop-filter: blur(4px);
    padding: 2rem;
}

@media (min-width: 640px) { .about-cta-card { padding: 3rem; } }
@media (min-width: 1024px) { .about-cta-card { padding: 4rem; } }

.about-cta-glow-tl {
    position: absolute;
    top: -10rem;
    left: -10rem;
    width: 28rem;
    height: 28rem;
    border-radius: 9999px;
    background: radial-gradient(circle, color-mix(in oklab, var(--hue-amber) 30%, transparent), color-mix(in oklab, var(--hue-ember) 20%, transparent), transparent);
    filter: blur(80px);
    pointer-events: none;
}

.about-cta-glow-br {
    position: absolute;
    bottom: -10rem;
    right: -10rem;
    width: 26rem;
    height: 26rem;
    border-radius: 9999px;
    background: radial-gradient(circle, color-mix(in oklab, var(--hue-cyan) 20%, transparent), color-mix(in oklab, var(--hue-ember) 15%, transparent), transparent);
    filter: blur(80px);
    pointer-events: none;
}


.about-cta-inner {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
}

@media (min-width: 640px) {
    .about-cta-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

.about-cta-left { max-width: 42rem; }

.about-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 9999px;
    border: 1px solid color-mix(in oklab, var(--hue-amber) 30%, transparent);
    background: color-mix(in oklab, var(--hue-amber) 10%, transparent);
    padding: 0.375rem 1rem;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: var(--accent);
    margin-bottom: 1rem;
}

.about-cta-badge-dot {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background: var(--hue-amber);
    box-shadow: 0 0 10px 2px rgba(245, 158, 11, 0.8);
}

.about-cta-title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 0.95;
    color: var(--foreground);
    margin: 0;
}

.about-cta-text {
    margin: 1.25rem 0 0;
    font-size: 1.125rem;
    line-height: 1.65;
    color: color-mix(in oklab, var(--foreground) 90%, transparent);
}

.about-cta-btn {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border-radius: 9999px;
    background: var(--primary);
    padding: 1.25rem 2.5rem;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--primary-foreground);
    border: none;
    cursor: pointer;
    box-shadow: 0 0 40px -6px rgba(239, 68, 68, 0.55);
    transition: transform 0.3s, box-shadow 0.3s;
    white-space: nowrap;
}

.about-cta-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 0 60px -4px rgba(239, 68, 68, 0.75);
}

/* ══════════════════════════════════════════════════════════ CONTACT PAGE ══ */

/* ── Hero ── */
.contact-hero {
    position: relative;
    min-height: 55svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--background);
    margin-top: -76px;
    padding-top: 76px;
    overflow: hidden;
}

.contact-hero__inner {
    position: relative;
    z-index: 10;
    max-width: 80rem;
    margin: 0 auto;
    width: 100%;
    padding: 1.5rem 1.5rem 2.5rem;
}

@media (min-width: 640px) { .contact-hero__inner { padding-top: 2.5rem; padding-bottom: 3.5rem; } }

/* ── Main wrapper ── */
.contact-main {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding-top: 2rem;
    padding-bottom: 6rem;
}

/* ── Contact cards ── */
.contact-cards-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px)  { .contact-cards-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .contact-cards-grid { grid-template-columns: repeat(3, 1fr); } }

.contact-card {
    overflow: hidden;
    border-radius: 1.5rem;
    padding: 2rem;
}

.contact-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    background: color-mix(in oklab, var(--hue-amber) 15%, transparent);
    color: var(--hue-amber);
    margin-bottom: 1rem;
}

.contact-card__title {
    font-size: 1.5rem;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--foreground);
    margin: 0 0 1rem;
}

.contact-card__lines {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-card__line {}

.contact-card__label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: color-mix(in oklab, var(--foreground) 60%, transparent);
    margin: 0 0 0.25rem;
}

.contact-card__value-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-card__value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0;
    line-height: 1.3;
}

.contact-card__value--link {
    text-decoration: none;
    transition: color 0.2s;
}

.contact-card__value--link:hover { color: var(--accent); }

/* Copy button */
.contact-copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    flex-shrink: 0;
    border-radius: 0.375rem;
    border: none;
    background: transparent;
    color: color-mix(in oklab, var(--foreground) 70%, transparent);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.contact-copy-btn:hover {
    background: color-mix(in oklab, var(--foreground) 5%, transparent);
    color: var(--accent);
}

.contact-copy-btn .icon-check { display: none; }
.contact-copy-btn .icon-copy  { display: block; }

.contact-copy-btn.copied .icon-check { display: block; color: #10b981; }
.contact-copy-btn.copied .icon-copy  { display: none; }

/* ── Motivation + Form ── */
.contact-mv-grid {
    display: grid;
    gap: 3rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
    align-items: start;
}

@media (min-width: 1024px) { .contact-mv-grid { grid-template-columns: 1fr 1.2fr; gap: 4rem; } }

.contact-motivation {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-motivation__heading {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--foreground);
    margin: 0;
    line-height: 1;
}

.contact-motivation__texts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 1rem;
    line-height: 1.65;
    color: color-mix(in oklab, var(--foreground) 85%, transparent);
}

.contact-motivation__texts p { margin: 0; }

.contact-motivation__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-motivation__list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: color-mix(in oklab, var(--foreground) 90%, transparent);
    line-height: 1.4;
}

.contact-motivation__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    border-radius: 9999px;
    background: color-mix(in oklab, #10b981 15%, transparent);
    color: #10b981;
    margin-top: 0.05rem;
}

/* ── Form card (light) ── */
.contact-form-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid rgba(26, 26, 26, 0.08);
    background: linear-gradient(135deg, #fff8f0, #ffffff, #f0faff);
    padding: 1.5rem;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(24px);
}

@media (min-width: 640px) { .contact-form-card { padding: 2rem; } }

.contact-form-card__title {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: #1a1a1a;
    margin: 0;
}

.contact-form-card__sub {
    margin: 0.5rem 0 0;
    font-size: 0.875rem;
    color: rgba(26, 26, 26, 0.7);
}

/* Form fields */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.contact-form__row {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 1fr;
}

.contact-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.contact-form__label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1a1a1a;
}

.contact-form__required { color: #c2410c; }

.contact-form__input {
    width: 100%;
    border-radius: 0.5rem;
    border: 1px solid rgba(26, 26, 26, 0.12);
    background: rgba(255, 255, 255, 0.8);
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    color: #1a1a1a;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    font-family: inherit;
    box-sizing: border-box;
}

.contact-form__input::placeholder { color: rgba(26, 26, 26, 0.5); }

.contact-form__input:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.contact-form__textarea { resize: none; min-height: 7.5rem; }

.contact-form__error {
    font-size: 0.75rem;
    color: #c2410c;
    margin: 0;
    min-height: 1rem;
}

.contact-form__submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 9999px;
    border: none;
    background: linear-gradient(to right, #f59e0b, #f97316, #ef4444);
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 10px 30px -5px rgba(249, 115, 22, 0.25);
    transition: filter 0.2s, box-shadow 0.2s;
    margin-top: 0.25rem;
}

.contact-form__submit:hover {
    filter: brightness(1.1);
    box-shadow: 0 10px 30px -5px rgba(249, 115, 22, 0.35);
}

.contact-form__submit:disabled { opacity: 0.7; cursor: not-allowed; }

/* Success state */
.contact-form-success {
    margin-top: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(22, 163, 74, 0.4);
    background: #f0fdf4;
    padding: 1.25rem;
    text-align: center;
}

.contact-form-success__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: #dcfce7;
    color: #16a34a;
    margin: 0 auto;
}

.contact-form-success__title {
    margin: 0.75rem 0 0;
    font-size: 1.25rem;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: #1a1a1a;
}

.contact-form-success__text {
    margin: 0.25rem 0 0;
    font-size: 0.875rem;
    color: rgba(26, 26, 26, 0.7);
}

/* ── Areas We Serve ── */
.contact-areas {
    border-radius: 1.5rem;
    border: 1px solid color-mix(in oklab, var(--foreground) 10%, transparent);
    background: color-mix(in oklab, var(--foreground) 3%, transparent);
    padding: 1.5rem;
    backdrop-filter: blur(4px);
}

@media (min-width: 640px) { .contact-areas { padding: 2rem; } }

.contact-areas__header { margin-bottom: 2rem; }

.contact-areas__title {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--foreground);
    margin: 0;
}

.contact-areas__sub {
    margin: 0.25rem 0 0;
    font-size: 0.875rem;
    color: color-mix(in oklab, var(--foreground) 70%, transparent);
}

.contact-areas__grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 640px)  { .contact-areas__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .contact-areas__grid { grid-template-columns: repeat(3, 1fr); } }

.contact-area-group__county {
    margin: 0 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid color-mix(in oklab, var(--foreground) 10%, transparent);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
}

.contact-area-group__cities {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem 0.75rem;
}

.contact-area-group__city {
    font-size: 0.875rem;
    color: color-mix(in oklab, var(--foreground) 85%, transparent);
    line-height: 1.4;
}
