/* Oliyon Ventures site styles */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-variable.woff2?v=e3a28eade2") format("woff2-variations"),
       url("../fonts/archivo-latin-variable.woff2?v=e3a28eade2") format("woff2");
}

:root {
  --navy-950: #071b3a;
  --navy-900: #0a2650;   /* logo navy: text, footer */
  --navy-800: #13325f;
  --navy-700: #1c3d6e;   /* medium navy: main brand surface */
  --navy-500: #355a92;
  --navy-100: #e6edf6;
  --navy-50: #f3f6fa;
  --gold-600: #c29246;   /* flame gold: fills, rules */
  --gold-300: #e0b566;   /* gold for text on navy */
  --gold-text: #94692a;  /* gold for small text on light backgrounds (4.8:1) */
  --paper: #f6f8fb;
  --white: #ffffff;
  --ink: #14223a;
  --muted: #4d5c75;
  --line: #d6dfeb;
  --line-on-navy: rgba(255, 255, 255, 0.16);
  --danger: #b3261e;
  --ok: #1e6b45;

  --font: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Type scale: one size per role, used everywhere */
  --text-xs: 0.75rem;                                        /* eyebrows, labels */
  --text-sm: 0.875rem;                                       /* notes, meta */
  --text-base: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);    /* body */
  --text-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);   /* intro paragraphs */
  --text-h4: 1.0625rem;
  --text-h3: clamp(1.125rem, 1.07rem + 0.25vw, 1.25rem);
  --text-h2: clamp(1.875rem, 1.4rem + 1.9vw, 2.75rem);
  --text-h1: clamp(2.125rem, 1.45rem + 2.7vw, 3.5rem);

  --wrap: 74rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --space-section: clamp(4.5rem, 3rem + 5vw, 8rem);
  --radius: 3px;
  --shadow-card: 0 1px 2px rgba(10, 38, 80, 0.06), 0 24px 48px -28px rgba(10, 38, 80, 0.32);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 6rem; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

address { font-style: normal; }

a { color: var(--navy-700); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy-900); text-decoration-thickness: 2px; }

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

h1, h2, h3, h4 {
  margin: 0;
  color: var(--navy-900);
  font-weight: 650;
  font-stretch: 106%;
  line-height: 1.15;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

h2 { font-size: var(--text-h2); line-height: 1.12; letter-spacing: -0.02em; }
h3 { font-size: var(--text-h3); }
h4 { font-size: var(--text-h4); font-stretch: 102%; letter-spacing: 0; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; color: var(--white); }

/* Eyebrow: small numbered label above section headings */

.eyebrow {
  margin: 0 0 1rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.1rem;
  padding: 0.75rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.button:hover { text-decoration: none; }
.button:active { transform: translateY(1px); }

.button--gold { background: var(--gold-600); color: var(--navy-950); }
.button--gold:hover { background: var(--gold-300); color: var(--navy-950); }

.button--ghost { border-color: rgba(255, 255, 255, 0.45); color: var(--white); }
.button--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); color: var(--white); }

.button--navy { background: var(--navy-700); color: var(--white); }
.button--navy:hover { background: var(--navy-900); color: var(--white); }
.button[disabled] { opacity: 0.6; cursor: progress; }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5rem;
}

.brand { display: block; }
.brand img { width: 136px; height: auto; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  display: block;
  padding: 0.6rem 0.9rem;
  color: var(--navy-900);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.3rem;
  height: 1px;
  background: var(--gold-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.site-nav a:hover::after { transform: scaleX(1); }

.site-nav a.site-nav__cta {
  margin-left: 0.75rem;
  padding: 0.7rem 1.2rem;
  background: var(--navy-700);
  color: var(--white);
  border-radius: var(--radius);
}
.site-nav a.site-nav__cta::after { display: none; }
.site-nav a.site-nav__cta:hover { background: var(--navy-900); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.85rem;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy-900);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(55% 75% at 80% 42%, rgba(53, 90, 146, 0.55) 0%, rgba(28, 61, 110, 0) 70%),
    linear-gradient(165deg, #1f4377 0%, var(--navy-700) 45%, #163360 100%);
}


.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(2.75rem, 2rem + 3vw, 4.5rem);
}

.hero__mark { margin-bottom: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem); }

/* ஒளியோன் is drawn as outlines (Anek Tamil, tools/build-wordmark.py) so it
   looks the same on every device; font-size sets its scale. */
