/* ============================================================
   ARTA RENOVATION & INTERIOR — stylesheet
   Palette: sand paper / ink / burnt ochre / deep pine / brass
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Work+Sans:wght@400;500;600&family=Space+Mono:wght@400;700&display=swap');

:root {
  --sand: #F8F6F0;
  --sand-deep: #EBE5D6;
  --ink: #2A2B2E;
  --ink-soft: #505257;
  --ochre: #B09559;
  --ochre-dk: #8E743F;
  --pine: #4D5854;
  --pine-dk: #2A2B2E;
  --brass: #B09559;
  --line: rgba(42, 43, 46, 0.14);
  --white: #FBF9F4;

  --serif: 'Fraunces', 'Iowan Old Style', serif;
  --sans: 'Work Sans', -apple-system, sans-serif;
  --mono: 'Space Mono', monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

section {
  padding: 80px 0;
}

@media (max-width:720px) {
  section {
    padding: 56px 0;
  }

  .container {
    padding: 0 24px;
  }
}

@media (max-width:600px) {
  .hero {
    min-height: 75vh;
  }
}

/* -------- utility -------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ochre);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--ochre);
  display: inline-block;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .02em;
  padding: 15px 28px;
  border-radius: 2px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  transition: all .25s ease;
}

.btn:hover {
  background: transparent;
  color: var(--ink);
}

.btn.outline {
  background: rgba(42, 43, 46, 0.04);
  color: var(--ink);
  border: 1px solid rgba(42, 43, 46, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.btn.outline:hover {
  background: rgba(42, 43, 46, 0.08);
  border-color: rgba(42, 43, 46, 0.4);
  transform: scale(1.02);
}

.btn.on-dark {
  border-color: var(--brass);
  background: var(--brass);
  color: var(--pine-dk);
}

.btn.on-dark:hover {
  background: transparent;
  color: var(--brass);
}

/* ============================================================
   HEADER / NAV — Glassmorphism Floating Pill Navbar
   ============================================================ */


/* clearance so content never sits under the floating pill */

header.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%); 
  width: 100%;
  max-width: 100%;             
  border-radius: 0px;         
  z-index: 1000;
  
  background: rgba(20, 20, 20, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);

  
  transition: 
    top 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    max-width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-radius 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

header.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0); /* Standard centered position */
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  z-index: 1000;
  
  background: rgba(20, 20, 20, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);

  /* Everything transitions smoothly here */
  transition: 
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    top 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    max-width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-radius 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.3s ease,
    border-color 0.3s ease;
}

/* 2. Hidden State: Smoothly slides up off-screen when scrolling down */
header.site-header.scroll-down {
  transform: translate(-50%, -100%);
}

/* 3. Scrolled-Up State: Smoothly drops down into a floating island */
header.site-header.scroll-up {
  top: 20px;
  width: 90%;
  max-width: 1200px;
  border-radius: 999px;
  
  /* Bring it back down onto the screen smoothly */
  transform: translate(-50%, 0); 

  background: rgba(15, 15, 15, 0.75);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.3);
}

header.site-header.header-hidden {
  transform: translateX(-50%) translateY(-160%);
}

.nav-wrap {
  max-width: 100%;
  margin: 0;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: auto;
  transition: padding 0.3s ease;
}

header.site-header.scrolled .nav-wrap {
  padding: 8px 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--white);
  transition: color 0.3s ease;
}

.logo-mark {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand .mark {
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--white);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.brand .mark::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid var(--ochre);
}

.brand small {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
  text-transform: uppercase;
}

nav.main-nav ul {
  display: flex;
  gap: 2px;
  align-items: center;
}

