/* RD Loom: dark theme (Graphite and Brass) */

@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-var.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-var.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --graphite: #1F2226;
  --card: #2A2E34;
  --card-2: #252930;
  --border: #3B4048;
  --brass: #C9A24B;
  --brass-hi: #D8B45E;
  --linen: #ECE8DF;
  --white: #FFFFFF;
  --muted: #B9BCC2;
  --soft: #D9DBDF;

  /* Sora has no ₹ glyph, so DM Sans sits next in the stack to draw it */
  --font-head: "Sora", "DM Sans", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 20px;
  --max: 1160px;
  --header-h: 68px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0; color: var(--muted);
  /* soft brass light at the top, as on the WhatsApp cover */
  background: radial-gradient(1100px 620px at 78% -180px, rgba(201,162,75,.15), rgba(201,162,75,.04) 55%, transparent 75%) no-repeat, var(--graphite);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-head); color: var(--white); margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
li { text-wrap: pretty; }
a { color: inherit; }
em { font-style: normal; color: var(--brass); }
button { font: inherit; }
.sprite { display: none; }
.nw { white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 10px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brass); color: var(--graphite);
  font-weight: 700; padding: 10px 16px; border-radius: 12px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.eyebrow { font-weight: 700; text-transform: uppercase; letter-spacing: 2.5px; font-size: .74rem; color: var(--brass); margin-bottom: 14px; }
h2 { font-weight: 800; letter-spacing: -0.022em; line-height: 1.1; font-size: clamp(1.75rem, 2.4vw + 1.05rem, 2.6rem); }
.lede { color: var(--muted); font-size: clamp(1.05rem, .4vw + .98rem, 1.22rem); }

.tile { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--brass); color: var(--graphite); }
.tile .ico { width: 21px; height: 21px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 28px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 26px; border: 1px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .3s ease, border-color .3s ease, color .3s ease, transform .3s var(--ease);
}
.btn-brass { background: var(--brass); color: var(--graphite); }
.btn-brass:hover { background: var(--brass-hi); }
.btn-brass .ico { transition: transform .3s var(--ease); }
.btn-brass:hover .ico { transform: translateX(3px); }
.btn-line { background: transparent; color: var(--white); border-color: var(--border); }
.btn-line:hover { border-color: var(--brass); color: var(--brass); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  border-bottom: 1px solid transparent; transition: border-color .4s ease, background-color .4s ease;
}
.top.scrolled {
  background: rgba(31,34,38,.84); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: rgba(59,64,72,.7);
}
.top-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--white); }
.brand-mark { width: 32px; height: 32px; }
.brand-word { font-family: var(--font-head); font-weight: 600; font-size: 1.22rem; letter-spacing: -0.02em; white-space: nowrap; }
.brand-word b { font-weight: 800; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav > a:not(.btn) { display: none; text-decoration: none; color: var(--muted); font-size: .95rem; font-weight: 500; transition: color .25s ease; }
.nav > a:not(.btn):hover { color: var(--white); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 44px 0 36px; }
.hero h1 { font-weight: 800; letter-spacing: -0.028em; line-height: 1.06; font-size: clamp(2.1rem, 4.2vw + 1rem, 3.4rem); max-width: 14ch; }
.hero .lede { margin-top: 18px; max-width: 36ch; }
.hero-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 28px; }
.note-dot { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; }
.note-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 4px rgba(201,162,75,.16); }

