/*
  Takurie core styles
  - Premium dark theme
  - Responsive column utilities
  - Golden-ratio typography scale
  - Header + mobile menu
  - Hero with background video and scroll indicator
*/

/* ---------- Base & Theme ---------- */
:root {
  --color-bg: #0b0b0c;
  --color-elev-1: #111114;
  --color-text: #f3f3f2;
  --color-text-muted: #c7c7c5;
  --color-accent: #c8a96b; /* subdued gold */
  --color-accent-strong: #e0c489;
  --color-orange: #d29153;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;

  --container-max: 1200px;
  --bp-tablet: 768px;
  --bp-desktop: 1024px;

  /* Card sizing */
  --card-cover-height: 240px;
  --card-height: 480px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

/* ---------- Typography (Golden Ratio) ---------- */
/* h1 starts at 72px, each subsequent heading approx divided by φ (1.618) */
h1, h2, h3, h4, h5, h6 {
  font-family: "Fraunces", ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  margin: 0 0 var(--space-4);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

h1 { font-size: 72px; font-weight: 600; }
h2 { font-size: 45px; font-weight: 550; }
h3 { font-size: 28px; font-weight: 500; }
h4 { font-size: 18px; font-weight: 500; }
h5 { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; }
h6 { font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.14em; }

p { margin: 0 0 var(--space-4); color: var(--color-text-muted); }

@media (max-width: 480px) {
  h1 { font-size: 56px; }
  h2 { font-size: 36px; }
  h3 { font-size: 24px; }
}

/* ---------- Column Utilities ---------- */
.cols { display: grid; gap: var(--space-6); }
.two-cols, .three-cols, .four-cols { grid-template-columns: 1fr; }

@media (min-width: 1024px) {
  .two-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .three-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .four-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  background: color-mix(in srgb, var(--color-bg) 72%, transparent);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 160ms ease, border-color 160ms ease, backdrop-filter 160ms ease;
}

/* Transparent at top, becomes default on scroll */
.site-header.is-transparent { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.brand-mark {
  width: 28px;
  height: 40px; /* taller than wide */
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.25) inset, 0 6px 30px rgba(0,0,0,0.25);
}

.brand-name {
  font-family: "Fraunces", ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* Reusable brand logo image (no inline styles) */
.brand-logo { width: 24px; height: auto; display: block; }
.footer-brand .brand-logo { margin-bottom: var(--space-3); }

.nav { display: none; gap: var(--space-6); }

.nav a {
  color: var(--color-text);
  font-size: 15px;
  font-weight: 500;
  opacity: 0.8;
  transition: all 0.1s ease;
}

.nav a:hover { color: var(--color-accent); opacity: 1; }

/* Mobile menu (checkbox hack) */
.menu-toggle { display: none; }
.hamburger {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0));
  cursor: pointer;
}

.hamburger .bars {
  position: relative;
  width: 18px;
  height: 2px;
  background: var(--color-text);
}
.hamburger .bars::before,
.hamburger .bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--color-text);
  transition: transform 200ms ease;
}
.hamburger .bars::before { transform: translateY(-6px); }
.hamburger .bars::after { transform: translateY(6px); }

.menu-toggle:checked + label .bars { background: transparent; }
.menu-toggle:checked + label .bars::before { transform: rotate(45deg); }
.menu-toggle:checked + label .bars::after { transform: rotate(-45deg); }

.menu-panel {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  padding: var(--space-6);
  background: var(--color-elev-1);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.menu-panel a { display: block; padding: var(--space-3) 0; }
.menu-toggle:checked ~ .menu-panel { display: block; }

@media (min-width: 768px) {
  .hamburger, .menu-toggle, .menu-panel { display: none; }
  .nav { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; /* fallback */
  display: grid;
  place-items: center;
  overflow: hidden;
  padding-top: 64px; /* offset fixed header */
}
@supports (min-height: 100dvh) {
  .hero { min-height: 100dvh; }
}

.hero video.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.1) brightness(1.1);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #00000099;
}

.hero .content {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  text-align: center;
  padding-top: 0;
  padding-bottom: var(--space-12);
}

.logo-placeholder {
  width: 200px;
}

.tagline {
  font-size: 14px;
  color: var(--color-text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- Scroll Indicator ---------- */
.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: var(--space-10);
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0.9;
}

.scroll-indicator svg { display: block; }

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -10px); }
}