.hero__name {
  margin: 0;
  font-size: clamp(2.5rem, 1.6rem + 3.8vw, 4.75rem);
  line-height: 1;
  color: var(--gold-300);
}
.wordmark { display: block; width: 6.76em; height: auto; }

.hero__meaning {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0.6rem 0 0;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.hero__meaning::before {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: var(--gold-300);
}

.hero h1 {
  max-width: 17ch;
  font-size: var(--text-h1);
  font-weight: 650;
  font-stretch: 110%;
  line-height: 1.07;
  letter-spacing: -0.022em;
  color: var(--white);
}

.hero__lead {
  max-width: 35rem;
  margin: 1.5rem 0 2.25rem;
  font-size: var(--text-lead);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.84);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* The flame: a traced vector of the logo flame. It sways and stretches
   gently (SVG morph in the markup), with a small flicker and a breathing
   glow added here. */

.hero__light {
  position: relative;
  justify-self: center;
  width: min(100%, 17rem);
}

.hero__light::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 58%;
  width: 260%;
  aspect-ratio: 1;
  translate: -50% -50%;
  /* Clear blue light around the flame (a gold glow over navy turns grey) */
  background: radial-gradient(closest-side, rgba(40, 98, 196, 0.6), rgba(32, 84, 170, 0.25) 45%, rgba(32, 84, 170, 0.06) 72%, rgba(32, 84, 170, 0) 100%);
  animation: glow-breathe 3.9s ease-in-out infinite;
  pointer-events: none;
}


.flame {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  animation: flame-in 1.6s var(--ease) both;
}

.flame__body {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: flame-flicker 1.9s ease-in-out infinite;
}

/* Brightness flickers on two rhythms, like a lamp in still air */
.flame__glow { animation: glow-flicker 1.3s ease-in-out infinite alternate; }
.flame__hot { animation: hot-flicker 2.3s ease-in-out infinite; }

@keyframes glow-flicker {
  0%   { opacity: 0.58; }
  30%  { opacity: 0.74; }
  55%  { opacity: 0.62; }
  80%  { opacity: 0.72; }
  100% { opacity: 0.66; }
}

@keyframes hot-flicker {
  0%, 100% { opacity: 0.72; }
  40%      { opacity: 0.86; }
  70%      { opacity: 0.66; }
}

@keyframes flame-in {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

@keyframes flame-flicker {
  0%   { transform: scale(1, 1); }
  14%  { transform: scale(1.006, 0.991); }
  31%  { transform: scale(0.995, 1.012); }
  47%  { transform: scale(1.004, 0.996); }
  66%  { transform: scale(0.996, 1.01); }
  83%  { transform: scale(1.003, 0.997); }
  100% { transform: scale(1, 1); }
}

@keyframes glow-breathe {
  0%   { opacity: 0.86; scale: 0.985; }
  22%  { opacity: 1;    scale: 1.02; }
  40%  { opacity: 0.9;  scale: 0.995; }
  63%  { opacity: 1;    scale: 1.03; }
  81%  { opacity: 0.88; scale: 1; }
  100% { opacity: 0.86; scale: 0.985; }
}

/* Key facts strip at the foot of the hero */

.hero__facts {
  position: relative;
  border-top: 1px solid var(--line-on-navy);
  background: rgba(7, 27, 58, 0.22);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
}
.facts > div { padding: 1.4rem 1.5rem 1.5rem; border-left: 1px solid var(--line-on-navy); }
.facts > div:first-child { padding-left: 0; border-left: 0; }
.facts dt {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.facts dd { margin: 0.35rem 0 0; font-weight: 500; color: var(--white); }

/* Sections */

.section { padding-block: var(--space-section); }

.section-head { max-width: 42rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.75rem); }
.section-head h2 { margin-bottom: 1rem; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: var(--text-lead); line-height: 1.6; }

/* About */

.about__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 5vw, 6rem);
  align-items: end;
}
.about__intro h2 { max-width: 20ch; }
.about__body p { color: var(--muted); font-size: var(--text-lead); line-height: 1.65; }

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  margin: clamp(3rem, 2rem + 3vw, 4.5rem) 0 0;
  padding: 0;
  list-style: none;
}
.principles li { padding-top: 1.75rem; border-top: 1px solid var(--line); position: relative; }
.principles li::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 3rem;
  height: 2px;
  background: var(--gold-600);
}
.principles h3 { margin-bottom: 0.5rem; }
.principles p { color: var(--muted); }