.main-nav {
  position: relative;
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.main-nav li a {
  display: inline-block;
  padding: 0.5rem 1rem;
  color: #fff;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

/* Moving Underline Indicator */
.nav-indicator {
  position: absolute;
  bottom: 0;
  height: 2px;
  background-color: var(--ochre-dk, #d4af37); /* Accent color */
  border-radius: 2px;
  transition: left 0.35s cubic-bezier(0.25, 1, 0.5, 1), 
              width 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(#d4af37); /* Accent color */
  
  /* Shares the same transition key across pages */
  view-transition-name: active-nav-underline; 
}

/* Enable cross-page view transitions */
@view-transition {
  navigation: auto;
}

nav.main-nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  transition: all 0.3s ease;
}

nav.main-nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-cta .btn {
  padding: 10px 22px;
  font-size: 12.5px;
  background: var(--ochre);
  border-color: var(--ochre);
  color: var(--pine-dk);
  transition: all 0.3s ease;
}

.nav-cta .btn:hover {
  background: transparent;
  color: var(--ochre);
  border-color: var(--ochre);
  transform: scale(1.03);
}

/* ── Language Toggle Button ──────────────────────────────────
   Sits side-by-side with "Get a Quote" in the top-right nav.
   Shows the opposite language label (BM / EN) like DeepSeek. */
#lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
  min-width: 42px;
}

#lang-toggle:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  transform: scale(1.05);
}

#lang-toggle:active {
  transform: scale(0.97);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: background 0.3s ease;
}

@media (max-width:920px) {

  header.site-header {
    top: 14px;
    width: 92%;
  }

  .nav-wrap {
    padding: 10px 18px;
  }

  nav.main-nav {
    position: fixed;
    top: 76px;
    left: 4%;
    right: 4%;
    width: 92%;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transform: translateY(-12px) scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition: all .3s ease;
    padding: 16px;
    max-height: 70vh;
    overflow-y: auto;
    z-index: 999;
  }

  nav.main-nav.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  nav.main-nav ul {
    flex-direction: column;
    gap: 4px;
  }

  nav.main-nav a {
    display: block;
    padding: 14px 16px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
  }

  .nav-cta .btn.outline {
    display: none;
  }

  /* Keep the lang toggle compact and visible on mobile */
  #lang-toggle {
    font-size: 10px;
    padding: 6px 11px;
    min-width: 36px;
  }

  .menu-toggle {
    display: flex;
  }
}

/* ============================================================
   HERO — blueprint grid + corner ticks (signature element)
   ============================================================ */
.hero {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
}

/* Dark gradient overlay so text stays legible on any slideshow image */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(20, 21, 23, 0.85) 0%,
      rgba(42, 43, 46, 0.45) 55%,
      rgba(42, 43, 46, 0.15) 100%);
  pointer-events: none;
  z-index: 1;
}

/* ---- hero background slideshow ---- */
.hero-slideshow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
  will-change: opacity;
}

.hero-slide.active {
  opacity: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 80px 40px 60px;
}