.scroll-indicator { animation: bounce 1.8s ease-in-out infinite; }

/* Utility */
.py-16 { padding-top: var(--space-16); padding-bottom: var(--space-16); }
.mt-10 { margin-top: var(--space-10); }
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 1px, 1px);
  white-space: nowrap; /* added line */
  border: 0;
}

/* ---------- Services Section ---------- */
.services { padding-top: var(--space-16); padding-bottom: var(--space-16); }
.services h2 { text-align: center; margin-bottom: var(--space-6); }
.services .intro { text-align: center; max-width: 720px; margin: 0 auto var(--space-12); }

.services-grid .col { display: grid; gap: var(--space-8); }
@media (min-width: 1024px) {
  .services-grid.stagger .col:nth-child(2) { position: relative; top: 40px; }
}

.service-card {
  background: var(--color-elev-1);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  display: grid;
  grid-template-rows: var(--card-cover-height) 1fr;
  height: var(--card-height);
}

.service-card .cover { height: var(--card-cover-height); overflow: hidden; }
.service-card .cover img { width: 100%; height: 100%; object-fit: cover; display: block; transform-origin: 50% 50%; transform: scale(1); }

.service-card .body { padding: var(--space-6); display: grid; gap: var(--space-4); align-content: start; overflow: hidden; }
.service-meta { display: flex; align-items: center; gap: var(--space-4); }
.service-meta .icon-square { width: 56px; height: 56px; border-radius: 12px; background: var(--color-orange); box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset; flex: 0 0 auto; display: grid; place-items: center; color: #ffffff; line-height: 0; }
.service-meta .icon-square iconify-icon { font-size: 30px; width: 1em; height: 1em; display: block; }
.service-meta h3 { margin: 0; font-size: 24px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.service-card p { color: var(--color-text-muted); font-size: 16px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* Ensure inline SVG icons center and scale predictably */
.service-meta .icon { display: block; width: 26px; height: 26px; }

/* ---------- Generic Sections ---------- */
.section { padding-top: var(--space-16); padding-bottom: var(--space-16); }
.section h2 { text-align: center; margin-bottom: var(--space-6); }
.section .section-intro { text-align: center; max-width: 780px; margin: 0 auto var(--space-12); color: var(--color-text-muted); }

/* ---------- About ---------- */
.about .image-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.about .image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about .copy { align-self: center; }
.about .copy p { font-size: 18px; color: var(--color-text-muted); }

/* ---------- Team ---------- */
.team .team-grid { display: grid; gap: var(--space-8); }
@media (min-width: 1024px) { .team .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Left column: stacked portraits */
.team .portraits { display: grid; gap: var(--space-8); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.team .portrait {
  height: 420px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 14px 40px rgba(0,0,0,0.35);
}
.team .portrait img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.95) contrast(1.05); transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1); }
.team .portrait:hover img { transform: scale(1.06); }

/* Right column: copy */
.team .team-copy { align-self: center; }
.team .team-copy h3 { font-size: 28px; margin-bottom: var(--space-4); }
.team .team-copy p { font-size: 18px; color: var(--color-text-muted); }

/* ---------- Bespoke (3 features) ---------- */
.feature-card {
  background: var(--color-elev-1);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 220px auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.feature-card .cover { overflow: hidden; }
.feature-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1); }
.feature-card:hover .cover img { transform: scale(1.06); }
.feature-card .body { padding: var(--space-6); }
.feature-card h3 { margin: 0 0 var(--space-3); font-size: 22px; }
.feature-card p { margin: 0; color: var(--color-text-muted); }

/* ---------- Steps (How it works) ---------- */
/* Horizontal timeline on desktop; vertical on mobile */
.timeline { position: relative; }
.timeline .items { position: relative; display: grid; gap: var(--space-12); }
@media (min-width: 1024px) { .timeline .items { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; } }

@media (min-width: 1024px) {
  .timeline .items::before { left: 0; right: 0; width: auto; height: 2px; top: 32px; bottom: auto; background: rgba(255,255,255,0.08); }
}

.timeline .step { position: relative; padding-left: 64px; }
.timeline .bullet { position: absolute; left: -6px; top: -10px; width: auto; height: auto; background: transparent; border: none; color: rgba(255,255,255,0.1); font-weight: 700; font-family: "Fraunces", ui-serif, Georgia, serif; font-size: clamp(48px, 8vw, 120px); line-height: 1; }
.timeline h3 { margin: 0 0 var(--space-2); font-size: 20px; position: relative; z-index: 1; }
.timeline p { margin: 0; color: var(--color-text-muted); }

@media (min-width: 1024px) {
  .timeline .step { padding-left: 0; padding-top: 56px; text-align: center; }
  .timeline .bullet { left: 50%; top: -6px; transform: translateX(-50%); }
}

/* ---------- Values ---------- */
.values .value { transition: all 124ms ease-in; background: transparent; border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; padding: var(--space-6); display: grid; gap: var(--space-3); }
.values .value .icon-wrap { width: 44px; height: 44px; border-radius: 10px; background: rgba(200,169,107,0.18); display: grid; place-items: center; color: var(--color-accent-strong); }
.values .value .icon-wrap .icon { width: 22px; height: 22px; }
.value-head { display: flex; align-items: center; gap: var(--space-4); }
.value-head h3 { margin:0;}

.values .value:hover { background: rgba(255,255,255,0.04);box-shadow: 0 0 44px -20px #d19153; }

/* ---------- CTA ---------- */
.cta { text-align: center; padding-top: calc(var(--space-16) + 16px); padding-bottom: calc(var(--space-16) + 16px); }
.cta h2 { margin-bottom: var(--space-4); }
.cta .lead { color: var(--color-text-muted); max-width: 900px; margin: 0 auto var(--space-12); }
.cta .pill-grid { display: grid; gap: var(--space-8); }
@media (min-width: 1024px) { .cta .pill-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pill { display: grid; justify-items: center; gap: var(--space-3); }
.pill a { display: grid; justify-items: center; gap: var(--space-3); text-decoration: none; color: inherit; transition: color 0.2s ease; }
.pill a:hover { color: var(--color-accent); }
.pill .circle { width: 64px; height: 64px; border-radius: 50%; background: var(--color-orange); color: #fff; display: grid; place-items: center; }
.pill .circle .icon { width: 28px; height: 28px; }
.pill .label { font-weight: 600; }
.pill .sub { color: var(--color-text-muted); }

.btn {
  display: inline-block;
  cursor: pointer;
  padding: 14px 28px;
  border-radius: 10px;
  background: var(--color-orange);
  color: #0b0b0c;
  font-weight: 700;
  border: none;
  
  transition: all 250ms ease-in;
}
.btn:hover { filter: brightness(1.05); background: darkorange; color: #0b0b0c;}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid rgba(255,255,255,0.08); padding-top: var(--space-16); padding-bottom: var(--space-16); }
.footer-grid { display: grid; gap: var(--space-12); }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.footer-brand { display: grid; gap: var(--space-4); }
.footer-brand p { color: var(--color-text-muted); margin-bottom: 0;}
.socials { display: flex; gap: var(--space-4); margin-top: var(--space-4); }
.socials .circle { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; }
.socials .ig { background: var(--color-orange); color: #fff; }
.socials .li { background: #2894ff; color: #fff; }
.footer-col h4 { margin: 0 0 var(--space-3); font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text); }
.footer-col a { color: var(--color-text-muted); display: block; margin: 8px 0; width: fit-content; }
.footer-col a:hover { color: var(--color-accent); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: var(--space-6); justify-content: space-between; align-items: center; margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid rgba(255,255,255,0.08); color: var(--color-text-muted); }
.footer-bottom a { color: var(--color-text-muted); }
.footer-bottom a:hover { color: var(--color-accent); }

/* ---------- Services page add-ons ---------- */
/* Dark copper intro with subtle pattern */
.copper-hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--space-16) + 24px);
  padding-bottom: calc(var(--space-16) + 24px);
  background:
    repeating-linear-gradient(45deg, rgba(210,145,83,0.08) 0 2px, transparent 2px 14px),
    radial-gradient(1200px 60% at 50% 30%, rgba(210,145,83,0.08), rgba(0,0,0,0));
}
.sub-hero.copper-hero { padding-top: 64px; padding-bottom: 0; }
.copper-hero .center { position: relative; z-index: 2; text-align: center; }
.copper-hero .subtitle { color: var(--color-orange); letter-spacing: 0.14em; text-transform: uppercase; font-size: 12px; }
.copper-hero h2 { margin: 8px 0 0; font-size: 32px; font-weight: 600; }

.copper-hero .side-img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38vw;
  max-width: 560px;
  height: 62vh;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
  will-change: transform;
}
.copper-hero .side-img.left { left: -6vw; }
.copper-hero .side-img.right { right: -6vw; }
.copper-hero .side-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Alternating service rows */
.alt-services { padding-top: var(--space-16); padding-bottom: var(--space-16); }
.alt-services .row { display: grid; gap: var(--space-8); align-items: center; margin-bottom: var(--space-12);}
@media (min-width: 1024px) { .alt-services .row { grid-template-columns: 1.2fr 1fr; } }
.alt-services .row:nth-child(even) { direction: rtl; }
.alt-services .row:nth-child(even) > * { direction: ltr; }
.alt-services .media { height: 420px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 14px 40px rgba(0,0,0,0.35); }
.alt-services .media img { width: 100%; height: 100%; object-fit: cover; }
.alt-services .copy h3 { margin-bottom: var(--space-3); font-size: 24px; font-weight: 600; }
.alt-services .copy p { color: var(--color-text-muted); font-size: 16px; }
.alt-services .service-meta { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); }
.alt-services .service-meta .icon-square { width: 44px; height: 44px; border-radius: 10px; }
.alt-services .service-meta .icon { width: 22px; height: 22px; }
.alt-services ul { margin: var(--space-3) 0 0; padding: 0 0 0 18px; color: var(--color-text-muted); }

/* Horizontal slider */
.services-slider { padding-top: var(--space-16); padding-bottom: var(--space-16); }
.slider-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.slider-card { scroll-snap-align: start; min-width: 360px; max-width: 420px; background: var(--color-elev-1); border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.25); }
.slider-card .cover { height: 220px; overflow: hidden; }
.slider-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1); }
.slider-card:hover .cover img { transform: scale(1.06); }
.slider-card .body { padding: var(--space-6); }
.slider-controls { display: flex; justify-content: center; gap: 12px; margin-top: 16px; }
.slider-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.06); color: var(--color-text); display: grid; place-items: center; }

