/* ==========================================================================
   Gorgeous Furnishings Pte Ltd — design system
   Ground + accent derived from the client's own logo (teal / plum / yellow).
   ONE radius system. ONE accent, frozen to six placements.
   ========================================================================== */

@font-face{font-family:Figtree;font-style:normal;font-weight:400 900;font-display:swap;
  src:url(../fonts/figtree.woff2) format('woff2');}
@font-face{font-family:Manrope;font-style:normal;font-weight:400 800;font-display:swap;
  src:url(../fonts/manrope.woff2) format('woff2');}

:root{
  /* ground + surfaces — derived from the logo's teal, never near-black */
  --ink:#062B2C;
  --ink-2:#0B3B3C;
  --ink-3:#134A4B;
  --cream:#F7F4EF;
  --cream-2:#EFEAE1;
  --paper:#FDFCFA;   /* warm off-white; house rule bans a pure white ground */

  /* brand */
  --teal:#007D7F;
  --plum:#7C1F78;      /* accent-ink: small text, active states, labels */
  --yellow:#FFDF00;    /* THE accent — six placements only */

  --body:#3F4A4A;
  --body-dim:rgba(247,244,239,.72);
  --line:rgba(6,43,44,.16);
  --line-dark:rgba(247,244,239,.22);

  /* ONE radius system, held everywhere */
  --r:16px;
  --pill:999px;

  --gutter:20px;
  --maxw:1300px;
  --section:clamp(84px,12vw,150px);
}
@media(min-width:900px){ :root{ --gutter:32px; } }

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{
  background:var(--cream);color:var(--body);
  font-family:Manrope,'Manrope Placeholder',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-weight:500;font-size:16.5px;line-height:1.62;
  -webkit-font-smoothing:antialiased;overflow-x:clip;
}
img,video{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
:focus-visible{outline:3px solid var(--plum);outline-offset:3px;border-radius:4px}

.wrap{max-width:var(--maxw);margin:0 auto;padding-left:var(--gutter);padding-right:var(--gutter);width:100%}
.sec{padding-block:var(--section)}
/* grid items default to min-width:auto, which lets wide content blow the track out */
.two-grid>*,.svc-grid>*,.form>*,.about-grid>*,.ct-grid>*,.ft-top>*{min-width:0}

/* ---- type ------------------------------------------------------------- */
.display{font-family:Figtree,Manrope,sans-serif;font-weight:800;letter-spacing:-.042em;line-height:.98}
h1.hero-h1{
  font-family:Figtree,Manrope,sans-serif;font-weight:800;
  font-size:clamp(3.1rem,13.5vw,8.4rem);line-height:.9;letter-spacing:-.048em;
  color:var(--paper);max-width:12ch;text-wrap:balance;
}
h2.sec-h{
  font-family:Figtree,Manrope,sans-serif;font-weight:800;
  font-size:clamp(2.3rem,6.4vw,4.5rem);line-height:.98;letter-spacing:-.042em;
  color:var(--ink);max-width:16ch;text-wrap:balance;
}
h2.sec-h.on-dark{color:var(--cream)}
h3{font-family:Figtree,Manrope,sans-serif;font-weight:800;letter-spacing:-.03em;line-height:1.05;color:var(--ink)}

/* micro-label — a fabric-label register, never monospace.
   word-spacing compensates for the wide tracking so gaps don't collapse. */
.label{
  font-family:Manrope,sans-serif;font-weight:700;font-size:11.5px;line-height:1.4;
  text-transform:uppercase;letter-spacing:.14em;word-spacing:.12em;color:var(--plum);
}
.label.on-dark{color:#E8B9E6}
.lede{font-size:clamp(17px,2.2vw,20px);line-height:1.55;color:var(--body);max-width:46ch}
.lede.on-dark{color:var(--body-dim)}
.measure{max-width:52ch}

/* ---- buttons — solid colour, no sheen, one pill radius ------------------ */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:12px;
  min-height:56px;padding:14px 26px;border-radius:var(--pill);
  font-weight:700;font-size:16px;letter-spacing:-.005em;
  transition:transform .25s cubic-bezier(.2,.7,.3,1),background-color .25s,color .25s;
  will-change:transform;
}
.btn:active{transform:scale(.975)}
/* ACCENT #2 + #3 — the only two yellow buttons on the site */
.btn-accent{background:var(--yellow);color:var(--ink)}
.btn-accent:hover{background:#FFE84D}
.btn-accent .dot{width:11px;height:11px;border-radius:var(--pill);background:var(--ink);flex:none}
.btn-ghost{border:1.5px solid var(--line);color:var(--ink);background:transparent}
.btn-ghost:hover{background:var(--ink);color:var(--cream);border-color:var(--ink)}
.btn-ghost.on-dark{border-color:var(--line-dark);color:var(--cream)}
.btn-ghost.on-dark:hover{background:var(--cream);color:var(--ink)}

/* ---- header ------------------------------------------------------------ */
.hdr{position:absolute;top:0;left:0;right:0;z-index:40;padding-top:env(safe-area-inset-top)}
.hdr.solid{position:sticky;background:var(--ink);border-bottom:1px solid var(--line-dark)}
.hdr-in{max-width:var(--maxw);margin:0 auto;padding:0 var(--gutter);height:64px;
  display:flex;align-items:center;justify-content:space-between;gap:18px}
/* .32 left the nav at 2.2:1 over the bright frames of the hero video; the bar
   now carries its own scrim so contrast holds across the whole loop */
.hdr-glass{background:linear-gradient(to bottom,rgba(6,43,44,.82),rgba(6,43,44,.58));
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(247,244,239,.14)}
.brand{display:flex;align-items:center;gap:10px;min-width:0;min-height:44px}
.brand img{height:34px;width:auto;border-radius:0}
.brand-txt{font-family:Figtree,sans-serif;font-weight:800;letter-spacing:-.03em;font-size:17px;
  color:var(--cream);line-height:1;white-space:nowrap}
.brand-txt small{display:block;font-family:Manrope,sans-serif;font-weight:600;font-size:11px;
  letter-spacing:.15em;word-spacing:.1em;text-transform:uppercase;color:rgba(247,244,239,.86);margin-top:3px}
.nav{display:none;gap:30px;align-items:center}
.nav a{font-size:14.5px;font-weight:600;color:rgba(247,244,239,.94);position:relative;padding:6px 0}
.nav a:hover{color:var(--cream)}
/* ACCENT #5 — active nav underline */
.nav a.active{color:var(--cream)}
.nav a.active::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2.5px;
  background:var(--yellow);border-radius:var(--pill)}
.hdr-tel{display:none;font-weight:700;font-size:15px;color:var(--cream);white-space:nowrap}
.hdr-tel:hover{color:var(--cream)}
.burger{display:inline-flex;flex-direction:column;justify-content:center;gap:5px;
  width:46px;height:46px;align-items:center;border-radius:var(--pill)}
.burger span{display:block;width:21px;height:2px;background:var(--cream);border-radius:2px;
  transition:transform .3s,opacity .2s}
.burger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
@media(min-width:1000px){
  .nav{display:flex}
  .hdr-tel{display:block}
  .burger{display:none}
  .hdr-in{height:74px}
}
/* drawer */
/* visibility:hidden while closed — otherwise the off-screen drawer links stay
   keyboard-focusable and tab order walks into a panel nobody can see */
.drawer{position:fixed;inset:0;z-index:60;background:var(--ink);
  transform:translateY(-100%);visibility:hidden;
  transition:transform .42s cubic-bezier(.65,0,.35,1),visibility 0s linear .42s;
  display:flex;flex-direction:column;padding:var(--gutter);padding-top:calc(84px + env(safe-area-inset-top));overflow-y:auto}
.drawer.open{transform:translateY(0);visibility:visible;transition-delay:0s}
.drawer a.d-link{font-family:Figtree,sans-serif;font-weight:800;letter-spacing:-.035em;
  font-size:clamp(2rem,10vw,2.9rem);line-height:1.18;color:var(--cream);padding:9px 0;
  border-bottom:1px solid var(--line-dark)}
/* the drawer's active item was the largest yellow area on the mobile site,
   outranking the CTA. Reuse the nav's underline instead of a colour fill. */
.drawer a.d-link.active{color:var(--cream);position:relative}
.drawer a.d-link.active::before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);
  width:4px;height:26px;border-radius:var(--pill);background:var(--yellow)}