.hero-tag {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 18px;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero h1 {
  font-size: clamp(36px, 5.5vw, 68px);
  line-height: 1.05;
  max-width: 14ch;
  font-weight: 600;
  color: var(--white);
}

.hero h1 em {
  font-style: italic;
  color: var(--ochre);
  font-weight: 500;
}

.hero p.lede {
  font-size: 17px;
  max-width: 46ch;
  margin: 20px 0 32px;
  color: rgba(251, 249, 244, 0.80);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* On-dark button styles for hero overlay */
.hero-actions .btn {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.hero-actions .btn:hover {
  background: transparent;
  color: var(--white);
}

.hero-actions .btn.outline {
  background: rgba(251, 249, 244, 0.08);
  color: var(--white);
  border: 1px solid rgba(251, 249, 244, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.hero-actions .btn.outline:hover {
  background: rgba(251, 249, 244, 0.18);
  border-color: rgba(251, 249, 244, 0.6);
  transform: scale(1.02);
}

.corner-tick {
  position: absolute;
  width: 18px;
  height: 18px;
  border-top: 2px solid var(--ochre);
  border-left: 2px solid var(--ochre);
}

.corner-tick.tl {
  top: 28px;
  left: 28px;
}

.corner-tick.tr {
  top: 28px;
  right: 28px;
  transform: rotate(90deg);
}

.corner-tick.bl {
  bottom: 28px;
  left: 28px;
  transform: rotate(-90deg);
}

.corner-tick.br {
  bottom: 28px;
  right: 28px;
  transform: rotate(180deg);
}

.hero-strip {
  border-top: 1px solid var(--line);
  background: var(--sand-deep);
}

.hero-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.hero-strip .stat {
  flex: 1 1 150px;
  padding: 20px 22px;
  border-right: 1px solid var(--line);
}

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

.hero-strip .stat b {
  font-family: var(--serif);
  font-size: 30px;
  display: block;
  color: var(--ochre-dk);
}

.hero-strip .stat span {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ============================================================
   PAGE HEADER (for inner pages: About/Service/Gallery/Contact)
   ============================================================ */
.page-header {
  background: var(--pine-dk);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(249, 246, 238, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249, 246, 238, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
}

.page-header .container {
  position: relative;
  padding: 76px 32px 64px;
}

.page-header .eyebrow {
  color: var(--brass);
}

.page-header .eyebrow::before {
  background: var(--brass);
}

.page-header h1 {
  color: var(--white);
  font-size: clamp(32px, 5vw, 52px);
  max-width: 16ch;
}

.page-header p {
  color: rgba(251, 249, 244, 0.72);
  max-width: 52ch;
  font-size: 16.5px;
}

.breadcrumb {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(251, 249, 244, 0.5);
  margin-top: 18px;
}

.breadcrumb span {
  color: var(--brass);
}

.breadcrumb a {
  color: rgba(251, 249, 244, 0.5);
  transition: all 0.4s ease;
}

.breadcrumb a:hover {
  color: var(--brass);
  text-decoration: underline;
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-head {
  max-width: 600px;
  margin-bottom: 44px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(26px, 3.8vw, 40px);
}

/* ============================================================
   SERVICES GRID (home teaser + service page)
   ============================================================ */
#service-teaser {
  background: #EAE9E4;
  /* Soft warm grey */
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card-link {
  display: block;
  
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
  
}



.card-link{
    display:block;
    text-decoration:none;
    color:inherit;
    border-radius:8px;
    overflow:hidden;
}

.card-inner{
    position:relative;
    height:100%;
    border-radius:8px;
}

.card-front{
    position:relative;
    z-index:2;
    background:#f4f3ef;
    border:1px solid rgba(42,43,46,.08);
    padding:30px 26px;
    height:100%;
    transition:.55s ease;
}

.card-back{
    position:absolute;
    inset:0;

    background-size:cover;
    background-position:center;

    opacity:0;
    transform:scale(1.15);
    transition: 0.8s ease;
}

.card-back-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.55);

    display:flex;
    justify-content:center;
    align-items:center;

    opacity:0;
    transition:.45s ease;
}

.card-back-overlay span{
    color:#fff;
    font-size:15px;
    font-weight:600;

    transform:translateY(15px);
    transition:.45s ease;
}
.card-link:hover .card-front{
    opacity:0;
}

.card-link:hover .card-back{
    opacity:1;
    transform:scale(1);
}

.card-link:hover .card-back-overlay{
    opacity:1;
}

.card-link:hover .card-back-overlay span{
    transform:translateY(0);
}

.card-front .num {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--brass);
  background: var(--pine-dk);
  display: inline-block;
  padding: 3px 8px;
  border-radius: 2px;
  margin-bottom: 14px;
}

.card-front h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.card-front p {
  font-size: 14px;
  margin-bottom: 0;
  line-height: 1.55;
}

@media (max-width:900px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   VALUES / WHY US
   ============================================================ */
.values {
  background: var(--pine-dk);
  color: var(--white);
  position: relative;
}

.values .section-head h2,
.values .eyebrow {
  color: var(--white);
}

.values .eyebrow {
  color: var(--brass);
}

.values .eyebrow::before {
  background: var(--brass);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}

.value-item {
  border-top: 2px solid var(--brass);
  padding-top: 18px;
}

.value-item h4 {
  color: var(--white);
  font-size: 16.5px;
  font-family: var(--sans);
  font-weight: 600;
}

.value-item p {
  color: rgba(251, 249, 244, 0.65);
  font-size: 13.5px;
}

@media (max-width:920px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width:560px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PROCESS (about page) — numbered because it IS a real sequence
   ============================================================ */
.process-list {
  border-top: 1px solid var(--line);
}

.process-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.process-row .step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 30px;
  color: var(--brass);
}

.process-row h4 {
  font-size: 17px;
  margin-bottom: 5px;
}

.process-row p {
  margin-bottom: 0;
  max-width: 60ch;
  font-size: 14.5px;
}

/* ============================================================
   TEAM / ABOUT SPLIT
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.split.reverse .split-media {
  order: 2;
}

.split-media {
  aspect-ratio: 4/5;
  background: var(--sand-deep);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-media .frame-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 8px 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.slider {
  position: relative;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.6s ease;
}

.slides img {
  width: 100%;
  flex-shrink: 0;
  display: block;
  object-fit: cover;
  transition: all 0.3s ease;
}

.slides img:hover {
  transform: scale(1.05);
}

/* Arrows */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: white;
  font-size: 22px;
  cursor: pointer;
  transition: 0.25s;
  z-index: 2;
}

.arrow:hover {
  background: rgba(0, 0, 0, 0.7);
}

.prev {
  left: 15px;
}

.next {
  right: 15px;
}

/* Dots */
.dots {
  position: absolute;
  bottom: 18px;
  height: 200px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transition: all .3s ease;
  cursor: pointer;
}

.dot.active {
  background: white;
  transform: scale(1.4);
}

@media (max-width:860px) {
  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .split.reverse .split-media {
    order: 0;
  }
}

/* ============================================================
   ABOUT PREVIEW (Home page)
   ============================================================ */
#about-preview {
  background: var(--sand);
  padding: 100px 0;
}

#about-preview .about-heading {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--ink);
  letter-spacing: -0.02em;
}

#about-preview .about-heading em {
  font-style: italic;
  font-weight: 400;
}

#about-preview .about-content p {
  font-size: 16px;
  max-width: 45ch;
  margin-bottom: 44px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(42, 43, 46, 0.3);
  padding-bottom: 8px;
  transition: all 0.3s ease;
}

.link-arrow span {
  font-size: 16px;
  font-family: var(--sans);
  font-weight: 400;
  transition: transform 0.3s ease;
}

.link-arrow:hover {
  color: var(--ochre);
  border-color: var(--ochre);
}

.link-arrow:hover span {
  transform: translateX(6px);
}

.about-collage {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  width: 100%;
}

.collage-img {
  overflow: hidden;
  border: 1px solid var(--line);
}

.collage-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.collage-img.main-img {
  width: 58%;
  aspect-ratio: 3 / 4;
}

.collage-img.sub-img {
  width: 38%;
  aspect-ratio: 4 / 5;
  margin-top: 15%;
}

@media (max-width: 860px) {
  .about-collage {
    justify-content: flex-start;
  }

  .collage-img.main-img {
    width: 65%;
  }

  .collage-img.sub-img {
    width: 35%;
  }
}

/* ============================================================
   GALLERY
   ============================================================ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}

.filter-btn {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 9px 18px;
  border: 1px solid var(--ink);
  border-radius: 20px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: all .2s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--ink);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1/1.05;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--sand-deep);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item .tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(35, 34, 30, 0.78);
  color: var(--white);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 2px;
}

.gallery-item .cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(35, 34, 30, 0.85), transparent);
  color: var(--white);
  font-size: 13.5px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: all .3s ease;
}

.gallery-item:hover .cap {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width:900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width:560px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 19, 16, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 32px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(900px, 90vw);
  max-height: 82vh;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.lightbox-close {
  position: absolute;
  top: 28px;
  right: 32px;
  color: var(--white);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 9px 16px;
  border-radius: 20px;
  cursor: pointer;
}

.lightbox-cap {
  position: absolute;
  bottom: 36px;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .04em;
}

/* ============================================================
   TESTIMONIAL / CTA BAND
   ============================================================ */
.cta-band {
  background: var(--ochre-dk);
  color: var(--white);
  text-align: center;
  padding: 1rem 1rem;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(26px, 4vw, 40px);
  max-width: 20ch;
  margin: 0 auto 28px;
}

.cta-band .btn {
  background: var(--white);
  color: var(--ochre-dk);
  border-color: var(--white);
}

.cta-band .btn:hover {
  background: transparent;
  color: var(--white);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  border: 1px solid var(--line);
}

.contact-info {
  background: var(--pine-dk);
  color: var(--white);
  padding: 56px 44px;
}

.contact-info h3 {
  color: var(--white);
  font-size: 22px;
}

.contact-info .eyebrow {
  color: var(--brass);
}

.contact-info .eyebrow::before {
  background: var(--brass);
}

.info-row {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(251, 249, 244, 0.14);
}

.info-row:first-of-type {
  border-top: 1px solid rgba(251, 249, 244, 0.14);
  margin-top: 8px;
}

.info-row .ico {
  width: 36px;
  height: 36px;
  border: 1px solid var(--brass);
  border-radius: 2px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brass);
  font-family: var(--mono);
  font-size: 13px;
}