/* Text link CTA */
.link-more { position: relative; display: inline-flex; width: fit-content; align-items: center; gap: 8px; font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial; font-weight: 600; color: rgba(255,255,255,0.85); text-decoration: none; transition: color 200ms ease; }
.link-more > span { position: relative; }
.link-more > span::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 200ms ease; opacity: 0.7; }
.link-more:hover { color: var(--color-orange); }
.link-more:hover > span::after { transform: scaleX(1); }
.link-more .icon { width: 18px; height: 18px; transition: transform 200ms ease; }
.link-more:hover .icon { transform: translateX(4px); }

/* ---------- Sub-page hero (half-height) ---------- */
.sub-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 50vh; /* fallback */
  padding-top: 64px; /* fixed header offset */
  overflow: hidden;
}
@supports (min-height: 50dvh) { .sub-hero { min-height: 50dvh; } }
.sub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.9) contrast(1.05);
}
.sub-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.55));
}
.sub-hero .inner { position: relative; z-index: 1; text-align: center; }
.sub-hero .subtitle { color: var(--color-orange); letter-spacing: 0.14em; text-transform: uppercase; font-size: 12px; }
.sub-hero h1 { margin: 8px 0 0; font-size: 36px; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq h2 { text-align: center; margin-bottom: var(--space-6); }
.faq-list { display: grid; gap: 12px; max-width: 900px; margin: 0 auto; }
.faq-item { background: var(--color-elev-1); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .q { font-weight: 600; }
.faq-item .icon { width: 18px; height: 18px; transition: transform 200ms ease; }
.faq-item[open] .icon { transform: rotate(180deg); }
.faq-item .a { padding: 0 18px 18px; color: var(--color-text-muted); }

/* ---------- Premium contact form ---------- */
.contact-form { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text-muted); }
.field input, .field textarea { font-family: 'Plus Jakarta Sans';width: 100%; background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0)); color: var(--color-text); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 14px 16px; outline: none; transition: border-color 200ms ease, box-shadow 200ms ease; }
.field input:hover, .field textarea:hover { border-color: rgba(255,255,255,0.2); }
.field input:focus, .field textarea:focus { border-color: var(--color-orange); box-shadow: 0 0 0 3px rgba(210,145,83,0.2); }