/* Brands */

.brands { background: var(--paper); border-block: 1px solid var(--line); }

.feature {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.75rem, 4vw, 4.5rem);
  align-items: center;
  padding: clamp(2rem, 1.5rem + 3vw, 4rem);
  color: var(--white);
  background:
    radial-gradient(70% 120% at 0% 0%, rgba(53, 90, 146, 0.55), rgba(28, 61, 110, 0) 70%),
    linear-gradient(135deg, var(--navy-700), var(--navy-900));
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.feature::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-300) 50%, var(--gold-600));
}

.feature h3 {
  font-size: clamp(2.5rem, 1.7rem + 3.2vw, 4.25rem);
  font-weight: 700;
  font-stretch: 116%;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--white);
}
.feature__kind {
  margin: 1rem 0 0;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.feature__body > p { font-size: var(--text-lead); line-height: 1.6; color: rgba(255, 255, 255, 0.86); }

.feature__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 1.75rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-on-navy);
}
.feature__meta dt {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.feature__meta dd { margin: 0.3rem 0 0; font-weight: 500; color: var(--white); }

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.3rem 0.75rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
}
.status::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}
.status--soon {
  margin-bottom: 1.5rem;
  color: var(--gold-300);
  border-color: rgba(224, 181, 102, 0.45);
}
.status--soon::before { background: var(--gold-300); border-color: var(--gold-300); }

.pipeline-block { margin-top: clamp(3rem, 2rem + 3vw, 4.5rem); }

.pipeline-title {
  margin-bottom: 1rem;
  font-size: var(--text-xs);
  font-weight: 600;
  font-stretch: 100%;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.pipeline { margin: 0; padding: 0; list-style: none; counter-reset: pipeline; }

.pipeline li {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  counter-increment: pipeline;
}
.pipeline li::before {
  content: "0" counter(pipeline);
  font-size: var(--text-sm);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--gold-text);
}
.pipeline li:first-child { border-top: 1px solid var(--line); }
.pipeline h4 { margin-bottom: 0.2rem; }
.pipeline p { color: var(--muted); }

/* Work with us */

.partner__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.partner__grid li {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.partner__grid li:hover {
  border-color: rgba(194, 146, 70, 0.7);
  box-shadow: var(--shadow-card);
}

.partner__icon {
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1.5rem;
  fill: none;
  stroke: var(--gold-600);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.partner__grid h3 { margin-bottom: 0.5rem; }
.partner__grid p { color: var(--muted); }
.partner__grid a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy-700);
}
.partner__grid a::after {
  content: "\2192";
  transition: transform 0.25s var(--ease);
}
.partner__grid a:hover::after { transform: translateX(4px); }
/* Make the whole card clickable */
.partner__grid a::before { content: ""; position: absolute; inset: 0; }

/* Contact */

.contact { background: var(--navy-50); border-top: 1px solid var(--line); }

.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 5vw, 6rem);
  align-items: start;
}

.contact__intro { color: var(--muted); font-size: var(--text-lead); line-height: 1.6; margin-top: 1rem; }