.drawer a.d-link.active{padding-left:16px}
.drawer-foot{margin-top:auto;padding-top:30px;display:flex;flex-direction:column;gap:4px}
.drawer-foot a{color:rgba(247,244,239,.8);font-weight:600;font-size:15.5px;
  display:flex;align-items:center;min-height:44px}
.drawer-close{position:absolute;top:calc(9px + env(safe-area-inset-top));right:var(--gutter)}
body.locked{overflow:hidden}

/* ---- HERO (home) — full-bleed video, bottom-left stack ------------------ */
.hero{position:relative;min-height:100svh;display:flex;align-items:flex-end;overflow:hidden;background:var(--ink)}
.hero-media{position:absolute;inset:0;z-index:0}
.hero-media video,.hero-media img{width:100%;height:100%;object-fit:cover}
.hero-wash{position:absolute;inset:0;z-index:1;
  background:linear-gradient(236deg,rgba(6,43,44,0) 42%,rgba(6,43,44,.82) 97%),
             linear-gradient(to top,rgba(6,43,44,.88) 0%,rgba(6,43,44,.58) 30%,rgba(6,43,44,0) 60%)}
.hero-in{position:relative;z-index:2;width:100%;max-width:var(--maxw);margin:0 auto;
  padding:0 var(--gutter) calc(58px + env(safe-area-inset-bottom));
  display:flex;flex-direction:column;align-items:flex-start;gap:22px}
