/* =========================================================
   Carlos Installations
   Tailored handyman & installation services
   Palette: sand beige · warm ink · brushed silver
   ========================================================= */

:root {
  /* --- Beige canvas --- */
  --sand:        #ECE4D6;
  --sand-deep:   #E0D7C6;
  --sand-soft:   #F2ECE1;
  --porcelain:   #F7F2E9;

  /* --- Warm black ink --- */
  --ink:         #15120E;
  --ink-2:       #211C16;
  --ink-soft:    #423B31;
  --ink-mute:    #6E6557;

  /* --- Brushed silver --- */
  --silver-hi:   #F4F4F2;
  --silver:      #C3C5C7;
  --silver-mid:  #A7AAAD;
  --silver-lo:   #84888C;
  --silver-line: rgba(132,136,140,.45);

  --metal: linear-gradient(135deg, #f6f6f4 0%, #d7d9da 22%, #aeb1b4 48%, #d2d4d5 70%, #8c9094 100%);
  --metal-soft: linear-gradient(135deg, #efefec 0%, #c9cbcd 50%, #9da0a3 100%);

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --shadow-card: 0 1px 0 rgba(255,255,255,.55) inset, 0 18px 40px -28px rgba(21,18,14,.5);
  --shadow-lift: 0 1px 0 rgba(255,255,255,.65) inset, 0 30px 56px -30px rgba(21,18,14,.62);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Manrope", system-ui, -apple-system, Segoe UI, sans-serif;
  --mono:  "Space Mono", ui-monospace, Menlo, monospace;
}

/* ----------------------- Reset ----------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.62;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; padding: 0; }

[id] { scroll-margin-top: 88px; }

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

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  background: var(--ink);
  color: var(--sand);
  padding: 10px 18px;
  border-radius: 8px;
  z-index: 2000;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* Visually hidden (screen-reader only / honeypot) */
.visually-hidden {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ====================================================================
   FLOATING WHATSAPP BUTTON
   ==================================================================== */
.wa-fab {
  position: fixed;
  right: max(18px, env(safe-area-inset-right, 0px));
  bottom: max(18px, env(safe-area-inset-bottom, 0px));
  z-index: 1200;
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--silver-hi);
  box-shadow: 0 0 0 1px var(--silver-line), 0 12px 28px -10px rgba(21,18,14,.7);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease), background-color .3s var(--ease);
}
.wa-fab svg { width: 30px; height: 30px; }
.wa-fab::before { /* soft pulse ring */
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid var(--silver-mid);
  opacity: 0;
  animation: waPulse 2.8s var(--ease-out) infinite;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: .5; }
  70%, 100% { transform: scale(1.5); opacity: 0; }
}
.wa-fab:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--silver-mid), 0 18px 34px -10px rgba(21,18,14,.8); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ====================================================================
   PRELOADER — refined entrance
   ==================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: var(--ink);
  display: grid;
  place-items: center;
  transition: transform .9s var(--ease-out), visibility .9s;
  /* Fail-safe: if script.js never runs (e.g. fails to load), don't trap the page */
  animation: preloaderFailsafe 0.6s var(--ease-out) 4s forwards;
}
@keyframes preloaderFailsafe {
  to { transform: translateY(-101%); visibility: hidden; }
}
.preloader.is-done {
  transform: translateY(-101%);
  visibility: hidden;
}
.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  opacity: 0;
  animation: preIn .6s var(--ease) .05s forwards;
}
@keyframes preIn { to { opacity: 1; } }

.preloader__mark {
  position: relative;
  width: 58px; height: 58px;
  border-radius: 13px;
  background: var(--ink-2);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 1px var(--silver-line), 0 1px 0 rgba(255,255,255,.08) inset;
}
.preloader__c {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2rem;
  line-height: 1;
  background: var(--metal);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.preloader__bubble {
  position: absolute; right: 9px; bottom: 9px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--silver-hi);
  box-shadow: 0 0 0 1.5px rgba(167,170,173,.7), 0 0 10px rgba(244,244,242,.6);
  animation: preBubble 1.6s var(--ease) infinite;
}
@keyframes preBubble { 0%,100%{ transform: translateX(0); } 50%{ transform: translateX(-3px); } }