.glance { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.glance a {
  display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 14px; text-decoration: none;
  background: var(--card); border: 1px solid var(--border); border-radius: 20px;
  transition: border-color .3s ease, background-color .3s ease, transform .3s var(--ease);
}
.glance a:hover { border-color: rgba(201,162,75,.6); transform: translateY(-2px); }
.glance b { display: block; font-family: var(--font-head); font-weight: 700; color: var(--white); font-size: .95rem; line-height: 1.25; letter-spacing: -0.01em; }
.glance small { display: block; margin-top: 4px; color: var(--brass); font-weight: 500; font-size: .82rem; }
.glance .tile { width: 34px; height: 34px; border-radius: 10px; }
.glance .tile .ico { width: 18px; height: 18px; }

/* Gentle entrance */
.js .fade { opacity: 0; transform: translateY(14px); animation: rise .9s var(--ease) forwards; }
.js .fade:nth-child(2) { animation-delay: .08s; }
.js .fade:nth-child(3) { animation-delay: .18s; }
.js .fade:nth-child(4) { animation-delay: .28s; }
.js .fade:nth-child(5) { animation-delay: .4s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding: 52px 0; }
.head { margin-bottom: 26px; }

/* Services tabs */
.tabs { overflow: hidden; }
.tablist {
  display: flex; gap: 8px; padding: 10px; overflow-x: auto; scrollbar-width: none;
  border-bottom: 1px solid var(--border); scroll-snap-type: x proximity;
}
.tablist::-webkit-scrollbar { display: none; }
.tablist [role="tab"] {
  flex: none; display: flex; align-items: center; gap: 10px; scroll-snap-align: start;
  padding: 7px 14px 7px 7px; border-radius: 18px; border: 1px solid transparent;
  background: transparent; color: var(--muted); cursor: pointer; text-align: left;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.tablist [role="tab"] .tile { width: 32px; height: 32px; border-radius: 10px; background: transparent; color: var(--brass); border: 1px solid var(--border); transition: background-color .3s ease, color .3s ease, border-color .3s ease; }
.tablist [role="tab"] .tile .ico { width: 17px; height: 17px; }
.tab-text b { display: block; font-family: var(--font-head); font-weight: 700; font-size: .92rem; letter-spacing: -0.01em; white-space: nowrap; }
.tab-text small { display: none; }
.tablist [role="tab"]:hover { color: var(--white); }
.tablist [aria-selected="true"] { background: var(--card-2); color: var(--white); border-color: var(--border); }
.tablist [aria-selected="true"] .tile { background: var(--brass); color: var(--graphite); border-color: var(--brass); }

.panels { display: grid; padding: 24px 20px 26px; }
.panel { grid-area: 1 / 1; }
.js .panel { opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .45s ease, transform .55s var(--ease), visibility 0s linear .45s; }
.js .panel.on { opacity: 1; visibility: visible; transform: none; transition: opacity .55s ease .05s, transform .6s var(--ease) .05s, visibility 0s; }
.panel:focus-visible { outline-offset: 6px; }
.tag { font-weight: 700; text-transform: uppercase; letter-spacing: 2.5px; font-size: .72rem; color: var(--brass); }
.panel h3 { font-weight: 800; letter-spacing: -0.022em; font-size: clamp(1.5rem, 1.6vw + 1.05rem, 2.2rem); margin: 6px 0 10px; }
.desc { color: var(--soft); max-width: 52ch; }
.examples { margin-top: 18px; padding: 14px 16px; border-radius: 18px; background: var(--card-2); border: 1px solid var(--border); }
.ex-title { font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: .7rem; color: var(--brass); margin-bottom: 6px; }
.examples li { padding: 6px 0; font-size: .95rem; line-height: 1.45; }
.examples li + li { border-top: 1px solid rgba(59,64,72,.6); }
.examples li span { color: var(--muted); }
.examples li .ico { display: inline-block; vertical-align: -0.18em; width: 1em; height: 1em; margin: 0 7px; color: var(--brass); }
.examples li b { color: var(--white); font-weight: 700; }
.terms { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 2px 16px; margin-top: 18px; }
.price { font-family: var(--font-head); font-weight: 800; letter-spacing: -0.02em; color: var(--brass); font-size: clamp(1.45rem, 1vw + 1.1rem, 1.9rem); line-height: 1.2; }
.when { font-size: .95rem; }
.fine { margin-top: 6px; font-size: .88rem; }

/* How we work: see the version 6 block at the end */

/* Our work (switched off until there is real, approved work to show) */
.work-grid { display: grid; gap: 16px; }
.work-card { overflow: hidden; }
.work-card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-bottom: 1px solid var(--border); }
.work-text { padding: 20px 22px 24px; }
.work-text h3 { font-size: 1.15rem; margin-top: 6px; }
.work-text p:last-child { color: var(--soft); margin-top: 4px; }

/* Contact */
.contact-grid { display: grid; gap: 26px; }
.contact-intro .lede { margin-top: 10px; }
.form { padding: 22px 18px; display: grid; gap: 16px; }
.row { display: grid; gap: 16px; border: 0; margin: 0; padding: 0; min-width: 0; }
.row.pair { grid-template-columns: 1fr 1fr; gap: 12px; }
.row.pair legend { grid-column: 1 / -1; float: left; width: 100%; }
.row legend { padding: 0; margin-bottom: 10px; color: var(--white); font-weight: 500; font-size: .95rem; }
.row legend span { color: var(--muted); font-weight: 400; font-size: .88rem; margin-left: 4px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { color: var(--white); font-weight: 500; font-size: .92rem; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--white);
  background: var(--graphite); border: 1px solid var(--border); border-radius: 14px;
  padding: 12px 14px; min-height: 48px; transition: border-color .25s ease, box-shadow .25s ease;
}
textarea { resize: vertical; min-height: 96px; }
select {
  appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A24B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(201,162,75,.22); }
[aria-invalid="true"] { border-color: #E07A6B; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: .95rem; }
.form-status:empty { display: none; }
.form-status.err { color: #F0A597; }
.form-status.ok { color: var(--white); background: rgba(201,162,75,.12); border: 1px solid rgba(201,162,75,.45); padding: 12px 14px; border-radius: 14px; }
.actions { display: grid; gap: 10px; }
.actions .btn { width: 100%; }
.form-note { text-align: center; font-size: .88rem; }

/* Footer */
.foot { border-top: 1px solid var(--border); padding: 24px 0 30px; }
.foot-inner { display: flex; flex-direction: column; gap: 12px; }
.brand-sm .brand-mark { width: 26px; height: 26px; }
.brand-sm .brand-word { font-size: 1.05rem; }
.foot p { font-size: .88rem; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Tablet ---------- */
@media (min-width: 768px) {
  .work-grid { grid-template-columns: 1fr 1fr; }
  :root { --gutter: 40px; --header-h: 76px; }
  .nav > a:not(.btn) { display: inline; }
  .hero { padding: 72px 0 56px; }
  .glance { grid-template-columns: repeat(4, 1fr); margin-top: 56px; }
  .section { padding: 72px 0; }
  .tab-text small { display: block; font-size: .78rem; color: var(--muted); margin-top: 1px; }
  .panels { padding: 32px 34px 34px; }
  .row { grid-template-columns: 1fr 1fr; }
  .row legend { grid-column: 1 / -1; float: left; width: 100%; }
  .form { padding: 30px; }
  .actions { grid-template-columns: 1fr 1fr; }
  .foot-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1080px) {
  body { background: radial-gradient(1300px 700px at 50% -260px, rgba(201,162,75,.16), rgba(201,162,75,.04) 55%, transparent 75%) no-repeat, var(--graphite); }
  .hero { min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; padding: 40px 0; }
  .hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .hero h1 { max-width: 15ch; }
  .hero .lede { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .glance { width: 100%; margin-top: 64px; gap: 0; background: var(--card); border: 1px solid var(--border); border-radius: 26px; overflow: hidden; text-align: left; }
  .glance li + li { border-left: 1px solid var(--border); }
  .glance a { flex-direction: row; align-items: center; gap: 14px; padding: 20px 22px; border: 0; border-radius: 0; background: transparent; }
  .glance a:hover { transform: none; background: #30353C; }

  .section { padding: 84px 0; }
  .head { margin-bottom: 34px; }
  .tabs { display: grid; grid-template-columns: 330px 1fr; }
  .tablist { flex-direction: column; overflow: visible; border-bottom: 0; border-right: 1px solid var(--border); padding: 14px; gap: 6px; }
  .tablist [role="tab"] { padding: 12px 14px 12px 12px; border-radius: 18px; }
  .tablist [role="tab"] .tile { width: 40px; height: 40px; border-radius: 12px; }
  .tablist [role="tab"] .tile .ico { width: 20px; height: 20px; }
  .tab-text b { font-size: 1rem; white-space: normal; }
  .panels { padding: 40px 48px; }
  .terms { margin-top: 22px; }

  .work-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .contact-grid { grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: center; }
  .form { padding: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation-duration: .01ms !important; animation-delay: 0s !important; }
  .js .reveal, .js .fade { opacity: 1; transform: none; }
}

/* ======================================================================
   Version 4: hero 3D scene and background texture
   ====================================================================== */

/* Woven texture from the logo, very faint, fading out downwards */
.hero, .contact { position: relative; isolation: isolate; }
.hero::after, .contact::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Crect x='5' y='8' width='12' height='6' rx='3' fill='%23C9A24B' fill-opacity='.16' transform='rotate(45 11 11)'/%3E%3Crect x='27' y='30' width='12' height='6' rx='3' fill='%23ECE8DF' fill-opacity='.11' transform='rotate(135 33 33)'/%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 30%, #000 0%, rgba(0,0,0,.35) 45%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 70% 30%, #000 0%, rgba(0,0,0,.35) 45%, transparent 75%);
}
.contact::after {
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 15% 60%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 70% at 15% 60%, #000 0%, transparent 70%);
}
/* Soft light pools so the page isn't one flat colour */
.services, .how { position: relative; isolation: isolate; }
.services, .how, .contact { overflow: hidden; overflow: clip; }
.services::before, .how::before, .contact::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; border-radius: 50%;
  width: 760px; height: 560px;
}
.services::before { left: -380px; top: 18%; background: radial-gradient(closest-side, rgba(201,162,75,.09), transparent 70%); }
.how::before { right: -360px; top: 10%; background: radial-gradient(closest-side, rgba(236,232,223,.05), transparent 70%); }
.contact::before { left: 30%; bottom: -260px; background: radial-gradient(closest-side, rgba(201,162,75,.10), transparent 70%); }
.foot { position: relative; background: linear-gradient(to bottom, transparent, rgba(0,0,0,.18)); }

/* ---------- 3D scene ---------- */
.scene {
  --sw: 220px; --sh: 156px;
  position: relative; height: 320px; margin-top: 6px;
  perspective: 1000px; perspective-origin: 50% 40%;
}
.stage { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.site {
  position: absolute; left: 50%; top: 46%; width: var(--sw); height: var(--sh);
  margin: calc(var(--sh) / -2) 0 0 calc(var(--sw) / -2); transform-style: preserve-3d;
}
.layer { position: absolute; will-change: transform; }
.l-frame {
  inset: 0; border-radius: 14px; background: linear-gradient(160deg, #31363E, #262A30);
  border: 1px solid #454B54; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8);
  padding: 8px 10px; display: flex; align-items: flex-start; gap: 4px;
}
.l-frame i { width: 6px; height: 6px; border-radius: 50%; background: #4A505A; flex: none; }
.l-frame i:first-child { background: var(--brass); }
.l-frame .bar { margin-left: 8px; height: 6px; flex: 1; max-width: 46%; border-radius: 6px; background: #3B4048; }
.ln { display: block; height: 5px; border-radius: 5px; background: #4A505A; }
.l-nav { left: 7%; right: 7%; top: 19%; height: 8%; display: flex; align-items: center; gap: 8px; }
.l-nav .logo-dot { width: 12px; height: 12px; border-radius: 4px; background: var(--brass); transform: rotate(45deg); flex: none; margin-right: auto; }
.l-nav .ln { width: 14%; }
.l-nav .ln.short { width: 9%; }
.l-hero {
  left: 7%; top: 33%; width: 60%; padding: 9px 10px 10px; border-radius: 10px;
  background: rgba(31,34,38,.92); border: 1px solid #3B4048; display: grid; gap: 6px;
}
.demo-name {
  font-family: var(--font-head); font-weight: 600; font-size: .72rem; line-height: 1.2; letter-spacing: -0.01em; color: var(--white);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: opacity .35s ease, transform .35s var(--ease);
}
.demo-name.swap { opacity: 0; transform: translateY(4px); }
.l-hero .ln.wide { width: 92%; }
.l-hero .ln { width: 70%; background: #3E444D; }
.l-hero .pill { width: 38%; height: 9px; border-radius: 9px; background: var(--brass); margin-top: 2px; }
.l-cards { left: 7%; right: 7%; bottom: 8%; height: 21%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.l-cards span { border-radius: 8px; background: #2C3036; border: 1px solid #3F454E; position: relative; overflow: hidden; }
.l-cards span::before { content: ""; position: absolute; left: 7px; top: 7px; width: 12px; height: 12px; border-radius: 4px; background: var(--brass); }
.l-chat {
  right: -9%; top: 30%; display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 14px 14px 14px 4px;
  background: var(--brass); color: var(--graphite); box-shadow: 0 14px 30px -14px rgba(201,162,75,.8);
}
.l-chat .ico { width: 14px; height: 14px; }
.l-chat .ln { width: 30px; background: rgba(31,34,38,.45); }

.ring { position: absolute; left: 50%; top: 46%; width: 0; height: 0; transform-style: preserve-3d; }
.ring li {
  position: absolute; left: 0; top: 0; white-space: nowrap; will-change: transform, opacity;
  padding: 5px 10px; border-radius: 99px; font-size: .7rem; font-weight: 600; color: var(--soft);
  background: #2A2E34; border: 1px solid var(--border);
}
.ring li:nth-child(n+7) { display: none; }
.ring li.front { color: var(--graphite); background: var(--brass); border-color: var(--brass); }
.floor {
  position: absolute; left: 50%; top: 46%; width: 420px; height: 420px; margin: -210px 0 0 -210px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(201,162,75,.20), rgba(201,162,75,.05) 55%, transparent 72%);
  transform: translateY(110px) rotateX(90deg);
}

@media (min-width: 768px) {
  .scene { --sw: 300px; --sh: 212px; height: 420px; }
  .ring li:nth-child(n+7) { display: block; }
  .demo-name { font-size: 1.05rem; }
  .ring li { font-size: .85rem; padding: 7px 14px; }
  .floor { width: 560px; height: 560px; margin: -280px 0 0 -280px; transform: translateY(150px) rotateX(90deg); }
}
@media (min-width: 1080px) {
  .hero-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; column-gap: 24px; text-align: left; }
  .hero-text { align-self: center; }
  .hero h1 { max-width: 13ch; font-size: clamp(2.6rem, 1.8vw + 1.5rem, 3.4rem); }
  .hero .lede { margin-inline: 0; }
  .hero-cta { justify-content: flex-start; }
  .scene { --sw: 330px; --sh: 234px; height: 500px; margin-top: 0; }
  .glance { grid-column: 1 / -1; margin-top: 40px; }
  .hero::after { -webkit-mask-image: radial-gradient(ellipse 55% 75% at 75% 40%, #000 0%, rgba(0,0,0,.3) 50%, transparent 78%); mask-image: radial-gradient(ellipse 55% 75% at 75% 40%, #000 0%, rgba(0,0,0,.3) 50%, transparent 78%); }
}
.js .scene.fade { animation-delay: .3s; }
.js .glance.fade { animation-delay: .45s; }

/* ======================================================================
   Version 6: lighter type, service accordion on phones and tablets,
   step-by-step How we work, questions, fuller contact
   ====================================================================== */

/* Type: semi-bold headings, medium labels, light lead text */
h1, h2, .hero h1 { font-weight: 500; }
.hero h1 { letter-spacing: -0.028em; line-height: 1.08; }
h1 em, h2 em { font-weight: 600; }
h2 { letter-spacing: -0.024em; line-height: 1.14; }
h3, .panel h3 { font-weight: 600; }
.lede { font-weight: 300; }
.btn { font-weight: 600; }
.eyebrow, .tag, .ex-title { font-weight: 600; }
.glance b, .tab-text b { font-weight: 600; }
.price { font-weight: 600; }
.examples li b { font-weight: 500; }
.brand-word { font-weight: 400; letter-spacing: -0.025em; }
.brand-word b { font-weight: 700; }

/* ---- Services as an accordion below 1080px ---- */
.tabs.acc { overflow: visible; background: transparent; border: 0; border-radius: 0; }
.acc .tablist { display: grid; gap: 10px; overflow: visible; padding: 0; border: 0; }
.acc .acc-item { background: var(--card); border: 1px solid var(--border); border-radius: 22px; transition: border-color .3s ease; }
.acc .acc-item.open { border-color: rgba(201,162,75,.55); }
.acc .acc-btn {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border: 0; border-radius: 22px;
  background: transparent; color: var(--soft); text-align: left; cursor: pointer; font: inherit;
}
.acc .acc-btn .tile { width: 40px; height: 40px; border-radius: 12px; background: transparent; color: var(--brass); border: 1px solid var(--border); transition: background-color .3s ease, color .3s ease, border-color .3s ease; }
.acc .acc-btn .tile .ico { width: 19px; height: 19px; }
.acc .acc-btn .tab-text { flex: 1; min-width: 0; }
.acc .acc-btn .tab-text b { white-space: normal; font-size: 1rem; color: var(--white); }
.acc .acc-btn .tab-text small { display: block; font-size: .78rem; color: var(--muted); margin-top: 2px; }
.acc .acc-btn .chev { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; color: var(--brass); transition: transform .45s var(--ease), background-color .3s ease; }
.acc .acc-btn .chev::before { content: ""; width: 8px; height: 8px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.acc .open .acc-btn .chev { transform: rotate(180deg); }
.acc .open .acc-btn .tile { background: var(--brass); color: var(--graphite); border-color: var(--brass); }
.acc .acc-btn:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.acc .acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.acc .open .acc-body { grid-template-rows: 1fr; }
.acc .acc-body > .panel { min-height: 0; overflow: hidden; padding: 0 18px; opacity: 1; visibility: visible; transform: none; transition: none; }
.acc .acc-body > .panel > :first-child { margin-top: 2px; }
.acc .acc-body > .panel > :last-child { margin-bottom: 20px; }
.acc .panel .tag { display: none; }
.acc .panel h3 { display: none; }
.acc .panels { display: none; }

/* ---- How we work: a timeline that fills as you scroll ---- */
.timeline { position: relative; }
.steps { display: grid; gap: 30px; }
.steps li { position: relative; display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; align-items: start; align-content: start; }
.num {
  position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
  background: var(--graphite); border: 1px solid var(--border); color: var(--muted);
  font-family: var(--font-head); font-weight: 600; transition: background-color .5s ease, color .5s ease, border-color .5s ease, box-shadow .5s ease;
}
.steps h3 { font-size: 1.1rem; letter-spacing: -0.01em; padding-top: 9px; }
.steps p { color: var(--soft); font-size: .98rem; margin-top: 4px; max-width: 34ch; }
.track { position: absolute; left: 21.5px; top: 22px; bottom: 22px; width: 1px; background: var(--border); }
.track i { position: absolute; inset: 0; background: linear-gradient(var(--brass), rgba(201,162,75,.5)); transform-origin: top; transform: scaleY(0); }
.js .steps .step-text { opacity: .28; transform: translateY(10px); transition: opacity .6s ease, transform .7s var(--ease); }
.steps li.lit .num { background: var(--brass); border-color: var(--brass); color: var(--graphite); box-shadow: 0 0 0 6px rgba(201,162,75,.12); }
.js .steps li.lit .step-text { opacity: 1; transform: none; }

/* ---- Questions ---- */
.faq-grid { display: grid; gap: 8px; }
.faq .head .lede { margin-top: 12px; }
.faq-list { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 20px; transition: border-color .3s ease; }
.faq details[open] { border-color: rgba(201,162,75,.45); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 18px; color: var(--white); font-weight: 500; font-size: 1.02rem; border-radius: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; color: var(--brass); font-size: 1.1rem; line-height: 1; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.faq details p { padding: 0 18px 18px; color: var(--soft); font-size: .98rem; max-width: 62ch; }
.faq { position: relative; isolation: isolate; }

/* ---- Contact: what happens next ---- */
.next { display: grid; gap: 16px; margin-top: 28px; }
.next li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.next .tile { width: 40px; height: 40px; }
.next .tile .ico { width: 19px; height: 19px; }
.next b { display: block; color: var(--white); font-weight: 500; }
.next p { font-size: .94rem; margin-top: 2px; }

@media (min-width: 768px) {
  .faq-list details summary { padding: 18px 22px; }
  .faq details p { padding: 0 22px 20px; }
}
@media (min-width: 1080px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .steps li { grid-template-columns: 1fr; row-gap: 22px; }
  .steps h3 { padding-top: 0; font-size: 1.15rem; }
  .track { left: 22px; right: calc((100% - 84px) / 4 - 22px); top: 21.5px; bottom: auto; width: auto; height: 1px; }
  .track i { background: linear-gradient(to right, var(--brass), rgba(201,162,75,.5)); transform-origin: left; transform: scaleX(0); }
  .faq-grid { grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
  .contact-grid { align-items: start; }
  .contact-intro { padding-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .track i { transform: none !important; }
}

/* ---- Floating shortcuts ---- */
.floaters {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40;
  display: grid; justify-items: center; gap: 10px;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .35s ease, transform .45s var(--ease), visibility 0s linear .35s;
}
.floaters.show { opacity: 1; visibility: visible; transform: none; transition: opacity .35s ease, transform .45s var(--ease), visibility 0s; }
.float-btn { display: grid; place-items: center; border-radius: 50%; cursor: pointer; transition: transform .25s ease, background-color .25s ease, opacity .3s ease; }
.float-btn .ico { width: 20px; height: 20px; }
.float-btn:hover { transform: translateY(-2px); }
.float-btn:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.float-top { width: 42px; height: 42px; background: var(--card); color: var(--white); border: 1px solid var(--border); }
.float-wa { width: 54px; height: 54px; background: var(--brass); color: var(--graphite); border: 0; box-shadow: 0 8px 22px rgba(0,0,0,.35); }
.float-wa .ico { width: 24px; height: 24px; }
.float-wa:hover { background: var(--brass-hi); }
.floaters.at-form .float-wa { opacity: 0; visibility: hidden; pointer-events: none; }
@media (min-width: 1080px) { .floaters { right: 28px; bottom: 28px; } }

/* ---- One Get in touch at a time: the header button arrives once the hero's is gone ---- */
.head-cta { transition: opacity .35s ease, transform .45s var(--ease), visibility 0s; }
.top.cta-hide .head-cta { opacity: 0; transform: translateY(-6px); visibility: hidden; pointer-events: none; transition: opacity .25s ease, transform .3s ease, visibility 0s linear .3s; }

/* ---- Questions slide open and closed ---- */
.faq-body { overflow: hidden; }

/* ---- WhatsApp buttons in WhatsApp green ---- */
.btn-wa { background: #25D366; color: #0B141A; }
.btn-wa:hover { background: #3BE07A; }
.float-wa { background: #25D366; color: #FFFFFF; }
.float-wa:hover { background: #1EBE5A; }
.float-wa .ico { stroke-width: 2; }

/* ---- Logo: threads weave in on load, a glint runs through now and then,
        and the mark turns on hover ---- */
.live-mark { overflow: visible; }
.live-mark .cap { transform-box: fill-box; transform-origin: center; }
.live-mark .spin { transform-box: view-box; transform-origin: 50% 50%; }
.live-word { display: inline-flex; overflow: hidden; padding-bottom: .08em; }
.live-word > * { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  /* gold threads slide in sideways, cream threads drop in, like a weave being made */
  .live-mark .weft { animation: weft-in .9s cubic-bezier(.2,1.35,.35,1) backwards, glint 7s ease-in-out infinite; }
  .live-mark .weft.alt { animation-name: weft-in-alt, glint; }
  .live-mark .warp { animation: warp-in .9s cubic-bezier(.2,1.35,.35,1) backwards, glint 7s ease-in-out infinite; }
  .live-mark .warp.alt { animation-name: warp-in-alt, glint; }
  .live-mark .cap { animation-delay: calc(var(--i) * 75ms + .1s), calc(var(--i) * 90ms + 1.5s); }
  /* then the name rises in */
  .live-word > b { animation: word-in .7s var(--ease) .55s backwards; }
  .live-word > span { animation: word-in .7s var(--ease) .68s backwards; }
  /* hover: the mark makes a springy half turn and lands back on its own pattern */
  .live-mark .spin { transition: transform .9s cubic-bezier(.34,1.56,.64,1); }
  .brand:hover .live-mark .spin, .brand:focus-visible .live-mark .spin { transform: rotate(180deg); }
}
@keyframes weft-in { from { opacity: 0; transform: translateX(-46px); } }
@keyframes weft-in-alt { from { opacity: 0; transform: translateX(46px); } }
@keyframes warp-in { from { opacity: 0; transform: translateY(-46px); } }
@keyframes warp-in-alt { from { opacity: 0; transform: translateY(46px); } }
@keyframes word-in { from { opacity: 0; transform: translateY(70%); } }
@keyframes glint { 0%, 12%, 100% { filter: none; } 5% { filter: brightness(1.6) drop-shadow(0 0 2px rgba(255,236,190,.9)); } }
