/* Self-hosted fonts (SIL Open Font License): no requests to third parties */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500 900; font-display: swap;
  src: url(/fonts/montserrat-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500 900; font-display: swap;
  src: url(/fonts/montserrat-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Only the glyphs of சுதர்சன் பாபு */
@font-face { font-family: "Noto Sans Tamil"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/fonts/noto-sans-tamil-name.woff2) format("woff2");
  unicode-range: U+20, U+0B9A, U+0BA4, U+0BA9-0BAA, U+0BB0, U+0BBE, U+0BC1, U+0BCD; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
:root {
  --accent: #CF4A23;
  --accent-hi: #EC7A35;
  --accent-ink: #B33E1B;
  --tape: #F5B63C;
  --ink: #1B1410;
  --ink-2: #2A211C;
  --cream: #FBF3E8;
  --cream-2: #F3E6D4;
  --muted: #6E5E52;
  --white: #FFFFFF;
  --gutter: clamp(16px, 5vw, 56px);
  --max: 1180px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Tape labels and the white phone block, as on the reels */
.tape {
  display: inline-block;
  background: var(--tape);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.38em 0.7em 0.32em;
  line-height: 1;
}
.phone-block {
  display: inline-block;
  background: var(--white);
  color: var(--accent);
  font-weight: 900;
  font-size: clamp(1.45rem, 5.6vw, 2.1rem);
  letter-spacing: 0.01em;
  padding: 0.28em 0.5em 0.24em;
  text-decoration: none;
  line-height: 1.1;
  white-space: nowrap;
  transition: transform .15s ease;
}
.phone-block:hover { transform: translateY(-2px); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font-family: inherit;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.95em 1.4em;
  border-radius: 999px;
  border: 2px solid transparent;
  line-height: 1;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #000; }
.btn-line { border-color: rgba(255,255,255,.75); color: var(--white); }
.btn-line:hover { background: rgba(255,255,255,.12); }
.btn-tape { background: var(--tape); color: var(--ink); }
:focus-visible { outline: 3px solid var(--tape); outline-offset: 3px; }

/* Top tag, like the reels' corner tag */
.top {
  position: absolute; inset: 0 0 auto 0; z-index: 5;
  padding-top: max(14px, env(safe-area-inset-top));
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tag {
  background: rgba(27,20,16,.82);
  color: var(--white);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.5em 0.75em;
  text-decoration: none;
  white-space: nowrap;
}
.top-wa { font-size: 0.85rem; padding: 0.7em 1.05em; }
@media (max-width: 459px) {
  .tag { font-size: 0.74rem; }
  .top-wa { padding: 0.62em; }
  .top-wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* Hero */
.hero {
  position: relative;
  color: var(--white);
  background:
    radial-gradient(60% 55% at 72% 62%, var(--accent-hi) 0%, rgba(236,122,53,0) 70%),
    var(--accent);
  overflow: hidden;
  isolation: isolate;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "art" "rest";
  padding-top: 64px;
}
.head { grid-area: art; align-self: center; z-index: 2; margin-top: -8%; }
.art { grid-area: art; justify-self: end; margin-right: calc(var(--gutter) * -1 - 4vw); width: 74vw; max-width: 520px; position: relative; }
.art img { width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(60,15,0,.28)); }
.name {
  margin: 0.35em 0 0;
  font-weight: 900;
  font-size: clamp(2.2rem, 8.6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 18px rgba(80,20,0,.25);
}
.ta-name {
  margin: 0.4em 0 0;
  font-family: "Noto Sans Tamil", var(--font);
  font-weight: 700;
  font-size: clamp(0.95rem, 3.4vw, 1.35rem);
  opacity: .9;
}
.rest {
  grid-area: rest;
  position: relative;
  z-index: 3;
  background: var(--accent-ink);
  margin: 0 calc(var(--gutter) * -1);
  padding: 28px var(--gutter) 36px;
}
.lede { margin: 0 0 22px; font-size: 1.12rem; font-weight: 600; line-height: 1.45; max-width: 34em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.tagline { margin: 18px 0 0; font-size: 0.92rem; font-weight: 600; opacity: .85; }

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-areas: "head art" "rest art";
    grid-template-rows: 1fr auto;
    min-height: min(92vh, 860px);
    padding-top: 96px;
  }
  .head { grid-area: head; align-self: end; margin-top: 0; padding-bottom: 8px; }
  .art { grid-area: art; align-self: end; justify-self: start; margin: 0 0 0 -6%; width: 100%; max-width: 560px; }
  .rest { grid-area: rest; background: none; margin: 0; padding: 20px 0 72px; }
  .name { font-size: clamp(4rem, 7.4vw, 6.4rem); }
}

/* Sections */
section { position: relative; }
.sec { padding: clamp(56px, 9vw, 104px) 0; }
.sec h2 {
  margin: 14px 0 12px;
  font-weight: 900;
  font-size: clamp(2rem, 6.4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.sec .intro { margin: 0; max-width: 38em; color: var(--muted); font-weight: 500; font-size: 1.05rem; }

/* Services */
.dark { background: var(--ink); color: var(--white); }
.dark .intro { color: #C9BBAF; }
.help { display: grid; gap: 0; margin-top: 40px; border-top: 1px solid rgba(255,255,255,.14); }
.help-item { display: grid; gap: 10px; padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.help-item h3 { margin: 0; font-size: clamp(1.35rem, 4.4vw, 1.8rem); font-weight: 900; line-height: 1.15; }
.help-item p { margin: 0; color: #DCCFC4; font-weight: 500; max-width: 36em; }
@media (min-width: 860px) {
  .help-item { grid-template-columns: 200px 1fr; align-items: start; gap: 32px; padding: 34px 0; }
}

/* Steps */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { background: var(--white); padding: 22px 22px 22px 74px; position: relative; counter-increment: s; box-shadow: 0 1px 0 var(--cream-2); }
.steps li::before {
  content: counter(s);
  position: absolute; left: 22px; top: 20px;
  width: 36px; height: 36px; display: grid; place-items: center;
  background: var(--tape); color: var(--ink); font-weight: 900; font-size: 1.05rem;
}
.steps b { display: block; font-weight: 800; font-size: 1.08rem; margin-bottom: 2px; }
.steps span { color: var(--muted); font-weight: 500; }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .steps li { padding: 70px 26px 28px; }
  .steps li::before { left: 26px; top: 24px; }
}

/* Contact */
.contact {
  color: var(--white);
  background:
    radial-gradient(70% 90% at 85% 100%, var(--accent-hi) 0%, rgba(236,122,53,0) 70%),
    var(--accent);
  overflow: hidden;
}
.contact-grid { display: grid; gap: 28px; align-items: end; }
.contact h2 { color: var(--white); }
.contact p.sub { margin: 0 0 24px; font-weight: 600; font-size: 1.08rem; max-width: 30em; }
.contact .ctas { margin-top: 22px; }
.face { justify-self: end; width: min(62vw, 340px); margin: 0 calc(var(--gutter) * -1) calc(clamp(56px, 9vw, 104px) * -1) 0; }
.face img { width: 100%; height: auto; }
@media (min-width: 860px) {
  .contact-grid { grid-template-columns: 1.2fr 0.8fr; }
  .face { width: 100%; max-width: 380px; margin-right: 0; }
}

footer { background: var(--ink); color: #BFAFA2; font-size: 0.88rem; font-weight: 600; padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
footer a { color: var(--white); text-decoration: none; }

/* Sticky action bar (phones) */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: grid; grid-template-columns: 1fr auto; gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(27,20,16,.94);
  backdrop-filter: blur(8px);
  transform: translateY(110%);
  transition: transform .25s ease;
}
.dock.show { transform: none; }
.dock .btn { padding: 0.85em 1.1em; font-size: 0.95rem; }
.dock .btn-line { border-color: rgba(255,255,255,.4); }
@media (max-width: 859px) { footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }
@media (min-width: 860px) { .dock { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .phone-block, .dock { transition: none; }
}