.preloader__word {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: .02em;
  color: var(--silver-hi);
}
.preloader__bar {
  width: 168px; height: 2px;
  background: rgba(195,197,199,.2);
  border-radius: 2px;
  overflow: hidden;
}
.preloader__bar i {
  display: block; height: 100%;
  width: 0;
  background: var(--metal);
  animation: preBar 1.05s var(--ease-out) .1s forwards;
}
@keyframes preBar { to { width: 100%; } }
.preloader__tag {
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--silver-lo);
}

/* ====================================================================
   CUSTOM CURSOR — metallic measurement mark (desktop fine-pointer only)
   ==================================================================== */
.cursor { display: none; }

body.has-cursor { cursor: none; }
body.has-cursor a,
body.has-cursor button,
body.has-cursor label,
body.has-cursor .nav__toggle { cursor: none; }
body.has-cursor input,
body.has-cursor textarea,
body.has-cursor select { cursor: text; }
body.has-cursor select { cursor: pointer; }

body.has-cursor .cursor {
  display: block;
  position: fixed;
  top: 0; left: 0;
  z-index: 1400;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s var(--ease);
}
body.has-cursor .cursor.is-active { opacity: 1; }

.cursor__dot {
  position: fixed;
  top: 0; left: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #c3c5c7 55%, #84888c);
  box-shadow: 0 0 6px rgba(244,244,242,.5);
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor__ring {
  position: fixed;
  top: 0; left: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--silver-mid);
  box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  will-change: transform, width, height;
  transition: width .3s var(--ease), height .3s var(--ease),
              border-color .3s var(--ease), background-color .3s var(--ease);
}
.cursor__cross { position: relative; width: 12px; height: 12px; opacity: 0; transition: opacity .3s var(--ease); }
.cursor__cross::before,
.cursor__cross::after {
  content: ""; position: absolute; background: var(--silver-hi);
}
.cursor__cross::before { left: 50%; top: 0; width: 1px; height: 100%; transform: translateX(-50%); }
.cursor__cross::after  { top: 50%; left: 0; height: 1px; width: 100%; transform: translateY(-50%); }

/* Hovering an interactive element → measurement crosshair */
body.has-cursor .cursor.is-hover .cursor__ring {
  width: 52px; height: 52px;
  border-color: var(--silver-hi);
  background-color: rgba(244,244,242,.05);
}
body.has-cursor .cursor.is-hover .cursor__cross { opacity: .85; }
body.has-cursor .cursor.is-hover .cursor__dot { opacity: 0; }
/* Pressing */
body.has-cursor .cursor.is-down .cursor__ring { width: 26px; height: 26px; }

/* ----------------------- Shared type ----------------------- */
.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: .7em;
  margin-bottom: 1.25rem;
}
.eyebrow--light { color: rgba(244,244,242,.66); }
.eyebrow__tick {
  width: 34px; height: 9px;
  flex: none;
  background:
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 6px);
  opacity: .8;
}

.section { padding-block: clamp(72px, 9.5vw, 132px); position: relative; }

.section__head { max-width: 720px; margin-bottom: clamp(44px, 5vw, 68px); }
.section__title {
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  font-size: clamp(1.95rem, 4.6vw, 3.3rem);
  line-height: 1.04;
  letter-spacing: -.018em;
  color: var(--ink);
}
.section__title--light { color: var(--silver-hi); }
.section__intro {
  margin-top: 1.15rem;
  color: var(--ink-soft);
  font-size: 1.075rem;
  max-width: 56ch;
}