.info-row h5 {
  margin: 0 0 4px;
  font-size: 14px;
  font-family: var(--sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--brass);
}

.info-row p {
  margin: 0;
  color: rgba(251, 249, 244, 0.8);
  font-size: 14.5px;
}

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.social-row a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(251, 249, 244, 0.3);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 12px;
  transition: all .2s ease;
}

.social-row a:hover {
  background: transparent;
  border-color: var(--brass);
}

.social-row img {
  width: 24px;
  height: 24px;
  transition: transform .3s ease;
}

.social-row a:hover img {
  transform: scale(1.1);
}

.contact-form {
  background: var(--white);
  padding: 56px 44px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  margin-bottom: 22px;
}

.field label {
  display: block;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--sand);
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--ink);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--ochre);
  outline-offset: 1px;
  background: var(--white);
}

.form-note {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 6px;
}

.form-status {
  font-size: 14px;
  margin-top: 14px;
  display: none;
}

.form-status.show {
  display: block;
}

.form-status.ok {
  color: var(--pine);
}

@media (max-width:900px) {
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.map-embed {
  position: relative;
  width: 100%;
  height: 450px;
  border-radius: 12px;
  overflow: hidden;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Custom Info Card Overlay */
.map-info-card {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  background: rgba(20, 20, 20, 0.85); /* Dark theme translucent background */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1rem;
  border-radius: 8px;
  max-width: 280px;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  opacity: 85%;
}

.map-info-card .card-title {
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.map-info-card .card-address {
  margin: 0 0 0.75rem 0;
  font-size: 0.825rem;
  color: #ccc;
  line-height: 1.4;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer.site-footer {
  background: var(--ink);
  color: rgba(251, 249, 244, 0.72);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 48px 0 32px;
}

.footer-top h5 {
  color: var(--white);
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-brand .mark {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--brass);
  border-radius: 2px;
  position: relative;
}

.footer-brand .mark::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid var(--ochre);
}

.footer-brand span {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--white);
  font-weight: 700;
}

.footer-links li {
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-links a {
  color: rgba(251, 249, 244, 0.72);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--brass);
}

.footer-bottom {
  border-top: 1px solid rgba(251, 249, 244, 0.12);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(251, 249, 244, 0.45);
}

@media (max-width:900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:560px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   SMOOTH SCROLL ENHANCEMENTS
   Scroll progress · Smart header · Scroll-reveal animations
   ============================================================ */

/* Scroll progress bar
   Uses GPU-composited scaleX — no layout, no paint, pure composite */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ochre);
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 300;
  pointer-events: none;
  will-change: transform;
}



/* Scroll-reveal — base (invisible) state */
.js-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

/* Revealed state */
.js-reveal.is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* Instant reset — suppresses exit transition so elements snap invisible
   off-screen; the smooth entrance replays cleanly on every re-entry. */
.js-reveal.js-reset {
  transition: none !important;
}

/* Stagger delays for direct children inside a .js-stagger parent */
.js-stagger>.js-reveal:nth-child(1) {
  transition-delay: 0ms;
}

.js-stagger>.js-reveal:nth-child(2) {
  transition-delay: 80ms;
}

.js-stagger>.js-reveal:nth-child(3) {
  transition-delay: 160ms;
}

.js-stagger>.js-reveal:nth-child(4) {
  transition-delay: 240ms;
}

.js-stagger>.js-reveal:nth-child(5) {
  transition-delay: 320ms;
}

.js-stagger>.js-reveal:nth-child(6) {
  transition-delay: 400ms;
}

.js-stagger>.js-reveal:nth-child(7) {
  transition-delay: 480ms;
}

.js-stagger>.js-reveal:nth-child(8) {
  transition-delay: 560ms;
}

.js-stagger>.js-reveal:nth-child(9) {
  transition-delay: 640ms;
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }

  /* Safety net: make reveal elements immediately visible */
  .js-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 2px;
}