.contact__block { margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.contact__block h3 {
  margin-bottom: 0.75rem;
  font-size: var(--text-xs);
  font-weight: 600;
  font-stretch: 100%;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.contact__block address { line-height: 1.75; margin-bottom: 0.75rem; }
.map-link { margin: 0; font-size: var(--text-sm); font-weight: 600; }

.inboxes { margin: 0; }
.inboxes div + div { margin-top: 1rem; }
.inboxes dt { font-size: var(--text-sm); color: var(--muted); }
.inboxes dd { margin: 0.1rem 0 0; font-weight: 600; }

.contact__form form {
  position: relative;
  padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.contact__form form::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto -1px;
  height: 3px;
  background: var(--gold-600);
  border-radius: var(--radius) var(--radius) 0 0;
}
.contact__form h3 { font-size: clamp(1.25rem, 1.15rem + 0.4vw, 1.5rem); margin-bottom: 0.4rem; }
.form-note { font-size: var(--text-sm); color: var(--muted); }

.field { margin-top: 1.15rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy-900);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid #b9c6d8;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 9rem; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--navy-500); }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(194, 146, 70, 0.45);
}

.field [aria-invalid="true"] { border-color: var(--danger); }
.field__error { margin: 0.4rem 0 0; font-size: var(--text-sm); color: var(--danger); font-weight: 560; }
.field__hint { margin: 0.4rem 0 0; font-size: var(--text-sm); color: var(--muted); }

/* Security check */

.captcha {
  display: flex;
  align-items: stretch;
  gap: 0.6rem;
}
.captcha__question {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-height: 3rem;
  margin: 0;
  padding: 0.5rem 1rem;
  background: var(--navy-50);
  border: 1px dashed #b9c6d8;
  border-radius: var(--radius);
  font-weight: 600;
  font-stretch: 104%;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--navy-900);
}
.field .captcha input { flex: 0 0 5.5rem; width: 5.5rem; text-align: center; font-weight: 600; }
.captcha__refresh {
  flex: 0 0 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: var(--white);
  border: 1px solid #b9c6d8;
  border-radius: var(--radius);
  color: var(--navy-700);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.captcha__refresh:hover { border-color: var(--navy-700); color: var(--navy-900); }
.captcha__refresh svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.captcha__refresh[disabled] { opacity: 0.5; cursor: progress; }

.field--check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 0.75rem;
  align-items: start;
  margin-top: 1.5rem;
}
.field--check input { width: 1.25rem; height: 1.25rem; min-height: 0; margin: 0.2rem 0 0; accent-color: var(--navy-700); }
.field--check label { margin: 0; font-weight: 400; color: var(--ink); font-size: var(--text-sm); line-height: 1.55; }
.field--check .field__error { grid-column: 2; }

.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact__form .button { margin-top: 1.75rem; width: 100%; }

.form-status { margin: 1rem 0 0; font-weight: 560; }
.form-status:empty { display: none; }
.form-status[data-state="ok"] { color: var(--ok); }
.form-status[data-state="error"] { color: var(--danger); }

/* Footer */

.site-footer {
  position: relative;
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.74);
  font-size: var(--text-sm);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-300) 50%, var(--gold-600));
}
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--gold-300); text-decoration: underline; }

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-block: 4rem 3rem;
}

.site-footer__brand img { width: 150px; margin-bottom: 1.25rem; }
.site-footer__title {
  margin-bottom: 1rem;
  font-size: var(--text-xs);
  font-weight: 600;
  font-stretch: 100%;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer__nav li + li { margin-top: 0.6rem; }
.site-footer__contact p { margin-bottom: 0.6rem; }

.site-footer__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  padding-block: 1.5rem 2rem;
}
/* Divider spans the content width, not the padding */
.site-footer__legal::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.page + .site-footer .site-footer__legal::before { display: none; }
.site-footer__legal p { margin: 0; }
.site-footer__ta {
  font-size: 1.1rem;
  color: var(--gold-300);
  opacity: 0.85;
}
.page + .site-footer .site-footer__legal { border-top: 0; }

/* Patterns: kolam motifs, kept faint and faded out with masks.
   - kolam lattice: interlaced circles with pulli dots (assets/img/patterns)
   - pulli grid: plain dots
   Each pattern sits on a ::before layer behind the section's content. */

.section,
.hero,
.feature,
.site-footer { isolation: isolate; }

.section { position: relative; }