/* ----------------------- Buttons ----------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .92em 1.65em;
  border-radius: 100px;
  font-weight: 600;
  font-size: .96rem;
  letter-spacing: .01em;
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease), color .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease);
  white-space: nowrap;
}
.btn--solid {
  background: var(--ink);
  color: var(--sand-soft);
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 16px 30px -18px rgba(21,18,14,.8);
  border: 1px solid var(--ink);
}
.btn--solid::after { /* metallic sheen sweep */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(244,244,242,.38) 48%, transparent 62%);
  transform: translateX(-120%);
  transition: transform .75s var(--ease);
}
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 22px 36px -16px rgba(21,18,14,.85); }
.btn--solid:hover::after { transform: translateX(120%); }
.btn--solid:active { transform: translateY(0) scale(.985); }

.btn--ghost {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--silver-line);
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset;
}
.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
  background: rgba(255,255,255,.45);
}
.btn--ghost:active { transform: translateY(0) scale(.985); }

/* ----------------------- Tick rail (signature) ----------------------- */
.tick-rail {
  height: 26px;
  width: 100%;
  background:
    repeating-linear-gradient(90deg, var(--silver-line) 0 1px, transparent 1px 13px),
    repeating-linear-gradient(90deg, rgba(110,101,87,.55) 0 1.4px, transparent 1.4px 65px);
  background-position: bottom, bottom;
  background-repeat: repeat-x;
  background-size: 100% 9px, 100% 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  opacity: .9;
}
.tick-rail--dark {
  background:
    repeating-linear-gradient(90deg, rgba(195,197,199,.35) 0 1px, transparent 1px 13px),
    repeating-linear-gradient(90deg, rgba(195,197,199,.6) 0 1.4px, transparent 1.4px 65px);
  background-position: bottom, bottom;
  background-repeat: repeat-x;
  background-size: 100% 9px, 100% 16px;
}

/* ===================== NAV ===================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(236,228,214,.78);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
          backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.is-scrolled {
  border-bottom-color: var(--silver-line);
  box-shadow: 0 10px 30px -24px rgba(21,18,14,.6);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 74px;
}

/* Brand */
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand__mark {
  position: relative;
  width: 38px; height: 38px;
  border-radius: 9px;
  background: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 1px var(--silver-line), 0 1px 0 rgba(255,255,255,.1) inset;
  transition: transform .5s var(--ease-out);
}
.brand:hover .brand__mark { transform: rotate(-8deg); }
.brand__c {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.32rem;
  line-height: 1;
  background: var(--metal);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.brand__bubble {
  position: absolute;
  right: 6px; bottom: 6px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--silver-hi);
  box-shadow: 0 0 0 1.5px rgba(167,170,173,.7), 0 0 8px rgba(244,244,242,.6);
  transition: transform .5s var(--ease);
}
.brand:hover .brand__bubble { transform: translateX(-3px); }
.brand__text { display: flex; align-items: baseline; gap: .4rem; line-height: 1; }
.brand__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.18rem;
  letter-spacing: -.01em;
  color: var(--ink);
}
.brand__ltd {
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .18em;
  color: var(--ink-mute);
  border: 1px solid var(--silver-line);
  border-radius: 4px;
  padding: .15em .4em;
  transform: translateY(-1px);
}

.nav__links {
  display: flex;
  gap: 1.8rem;
  margin-left: auto;
  font-size: .92rem;
  font-weight: 500;
}
.nav__links a {
  position: relative;
  color: var(--ink-soft);
  padding: .3em 0;
  transition: color .25s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1.5px;
  background: var(--metal-soft);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after,
.nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--ink); }