/* form status messages */
.form-status {
  display: none;
}
.form-status.show {
  display: block;
}
.form-status.ok {
  color: var(--pine, #1c523b);
}
.form-status.error {
  color: #b3413d;
}

/* ============================================================
   CONTACT FLIP CARD
   ============================================================ */

/* The outer wrapper takes the same grid cell as .contact-info did */
.contact-flip-card {
  position: relative;
  perspective: 1200px;
}

.contact-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.72s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-flip-card.is-flipped .contact-flip-inner {
  transform: rotateY(180deg);
}

/* Both faces share the .contact-info base styles for consistent sizing */
.contact-flip-front,
.contact-flip-back {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Front sits at default (0deg) */
.contact-flip-front {
  position: relative;
  z-index: 1;
}

/* Back is pre-rotated 180deg — invisible until card flips */
.contact-flip-back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
  overflow-y: auto;
}

/* ---- Brand header: logo left + company name right ---- */
.contact-flip-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 4px;
}

/* Logo container — matches existing icon box proportions */
.contact-flip-logo {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border: 1px solid var(--brass);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.contact-flip-logo .logo-placeholder-text {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
  color: rgba(251, 249, 244, 0.4);
}

/* Logo image — drop this in when the real asset is ready */
.contact-flip-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.contact-flip-company h3 {
  color: var(--white);
  font-size: 20px;
  margin: 0 0 3px;
}

.contact-flip-subtitle {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brass);
}

/* ---- Flip trigger — small gold text button, bottom-right ---- */
.contact-flip-trigger {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
}

.contact-flip-card .flip-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brass);
  transition: color 0.25s ease, letter-spacing 0.25s ease;
}

.contact-flip-card .flip-btn:hover {
  color: var(--ochre-dk);
  letter-spacing: .14em;
}

/* Compact the back-face info-rows slightly to ensure everything fits */
.contact-flip-back .info-row {
  padding: 14px 0;
}

.contact-flip-back .info-row p {
  font-size: 13.5px;
}

/* Mobile: maintain side-by-side logo layout, just scale down */
@media (max-width: 900px) {
  .contact-flip-back {
    position: relative;
    transform: rotateY(180deg);
  }

  .contact-flip-inner {
    /* on mobile the absolute positioning of back face breaks normal flow,
       so we give the inner a min-height equal to the front */
    min-height: 100%;
  }
}