.hero-sub{font-size:17px;font-weight:500;line-height:1.5;color:rgba(247,244,239,.9);max-width:34ch}
.hero-cta{margin-top:4px}
@media(min-width:1000px){
  .hero-in{flex-direction:row;align-items:flex-end;justify-content:space-between;
    padding-bottom:56px;gap:40px}
  .hero-stack{display:flex;flex-direction:column;align-items:flex-start;gap:20px;max-width:660px}
  .hero-cta{margin-top:0;flex:none}
  .hero-sub{font-size:18px}
}
@keyframes scrolldot{0%,100%{transform:translate(-50%,0);opacity:0}45%{opacity:1}80%{transform:translate(-50%,11px);opacity:0}}

/* ---- compact page header (every inner page) ---------------------------- */
.phead{position:relative;min-height:44vh;display:flex;align-items:flex-end;background:var(--ink);overflow:hidden}
@media(min-width:900px){.phead{min-height:52vh}}
.phead-img{position:absolute;inset:0;z-index:0}
/* .55 opacity + a 42%-at-the-top scrim buried the photograph — on mobile the
   curtain read as green sludge. Lift the image, weight the scrim to the bottom
   where the text actually sits. */
.phead-img img{width:100%;height:100%;object-fit:cover;opacity:.78}
.phead::after{content:"";position:absolute;inset:0;z-index:1;
  background:linear-gradient(to top,rgba(6,43,44,.93) 0%,rgba(6,43,44,.62) 38%,rgba(6,43,44,.16) 78%,rgba(6,43,44,.06) 100%)}
.phead-in{position:relative;z-index:2;width:100%;max-width:var(--maxw);margin:0 auto;
  padding:0 var(--gutter) clamp(34px,5vw,54px)}
.phead h1{font-family:Figtree,sans-serif;font-weight:800;letter-spacing:-.045em;line-height:.95;text-wrap:balance;
  font-size:clamp(2.6rem,8.5vw,5.4rem);color:var(--paper);margin-top:12px}
.phead p{margin-top:14px;color:rgba(247,244,239,.82);max-width:44ch;font-size:16.5px}
.phead p.label{font-size:11.5px;margin-top:0}