.nav__cta { padding: .6em 1.25em; font-size: .9rem; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  margin-left: auto;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav__toggle span {
  width: 22px; height: 1.6px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .25s var(--ease);
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

.mobile-menu[hidden] { display: none; }
.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: 1rem var(--gutter) 1.6rem;
  background: var(--sand-soft);
  border-bottom: 1px solid var(--silver-line);
}
.mobile-menu a {
  padding: .85rem .25rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(132,136,140,.18);
}
.mobile-menu .btn { margin-top: .8rem; }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  padding-top: clamp(48px, 7vw, 88px);
  background:
    radial-gradient(120% 90% at 88% -8%, rgba(247,242,233,.9), transparent 60%),
    linear-gradient(180deg, var(--sand) 0%, var(--sand-deep) 100%);
  overflow: hidden;
}
.hero__grain {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  will-change: transform;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr .85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(36px, 6vw, 76px) clamp(64px, 8vw, 104px);
  perspective: 1100px;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  font-size: clamp(2.15rem, 6.2vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: -.022em;
  color: var(--ink);
  margin-bottom: 1.5rem;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.hero__title em {
  font-style: italic;
  font-weight: 400;
  position: relative;
  background: linear-gradient(120deg, #6E6557, #211C16);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.hero__lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 52ch;
  margin-bottom: 2.1rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.6rem; }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2.2rem;
  font-size: .9rem;
  color: var(--ink-soft);
  padding-top: 1.6rem;
  border-top: 1px solid var(--silver-line);
}
.hero__trust span {
  display: block;
  font-family: var(--serif);
  font-size: 1.55rem;
  color: var(--ink);
  line-height: 1;
  margin-bottom: .25rem;
  font-variant-numeric: tabular-nums;
}

/* Hero panel */
.hero__panel {
  background: var(--porcelain);
  border: 1px solid var(--silver-line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow-card);
  position: relative;
  will-change: transform;
}
.hero__panel::before { /* metal top edge */
  content: "";
  position: absolute;
  left: 18px; right: 18px; top: 0;
  height: 2px;
  background: var(--metal);
  border-radius: 2px;
  opacity: .8;
}

.spirit {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  border-radius: 100px;
  background: linear-gradient(180deg, #d9dbdc, #aeb1b4);
  box-shadow: inset 0 1px 2px rgba(255,255,255,.7), inset 0 -2px 4px rgba(60,63,66,.5), 0 0 0 1px rgba(132,136,140,.5);
  position: relative;
}
.spirit__line { width: 1.5px; height: 12px; background: rgba(33,28,22,.55); border-radius: 2px; }
.spirit__line:first-child { margin-left: auto; }
.spirit__line:last-child { margin-right: auto; }
.spirit__bubble {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fbfdfa, #cfeede 45%, #9fd9bd 90%);
  box-shadow: inset 0 1px 2px rgba(255,255,255,.9), 0 1px 3px rgba(33,28,22,.35);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: settle 2.8s var(--ease) .9s both;
}
@keyframes settle {
  0%   { left: 22%; }
  55%  { left: 64%; }
  78%  { left: 44%; }
  100% { left: 50%; }
}
.spirit__label {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: center;
  margin: .8rem 0 1.5rem;
}

.hero__card {
  background: var(--ink);
  color: var(--sand-soft);
  border-radius: var(--radius-sm);
  padding: 1.4rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.hero__card::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--metal);
}
.hero__card-quote { font-family: var(--serif); font-size: 1.18rem; line-height: 1.35; font-style: italic; }
.hero__card-by { font-family: var(--mono); font-size: .72rem; letter-spacing: .05em; color: rgba(244,244,242,.6); margin-top: .9rem; }

.hero__spec {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: .6rem;
  margin-top: 1.3rem;
}
.hero__spec > div {
  border: 1px solid var(--silver-line);
  border-radius: var(--radius-sm);
  padding: .7rem .55rem;
  text-align: center;
  background: rgba(255,255,255,.35);
  transition: transform .4s var(--ease-out), background-color .4s var(--ease);
}
.hero__spec > div:hover { transform: translateY(-3px); background: rgba(255,255,255,.6); }
.hero__spec dt { font-family: var(--mono); font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
.hero__spec dd { font-family: var(--serif); font-size: 1rem; color: var(--ink); margin-top: .25rem; }

/* Hero scroll cue */
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-mute);
  z-index: 3;
}
.hero__scroll-rule {
  width: 1px; height: 42px;
  background: linear-gradient(var(--ink-mute), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll-rule::after {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 100%; height: 40%;
  background: var(--ink);
  animation: scrollCue 2.2s var(--ease) infinite;
}
@keyframes scrollCue {
  0% { transform: translateY(-100%); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translateY(260%); opacity: 0; }
}
.hero__scroll-text { transition: color .3s var(--ease); }
.hero__scroll:hover .hero__scroll-text { color: var(--ink); }

/* ===================== CARDS (shared) ===================== */
.grid { display: grid; gap: clamp(14px, 1.6vw, 22px); }
.card {
  background: var(--porcelain);
  border: 1px solid var(--silver-line);
  border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 30px);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.card::before { /* metallic spotlight following cursor */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.55), transparent 60%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
  z-index: 1;
}
.card:hover::before { opacity: .65; }
.card > * { position: relative; z-index: 2; }

/* ===================== SERVICES ===================== */
.services { background: var(--sand); }
.services__grid { grid-template-columns: repeat(4, 1fr); }

.svc::after { /* sheen sweep on hover */
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,.5) 50%, transparent 65%);
  transform: translateX(-130%);
  transition: transform .85s var(--ease);
  pointer-events: none;
  z-index: 1;
}
.svc:hover { transform: translateY(-6px); border-color: var(--silver-mid); box-shadow: var(--shadow-lift); }
.svc:hover::after { transform: translateX(130%); }