.btn-animated { position: relative; overflow: hidden; }
.btn-animated::after { content: ""; position: absolute; inset: 0; background: radial-gradient(240px 240px at var(--x,50%) var(--y,50%), rgba(255, 239, 216, 0.625), transparent 60%); opacity: 0; transition: opacity 250ms ease; }
.btn-animated:hover::after { opacity: 0.7; }

.submit-success { display: none; margin-top: 12px; padding: 14px 16px; border-radius: 12px; background: rgba(60, 160, 80, 0.18); border: 1px solid rgba(60,160,80,0.35); color: #cfead7; }
.submit-success.show { display: block; animation: fadeIn 320ms ease forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px);} to { opacity: 1; transform: translateY(0);} }

/* ---------- Founder Quote ---------- */
.founder-quote { background: #0b0b0c; color: #fff; padding-top: calc(var(--space-16) + 24px); padding-bottom: calc(var(--space-16) + 24px); text-align: center; }
.founder-quote blockquote { font-family: "Fraunces", ui-serif, Georgia, serif; font-size: clamp(28px, 4vw, 44px); line-height: 1.2; letter-spacing: 0.01em; margin: 0 auto; max-width: 900px; }
.founder-quote .byline { margin-top: 16px; color: var(--color-text-muted); letter-spacing: 0.14em; text-transform: uppercase; font-size: 12px; }

/* Subtle premium hover */
.service-card { transition: border-color 300ms ease, box-shadow 300ms ease; }
.service-card .cover img { transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1); }
.service-card:hover { border-color: rgba(255,255,255,0.20); box-shadow: 0 14px 40px rgba(0,0,0,0.35); }
.service-card:hover .cover img { transform: scale(1.06); }