/* ---- SECTION 2 · services split (roman-blind vertical wipe) ------------- */
.svc{background:var(--cream-2)}
.svc-head{display:flex;flex-direction:column;gap:18px;padding-bottom:clamp(34px,5vw,56px)}
@media(min-width:1000px){.svc-head{flex-direction:row;align-items:flex-end;justify-content:space-between;gap:48px}}
.svc-grid{display:grid;grid-template-columns:1fr;gap:0;border-top:1px solid var(--line)}
@media(min-width:1000px){.svc-grid{grid-template-columns:1.02fr 1fr}}
.svc-stage{position:relative;overflow:hidden;border-radius:var(--r);
  aspect-ratio:4/3;background:var(--ink-2);margin:22px 0}
@media(min-width:1000px){.svc-stage{aspect-ratio:auto;height:100%;min-height:560px;margin:26px 26px 26px 0}}
.svc-stage img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
/* roman blind: two panels drop from the TOP, staggered */
.blind{position:absolute;left:0;width:50%;top:0;height:100%;background:var(--cream-2);
  transform-origin:top;transform:scaleY(0);z-index:3}
.blind.b2{left:50%}
.svc-rows{display:flex;flex-direction:column}
.svc-row{position:relative;border-bottom:1px solid var(--line);overflow:hidden}
.svc-row:first-child{border-top:1px solid var(--line)}
@media(min-width:1000px){.svc-row:first-child{border-top:0}}
/* the open row used to indent 12px, so its number and title broke the shared
   left edge every other row held — the stack read as misaligned, not active */
.svc-bar{display:flex;align-items:center;gap:16px;width:100%;padding:24px 4px;text-align:left}
.svc-num{font-family:Manrope,sans-serif;font-weight:700;font-size:11.5px;letter-spacing:.14em;
  word-spacing:.12em;color:var(--plum);flex:none;width:28px;opacity:.75}
.svc-name{flex:1;font-family:Figtree,sans-serif;font-weight:800;letter-spacing:-.03em;
  font-size:clamp(1.15rem,4vw,1.6rem);line-height:1.15;color:rgba(6,43,44,.66);transition:color .35s}
.svc-row.open .svc-name,.svc-bar:hover .svc-name{color:var(--ink)}
.svc-plus{flex:none;width:22px;height:22px;position:relative;transition:transform .4s cubic-bezier(.65,0,.35,1)}
.svc-plus::before,.svc-plus::after{content:"";position:absolute;left:50%;top:50%;background:rgba(6,43,44,.52);transition:background-color .35s;
  border-radius:2px;transform:translate(-50%,-50%)}
.svc-plus::before{width:16px;height:1.8px}
.svc-plus::after{width:1.8px;height:16px;transition:opacity .3s}
/* open = a MINUS. Rotating 90deg turned the horizontal bar vertical and hid the
   vertical one, which drew a single upright stroke instead of a minus sign. */
.svc-row.open .svc-plus::before,.svc-row.open .svc-plus::after,
.svc-bar:hover .svc-plus::before,.svc-bar:hover .svc-plus::after{background:var(--ink)}
.svc-row.open .svc-plus{transform:rotate(180deg)}
.svc-row.open .svc-plus::after{opacity:0}
.svc-body{display:grid;grid-template-rows:0fr;transition:grid-template-rows .42s cubic-bezier(.65,0,.35,1)}
.svc-row.open .svc-body{grid-template-rows:1fr}
.svc-body>div{overflow:hidden}
.svc-body p{padding:0 4px 26px;max-width:44ch;font-size:15.8px;color:var(--body)}

/* ---- SECTION 3 · proof band (thin, full-bleed, dark) -------------------- */
.proof{background:var(--ink);color:var(--cream);padding-block:clamp(54px,7vw,78px)}
.proof .label{margin-bottom:22px}
.proof-list{display:flex;flex-wrap:wrap;gap:10px 0;align-items:baseline}
.proof-list span{font-family:Manrope,sans-serif;font-weight:600;font-size:clamp(13.5px,2.4vw,16px);
  letter-spacing:.05em;color:rgba(247,244,239,.9);white-space:nowrap}