.svc__icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: var(--ink);
  display: grid;
  place-items: center;
  color: var(--silver-hi);
  margin-bottom: 1.35rem;
  box-shadow: 0 0 0 1px var(--silver-line), 0 1px 0 rgba(255,255,255,.12) inset;
  transition: box-shadow .45s var(--ease), transform .55s var(--ease-out);
}
.svc__icon svg { width: 25px; height: 25px; transition: transform .55s var(--ease-out); }
.svc:hover .svc__icon { box-shadow: 0 0 0 1px var(--silver-mid), 0 0 18px -4px rgba(195,197,199,.7), 0 1px 0 rgba(255,255,255,.14) inset; }
.svc:hover .svc__icon svg { transform: rotate(-7deg) scale(1.08); }
.svc__name { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; letter-spacing: -.01em; margin-bottom: .5rem; }
.svc__desc { font-size: .95rem; color: var(--ink-soft); }

/* ===================== GALLERY ===================== */
.gallery { background: var(--sand-deep); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(150px, 19vw, 224px);
  gap: clamp(10px, 1.1vw, 16px);
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--silver-line);
  box-shadow: var(--shadow-card);
  background: var(--ink);
}
.gallery__item.is-feature { grid-column: span 2; grid-row: span 2; }
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.97) contrast(1.02);
  transition: transform .9s var(--ease-out), filter .5s var(--ease);
}
.gallery__item:hover img { transform: scale(1.06); filter: saturate(1.03) contrast(1.04); }
/* Crop a touch tighter for source photos with edge artefacts */
.gallery__item--crop img { transform: scale(1.16); }
.gallery__item--crop:hover img { transform: scale(1.22); }

.gallery__item::after { /* metallic top edge on hover */
  content: "";
  position: absolute;
  left: 14px; right: 14px; top: 0;
  height: 2px;
  background: var(--metal);
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  z-index: 3;
}
.gallery__item:hover::after { opacity: .9; transform: translateY(0); }

.gallery__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: .18rem;
  padding: 1.5rem 1.2rem 1.1rem;
  background: linear-gradient(to top, rgba(21,18,14,.86), rgba(21,18,14,.28) 58%, transparent);
  transform: translateY(0);
  transition: transform .45s var(--ease-out);
}
.gallery__item:hover figcaption { transform: translateY(-4px); }
.gallery__place {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--silver-hi);
}
.gallery__tag {
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--silver);
}
.gallery__item.is-feature .gallery__place { font-size: clamp(1.3rem, 2vw, 1.75rem); }
.gallery__item.is-feature .gallery__tag { font-size: .68rem; }

