/* =========================================================
   DARNA RENOVATIONS — DESIGN SYSTEM
   Premium, design-led renovation studio · Dubai, UAE
   ========================================================= */

/* Italiana (hairline-serif, high-contrast) + Jost (geometric, wide-set) —
   Italiana is the closest available match to the actual logo wordmark: a
   crossbar-less triangular "A" and extreme thin/thick hairline-serif
   contrast. The logo itself is an AI-rendered image, not a font file, so
   this is the nearest real typeface rather than an exact match. Italiana
   ships one weight only (400) — it doesn't need opsz/variable-axis pinning
   the way Fraunces did for Canvas 2D (hero-vapor.js) parity. */
@import url('https://fonts.googleapis.com/css2?family=Italiana&family=Jost:wght@300;400;500;600;700&display=swap');

:root{
  /* ---- Brand palette ---- */
  --charcoal:        #1E1B18;
  --charcoal-soft:    #2C2622;
  --ink:              #211C17;
  --sand:             #F4ECE1;
  --sand-deep:        #E8DAC6;
  --sand-pale:        #FAF6EF;
  --cream:            #FBF8F3;
  --walnut:           #5A4234;
  --walnut-deep:      #402F25;
  --olive:            #6E6B45;
  --olive-deep:       #55532E;
  --terracotta:       #C1633F;
  --terracotta-deep:  #A24F30;
  --brass:            #C4A15C;
  --brass-soft:       #D8BC85;
  --brass-deep:       #A9813F;
  --white:            #FFFFFF;

  /* ---- Semantic tokens ---- */
  --color-bg:            var(--sand-pale);
  --color-bg-alt:        var(--sand);
  --color-surface:       var(--white);
  --color-surface-dark:  var(--charcoal);
  --color-text:          var(--ink);
  --color-text-soft:     #5C5347;
  --color-text-invert:   var(--sand-pale);
  --color-text-invert-soft: #C9BFAE;
  --color-border:        #DED2BE;
  --color-border-dark:   #3A332C;
  --color-accent:        var(--brass);
  --color-accent-deep:   var(--brass-deep);
  --color-cta:           var(--charcoal);
  --color-cta-invert:    var(--sand-pale);

  /* ---- Typography ---- */
  --font-serif: 'Italiana', ui-serif, Georgia, serif;
  --font-sans: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --step--1: clamp(0.8rem, 0.77rem + 0.15vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  --step-2:  clamp(1.5rem, 1.35rem + 0.7vw, 1.9rem);
  --step-3:  clamp(1.9rem, 1.6rem + 1.2vw, 2.6rem);
  --step-4:  clamp(2.4rem, 1.9rem + 2vw, 3.6rem);
  --step-5:  clamp(3rem, 2.2rem + 3.2vw, 5.2rem);
  --step-6:  clamp(3.6rem, 2.4rem + 4.8vw, 7rem);

  /* ---- Spacing (8pt rhythm) ---- */
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --space-8: 6rem;
  --space-9: 9rem;

  --section-pad: clamp(4.5rem, 3.5rem + 4vw, 9rem);
  --container-w: 1280px;
  --container-narrow: 820px;

  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 200ms;
  --dur-med: 350ms;
  --dur-slow: 600ms;
}

/* ---------------------------------------------------------
   Reset
   --------------------------------------------------------- */
*, *::before, *::after{ box-sizing: border-box; }
html{
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body{
  margin: 0;
  min-height: 100dvh;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Whisper-quiet film grain over the whole page — the difference between a
   flat digital color and a tactile, printed-paper one. Fixed + pointer-events
   none so it never affects layout or interaction, just sits over everything. */
body::before{
  content:'';
  position: fixed; inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
img, svg{ display: block; max-width: 100%; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; color: inherit; background: none; border: 0; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,p,figure{ margin: 0; }

:focus-visible{
  outline: 2px solid var(--brass-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection{ background: var(--brass); color: var(--charcoal); }

/* ---------------------------------------------------------
   Typography
   --------------------------------------------------------- */
h1,h2,h3,h4, .font-serif{
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.08;
  color: var(--color-text);
}
h1{ font-size: var(--step-6); font-weight: 500; line-height: 1.1; }
h2{ font-size: var(--step-4); line-height: 1.15; }
h3{ font-size: var(--step-2); line-height: 1.25; }
h4{ font-size: var(--step-1); font-weight: 600; line-height: 1.3; }

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent-deep);
}
.eyebrow::before{
  content: '';
  width: 28px; height: 1px;
  background: currentColor;
  transition: width 550ms var(--ease-out) 150ms;
}
/* Applied only to eyebrows inside a [data-reveal] container, and only until
   that container's scroll reveal actually fires (see main.js) — the dash
   draws itself in rather than just appearing, everywhere else it's static. */
.eyebrow--pending::before{ width: 0; }
.eyebrow.on-dark{ color: var(--brass-soft); }

.lede{
  font-size: var(--step-1);
  color: var(--color-text-soft);
  line-height: 1.65;
  max-width: 46ch;
}
p.body-lg{ font-size: var(--step-0); line-height: 1.75; color: var(--color-text-soft); max-width: 60ch; }

.text-invert{ color: var(--color-text-invert); }
.text-invert .lede, .text-invert p{ color: var(--color-text-invert-soft); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4,
.text-invert h1, .text-invert h2, .text-invert h3, .text-invert h4{ color: var(--sand-pale); }

/* ---------------------------------------------------------
   Layout helpers
   --------------------------------------------------------- */
.container{
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}
.container-narrow{ max-width: var(--container-narrow); margin-inline: auto; }

.section{ padding-block: var(--section-pad); position: relative; }
.section-tight{ padding-block: clamp(3rem, 2.5rem + 2vw, 5rem); }
.section-dark{
  position: relative;
  background: var(--color-surface-dark);
  color: var(--color-text-invert);
  overflow: hidden;
}
/* A single oversized, near-invisible doorway watermark anchored to one
   corner — enough to tie a flat dark section back to the brand mark without
   reading as decoration. */
.section-dark::before{
  content:'';
  position: absolute;
  top: 8%; right: -6%;
  width: min(46vw, 620px);
  aspect-ratio: 200/260;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 260'%3E%3Cpath d='M40,242 V108 C40,58 66,18 100,18 C134,18 160,58 160,108 V242' fill='none' stroke='rgba(196,161,92,0.09)' stroke-width='2'/%3E%3Cpath d='M100,18 V242' fill='none' stroke='rgba(196,161,92,0.07)' stroke-width='1.2'/%3E%3Cpath d='M18,242 H182' fill='none' stroke='rgba(196,161,92,0.09)' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}
.section-alt{ background: var(--color-bg-alt); }

.grid{ display: grid; gap: var(--space-5); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
.contact-grid{ grid-template-columns: 1.4fr 1fr; gap: 3rem; }
@media (max-width: 900px){
  .contact-grid{ grid-template-columns: 1fr; gap: var(--space-5); }
  .grid-3{ grid-template-columns: repeat(2, 1fr); }
  .grid-4{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px){
  .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr; }
}

.stack{ display: flex; flex-direction: column; }
.cluster{ display: flex; align-items: center; flex-wrap: wrap; }

/* "Why DARNA" grid — a soft brass torchlight that follows the cursor across
   the dark grid (position driven by --mx/--my, set on mousemove in main.js),
   plus a short brass rule that draws in under each heading on hover — the
   same dash-draw language the eyebrows already use, just cursor-triggered
   instead of scroll-triggered, so it reads as one system. */
.why-grid{ position: relative; }
.why-grid::before{
  content: '';
  position: absolute; inset: -2rem;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(196,161,92,0.14), transparent 70%);
  opacity: 0;
  transition: opacity 500ms var(--ease-out);
  pointer-events: none;
  z-index: 0;
}
.why-grid:hover::before{ opacity: 1; }
.why-item{ position: relative; z-index: 1; }
.why-item h4{ position: relative; display: inline-block; padding-bottom: .5rem; }
.why-item h4::after{
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--brass-soft);
  transition: width 450ms var(--ease-out);
}
.why-item:hover h4::after{ width: 32px; }

/* Process teaser checklist — the check icon nudges forward on hover, a tiny
   physical acknowledgment rather than a static list. */
.process-checklist .cluster svg{ transition: transform 300ms var(--ease-out); }
.process-checklist .cluster:hover svg{ transform: translateX(3px); }

.split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split.reverse{ direction: rtl; }
.split.reverse > *{ direction: ltr; }
@media (max-width: 900px){
  .split, .split.reverse{ grid-template-columns: 1fr; direction: ltr; }
}

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */
.btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.8rem;
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  transition: color 380ms var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.btn svg{ width: 16px; height: 16px; transition: transform var(--dur-med) var(--ease-out); position: relative; }
/* Fill-wipe: a color layer clipped to a diagonal wedge, held just off-stage
   to the left and eased in on hover — reads as a deliberate gesture rather
   than a flat color swap. Respects reduced-motion via the transition being
   the only moving part (no motion sickness triggers, and it's globally
   dampened by the base stylesheet's reduced-motion rule). */
.btn::before{
  content:'';
  position: absolute; inset: -1px;
  clip-path: polygon(0% 0%, 0% 0%, -15% 100%, -15% 100%);
  transition: clip-path 480ms cubic-bezier(0.65, 0, 0.35, 1);
  /* Negative z-index keeps this confined (by isolation:isolate above) to
     just above the button's own background — plain inline text paints
     above position:absolute/z-index:auto layers per the CSS stacking spec,
     so without this the wipe would cover the label once fully expanded. */
  z-index: -1;
}
.btn:hover::before{ clip-path: polygon(0% 0%, 115% 0%, 100% 100%, -15% 100%); }

.btn-primary{
  background: var(--charcoal);
  color: var(--sand-pale);
  border: 1px solid var(--charcoal);
}
.btn-primary::before{ background: var(--walnut-deep); }
.btn-primary:hover svg{ transform: translateX(3px); }

.btn-accent{
  background: var(--brass);
  color: var(--charcoal);
  border: 1px solid var(--brass);
}
.btn-accent::before{ background: var(--brass-soft); }
.btn-accent:hover svg{ transform: translateX(3px); }

.btn-ghost{
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn-ghost::before{ background: var(--charcoal); }
.btn-ghost:hover{ border-color: var(--charcoal); color: var(--sand-pale); }

.btn-ghost.on-dark{ color: var(--sand-pale); border-color: var(--color-border-dark); }
.btn-ghost.on-dark::before{ background: var(--brass-soft); }
.btn-ghost.on-dark:hover{ border-color: var(--brass-soft); color: var(--charcoal); }

.btn-sm{ padding: 0.7rem 1.3rem; font-size: 0.72rem; }

.link-arrow{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  color: var(--color-accent-deep);
}
.link-arrow svg{ width: 14px; height: 14px; transition: transform var(--dur-med) var(--ease-out); }
.link-arrow:hover svg{ transform: translateX(4px); }

/* ---------------------------------------------------------
   Nav
   --------------------------------------------------------- */
.nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding-block: 1.5rem;
  transition: padding var(--dur-med) var(--ease-out), background var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled{
  padding-block: 0.9rem;
  background: rgba(251, 248, 243, 0.88);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--color-border);
}
.nav-row{ display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.logo{ display: flex; align-items: center; gap: 0.65rem; }
.logo-mark{ height: 34px; width: auto; flex-shrink: 0; }
.logo-word{
  font-family: var(--font-serif);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  color: var(--color-text);
}
.logo-word b{ font-weight: 600; }
.logo-sub{
  display: block;
  font-family: var(--font-sans);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  margin-top: 1px;
}

.nav-links{ display: flex; align-items: center; gap: clamp(1.2rem, 2vw, 2.2rem); }
.nav-links a{
  position: relative;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text-soft);
  padding-block: 0.3rem;
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-links a::after{
  content:'';
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--brass-deep);
  transition: right var(--dur-med) var(--ease-out);
}
.nav-links a:hover, .nav-links a[aria-current="page"]{ color: var(--color-text); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after{ right: 0; }

.nav-cta{ display: flex; align-items: center; gap: 1rem; }
.nav-toggle{
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  cursor: pointer;
}
.hamburger{ position: relative; width: 22px; height: 14px; }
.hamburger i{
  position: absolute; left: 0; width: 100%; height: 1.5px;
  background: var(--color-text);
  transition: transform var(--dur-med) var(--ease-out), opacity var(--dur-fast) var(--ease-out), top var(--dur-med) var(--ease-out);
}
.hamburger i:nth-child(1){ top: 0; }
.hamburger i:nth-child(2){ top: 6.5px; }
.hamburger i:nth-child(3){ top: 13px; }
.nav-toggle[aria-expanded="true"] .hamburger i:nth-child(1){ top: 6.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger i:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] .hamburger i:nth-child(3){ top: 6.5px; transform: rotate(-45deg); }

.mobile-menu{
  position: fixed; inset: 0;
  background: var(--sand-pale);
  z-index: 90;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 2rem clamp(1.5rem, 6vw, 4rem);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-med) var(--ease-out);
}
.mobile-menu.is-open{ opacity: 1; visibility: visible; }
.mobile-menu ul{ display: flex; flex-direction: column; gap: 0.4rem; }
.mobile-menu a{
  font-family: var(--font-serif);
  font-size: clamp(2rem, 9vw, 3.2rem);
  font-weight: 500;
  display: inline-block;
  color: var(--color-text);
  opacity: 0;
  transform: translateY(16px);
}
.mobile-menu.is-open a{ animation: menuIn var(--dur-slow) var(--ease-out) forwards; }
.mobile-menu.is-open a:nth-child(1){ animation-delay: .05s; }
.mobile-menu.is-open a:nth-child(2){ animation-delay: .11s; }
.mobile-menu.is-open a:nth-child(3){ animation-delay: .17s; }
.mobile-menu.is-open a:nth-child(4){ animation-delay: .23s; }
.mobile-menu.is-open a:nth-child(5){ animation-delay: .29s; }
.mobile-menu.is-open a:nth-child(6){ animation-delay: .35s; }
@keyframes menuIn{ to{ opacity: 1; transform: translateY(0); } }
.mobile-menu-foot{
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  display: flex; flex-direction: column; gap: 0.9rem;
  font-size: 0.9rem;
  color: var(--color-text-soft);
  min-width: 0;
}
.mobile-menu-foot a{ overflow-wrap: anywhere; }
body.menu-open{ overflow: hidden; }

@media (max-width: 1100px){
  .nav-links{ display: none; }
  .nav-cta .btn{ display: none; }
  .nav-toggle{ display: flex; }
}

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */
.hero{
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding-top: 8rem;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  background: var(--charcoal);
  color: var(--sand-pale);
}
.hero-bg{
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-bg .texture-panel{ position:absolute; inset:0; transform: scale(1.12); }
.hero-video{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.12);
}
@media (max-width: 768px){
  .hero-video{ display: none; }
}
@media (prefers-reduced-motion: reduce){
  .hero-video{ display: none; }
}
.hero-scrim{
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,17,14,0.35) 0%, rgba(20,17,14,0.35) 45%, rgba(20,17,14,0.92) 100%);
  z-index: 1;
}
.hero-content{ position: relative; z-index: 2; width: 100%; }
.hero-kicker{
  display: flex; align-items: center; gap: .8rem;
  margin-bottom: 1.6rem;
}
.hero h1{
  position: relative;
  font-size: var(--step-6);
  line-height: 1.18;
  max-width: 16ch;
  color: var(--sand-pale);
}
.hero h1 .line{ display:block; overflow: hidden; padding-bottom: 0.08em; }
.hero h1 .line-inner{ display:block; }
.hero h1 em{ font-style: italic; color: var(--brass-soft); font-weight: 400; }
.hero-vapor-canvas{ position:absolute; top:0; left:0; pointer-events:none; z-index:3; }
.hero-foot{
  margin-top: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(251,248,243,0.16);
  padding-top: 1.8rem;
}
.hero-lede{ max-width: 40ch; color: var(--color-text-invert-soft); font-size: var(--step-0); }
.scroll-cue{
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--color-text-invert-soft);
}
.scroll-cue .line-anim{
  width: 1px; height: 46px; background: rgba(251,248,243,0.25); position: relative; overflow: hidden;
}
.scroll-cue .line-anim::after{
  content:''; position:absolute; left:0; top:-100%; width:100%; height:50%;
  background: var(--brass-soft);
  animation: scrollcue 2.1s var(--ease-soft) infinite;
}
@keyframes scrollcue{ 0%{ top:-50%; } 100%{ top:100%; } }

/* ---------------------------------------------------------
   Texture / placeholder image panels
   (stand-ins for real project photography)
   --------------------------------------------------------- */
.texture-panel{
  position: relative;
  width: 100%; height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.texture-panel::before{
  content:'';
  position:absolute; inset:0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.texture-panel::after{
  content:'';
  position:absolute; inset:0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 260'%3E%3Cpath d='M40,242 V108 C40,58 66,18 100,18 C134,18 160,58 160,108 V242' fill='none' stroke='rgba(255,255,255,0.12)' stroke-width='2.5'/%3E%3Cpath d='M100,18 V242' fill='none' stroke='rgba(255,255,255,0.09)' stroke-width='1.5'/%3E%3Cpath d='M18,242 H182' fill='none' stroke='rgba(255,255,255,0.12)' stroke-width='2.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 128% 118%;
  background-size: auto 78%;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), inset 0 -3rem 4rem -2rem rgba(0,0,0,0.35);
  pointer-events: none;
}
/* For real photography that already has its own strong composition (e.g. a
   photographed archway) — the decorative arch watermark would compete with
   it, so drop just that layer while keeping the vignette. */
.texture-panel--photo::after{ background-image: none; }
/* Layered, directional gradients per material — a diagonal light-sweep plus
   a soft glow, so these read as art-directed compositions rather than a
   single flat radial blob. */
.tp-1{ background-image: linear-gradient(155deg, rgba(255,232,200,0.16) 0%, transparent 38%), radial-gradient(120% 130% at 20% 15%, #7C5B41 0%, #5A4234 42%, #2C2117 100%); }
.tp-2{ background-image: linear-gradient(155deg, rgba(230,235,210,0.14) 0%, transparent 38%), radial-gradient(120% 130% at 80% 20%, #8A9068 0%, #6E6B45 45%, #3A3924 100%); }
.tp-3{ background-image: linear-gradient(155deg, rgba(255,220,190,0.18) 0%, transparent 38%), radial-gradient(120% 130% at 25% 80%, #D6A57A 0%, #C1633F 48%, #7A3E27 100%); }
.tp-4{ background-image: linear-gradient(155deg, rgba(255,245,220,0.2) 0%, transparent 38%), radial-gradient(120% 130% at 75% 75%, #E4CB98 0%, #C4A15C 45%, #7C602F 100%); }
.tp-5{ background-image: linear-gradient(155deg, rgba(255,250,240,0.22) 0%, transparent 38%), radial-gradient(120% 130% at 50% 10%, #D9CBB4 0%, #B4A186 45%, #5A4234 100%); }
.tp-6{ background-image: linear-gradient(155deg, rgba(225,230,200,0.14) 0%, transparent 38%), radial-gradient(120% 130% at 30% 30%, #9C9C74 0%, #6E6B45 45%, #2E2D1B 100%); }
.tp-7{ background-image: linear-gradient(155deg, rgba(240,215,185,0.16) 0%, transparent 38%), radial-gradient(120% 130% at 70% 60%, #B08055 0%, #5A4234 50%, #241A12 100%); }
.tp-8{ background-image: linear-gradient(155deg, rgba(255,240,210,0.2) 0%, transparent 38%), radial-gradient(120% 130% at 40% 85%, #E0BE8A 0%, #A9813F 48%, #4E3A1C 100%); }

.tp-caption{
  position: absolute; left: 1.2rem; bottom: 1.2rem; z-index: 3;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
  display: flex; align-items: center; gap: .5rem;
}
.tp-caption svg{ width: 13px; height: 13px; opacity: .8; }

/* ---------------------------------------------------------
   Cards
   --------------------------------------------------------- */
.card{
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  transition: border-color var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.card:hover{ border-color: var(--brass-deep); box-shadow: 0 20px 40px -24px rgba(30,27,24,0.25); transform: translateY(-3px); }

.service-card{ display:flex; flex-direction: column; gap: var(--space-3); }
.service-card .num{
  font-family: var(--font-serif);
  font-size: var(--step-1);
  color: var(--brass-deep);
}
.service-card h4{ margin-top: .2rem; }
.service-card p{ color: var(--color-text-soft); font-size: 0.92rem; }
.service-card .tags{ display:flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; padding-top: .8rem; }
.tag{
  font-size: 0.68rem; letter-spacing: 0.03em; text-transform: uppercase;
  padding: 0.3rem 0.6rem; border: 1px solid var(--color-border); border-radius: 999px;
  color: var(--color-text-soft);
}

.project-card{ position: relative; display: block; overflow: hidden; border-radius: var(--radius-md); cursor: pointer; }
.project-card .frame{ aspect-ratio: 4/5; position: relative; overflow: hidden; }
.project-card .frame .texture-panel{ transition: transform 900ms var(--ease-out); }
.project-card:hover .frame .texture-panel{ transform: scale(1.06); }
.project-card .info{
  position: absolute; inset: auto 0 0 0; z-index: 3;
  padding: 1.4rem;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(15,13,11,0.85));
}
.project-card .info .cat{ font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-soft); }
.project-card .info h4{ color:#fff; margin-top: .3rem; }
.project-card.wide .frame{ aspect-ratio: 16/10; }

/* ---------------------------------------------------------
   Stats
   --------------------------------------------------------- */
.stat b{
  display:block;
  font-family: var(--font-serif);
  font-size: var(--step-4);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1;
}
.stat span{
  display:block; margin-top: .5rem;
  font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--color-text-soft);
}
.section-dark .stat b{ color: var(--sand-pale); }
.section-dark .stat span{ color: var(--color-text-invert-soft); }
.text-invert .stat b{ color: var(--sand-pale); }
.text-invert .stat span{ color: var(--color-text-invert-soft); }
/* Hero stats sit on the dark photo + scrim, not a .section-dark/.text-invert
   wrapper, so without this they inherit the site's default dark ink color —
   invisible against the dark background. */
.hero .stat b{ color: var(--sand-pale); }
.hero .stat span{ color: var(--color-text-invert-soft); }
.stat-sm b{ font-size: var(--step-2); }
.hero-stats{ display:flex; gap: clamp(1.6rem, 4vw, 3.2rem); }

/* ---------------------------------------------------------
   Process / timeline
   --------------------------------------------------------- */
.process-item{
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.6rem;
  padding-block: 2.4rem;
  border-top: 1px solid var(--color-border);
  position: relative;
}
.process-item:last-child{ border-bottom: 1px solid var(--color-border); }
.process-item .idx{
  font-family: var(--font-serif);
  font-size: var(--step-2);
  color: var(--brass-deep);
}
.process-item h4{ margin-bottom: .5rem; }
.process-item p{ color: var(--color-text-soft); max-width: 55ch; }
@media (max-width: 620px){
  .process-item{ grid-template-columns: 46px 1fr; }
  .process-item .idx{ font-size: var(--step-1); }
}

/* ---------------------------------------------------------
   Before / After slider
   --------------------------------------------------------- */
.ba-slider{
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  background: var(--charcoal);
}
.ba-slider .ba-layer{ position: absolute; inset: 0; }
.ba-slider .ba-after{ position: absolute; inset: 0; }
.ba-slider .ba-before{
  position: absolute; inset: 0;
  clip-path: inset(0 0 0 var(--pos, 50%));
}
.ba-label{
  position: absolute; top: 1rem; z-index: 4;
  font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; background: rgba(20,17,14,0.55); backdrop-filter: blur(4px);
  padding: 0.4rem 0.75rem; border-radius: 999px;
}
.ba-label.before{ right: 1rem; }
.ba-label.after{ left: 1rem; }
.ba-slider .ba-before .ba-label.after{ display:block; }
.ba-handle{
  position: absolute; top: 0; bottom: 0;
  left: var(--pos, 50%);
  width: 2px; background: rgba(255,255,255,0.85);
  z-index: 5;
  transform: translateX(-1px);
}
.ba-handle .grip{
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,0.5);
}
.ba-handle .grip svg{ width: 16px; height: 16px; color: var(--charcoal); }
.ba-caption{ margin-top: 1.1rem; display:flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.ba-caption h4{ margin: 0; }
.ba-caption .meta{ font-size: 0.8rem; color: var(--color-text-soft); }

/* ---------------------------------------------------------
   Testimonials
   --------------------------------------------------------- */
.testimonial{
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.testimonial .quote-mark{ color: var(--brass); font-family: var(--font-serif); font-size: 3.4rem; line-height: 1; display:block; margin-bottom: .5rem; }
.testimonial p{ font-family: var(--font-serif); font-size: var(--step-1); font-weight: 400; line-height: 1.5; color: var(--color-text); }
.testimonial .who{ margin-top: 1.5rem; display: flex; align-items: center; gap: .8rem; }
.avatar{
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brass-soft), var(--terracotta));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); color: #fff; font-size: 0.9rem;
}
.who .name{ font-weight: 600; font-size: 0.88rem; }
.who .role{ font-size: 0.78rem; color: var(--color-text-soft); }

/* ---------------------------------------------------------
   Materials strip
   --------------------------------------------------------- */
.material-chip{
  display:flex; flex-direction: column; gap: .8rem;
}
.material-swatch{
  width: 100%; aspect-ratio: 1/1; border-radius: var(--radius-md); position: relative; overflow: hidden;
  background-size: cover; background-position: center;
}
.material-chip h4{ font-size: 1rem; }
.material-chip p{ font-size: 0.82rem; color: var(--color-text-soft); }

/* ---------------------------------------------------------
   Forms
   --------------------------------------------------------- */
.field{ display:flex; flex-direction: column; gap: .5rem; margin-bottom: 1.4rem; }
.field label{ font-size: 0.78rem; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: var(--color-text-soft); }
.field .req{ color: var(--terracotta-deep); }
.field input, .field select, .field textarea{
  width: 100%;
  padding: 0.9rem 1rem;
  font-family: var(--font-sans);
  font-size: var(--step-0);
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.field input::placeholder, .field textarea::placeholder{ color: #A79E8E; }
.field input:focus, .field select:focus, .field textarea:focus{
  outline: none; border-color: var(--brass-deep);
  box-shadow: 0 0 0 3px rgba(196,161,92,0.18);
}
.field textarea{ resize: vertical; min-height: 120px; }
.field-hint{ font-size: 0.76rem; color: var(--color-text-soft); }
.chip-group{ display:flex; flex-wrap: wrap; gap: .6rem; }
.chip-option input{ display:none; }
.chip-option label{
  display: inline-flex; align-items: center; padding: 0.6rem 1.1rem;
  border: 1px solid var(--color-border); border-radius: 999px;
  font-size: 0.82rem; cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
  text-transform: none; font-weight: 500; letter-spacing: 0;
}
.chip-option input:checked + label{ background: var(--charcoal); color: var(--sand-pale); border-color: var(--charcoal); }
.form-success{
  display:none; align-items:center; gap: .8rem;
  padding: 1.1rem 1.3rem; border-radius: var(--radius-md);
  background: rgba(110,107,69,0.12); border: 1px solid var(--olive);
  color: var(--olive-deep); font-size: 0.9rem;
}
.form-success svg{ width: 20px; height:20px; flex-shrink:0; }
.form-success.is-visible{ display:flex; }
.form-error{
  display:none; align-items:center; gap: .8rem;
  padding: 1.1rem 1.3rem; border-radius: var(--radius-md);
  background: rgba(178,58,58,0.08); border: 1px solid rgba(178,58,58,0.4);
  color: #a83a3a; font-size: 0.9rem;
}
.form-error svg{ width: 18px; height:18px; flex-shrink:0; }
.form-error a{ color: inherit; text-decoration: underline; }
.form-error.is-visible{ display:flex; }

/* ---------------------------------------------------------
   FAQ accordion
   --------------------------------------------------------- */
.faq-item{ border-top: 1px solid var(--color-border); }
.faq-item:last-child{ border-bottom: 1px solid var(--color-border); }
.faq-q{
  width: 100%; display:flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: 1.6rem; cursor: pointer; text-align: left;
}
.faq-q h4{ font-size: var(--step-0); font-weight: 600; font-family: var(--font-sans); }
.faq-q .icon{ width: 20px; height: 20px; flex-shrink:0; position: relative; }
.faq-q .icon i{ position:absolute; background: var(--color-text); border-radius: 1px; }
.faq-q .icon i:nth-child(1){ left:0; top:50%; width:100%; height:1.5px; margin-top:-0.75px; }
.faq-q .icon i:nth-child(2){ top:0; left:50%; height:100%; width:1.5px; margin-left:-0.75px; transition: transform var(--dur-med) var(--ease-out); }
.faq-item.is-open .icon i:nth-child(2){ transform: rotate(90deg); opacity: 0; }
.faq-a{ max-height: 0; overflow: hidden; transition: max-height var(--dur-med) var(--ease-out); }
.faq-a p{ padding-bottom: 1.6rem; color: var(--color-text-soft); max-width: 65ch; }

/* ---------------------------------------------------------
   Filters (portfolio)
   --------------------------------------------------------- */
.filter-bar{ display:flex; flex-wrap: wrap; gap: .6rem; }
.filter-btn{
  padding: 0.55rem 1.1rem; border: 1px solid var(--color-border); border-radius: 999px;
  font-size: 0.8rem; font-weight: 500; color: var(--color-text-soft); cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}
.filter-btn:hover{ border-color: var(--brass-deep); color: var(--color-text); }
.filter-btn.is-active{ background: var(--charcoal); color: var(--sand-pale); border-color: var(--charcoal); }

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.footer{ background: var(--charcoal); color: var(--color-text-invert); padding-top: var(--space-8); }
.footer-top{
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-6);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid var(--color-border-dark);
}
.footer-brand p{ color: var(--color-text-invert-soft); font-size: 0.88rem; max-width: 32ch; margin-top: 1rem; }
.footer h5{
  font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brass-soft); margin-bottom: 1.1rem; font-weight: 600;
}
.footer-links{ display:flex; flex-direction: column; gap: .7rem; }
.footer-links a{ font-size: 0.9rem; color: var(--color-text-invert-soft); transition: color var(--dur-fast); }
.footer-links a:hover{ color: var(--sand-pale); }
.footer-social{ display:flex; gap: .7rem; margin-top: 1.3rem; }
.footer-social a{
  width: 36px; height:36px; border-radius: 50%; border: 1px solid var(--color-border-dark);
  display:flex; align-items:center; justify-content:center;
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.footer-social a:hover{ border-color: var(--brass-soft); background: rgba(196,161,92,0.12); }
.footer-social svg{ width: 16px; height:16px; }
.footer-bottom{
  display:flex; align-items:center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding-block: 1.6rem;
  font-size: 0.78rem; color: #83786A;
}
.footer-bottom a{ color: #83786A; }
.footer-bottom a:hover{ color: var(--sand-pale); }
@media (max-width: 900px){
  .footer-top{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .footer-top{ grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------
   Floating WhatsApp
   --------------------------------------------------------- */
.whatsapp-fab{
  position: fixed; right: clamp(1rem, 4vw, 2rem); bottom: clamp(1rem, 4vw, 2rem);
  z-index: 80;
  width: 56px; height: 56px; border-radius: 50%;
  background: #3D5A45;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 12px 28px -10px rgba(30,27,24,0.45);
  transition: transform var(--dur-fast) var(--ease-out);
}
.whatsapp-fab:hover{ transform: scale(1.07); }
.whatsapp-fab svg{ width: 26px; height: 26px; color: #fff; }

/* ---------------------------------------------------------
   Page hero (interior pages)
   --------------------------------------------------------- */
.page-hero{
  padding-top: clamp(8rem, 10vw, 11rem);
  padding-bottom: var(--space-7);
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}
.page-hero h1{ font-size: var(--step-5); max-width: 20ch; }
.page-hero .lede{ margin-top: 1.2rem; }
.breadcrumb{
  display:flex; align-items:center; gap: .5rem;
  font-size: 0.78rem; color: var(--color-text-soft); margin-bottom: 1.5rem;
}
.breadcrumb svg{ width: 12px; height: 12px; }

/* ---------------------------------------------------------
   Reveal animation base state (JS adds .is-visible / GSAP handles motion)
   --------------------------------------------------------- */
[data-reveal]{ opacity: 0; }
.js-ready [data-reveal]{ will-change: transform, opacity; }
.no-js [data-reveal]{ opacity: 1; }

/* ---------------------------------------------------------
   Marquee (materials/logos strip)
   --------------------------------------------------------- */
.marquee{ overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track{ display:flex; gap: 4rem; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track{ animation-play-state: paused; }
@keyframes marquee{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }
.marquee-item{ display:flex; align-items:center; gap: .6rem; font-family: var(--font-serif); font-size: 1.2rem; color: var(--color-text-soft); white-space: nowrap; }
.marquee-item svg{ width: 18px; height: 18px; color: var(--brass); }

/* ---------------------------------------------------------
   Utilities
   --------------------------------------------------------- */
.mt-1{ margin-top: var(--space-1); } .mt-2{ margin-top: var(--space-2); } .mt-3{ margin-top: var(--space-3); }
.mt-4{ margin-top: var(--space-4); } .mt-5{ margin-top: var(--space-5); } .mt-6{ margin-top: var(--space-6); } .mt-7{ margin-top: var(--space-7); }
.center{ text-align: center; margin-inline: auto; }
.section-head{ max-width: 640px; margin-bottom: var(--space-6); }
.section-head.center{ margin-inline: auto; }
.between{ display:flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.hide-mobile{ display: initial; }
.show-mobile{ display: none; }
@media (max-width: 700px){
  .hide-mobile{ display:none; }
  .show-mobile{ display:initial; }
}
.divider{ height: 1px; background: var(--color-border); border: 0; margin-block: var(--space-6); }

/* ---------------------------------------------------------
   Mobile pass — this site was built desktop-first and most
   components already reflow correctly, but a handful of
   values were never given a *mobile-appropriate* value, just
   whatever the shared clamp() floor happened to compute to.
   Three categories of fix below: type that's sized for a
   35"+ screen (causing awkward mid-phrase wraps), section/card
   padding that stacks into excessive scroll-only whitespace,
   and split-image sections that show the photo before any
   context on mobile purely because of DOM order.
   --------------------------------------------------------- */
@media (max-width: 640px){
  /* Homepage hero: each line is a short, deliberate phrase
     ("Spaces reimagined." / "Value renewed." / "Timeless by
     design.") meant to read as one line each — at the
     --step-6 floor (57.6px) every one of them wraps, orphaning
     single words ("Value" / "renewed."). Sized here to fit the
     longest phrase on one line with room to spare. */
  .hero h1{ font-size: clamp(2rem, 1.4rem + 4vw, 2.6rem); }

  /* Interior page heroes (About, Services, Portfolio, etc.) —
     same issue in miniature: the --step-5 floor (48px) reads
     oversized against a 375px viewport before you've even
     reached the lede paragraph. */
  .page-hero h1{ font-size: clamp(1.9rem, 1.4rem + 4vw, 2.4rem); }

  /* Section rhythm: --section-pad's floor is 72px top *and*
     bottom, so two adjacent sections are separated by 144px of
     nothing — a full mobile screen's worth of blank scrolling
     between, say, "Not a conventional contractor" and "What We
     Do". Tightened, not removed — sections should still breathe. */
  .section{ padding-block: clamp(2.75rem, 2rem + 4vw, 4.5rem); }

  /* Cards (service cards, form card, FAQ, etc.) — --space-5 on
     all sides reads generous once six of these are stacked
     full-width; tightened without touching the border-radius/
     shadow language that gives them their weight. */
  .card{ padding: var(--space-4); }
  .section-head{ margin-bottom: var(--space-5); }

  /* Split-image sections: .split.reverse uses an RTL flip to
     show text-then-image on desktop, but that trick is dropped
     entirely on mobile (single column), so without this the
     *source order* wins — image first, heading and context
     second. Reordered so mobile visitors get the "what is this"
     text before the supporting photo, on every .split.reverse
     section site-wide (process teaser, About's philosophy
     section, Services' apartment/kitchen sections). */
  .split.reverse > *:first-child{ order: 1; }
}