.proof-list span::after{content:"·";margin:0 12px;color:var(--teal);font-weight:700}
.proof-list span:last-child::after{content:""}
.proof-note{margin-top:26px;font-size:15px;color:rgba(247,244,239,.6);max-width:52ch}

/* ---- SECTION 4 · the fabric library (horizontal curtain-pull) ----------- */
.lib{background:var(--cream);overflow:hidden}
/* heading left / proof right, so the header band fills its width like Services'
   does — the old single-column head left the whole top-right quadrant empty */
.lib-head{display:flex;flex-direction:column;gap:16px;margin-bottom:clamp(30px,4vw,46px)}
@media(min-width:1000px){.lib-head{flex-direction:row;align-items:flex-end;justify-content:space-between;gap:48px}}
/* minmax(0,…) + min-width:0 — a bare 1fr track lets wide children blow the grid out
   and the section then clips them (measured: stage 600px inside a 335px track). */
/* picker FIRST, stage second — mirrored against the Services split above it so
   the two sections don't read as the same shape twice. */
.lib-inner{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}
.lib-inner>*{min-width:0}
@media(min-width:1000px){
  .lib-inner{grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:36px;align-items:stretch}
  .lib-picker{display:flex;flex-direction:column}
}
/* the chair shots are square studio plates — a 4/3 stage letterboxed them
   with dead cream either side, so the stage stays 1:1 at every width */
.lib-stage{position:relative;border-radius:var(--r);overflow:hidden;background:var(--cream-2);
  width:100%;aspect-ratio:1/1}
.lib-stage img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;
  background:var(--cream-2)}
/* curtain pull: two panels draw in HORIZONTALLY from either edge */
.curtain{position:absolute;top:0;height:100%;width:50%;background:var(--cream-2);z-index:3;
  transform:scaleX(0)}
.curtain.c-l{left:0;transform-origin:left}
.curtain.c-r{right:0;transform-origin:right}
.lib-caption{position:absolute;left:0;right:0;bottom:0;z-index:4;padding:20px;
  background:linear-gradient(to top,rgba(6,43,44,.94) 0%,rgba(6,43,44,.78) 46%,rgba(6,43,44,0) 100%);
  color:var(--cream)}
.lib-caption strong{display:block;font-family:Figtree,sans-serif;font-weight:800;
  font-size:clamp(1.2rem,3.4vw,1.55rem);letter-spacing:-.03em;line-height:1.1}
.lib-caption span{display:block;margin-top:5px;font-size:14px;color:rgba(247,244,239,.78)}
.lib-caption span[hidden]{display:none}
/* On a phone this was a horizontal carousel: only one card was fully visible,
   the second was sliced by the viewport edge and the floating button sat on top
   of it — so the "four ways" proof collapsed to one. It is now a 2x2 grid: all
   four coverings visible at once, no scrolling, nothing to obstruct. */
.lib-rail{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-width:100%}
@media(min-width:1000px){.lib-rail{grid-template-columns:1fr;gap:12px;height:100%}}
.sw{display:flex;flex-direction:column;align-items:flex-start;gap:9px;
  padding:12px;border:1.5px solid var(--line);border-radius:var(--r);background:var(--paper);
  text-align:left;position:relative;transition:border-color .3s,background-color .3s}
@media(min-width:1000px){.sw{flex-direction:row;align-items:center;justify-content:flex-start;gap:14px;flex:1}}
.sw img{width:100%;height:70px;object-fit:cover;border-radius:var(--r);flex:none}
@media(min-width:1000px){.sw img{width:62px;height:62px}}
.sw-t{min-width:0}
.sw-t strong{display:block;font-family:Figtree,sans-serif;font-weight:800;font-size:15.5px;
  letter-spacing:-.02em;color:var(--ink);line-height:1.2}