@media (max-width: 1024px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__item.is-feature { grid-column: auto; grid-row: auto; }
  .gallery__item.is-feature .gallery__place { font-size: clamp(1.05rem, 1.4vw, 1.22rem); }
}
@media (max-width: 560px) {
  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
}

/* ===================== TAILORED ===================== */
.tailored {
  background: var(--ink);
  color: var(--sand-soft);
}
.tailored__inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  perspective: 1200px;
}
.tailored__lede { color: rgba(247,242,233,.78); font-size: 1.1rem; max-width: 50ch; margin: 1.2rem 0 2.4rem; }

.tailored__list { display: grid; gap: 1.6rem; }
.tailored__list li { display: flex; gap: 1.1rem; align-items: flex-start; }
.tailored__num {
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--silver);
  flex: none;
  padding-top: .25rem;
  border-top: 2px solid var(--silver-lo);
  min-width: 34px;
}
.tailored__list h3 { font-family: var(--serif); font-weight: 500; font-size: 1.18rem; margin-bottom: .25rem; color: var(--silver-hi); }
.tailored__list p { color: rgba(247,242,233,.7); font-size: .96rem; }

/* Engraved metal plate */
.tailored__plate {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: var(--metal);
  padding: 2px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(132,136,140,.5);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .25s var(--ease-out);
  will-change: transform;
}
.plate__sheen {
  position: absolute; inset: 0;
  background: linear-gradient(125deg, rgba(255,255,255,.55) 8%, transparent 32%, transparent 64%, rgba(255,255,255,.35) 92%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 3;
}
.plate__engrave {
  position: relative;
  height: 100%;
  border-radius: calc(var(--radius) - 2px);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 2px, transparent 2px 5px),
    linear-gradient(160deg, #bfc1c3, #9a9da0 55%, #c4c6c8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: .7rem;
  text-align: center;
  padding: 2rem;
  box-shadow: inset 0 2px 6px rgba(255,255,255,.5), inset 0 -3px 8px rgba(40,42,44,.4);
}
.plate__brand {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #2b2924;
  text-shadow: 0 1px 0 rgba(255,255,255,.5), 0 -1px 1px rgba(0,0,0,.25);
  letter-spacing: -.01em;
}
.plate__motto { font-family: var(--mono); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: #4a4842; }
.plate__rule { width: 60px; height: 2px; background: rgba(40,42,44,.4); box-shadow: 0 1px 0 rgba(255,255,255,.5); }
.plate__specs {
  display: grid;
  grid-template-columns: auto auto;
  gap: .35rem 1.4rem;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .08em;
  color: #3c3a35;
  margin-top: .4rem;
}
.plate__specs span:nth-child(odd) { text-align: right; opacity: .65; text-transform: uppercase; }
.plate__specs span:nth-child(even) { text-align: left; font-weight: 700; }

/* ===================== WHY ===================== */
.why { background: var(--sand-deep); }
.why__grid { grid-template-columns: repeat(3, 1fr); }
.why__item { background: var(--porcelain); }
.why__item:hover { transform: translateY(-5px); border-color: var(--silver-mid); box-shadow: var(--shadow-lift); }
.why__mark {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--silver-line);
  background: var(--metal-soft);
  color: var(--ink);
  font-size: 1.25rem;
  font-family: var(--serif);
  margin-bottom: 1.15rem;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.7);
  transition: transform .55s var(--ease-out), box-shadow .45s var(--ease);
}
.why__item:hover .why__mark { transform: translateY(-2px) rotate(6deg); box-shadow: inset 0 1px 1px rgba(255,255,255,.7), 0 0 16px -3px rgba(195,197,199,.8); }
.why__item h3 { font-family: var(--serif); font-weight: 500; font-size: 1.24rem; margin-bottom: .4rem; }
.why__item p { color: var(--ink-soft); font-size: .96rem; }