@media (max-width: 480px) {
  :root { --card-cover-height: 200px; --card-height: 420px; }
  .service-meta .icon-square { width: 44px; height: 44px; border-radius: 10px; }
  .service-meta h3 { font-size: 20px; }
}

/* ---------- Reveal on view ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal-visible { opacity: 1; transform: translateY(0); }

/* ---------- Slim progress bar ---------- */
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--color-orange); z-index: 100; box-shadow: 0 0 12px rgba(210,145,83,0.35); }

/* ---------- Brand Marquee (home intro) ---------- */
.brand-marquee { padding-top: var(--space-16); padding-bottom: var(--space-16); }
.brand-marquee .marquee-viewport { overflow: hidden; }
@supports (-webkit-mask-image: linear-gradient(#000, #000)) or (mask-image: linear-gradient(#000, #000)) {
  .brand-marquee .marquee-viewport {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  }
}
.brand-marquee .track-wrap { display: flex; will-change: transform; }
.brand-marquee .segment { display: flex; gap: 16px; }
.brand-marquee .tile { width: 220px; height: 140px; border-radius: 14px; overflow: hidden; background: var(--color-elev-1); border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 10px 30px rgba(0,0,0,0.25); }
.brand-marquee .tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 1024px) { .brand-marquee .tile { width: 280px; height: 170px; } }