@media(min-width:1000px){.sw-t strong{font-size:16.5px}}
.sw-t span{display:block;margin-top:3px;font-size:12.8px;color:var(--body);line-height:1.35}
/* selected state is NON-chromatic — solid rule + cream fill … */
.sw[aria-selected="true"]{border-color:var(--ink);background:var(--cream-2)}
/* …except ACCENT #6, the single selected dot */
.sw-dot{position:absolute;bottom:14px;right:14px;flex:none;width:9px;height:9px;border-radius:var(--pill);
  background:transparent;border:1.5px solid var(--line);transition:background-color .3s,border-color .3s}
@media(min-width:1000px){.sw-dot{position:static;margin-left:auto}}
.sw[aria-selected="true"] .sw-dot{background:var(--yellow);border-color:var(--yellow)}
.lib-quote{margin-top:clamp(34px,5vw,52px);font-family:Figtree,sans-serif;font-weight:800;
  letter-spacing:-.035em;line-height:1.08;font-size:clamp(1.5rem,4.4vw,2.5rem);color:var(--ink);
  max-width:30ch;text-wrap:balance}
.lib-quote em{font-style:normal;color:var(--plum);white-space:nowrap}

/* ---- SECTION 5 · second life (type-led, imageless, cream) --------------- */
.life{background:var(--cream-2);border-top:1px solid var(--line)}
/* 17ch orphaned "sofa" onto its own line with a wide gap right; 24ch + balance
   lets the line fill its measure. */
.life-q{font-family:Figtree,sans-serif;font-weight:800;letter-spacing:-.045em;line-height:1.02;
  font-size:clamp(2.05rem,6.6vw,4.4rem);color:var(--ink);max-width:24ch;text-wrap:balance}
.life-q em{font-style:normal;color:var(--plum)}
.life-num{margin-top:clamp(30px,4vw,44px);display:flex;align-items:baseline;gap:14px;flex-wrap:wrap}
/* ACCENT #4 — the Second Life number */
.life-num b{font-family:Figtree,sans-serif;font-weight:900;letter-spacing:-.05em;
  font-size:clamp(2.4rem,7vw,3.6rem);line-height:1;color:var(--ink);
  background:linear-gradient(to bottom,transparent 62%,var(--yellow) 62%,var(--yellow) 100%);
  padding:0 4px}
.life-num span{font-size:16px;color:var(--body);max-width:34ch}
.life-body{margin-top:26px;max-width:50ch;font-size:16.5px}

/* ---- SECTION 6 · workshop + showroom (2-up split) ---------------------- */
.two{background:var(--cream)}
.two-grid{display:grid;grid-template-columns:1fr;gap:34px;margin-top:clamp(32px,4.5vw,52px)}
@media(min-width:860px){.two-grid{grid-template-columns:1fr 1fr;gap:26px}}
.card{border-radius:var(--r);overflow:hidden;background:var(--paper);border:1px solid var(--line);
  display:flex;flex-direction:column}
.card>figure{aspect-ratio:4/3;overflow:hidden;background:var(--cream-2)}
.card>figure img{width:100%;height:100%;object-fit:cover;transition:transform .8s cubic-bezier(.2,.7,.3,1)}

.card-b{padding:26px 22px 28px;display:flex;flex-direction:column;gap:9px;flex:1}
.card-b h3{font-size:clamp(1.25rem,3.4vw,1.6rem)}
.card-b address{font-style:normal;font-size:15.6px;line-height:1.55;color:var(--body)}
.card-b .card-link{margin-top:auto;padding-top:14px;min-height:44px;font-weight:700;font-size:14.5px;color:var(--plum);
  display:inline-flex;align-items:center;gap:8px}
.card-b .card-link svg{transition:transform .3s}


/* ---- enquiry block (outlined) ------------------------------------------ */
.enq{background:var(--cream-2)}
.enq-box{border:1.5px solid var(--ink);border-radius:var(--r);padding:clamp(32px,6vw,68px);
  display:flex;flex-direction:column;gap:24px;align-items:flex-start;background:transparent}