.hero::before,
.section::before,
.feature::before,
.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* Hero: a kolam drawn in light around the flame */
.hero::before {
  background: url("../img/patterns/kolam-gold.svg?v=4725c666ab") center / 56px 56px;
  opacity: 0.12;
  -webkit-mask-image: radial-gradient(42% 70% at 79% 50%, #000 0%, rgba(0, 0, 0, 0.55) 45%, transparent 100%);
  mask-image: radial-gradient(42% 70% at 79% 50%, #000 0%, rgba(0, 0, 0, 0.55) 45%, transparent 100%);
}

/* About: pulli dots in the top-right corner */
.about::before {
  background-image: radial-gradient(rgba(10, 38, 80, 0.2) 1.2px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(38% 55% at 100% 0%, #000 0%, transparent 100%);
  mask-image: radial-gradient(38% 55% at 100% 0%, #000 0%, transparent 100%);
}

/* Our brands: kolam lattice across the top, fading down */
.brands::before {
  background: url("../img/patterns/kolam-navy.svg?v=9fbd6c29c9") 0 0 / 48px 48px;
  opacity: 0.07;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 55%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 55%);
}

/* Theeniwala card: gold lattice on the right */
.feature::before {
  background: url("../img/patterns/kolam-gold.svg?v=4725c666ab") 0 0 / 48px 48px;
  opacity: 0.1;
  -webkit-mask-image: linear-gradient(270deg, #000 0%, transparent 70%);
  mask-image: linear-gradient(270deg, #000 0%, transparent 70%);
}

/* Work with us: pulli dots in the bottom-left corner */
.partner::before {
  background-image: radial-gradient(rgba(10, 38, 80, 0.2) 1.2px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(50% 70% at 0% 100%, #000 0%, transparent 100%);
  mask-image: radial-gradient(50% 70% at 0% 100%, #000 0%, transparent 100%);
}

/* Contact: kolam lattice behind the details column */
.contact::before {
  background: url("../img/patterns/kolam-navy.svg?v=9fbd6c29c9") 0 0 / 48px 48px;
  opacity: 0.08;
  -webkit-mask-image: radial-gradient(60% 80% at 0% 100%, #000 0%, transparent 100%);
  mask-image: radial-gradient(60% 80% at 0% 100%, #000 0%, transparent 100%);
}

/* Footer: gold lattice fading in from the right */
.site-footer::after {
  background: url("../img/patterns/kolam-gold.svg?v=4725c666ab") 0 0 / 48px 48px;
  opacity: 0.06;
  -webkit-mask-image: linear-gradient(270deg, #000 0%, transparent 60%);
  mask-image: linear-gradient(270deg, #000 0%, transparent 60%);
}

/* Simple text pages */

.page { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.page__inner { max-width: 44rem; }
.page h1 { font-size: var(--text-h1); line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 0.75rem; }
.page h2 { font-size: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem); margin: 2.25rem 0 0.6rem; }
.page .updated { color: var(--muted); margin-bottom: 2rem; }
.page ul { padding-left: 1.2rem; }
.page li + li { margin-top: 0.35rem; }

/* Responsive */

@media (max-width: 960px) {
  .about__intro,
  .contact__inner,
  .feature { grid-template-columns: 1fr; }
  .about__intro { align-items: start; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(10, 38, 80, 0.1);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.25rem;
  }
  .site-nav a { padding: 1rem 0.25rem; border-bottom: 1px solid var(--line); }
  .site-nav a::after { display: none; }
  .site-nav a.site-nav__cta { margin: 1rem 0 0; text-align: center; border-bottom: 0; }
}

@media (max-width: 640px) {
  .principles { grid-template-columns: 1fr; gap: 2rem; }
  .partner__grid { grid-template-columns: 1fr; }

  /* Phone hero: one composition. The flame stands beside the Tamil name
     instead of taking a row of its own. */
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__mark { padding-right: 5.5rem; }
  .hero::before {
    -webkit-mask-image: radial-gradient(48% 20% at 92% 12%, #000 0%, transparent 100%);
    mask-image: radial-gradient(48% 20% at 92% 12%, #000 0%, transparent 100%);
  }
  .hero__name { font-size: min(clamp(2.5rem, 1.6rem + 3.8vw, 4.75rem), 9vw); }
  .hero__meaning { gap: 0.6rem; letter-spacing: 0.14em; }
  .hero__meaning::before { display: none; }
  .hero__meaning span { text-wrap: balance; }
  .hero__light {
    position: absolute;
    top: clamp(2.25rem, 1rem + 5vw, 3.5rem);
    right: var(--gutter);
    width: 4.75rem;
  }
  .hero__light::before { width: 300%; }

  .facts { grid-template-columns: 1fr; }
  .facts > div,
  .facts > div:first-child { padding: 1rem 0; border-left: 0; }
  .facts > div + div { border-top: 1px solid var(--line-on-navy); }
}

@media (max-width: 560px) {
  .brand img { width: 118px; }
  .site-header__inner { min-height: 4.25rem; }
  .field-row { grid-template-columns: 1fr; }
  .feature__meta { grid-template-columns: 1fr; }
  .pipeline li { grid-template-columns: 2.25rem minmax(0, 1fr); gap: 0.5rem 1rem; align-items: start; }
  .pipeline li::before { padding-top: 0.1rem; }
  .pipeline .status { grid-column: 2; justify-self: start; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .site-footer__legal { flex-direction: column; align-items: flex-start; }
  .hero__actions .button { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