/* ===================== PROCESS ===================== */
.process { background: var(--ink); color: var(--sand-soft); }
.process__track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2vw, 30px);
  counter-reset: step;
}
.process__step {
  position: relative;
  padding-top: 2.4rem;
  border-top: 2px solid var(--silver-lo);
}
.process__step::before { /* tick mark above number */
  content: "";
  position: absolute;
  top: -2px; left: 0;
  width: 46px; height: 2px;
  background: var(--metal);
  transition: width .6s var(--ease-out);
}
.process__step:hover::before { width: 100%; }
.process__no {
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--silver);
  letter-spacing: .1em;
}
.process__step h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.55rem;
  margin: .7rem 0 .55rem;
  color: var(--silver-hi);
}
.process__step p { color: rgba(247,242,233,.7); font-size: .96rem; }

/* ===================== REVIEWS ===================== */
.reviews { background: var(--sand); }
.reviews__grid { grid-template-columns: repeat(3, 1fr); }
.review { display: flex; flex-direction: column; gap: 1rem; }
.review:hover { transform: translateY(-5px); border-color: var(--silver-mid); box-shadow: var(--shadow-lift); }
.review::after { /* large quote mark */
  content: "\201D";
  position: absolute;
  top: .35rem; right: 1.1rem;
  font-family: var(--serif);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--silver-mid);
  opacity: .35;
  z-index: 1;
}
.review__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.review__verified {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: .35em;
}
.review__stars {
  background: var(--metal);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  font-size: 1.1rem;
  letter-spacing: .15em;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.6));
}
.review__avatar--verified { font-size: 1.15rem; color: var(--silver-hi); }
.review blockquote {
  font-family: var(--serif);
  font-size: 1.16rem;
  line-height: 1.45;
  color: var(--ink);
  font-weight: 400;
}
.review figcaption {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: .85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--silver-line);
}
.review__avatar {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--silver-hi);
  font-family: var(--serif);
  font-size: .92rem;
  letter-spacing: .03em;
  box-shadow: 0 0 0 1px var(--silver-line), inset 0 1px 0 rgba(255,255,255,.12);
}
.review__who { display: flex; flex-direction: column; gap: .12rem; }
.review__name { font-weight: 700; font-size: .96rem; }
.review__area { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; color: var(--ink-mute); text-transform: uppercase; }

/* ===================== CONTACT ===================== */
.contact { background: var(--ink); color: var(--sand-soft); }
.contact__inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(36px, 5vw, 76px);
}
.contact__lede { color: rgba(247,242,233,.78); font-size: 1.08rem; max-width: 44ch; margin: 1.1rem 0 2.4rem; }