@media(min-width:1000px){.enq-box{flex-direction:row;align-items:center;justify-content:space-between;gap:48px}}
.enq-box h2{max-width:15ch}
.enq-actions{display:flex;flex-wrap:wrap;gap:12px;width:100%}
@media(max-width:559px){.enq-actions{flex-direction:column}.enq-actions .btn{width:100%}}
@media(min-width:1000px){.enq-actions{width:auto}}

/* ---- forms ------------------------------------------------------------- */
.form{display:grid;gap:16px;grid-template-columns:1fr}
@media(min-width:760px){.form{grid-template-columns:1fr 1fr}.form .full{grid-column:1/-1}}
.field label{display:block;margin-bottom:7px}
.field input,.field select,.field textarea{
  width:100%;padding:15px 16px;border:1.5px solid var(--line);border-radius:var(--r);
  background:var(--paper);color:var(--ink);font:inherit;font-size:16px;transition:border-color .25s}
.field textarea{min-height:140px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--ink)}
.field :is(input,select,textarea):focus-visible{outline:3px solid var(--plum);outline-offset:2px}
.field select{appearance:none;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23062B2C' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat:no-repeat;background-position:right 15px center;background-size:19px;padding-right:46px}
.form-note{font-size:13.6px;color:rgba(63,74,74,.8)}
.form-msg{border-radius:var(--r);padding:15px 17px;font-size:15.4px;font-weight:600;display:none}
.form-msg.ok{display:block;background:rgba(0,125,127,.11);color:#05494A;border:1px solid rgba(0,125,127,.32)}
.form-msg.err{display:block;background:rgba(124,31,120,.09);color:var(--plum);border:1px solid rgba(124,31,120,.3)}

/* ---- footer ------------------------------------------------------------ */
.ft{background:var(--ink);color:var(--cream);padding-block:clamp(58px,8vw,92px)}
.ft-top{display:grid;grid-template-columns:1fr;gap:38px}
@media(min-width:860px){.ft-top{grid-template-columns:1.4fr 1fr 1fr;gap:44px}}
.ft h4{font-family:Manrope,sans-serif;font-weight:700;font-size:11.5px;text-transform:uppercase;
  letter-spacing:.14em;word-spacing:.12em;color:rgba(247,244,239,.62);margin-bottom:16px}
/* footer links carry a real 44px tap target on a phone, not a 25px text run */
.ft-links{display:flex;flex-direction:column;gap:2px}
.ft-links a{display:flex;align-items:center;min-height:44px}
.ft-links a,.ft address{color:rgba(247,244,239,.84);font-size:15.4px;font-style:normal;line-height:1.6}
.ft-links a:hover{color:var(--cream)}
.ft-brand{display:flex;align-items:center;gap:11px;margin-bottom:16px}
.ft-brand img{height:40px;width:auto}
.ft-tag{font-size:15.4px;color:rgba(247,244,239,.66);max-width:34ch}
.ft-bot{margin-top:clamp(40px,6vw,64px);padding-top:24px;border-top:1px solid var(--line-dark);
  display:flex;flex-direction:column;gap:12px;justify-content:space-between;
  font-size:13.6px;color:rgba(247,244,239,.56)}
@media(min-width:760px){.ft-bot{flex-direction:row;align-items:center}}
.ft-bot a{color:rgba(247,244,239,.8);display:inline-flex;align-items:center;min-height:44px}
.ft-bot a:hover{color:var(--cream)}
.socials{display:flex;gap:10px;margin-top:18px}
.socials a{width:44px;height:44px;border-radius:var(--r);border:1px solid var(--line-dark);
  display:grid;place-items:center;transition:background-color .25s,border-color .25s}
.socials a:hover{background:var(--cream)}
.socials svg{width:19px;height:19px;fill:var(--cream);transition:fill .25s}
.socials a:hover svg{fill:var(--ink)}

/* ---- floating action — ONE call button. No sticky bar. -----------------
   Phone-only, and hidden until the hero has scrolled past: while the hero's
   yellow "Call ..." pill is on screen a FAB is the same action twice, and the
   two sat on top of each other at the bottom of the viewport. */
.fabs{position:fixed;right:16px;bottom:calc(22px + env(safe-area-inset-bottom));z-index:50;
  display:flex;flex-direction:column;gap:11px;
  opacity:0;visibility:hidden;transform:translateY(14px) scale(.9);
  transition:opacity .3s,transform .3s cubic-bezier(.2,.7,.3,1),visibility 0s linear .3s}
.fabs.show{opacity:1;visibility:visible;transform:none;transition-delay:0s}
@media(min-width:1000px){.fabs{display:none}}
.fab{width:58px;height:58px;border-radius:var(--pill);display:grid;place-items:center;
  box-shadow:0 8px 26px rgba(6,43,44,.34);transition:transform .25s cubic-bezier(.2,.7,.3,1)}
.fab:active{transform:scale(.94)}
.fab svg{width:26px;height:26px}
.fab-call{background:var(--teal)}
.fab-call svg{fill:var(--cream)}

/* ---- entrance motion — transform/opacity only, never hides content ----- */
.rise{transition:opacity .8s cubic-bezier(.2,.7,.3,1),transform .8s cubic-bezier(.2,.7,.3,1)}
.js-anim .rise{opacity:0;transform:translateY(22px)}
.js-anim .rise.in{opacity:1;transform:none}
.rise.d1{transition-delay:.09s}.rise.d2{transition-delay:.18s}.rise.d3{transition-delay:.27s}
/* the signature: display headings unroll from behind a hem, like fabric off a bolt */
.unroll{display:block}
.unroll>span{display:block;transition:transform 1.05s cubic-bezier(.16,1,.3,1)}
.js-anim .unroll{overflow:hidden}
.js-anim .unroll>span{transform:translateY(102%)}
.js-anim .unroll.in>span{transform:none}
@media(prefers-reduced-motion:reduce){
  .rise,.unroll>span{opacity:1!important;transform:none!important;transition:none!important}
    .blind,.curtain{transition:none!important}
}
.no-js .rise{opacity:1;transform:none}
.no-js .unroll>span{transform:none}

/* MOB-09 — ungated :hover transforms latch after a tap on touch devices and stay
   stuck. Pointer-gated so phones keep :active feedback only. */
@media (hover:hover) and (pointer:fine){
  .card:hover>figure img{transform:scale(1.035)}
  .card:hover .card-link svg{transform:translateX(4px)}
  .fab:hover{transform:translateY(-3px)}
}
/* SPC-01 — the fixed call button covered the footer legal line at page bottom */
@media (max-width:999px){
  .ft{padding-bottom:calc(104px + env(safe-area-inset-bottom))}
}
/* about page: these two used inline grid-template-columns, which no media query
   could ever beat, so the mission block never went two-column on desktop */
.about-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:34px}
@media(min-width:900px){.about-grid{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:52px;align-items:start}}
.two-grid--single{grid-template-columns:minmax(0,1fr)!important}
/* about: the four-step list ran one column down the left, leaving the right half
   of the section empty — the same void the fabric library had */
.steps{list-style:none;display:grid;grid-template-columns:minmax(0,1fr);gap:0;
  border-top:1px solid var(--line)}
@media(min-width:900px){.steps{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:52px}}
.steps li{display:flex;gap:20px;padding:26px 0;border-bottom:1px solid var(--line)}
.steps .svc-num{width:32px}
.steps h3{font-size:1.25rem}
.steps p{margin-top:7px;max-width:44ch;font-size:15.6px}
/* BTN-12 — animated sending indicator; a static ellipsis reads as frozen */
.ld{display:inline-flex;gap:3px;margin-left:2px;vertical-align:baseline}
.ld i{width:3px;height:3px;border-radius:var(--pill);background:currentColor;
  animation:ldb 1s ease-in-out infinite}
.ld i:nth-child(2){animation-delay:.16s}
.ld i:nth-child(3){animation-delay:.32s}
@keyframes ldb{0%,80%,100%{opacity:.25}40%{opacity:1}}
@media(prefers-reduced-motion:reduce){.ld i{animation:none;opacity:.7}}
