/* Nigal Island. One stylesheet for every page.
   Breakpoints, decided first: desktop 1440 (>=1024), tablet 1024 (768 to 1023), phone 390 (<768).
   The film switches to its portrait cut under 768. */

:root {
  --bg: #0e0b0a;
  --bg-2: #161110;
  --bg-3: #1e1715;
  --ink: #f4efe4;          /* ivory */
  --ink-2: rgba(244, 239, 228, .74);
  --ink-3: rgba(244, 239, 228, .5);
  --line: rgba(244, 239, 228, .12);
  --maroon: #7a1e2c;
  --maroon-2: #4a1119;
  --gold: #c9a24a;         /* temple gold */
  --marigold: #eaa83a;
  --teal: #2d7d78;         /* sea teal */
  --gutter: clamp(16px, 4vw, 56px);
  --wrap: 1240px;
  --r: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.55 var(--font); letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0; }
address { font-style: normal; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- header: a liquid glass pill ---------- */
.hd { position: fixed; z-index: 50; top: 0; left: 0; right: 0; padding: 14px var(--gutter) 0; pointer-events: none; }
.hd-pill {
  pointer-events: auto; position: relative;
  max-width: var(--wrap); margin: 0 auto; height: 60px; padding: 0 10px 0 20px;
  display: flex; align-items: center; gap: 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .05));
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 0 0 1px rgba(255, 255, 255, .08), 0 10px 40px rgba(0, 0, 0, .28);
}
.hd-brand { flex: none; display: flex; align-items: center; }
.hd-brand img { height: 26px; width: auto; }
.hd-nav { display: flex; gap: 4px; margin: 0 auto; }
.hd-nav a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink-2); padding: 8px 11px; border-radius: 999px; transition: color .2s, background .2s; white-space: nowrap; }
.hd-nav a:hover { color: var(--ink); background: rgba(255, 255, 255, .08); }
.hd-nav a[aria-current="page"] { color: var(--ink); background: rgba(255, 255, 255, .12); }
.hd-tools { display: flex; align-items: center; gap: 8px; flex: none; }
.hd-cta { text-decoration: none; font-size: 14px; font-weight: 600; color: #1a1208; background: var(--ink); padding: 10px 18px; border-radius: 999px; transition: background .2s; }
.hd-cta:hover { background: #fff; }
.hd-menu { display: none; }

/* day and night switch: a CSS orb that becomes a crescent, no icon file, no glyph */
.tod {
  appearance: none; border: 0; cursor: pointer; font: inherit; color: var(--ink);
  display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 14px 0 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  transition: background .25s;
}
.tod:hover { background: rgba(255, 255, 255, .14); }
.tod-orb {
  width: 18px; height: 18px; border-radius: 50%; position: relative; overflow: hidden;
  background: radial-gradient(circle at 35% 35%, #ffe7a3, var(--marigold) 70%);
  box-shadow: 0 0 12px rgba(234, 168, 58, .7);
  transition: background .5s var(--ease), box-shadow .5s var(--ease);
}
.tod-orb::after {
  content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  left: 7px; top: -5px; background: #2a2330; transform: scale(0); transition: transform .5s var(--ease);
}
[data-tod="night"] .tod-orb { background: radial-gradient(circle at 40% 40%, #fbf7ee, #d8d2c4); box-shadow: 0 0 12px rgba(220, 225, 255, .45); }
[data-tod="night"] .tod-orb::after { transform: scale(1); }
.tod-label { font-size: 13px; font-weight: 600; }
.tod-label .is-night, [data-tod="night"] .tod-label .is-day { display: none; }
[data-tod="night"] .tod-label .is-night { display: inline; }

/* ---------- the film ---------- */
.stage { position: fixed; inset: 0; z-index: 0; background: #0a0d12; }
.cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .9s var(--ease); }
.cv.is-on { opacity: 1; }
.stage::before, .stage::after { content: ""; position: absolute; left: 0; right: 0; pointer-events: none; z-index: 2; }
.stage::before { top: 0; height: 22vh; background: linear-gradient(rgba(8, 6, 5, .5), transparent); }
.stage::after { bottom: 0; height: 62vh; background: linear-gradient(to top, rgba(8, 6, 5, .88) 0%, rgba(8, 6, 5, .55) 38%, rgba(8, 6, 5, 0) 100%); }

.film { position: relative; z-index: 3; height: calc(var(--vh, 500) * 1vh); }
.film-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.beats { position: absolute; left: 0; right: 0; bottom: 0; top: 0; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; }
.beat {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 13vh;
  max-width: 980px; opacity: 0; visibility: hidden;
  will-change: opacity, transform;
}
.js .beat-first { opacity: 1; visibility: visible; }
.beat-t {
  font-size: clamp(34px, 4.6vw, 68px); line-height: 1.04; font-weight: 600; letter-spacing: -.034em;
  text-wrap: balance; text-shadow: 0 2px 40px rgba(0, 0, 0, .45); max-width: 15em;
}
h1.beat-t { font-size: clamp(42px, 6.2vw, 92px); font-weight: 700; letter-spacing: -.04em; line-height: 1; max-width: 12em; }
.beat-t strong { color: var(--marigold); font-weight: 700; }
.beat-k { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }

/* every scroll stop is a full block: logo, kicker, headline, real copy, services, a way in */
.beat-card {
  position: relative; max-width: 640px; padding: 30px 32px 28px; border-radius: 30px;
  background: rgba(18, 12, 10, .34);
  -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 80px rgba(0, 0, 0, .28);
}
.beat-logo { display: block; height: 58px; width: auto; margin-bottom: 18px; border-radius: 14px; background: rgba(255, 255, 255, .94); padding: 6px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.beat-card.has-ph { max-width: 900px; padding-left: 312px; min-height: 250px; }
.beat-ph { position: absolute; left: 14px; top: 14px; bottom: 14px; width: 280px; margin: 0; border-radius: 20px; overflow: hidden; }
.beat-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.beat-logo--dark { background: #241512; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 8px 24px rgba(0,0,0,.25); }
.beat-card .beat-t { font-size: clamp(30px, 3.4vw, 50px); max-width: none; text-shadow: none; }
.beat-card h1.beat-t { font-size: clamp(38px, 4.4vw, 64px); }
.beat-b { margin-top: 14px; font-size: 17px; line-height: 1.55; color: rgba(244, 239, 228, .86); max-width: 34em; }
.beat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding: 0; list-style: none; }
.beat-chips li { font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.beat-cta { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 12px 14px 12px 20px; border-radius: 999px;
  background: var(--gold); color: #1b120e; font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .5s var(--ease); }
.beat-cta i { width: 28px; height: 28px; border-radius: 50%; background: rgba(0, 0, 0, .12); position: relative; }
.beat-cta i::after { content: ""; position: absolute; inset: 0; margin: auto; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translateX(-1px) rotate(45deg); }
.beat-cta:hover { transform: translateX(3px); }
.beat.is-live, .beat-first { pointer-events: auto; }
.beat { pointer-events: none; }

.rail { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 8px; }
.rail i { width: 4px; height: 4px; border-radius: 4px; background: rgba(244, 239, 228, .35); transition: height .4s var(--ease), background .4s; }
.rail i.is-on { height: 22px; background: var(--ink); }
.cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3);
  padding-bottom: 22px; transition: opacity .4s;
}
.cue::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 16px; background: var(--ink-3); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.cue.is-gone { opacity: 0; }

/* no JavaScript, or reduced motion: one still per beat, the words simply there */
html:not(.js) .film, .rm .film { height: auto; }
html:not(.js) .film-pin, .rm .film-pin { position: static; height: auto; overflow: visible; }
html:not(.js) .beats, .rm .beats { position: static; max-width: none; }
html:not(.js) .beat, .rm .beat {
  position: relative; left: auto; right: auto; bottom: auto; max-width: none;
  opacity: 1; visibility: visible; filter: none; transform: none;
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px var(--gutter) 13vh; background: #12100e center / cover no-repeat;
}
html:not(.js) .beat::before, .rm .beat::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 6, 5, .88), rgba(8, 6, 5, .2) 60%, rgba(8, 6, 5, .35)); }
html:not(.js) .beat > *, .rm .beat > * { position: relative; }
html:not(.js) .stage, .rm .stage, html:not(.js) .rail, .rm .rail, html:not(.js) .cue, .rm .cue { display: none; }

/* ---------- flat content ---------- */
.flat { position: relative; z-index: 2; background: var(--bg); }
.has-film .flat::before { content: ""; position: absolute; left: 0; right: 0; top: -30vh; height: 30vh; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.rm .flat::before, html:not(.js) .flat::before { display: none; }
.sec { padding: clamp(72px, 10vw, 140px) 0 0; }
.sec-first { padding-top: clamp(56px, 7vw, 96px); }
.sec-hero { padding-top: clamp(130px, 14vw, 190px); }
.sec h2 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.04; letter-spacing: -.035em; max-width: 16em; text-wrap: balance; }
.sec-hero h1 { font-size: clamp(42px, 6vw, 84px); line-height: 1; letter-spacing: -.04em; max-width: 14em; text-wrap: balance; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.lede { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; color: var(--ink-2); max-width: 36em; margin-top: 22px; letter-spacing: -.018em; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.prose { display: grid; gap: 18px; color: var(--ink-2); font-size: 18px; max-width: 38em; }
.prose address { color: var(--ink); font-size: 20px; line-height: 1.45; }
.chips { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14px; font-weight: 500; color: var(--ink); padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.more { margin-top: 28px; }
.more a { color: var(--marigold); font-weight: 600; text-decoration: none; }
.more a:hover { text-decoration: underline; }

/* division cards */
.cards { margin-top: 48px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.card { grid-column: span 2; position: relative; display: flex; flex-direction: column; text-decoration: none; border-radius: var(--r); overflow: hidden; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .3s; }
.card:nth-child(4), .card:nth-child(5) { grid-column: span 3; }
.card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(244, 239, 228, .24); }
.card-img { aspect-ratio: 16 / 9; overflow: hidden; background: #0a0d12; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card-img img { transform: scale(1.04); }
.card-logo { position: absolute; top: 14px; left: 14px; width: 64px; height: 64px; border-radius: 14px; padding: 8px; display: grid; place-items: center; background: rgba(14, 11, 10, .62); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.card-logo img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.card-body { padding: 22px 22px 24px; display: grid; gap: 8px; flex: 1; border-top: 2px solid var(--acc, var(--gold)); }
.card-body h3 { font-size: 22px; letter-spacing: -.022em; }
.card-body p { color: var(--ink-2); font-size: 16px; }
.card-go { margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--marigold); }

/* services */
.svc { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 5vw, 80px); }
.svc > li { padding: 26px 0; border-top: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.svc h3 { font-size: 21px; letter-spacing: -.02em; }
.svc p { color: var(--ink-2); font-size: 16.5px; }
/* real photos per service (Praveen's list, Oct 2026) */
.svc-ph { display: grid; gap: 6px; margin: 0 0 12px; }
.svc-ph figure { margin: 0; min-height: 0; border-radius: 14px; overflow: hidden; background: var(--bg-2); }
.svc-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.svc-ph-1 img { aspect-ratio: 16 / 9; }
.svc-ph-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.svc-ph-2 img { aspect-ratio: 4 / 3; }
.svc-ph-3 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); aspect-ratio: 16 / 9; }
.svc-ph-3 figure:first-child { grid-row: 1 / 3; }
.svc-ph-4 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.svc-ph-4 img { aspect-ratio: 16 / 9; }

/* steps */
.steps { list-style: none; counter-reset: s; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps li { counter-increment: s; padding: 24px; border-radius: var(--r); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 8px; align-content: start; }
.steps li::before { content: counter(s, decimal-leading-zero); font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--gold); }
.steps h3 { font-size: 20px; letter-spacing: -.02em; }
.steps p { color: var(--ink-2); font-size: 16px; }
.how-prose { margin-top: 24px; }
#how-h + .prose { margin-top: 24px; }

/* proof cards */
.proof { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.proof article { padding: 26px; border-radius: var(--r); background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 10px; align-content: start; }
.proof article[hidden] { display: none; }
.proof-w { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.proof h3 { font-size: 21px; line-height: 1.2; letter-spacing: -.02em; }
.proof p:last-child { color: var(--ink-2); font-size: 16px; }
.split .prose + .proof, .prose + .proof { margin-top: 36px; }
#w-h + .prose { margin-top: 24px; }

.photos { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.photos figure { margin: 0; border-radius: 14px; overflow: hidden; background: var(--bg-2); }
.photos figure[hidden] { display: none; }
.photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photos figcaption { font-size: 14px; color: var(--ink-2); padding: 10px 14px 14px; }

/* about story */
.story { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.story li { padding: 26px; border-radius: var(--r); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 10px; align-content: start; }
.story-k { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.story h3 { font-size: 21px; line-height: 1.22; letter-spacing: -.02em; }
.story li > p:last-child { color: var(--ink-2); font-size: 16px; }

/* FAQ */
.faq { margin-top: 40px; max-width: 900px; border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 0; font-size: 20px; font-weight: 600; letter-spacing: -.02em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 2px; background: var(--ink-2); border-radius: 2px; transition: transform .35s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { color: var(--ink-2); padding: 0 48px 26px 0; max-width: 44em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font: inherit; font-weight: 600; font-size: 16px; padding: 15px 24px; border-radius: 999px; border: 0; cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .2s; }
.btn:active { transform: scale(.98); }
.btn-gold { background: var(--gold); color: #1d1406; }
.btn-gold:hover { background: #d8b35d; }
.btn-ghost { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(244, 239, 228, .3); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }

/* enquiry bar */
.enq { margin-top: clamp(80px, 11vw, 150px); }
.enq-in {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center;
  padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px);
  background: radial-gradient(120% 140% at 0% 0%, #5e1722 0%, var(--maroon-2) 45%, #200a0d 100%);
  border-radius: 28px; box-shadow: inset 0 0 0 1px rgba(201, 162, 74, .25);
  width: calc(100% - 2 * var(--gutter)); max-width: var(--wrap); padding-left: clamp(24px, 4vw, 56px); padding-right: clamp(24px, 4vw, 56px);
}
.enq h2 { font-size: clamp(34px, 4.4vw, 60px); letter-spacing: -.035em; line-height: 1.02; }
.enq-copy p { margin-top: 16px; color: var(--ink-2); font-size: 18px; max-width: 30em; }
.enq-actions { display: grid; gap: 18px; }
.enq-actions .btn { width: 100%; font-size: 17px; }
.enq-rows { display: grid; }
.enq-rows a { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid rgba(244, 239, 228, .14); text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }
.enq-rows a span { color: var(--ink-3); font-weight: 500; flex: none; }
.enq-rows a:hover { color: #fff; }

.next-wrap { padding-top: 28px; }
.next { display: flex; align-items: center; gap: 16px; text-decoration: none; padding: 26px 0; border-bottom: 1px solid var(--line); }
.next-k { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.next-t { font-size: clamp(26px, 3vw, 40px); font-weight: 600; letter-spacing: -.03em; flex: 1; }
.next img { width: 52px; height: 52px; object-fit: contain; border-radius: 10px; }
.next:hover .next-t { color: var(--marigold); }

/* contact form */
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form input, .form select, .form textarea {
  font: inherit; font-size: 17px; color: var(--ink); background: var(--bg-2); border: 0; border-radius: 14px; padding: 14px 16px;
  box-shadow: inset 0 0 0 1px var(--line); width: 100%; min-width: 0; -webkit-appearance: none; appearance: none;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--gold); }
.form textarea { resize: vertical; }
.form .btn { justify-self: start; margin-top: 6px; }
.form .opt { font-weight: 500; color: var(--ink-3); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form [aria-invalid="true"] { box-shadow: inset 0 0 0 2px #e0705a; }
.enq-err { color: #f0a08e; font-size: 15px; font-weight: 500; }
.enq-form { position: relative; padding-bottom: 6px; }
.enq-form .btn { width: 100%; justify-self: stretch; }

/* work filters */
.filters { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { appearance: none; border: 0; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 10px 16px; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.filters button.is-on { color: #1a1208; background: var(--ink); box-shadow: none; }

/* footer */
.ft { position: relative; z-index: 2; background: var(--bg); padding: clamp(64px, 8vw, 110px) 0 36px; }
.ft-in { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1fr 1fr; gap: 32px; }
.ft-brand img { width: 150px; }
.ft-slogan { margin-top: 14px; color: var(--gold); font-weight: 600; letter-spacing: .02em; }
.ft h3 { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.ft-col, .ft-col p { font-size: 15px; color: var(--ink-2); line-height: 1.8; }
.ft-col a { text-decoration: none; }
.ft-col a:hover { color: var(--ink); }
.ft-base { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }

/* ---------- tablet: 768 to 1023 ---------- */
@media (max-width: 1180px) {
  .hd-nav a { padding: 8px 8px; font-size: 13.5px; }
  .tod-label { display: none; }
  .tod { padding: 0 11px; }
}
@media (max-width: 1023px) {
  .hd-pill { padding-right: 8px; gap: 12px; }
  .hd-nav {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 2px; padding: 10px; border-radius: 24px;
    background: rgba(22, 17, 16, .92); -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 20px 50px rgba(0, 0, 0, .4);
    opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .hd.is-open .hd-nav { opacity: 1; visibility: visible; transform: none; }
  .hd-nav a { font-size: 17px; padding: 14px 16px; border-radius: 14px; }
  .hd-tools { margin-left: auto; }
  .hd-menu {
    display: grid; place-content: center; gap: 6px; appearance: none; border: 0; cursor: pointer;
    width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  }
  .hd-menu span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease); }
  .hd.is-open .hd-menu span:first-child { transform: translateY(4px) rotate(45deg); }
  .hd.is-open .hd-menu span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card, .card:nth-child(4), .card:nth-child(5) { grid-column: span 1; }
  .card:nth-child(5) { grid-column: span 2; }
  .proof, .story, .photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .enq-in { grid-template-columns: 1fr; }
  .ft-in { grid-template-columns: 1fr 1fr; }
  .ft-brand { grid-column: span 2; }
}

/* ---------- phone: under 768 ---------- */
@media (max-width: 767px) {
  body { font-size: 16px; }
  .hd { padding-top: 10px; }
  .hd-pill { height: 56px; padding-left: 16px; }
  .hd-brand img { height: 22px; }
  .hd-cta { display: none; }
  .tod { height: 44px; width: 44px; padding: 0; justify-content: center; }
  .beat { bottom: 10vh; bottom: 10svh; max-width: none; }
  .beat-card { padding: 22px 20px 20px; border-radius: 24px; }
  .beat-card.has-ph { padding-left: 20px; min-height: 0; }
  .beat-ph { position: relative; left: auto; top: auto; bottom: auto; width: 100%; height: 150px; margin: 0 0 16px; border-radius: 16px; }
  .beat-logo { height: 44px; margin-bottom: 12px; }
  .beat-b { font-size: 15px; }
  .beat-chips li { font-size: 12px; padding: 6px 10px; }
  .beat-t { font-size: clamp(30px, 8.6vw, 40px); line-height: 1.08; }
  h1.beat-t { font-size: clamp(38px, 11vw, 50px); }
  .rail { right: 10px; }
  .rail i.is-on { height: 16px; }
  .stage::after { height: 70vh; }
  .cards, .proof, .story, .photos, .steps, .svc { grid-template-columns: 1fr; }
  .card, .card:nth-child(4), .card:nth-child(5) { grid-column: auto; }
  .svc > li { padding: 22px 0; }
  .faq summary { font-size: 18px; padding: 20px 40px 20px 0; }
  .faq details p { padding-right: 0; }
  .form-row { grid-template-columns: 1fr; }
  .form .btn { justify-self: stretch; }
  .enq-in { border-radius: 22px; }
  .ft-in { grid-template-columns: 1fr; }
  .ft-brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* photo grids: real Nigal work */
.photos + .proof { margin-top: 16px; }
.split + .wrap .photos { margin-top: 44px; }
.photos-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
.photos-all { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.photos-all img { aspect-ratio: 1 / 1; }
.filters button span { opacity: .8; font-weight: 500; margin-left: 2px; }
@media (max-width: 1023px) { .photos-all { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .photos img { aspect-ratio: 1 / 1; }
  .photos-2 { grid-template-columns: 1fr 1fr; }
  .photos-all { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
}

/* ---------- home: the Tamil first page, then the islands ---------- */
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.splash {
  position: relative; z-index: 3; height: 100vh; height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 96px var(--gutter) 72px;
  background: radial-gradient(ellipse at 50% 46%, rgba(8, 6, 5, .5) 0%, rgba(8, 6, 5, .78) 70%, rgba(8, 6, 5, .9) 100%);
}
.splash-h { margin: 0; line-height: 1; }
.splash-ta {
  /* the Nigal logo treatment, drawn as one image: white heavy letters, the gold flame merged into the first letter, the star as the pulli */
  display: block; font-size: clamp(110px, 24vw, 400px); line-height: 1;
  filter: drop-shadow(0 18px 50px rgba(0, 0, 0, .45));
}
.splash-ta img { display: block; height: 1.332em; margin-block: -.133em -.08em; width: auto; max-width: 100%; margin-inline: auto; object-fit: contain; }
.splash-tag { margin-top: clamp(10px, 2vh, 24px); font-size: clamp(22px, 2.8vw, 40px); font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.splash-sub { margin-top: 12px; font-size: clamp(14px, 1.3vw, 17px); color: var(--ink-2); max-width: 36em; }
.splash-cue { bottom: 26px; }
.has-splash .stage::after { height: 70vh; }

/* the island picker: every island one tap away */
.isles { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; z-index: 4; }
.isle {
  display: flex; align-items: center; justify-content: flex-end; gap: 12px; text-decoration: none; color: var(--ink);
  padding: 4px 4px 4px 14px; border-radius: 999px; transition: background .3s, box-shadow .3s;
}
.isle img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(244, 239, 228, .35), 0 8px 22px rgba(0, 0, 0, .35); transition: box-shadow .3s, transform .4s var(--ease); order: 2; }
.isle span { font-size: 13px; font-weight: 600; opacity: .72; transition: opacity .3s; white-space: nowrap; text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }
.isle:hover, .isle:focus-visible { background: rgba(18, 12, 10, .45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); outline: none; }
.isle:hover span, .isle.is-on span { opacity: 1; }
.isle.is-on img { box-shadow: 0 0 0 3px var(--gold), 0 8px 22px rgba(0, 0, 0, .35); transform: scale(1.08); }
@media (max-width: 1023px) {
  .isles { top: auto; bottom: 14px; right: 0; left: 0; transform: none; flex-direction: row; justify-content: center; gap: 6px; padding: 0 8px; }
  .isle { flex-direction: column; gap: 4px; padding: 4px; border-radius: 16px; }
  .isle img { order: 0; width: 46px; height: 46px; }
  .isle span { font-size: 10.5px; opacity: .8; max-width: 66px; overflow: hidden; text-overflow: ellipsis; }
  .has-isles .beat { bottom: calc(10svh + 74px); }
}
@media (max-width: 767px) {
  .isle span { display: none; }
  .isle img { width: 44px; height: 44px; }
  .has-isles .beat { bottom: calc(8svh + 62px); }
  .splash-ta { font-size: clamp(96px, 30vw, 160px); }
}
html:not(.js) .isles, .rm .isles { position: static; transform: none; flex-direction: row; flex-wrap: wrap; justify-content: center; padding: 24px var(--gutter); }
@media (max-width: 767px) {
  .svc { grid-template-columns: minmax(0, 1fr); }
  .svc > li { min-width: 0; grid-template-columns: minmax(0, 1fr); }
  .svc-ph { min-width: 0; width: 100%; }
  .has-isles .beat-chips { display: none; }   /* on a phone the island itself is the picture; the card stays short */
}

/* ---------- smooth scroll pass (21 Oct) ---------- */
/* the film stage takes the largest viewport, so a phone toolbar sliding in or out never resizes the canvas */
.stage { bottom: auto; height: 100vh; height: 100lvh; contain: strict; }
.cv { will-change: opacity; }
/* a live blur behind a card has to be recomputed on every film frame; on phones and touch screens the
   cards and the header get a solid tint of the same colour instead, which reads the same and costs nothing */
@media (max-width: 1023px), (pointer: coarse) {
  .beat-card { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(18, 12, 10, .66); }
  .card-logo { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(14, 11, 10, .82); }
}
/* work page notes (21 Oct) */
.work-notes { margin: 18px 0 28px; font-size: 17px; }
.work-notes ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; }
.work-notes a { color: var(--ink); }