.contact__details { display: grid; gap: 1.1rem; }
.contact__details li {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(195,197,199,.18);
}
.contact__label {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--silver);
}
.contact__details a, .contact__details span:last-child {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--silver-hi);
  transition: color .25s var(--ease);
  position: relative;
  overflow-wrap: anywhere;
}
.contact__details a { display: inline-block; }
.contact__details a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: var(--silver-lo);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.contact__details a:hover { color: #fff; }
.contact__details a:hover::after { transform: scaleX(1); }

/* Form */
.contact__form {
  background: var(--sand-soft);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 38px);
  box-shadow: 0 30px 60px -34px rgba(0,0,0,.6);
  border: 1px solid var(--silver-line);
}
.form__row { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.15rem; }
.form__split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__split .form__row { margin-bottom: 1.15rem; }
.contact__form label {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.contact__form input,
.contact__form select,
.contact__form textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--silver-line);
  border-radius: var(--radius-sm);
  padding: .8em .9em;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  width: 100%;
}
.contact__form textarea { resize: vertical; min-height: 110px; }
.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(21,18,14,.1);
}
.contact__form input::placeholder,
.contact__form textarea::placeholder { color: #a59c8c; }
.form__row.is-invalid input,
.form__row.is-invalid textarea { border-color: #9c4a3c; box-shadow: 0 0 0 3px rgba(156,74,60,.12); }
.form__error { font-size: .8rem; color: #9c4a3c; min-height: 1em; font-weight: 500; }

.form__submit { width: 100%; margin-top: .4rem; }
.form__success {
  margin-top: 1rem;
  padding: .9rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(21,18,14,.06);
  border: 1px solid var(--silver-line);
  font-size: .95rem;
  color: var(--ink);
}
.form__success.is-error {
  background: rgba(156,74,60,.08);
  border-color: rgba(156,74,60,.4);
  color: #7f3a2f;
}

/* ===================== FOOTER ===================== */
.footer { background: var(--ink-2); color: var(--sand-soft); position: relative; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 60px);
  padding-block: clamp(48px, 6vw, 76px) 2.4rem;
}
.brand--footer .brand__name { color: var(--silver-hi); }
.brand--footer .brand__mark { background: var(--ink); }
.brand--footer .brand__ltd { color: var(--silver); border-color: rgba(195,197,199,.35); }
.footer__brand p { color: rgba(247,242,233,.6); font-size: .95rem; max-width: 38ch; margin-top: 1.1rem; }

.footer__nav, .footer__contact { display: flex; flex-direction: column; gap: .6rem; }
.footer h4 {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: .4rem;
  font-weight: 400;
}
.footer__nav a, .footer__contact a, .footer__contact span {
  color: rgba(247,242,233,.72);
  font-size: .96rem;
  transition: color .25s var(--ease), transform .25s var(--ease);
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding-block: 2px; /* comfortable tap target */
}
.footer__nav a:hover, .footer__contact a:hover { color: var(--silver-hi); transform: translateX(3px); }

.footer__base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  padding-block: 1.6rem;
  border-top: 1px solid rgba(195,197,199,.16);
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .04em;
  color: rgba(247,242,233,.5);
}
.footer__legal { display: inline-flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.footer__legal a { color: rgba(247,242,233,.62); transition: color .25s var(--ease); }
.footer__legal a:hover { color: var(--silver-hi); }
.footer__sign { color: var(--silver); }

/* ===================== REVEAL ANIMATION ===================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .85s var(--ease-out), transform .85s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }
.reveal[data-delay="4"] { transition-delay: .36s; }

/* Hero entrance (only when JS active) */
.js .hero__copy > *,
.js .hero__panel {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.js .hero__panel { transform: translateY(34px) scale(.98); }
body.is-loaded .hero__copy > *,
body.is-loaded .hero__panel { opacity: 1; transform: none; }
.js .hero__copy > *:nth-child(1) { transition-delay: .15s; }
.js .hero__copy > *:nth-child(2) { transition-delay: .25s; }
.js .hero__copy > *:nth-child(3) { transition-delay: .35s; }
.js .hero__copy > *:nth-child(4) { transition-delay: .45s; }
.js .hero__copy > *:nth-child(5) { transition-delay: .55s; }
.js .hero__panel { transition-delay: .4s; }
.js .hero__scroll { opacity: 0; transition: opacity 1s var(--ease) 1.1s; }
body.is-loaded .hero__scroll { opacity: 1; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .process__track { grid-template-columns: repeat(2, 1fr); row-gap: 2.4rem; }
}

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__panel { max-width: 480px; }
  .hero__scroll { display: none; }
  .tailored__inner,
  .contact__inner { grid-template-columns: 1fr; }
  .tailored__plate { max-width: 380px; order: -1; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .services__grid,
  .why__grid,
  .process__track,
  .reviews__grid { grid-template-columns: 1fr; }
  .form__split { grid-template-columns: 1fr; gap: 0; }
  .hero__spec { grid-template-columns: 1fr 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__base { justify-content: flex-start; }
  .hero__actions .btn { flex: 1 1 auto; }
}

/* ===================== REDUCED MOTION ===================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal,
  .js .hero__copy > *,
  .js .hero__panel,
  .js .hero__scroll { opacity: 1; transform: none; }
  .spirit__bubble { left: 50%; }
  .preloader { display: none; }
  .cursor { display: none !important; }
  body.has-cursor { cursor: auto; }
}