/* Placeholder color tiles (swap <img src> later) */
.ph-a { background: #2a2a2e; }
.ph-b { background: #3b2c1d; }
.ph-c { background: #1f2a2a; }
.ph-d { background: #332a2a; }
.ph-e { background: #2a2633; }
.ph-f { background: #2d2a1f; }
.ph-g { background: #22302b; }
.ph-h { background: #2c2c34; }

/* ---------- Service Detail Modal ---------- */
.modal-overlay { position: fixed; inset: 0; z-index: 140; background: color-mix(in srgb, black 40%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: none; align-items: center; justify-content: center; padding: var(--space-6); }
.modal-overlay.show { display: flex; }
.service-modal { width: min(100%, 980px); background: var(--color-elev-1); border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; box-shadow: 0 30px 100px rgba(0,0,0,0.5); overflow: hidden; display: grid; grid-template-rows: auto 1fr; max-height: 90vh; }
.service-modal .gallery { position: relative; padding: 12px; background: rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,255,255,0.08); overflow: hidden; }
.service-modal .gallery .track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.service-modal .gallery .gitem { border-radius: 12px; overflow: hidden; box-shadow: 0 12px 26px rgba(0,0,0,0.35); background: var(--color-elev-1); aspect-ratio: 16 / 9; }
.service-modal .gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Gallery nav buttons (mobile only) */
.service-modal .gallery .gallery-btn { display: none; position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.08); color: #fff; place-items: center; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.service-modal .gallery .gallery-btn.prev { left: 8px; }
.service-modal .gallery .gallery-btn.next { right: 8px; }

@media (max-width: 640px) {
  .service-modal .gallery .track { grid-template-columns: 1fr; }
  .service-modal .gallery .gallery-btn { display: grid; }
  .service-modal .gallery .track .gitem:not(:first-child) { display: none; }
}

/* (No scrollbars; static 3-up gallery) */
.service-modal .body { position: relative; padding: var(--space-6); display: grid; gap: var(--space-4); overflow: auto; }
.service-modal h3 { margin: 0; font-size: 24px; letter-spacing: 0.02em; }
.service-modal p { color: var(--color-text-muted); font-size: 16px; line-height: 1.7; }
.service-modal ul { margin: 0; padding: 0 0 0 18px; color: var(--color-text-muted); }
.modal-close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.06); color: var(--color-text); display: grid; place-items: center; cursor: pointer; }
.modal-actions { display: flex; gap: 12px; align-items: center; margin-top: var(--space-4); }

/* ---------- Brochure (print/PDF) ---------- */
.bro-doc { width: 100%; max-width: 980px; margin: 0 auto; padding: 24px; }
.bro-page { background: var(--color-bg); color: var(--color-text); border: 12px solid #ffffff; border-radius: 0; padding: 56px 48px; margin: 0 0 28px; }
.bro-page .kicker { text-transform: uppercase; letter-spacing: 0.18em; font-size: 12px; color: var(--color-orange); opacity: 0.95; margin-bottom: 8px; }
.bro-hr { height: 1px; background: rgba(255,255,255,0.12); margin: 18px 0 28px; }
.bro-grid-2 { display: grid; gap: 28px; }
.bro-grid-3 { display: grid; gap: 18px; }
.bro-lead { color: var(--color-text-muted); font-size: 18px; line-height: 1.7; }
.bro-img-cover { width: 100%; height: 360px; border: 1px solid rgba(255,255,255,0.12); background: var(--color-elev-1); overflow: hidden; }
.bro-img-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bro-portrait { height: 340px; border: 1px solid rgba(255,255,255,0.12); overflow: hidden; }
.bro-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bro-service-grid { display: grid; gap: 28px; }
.bro-service { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; }
.bro-service .media { height: 220px; border: 1px solid rgba(255,255,255,0.12); overflow: hidden; background: var(--color-elev-1); }
.bro-service .media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bro-service h3 { margin: 0; font-size: 22px; }
.bro-service p { color: var(--color-text-muted); }

@media (min-width: 900px) {
  .bro-grid-2 { grid-template-columns: 1.15fr 1fr; }
  .bro-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .bro-service-grid { grid-template-columns: repeat(2, 1fr); }
  .bro-img-cover { height: 420px; }
  .bro-service .media { height: 260px; }
}

@media print {
  @page { size: A4; margin: 10mm; }
  body { background: #ffffff; }
  .bro-doc { max-width: none; padding: 0; }
  .bro-page { break-after: page; border: 12px solid #ffffff; border-radius: 0; box-shadow: none; }
}

/* ---------- Loader overlay ---------- */
.loader-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--color-bg);
  display: grid;
  place-items: center;
  opacity: 1;
  transition: opacity 320ms ease;
}
.loader-overlay.hidden { opacity: 0; pointer-events: none; }
.loader-spinner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.14);
  border-top-color: var(--color-orange);
  animation: loader-spin 0.9s linear infinite;
}
@keyframes loader-spin { to { transform: rotate(360deg); } }

/* ---------- Video Loader overlay ---------- */
.video-loader-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: var(--color-bg);
  display: grid;
  place-items: center;
  opacity: 1;
  transition: opacity 320ms ease;
  pointer-events: none;
}
.video-loader-overlay.hidden { 
  opacity: 0; 
}
.video-loader-spinner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.14);
  border-top-color: var(--color-orange);
  animation: loader-spin 0.9s linear infinite;
}

