/* ==========================================================================
   Samatha Australia
   Brand tokens sampled from assets/logo/samatha-logo.webp
   Fonts self-hosted — no third-party request from the client's site
   ========================================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../assets/fonts/bricolage-grotesque-wght.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter Var";
  src: url("../assets/fonts/inter-wght.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans Malayalam";
  src: url("../assets/fonts/noto-sans-malayalam-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0D00-0D7F, U+200C-200D;
}

:root {
  /* brand */
  --red:      #A71E21;
  --red-dk:   #7E1618;
  --orange:   #F2622C;
  --amber:    #F6911D;
  --ink:      #231E1F;
  --ink-70:   #554C4A;
  --ink-55:   #766B69;

  /* surfaces — warm, not neutral grey */
  --cream:    #FDF9F5;
  --sand:     #F7EDE3;
  --sand-dp:  #F0DFD0;
  --night:    #1A1312;
  --night-2:  #241A18;
  --rule:     #E7D8CA;
  --rule-dk:  #3A2C29;

  --grad-warm: linear-gradient(120deg, var(--red) 0%, var(--orange) 55%, var(--amber) 100%);

  --font-display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Inter Var", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mal: "Noto Sans Malayalam", var(--font-body);

  --wrap: 1180px;
  --section-y: clamp(4rem, 10vw, 8.5rem);
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --shadow: 0 1px 2px rgba(35,30,31,.04), 0 8px 28px -12px rgba(35,30,31,.16);
  --shadow-lift: 0 2px 4px rgba(35,30,31,.05), 0 22px 48px -18px rgba(167,30,33,.28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.028em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 1.3rem + 5.6vw, 5.6rem); font-weight: 750; }
h2 { font-size: clamp(2rem, 1.35rem + 2.9vw, 3.4rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.5rem); letter-spacing: -0.02em; }
p  { margin: 0 0 1.05em; text-wrap: pretty; }

a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }
.section--sand { background: var(--sand); }
.section--night { background: var(--night); color: #EDE3DE; }
.section--night h2, .section--night h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.75rem; font-weight: 650; letter-spacing: 0.17em;
  text-transform: uppercase; color: var(--red);
  margin: 0 0 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--orange); border-radius: 2px;
}
.section--night .eyebrow { color: var(--amber); }
.section--night .eyebrow::before { background: var(--amber); }

.mal { font-family: var(--font-mal); font-weight: 600; }

/* --------------------------------------------------------- buttons */
.btn {
  --btn-bg: var(--red);
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 1.75rem; min-height: 50px; letter-spacing: .005em;
  border: 2px solid transparent; border-radius: 999px;
  font-family: var(--font-body); font-weight: 620; font-size: 0.98rem;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-image .25s, background-color .2s, color .2s, transform .25s cubic-bezier(.34,1.4,.64,1), box-shadow .25s;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s cubic-bezier(.34,1.4,.64,1); }
.btn--primary svg { opacity: .92; }
.btn:hover svg { transform: translateX(4px); }
.btn--primary {
  color: #fff;
  /* lit from the top-left so the pill reads as a form, not a flat swatch.
     Highlight kept low: measured white-on-lightest-fill is 5.6:1. */
  background-image: linear-gradient(140deg, #B32226 0%, var(--red) 46%, #841819 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14),
    inset 0 -1px 0 rgba(0,0,0,.18),
    0 10px 22px -10px rgba(167,30,33,.65),
    0 2px 6px -3px rgba(35,30,31,.35);
}
.btn--primary:hover {
  color: #fff;
  background-image: linear-gradient(140deg, #BE2529 0%, #9C1D20 46%, #781516 100%);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    inset 0 -1px 0 rgba(0,0,0,.2),
    0 18px 30px -12px rgba(167,30,33,.72),
    0 3px 8px -4px rgba(35,30,31,.4);
}
.btn--primary:active {
  transform: translateY(0);
  background-image: linear-gradient(140deg, #A81F22 0%, #8B1A1C 60%, #7E1618 100%);
  box-shadow: inset 0 2px 5px rgba(0,0,0,.28), 0 4px 10px -6px rgba(167,30,33,.6);
}
.btn--ghost { border-color: var(--rule); color: var(--ink); background: rgba(255,255,255,.6); }
.btn--ghost:hover { border-color: var(--red); color: var(--red); background: #fff; transform: translateY(-2px); }
.section--night .btn--ghost,
.site-footer .btn--ghost { border-color: var(--rule-dk); color: #fff; background: transparent; }
.section--night .btn--ghost:hover,
.site-footer .btn--ghost:hover { border-color: var(--amber); color: var(--amber); background: rgba(255,255,255,.04); }

/* --------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(253,249,245,.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.site-header.is-stuck { border-bottom-color: var(--rule); box-shadow: 0 6px 22px -18px rgba(35,30,31,.5); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.75rem; }

/* The wordmark is artwork, not type — it carries the kangaroo-star in place of
   the A, which no substitute typeface can reproduce. Never reset it in a font. */
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.brand__mark { width: 42px; height: auto; transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.brand:hover .brand__mark { transform: rotate(28deg); }
.brand__wordmark { width: auto; height: 38px; }
@media (max-width: 420px) { .brand__wordmark { height: 32px; } }

.nav { display: flex; align-items: center; gap: 0.35rem; }
/* :not(.btn) — a bare `.nav a` rule outranks `.btn--primary` on specificity and
   would repaint the CTA's label with body ink on red (2.2:1). */
.nav a:not(.btn) {
  position: relative; color: var(--ink); text-decoration: none;
  font-weight: 550; font-size: 0.94rem; padding: 0.5rem 0.8rem; border-radius: 999px;
  transition: color .18s, background-color .18s;
}
.nav a:not(.btn):hover { color: var(--red); background: var(--sand); }
.nav a[aria-current="true"]:not(.btn) { color: var(--red); }
.nav a[aria-current="true"]:not(.btn)::after {
  content: ""; position: absolute; left: 50%; translate: -50% 0; bottom: 2px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--orange);
}
.nav .btn { margin-left: 0.5rem; }

.nav-toggle { display: none; background: none; border: 0; padding: 0.6rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; inset: 100% 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--rule);
    padding: 0.5rem 1.25rem 1.4rem; box-shadow: 0 20px 30px -22px rgba(35,30,31,.5);
  }
  .nav[hidden] { display: none; }
  .nav a:not(.btn) { padding: 0.85rem 0.2rem; border-radius: 0; border-bottom: 1px solid var(--rule); }
  .nav .btn { margin: 1rem 0 0; border-bottom: 0; justify-content: center; }
}

/* --------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 8vw, 7rem); }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 130%;
  background:
    radial-gradient(46% 42% at 78% 26%, rgba(242,98,44,.16), transparent 68%),
    radial-gradient(40% 40% at 12% 8%, rgba(246,145,29,.14), transparent 66%),
    linear-gradient(180deg, var(--sand) 0%, var(--cream) 78%);
  z-index: -2;
}
.hero__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 940px) { .hero__grid { grid-template-columns: 1.08fr 0.92fr; } }

.hero h1 .grad {
  background: var(--grad-warm); -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero__lede {
  font-size: clamp(1.08rem, 1rem + 0.62vw, 1.4rem); line-height: 1.55;
  color: var(--ink-70); max-width: 46ch; margin-top: 1.2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--rule); font-size: 0.88rem; color: var(--ink-55); }
.hero__meta strong { color: var(--ink); font-weight: 620; }

/* logo + warm halo */
.hero__mark { position: relative; display: grid; place-items: center; justify-self: center; width: min(100%, 460px); aspect-ratio: 1; }
.hero__mark img {
  position: relative; z-index: 1; width: 78%;
  filter: drop-shadow(0 26px 44px rgba(167,30,33,.20));
  animation: float 7s ease-in-out infinite;
}
/* Warm halo behind the mark. The logo already carries its own radiating dot
   ring, so nothing here repeats that geometry — it only adds depth and light. */
.mark-halo {
  position: absolute; inset: 6%; border-radius: 50%;
  background: radial-gradient(circle at 50% 46%,
    rgba(246,145,29,.34) 0%, rgba(242,98,44,.20) 42%, rgba(167,30,33,.06) 62%, transparent 74%);
  filter: blur(26px);
  animation: breathe 9s ease-in-out infinite;
}
@keyframes float   { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.07); opacity: 1; } }

/* --------------------------------------------------------- values strip */
.values { background: var(--night); color: #EDE3DE; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.values__grid { display: grid; gap: 1.5rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.value { display: flex; gap: 1rem; align-items: flex-start; }
.value__num { font-family: var(--font-display); font-size: 0.82rem; font-weight: 700; letter-spacing: .1em; color: var(--amber); padding-top: .35rem; }
.value h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.value p { margin: 0; font-size: 0.93rem; color: #BCAFAA; }

/* --------------------------------------------------------- split layout */
.split { display: grid; gap: clamp(1.75rem, 4vw, 4rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 940px) {
  .split { grid-template-columns: 0.82fr 1.5fr; }
  .split__aside { position: sticky; top: 7rem; }
}
.split__aside h2 { margin-bottom: .7rem; }
.split__note { font-size: .96rem; color: var(--ink-55); max-width: 32ch; margin: 0; }

.prose { max-width: 64ch; }
.prose > p:last-child { margin-bottom: 0; }
.prose .lead { font-size: clamp(1.12rem, 1rem + 0.6vw, 1.42rem); line-height: 1.5; font-weight: 500; color: var(--ink); }
.prose em { font-style: normal; color: var(--red); font-weight: 620; }

.pullquote {
  font-family: var(--font-display); font-weight: 600; font-style: italic;
  font-size: clamp(1.15rem, 1rem + 0.75vw, 1.6rem); line-height: 1.3;
  color: var(--red); margin: 2rem 0 0; padding-left: 1.4rem;
  border-left: 4px solid var(--amber); text-wrap: balance;
}

/* --------------------------------------------------------- activity rows */
.activity { display: grid; gap: 0; margin-top: 3rem; }
.activity__row {
  display: grid; gap: 1rem 2.5rem; grid-template-columns: 1fr;
  padding-block: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--rule);
  transition: background-color .3s;
}
.activity__row:last-child { border-bottom: 1px solid var(--rule); }
@media (min-width: 860px) {
  .activity__row { grid-template-columns: auto 0.9fr 1.4fr; align-items: start; }
}
.activity__num {
  font-family: var(--font-display); font-weight: 750;
  font-size: clamp(2rem, 1.5rem + 2vw, 3.2rem); line-height: 1;
  background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent;
  min-width: 2.4ch;
}
.activity__row h3 { margin: 0; padding-top: .25rem; }
.activity__row p { margin: 0; color: var(--ink-70); }

.pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; padding: 0; list-style: none; }
.pills li {
  font-size: .84rem; font-weight: 560; padding: .35rem .85rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--rule); color: var(--ink-70);
}
.section--sand .pills li { background: var(--cream); }

/* --------------------------------------------------------- logo meaning */
.meaning {
  display: grid; gap: 1.75rem; align-items: center; grid-template-columns: 1fr;
  margin-top: 3rem; padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--sand); border-radius: var(--r-lg);
}
@media (min-width: 620px) { .meaning { grid-template-columns: 132px 1fr; } }
.meaning img { width: 132px; margin-inline: auto; }
.meaning h3 { margin-bottom: .5rem; }
.meaning p { margin: 0; font-size: .97rem; color: var(--ink-70); }
.meaning dl { display: grid; gap: .4rem; margin: 1rem 0 0; font-size: .9rem; }
.meaning dt { font-weight: 650; color: var(--red); }
.meaning dd { margin: 0 0 .35rem; color: var(--ink-70); }
@media (min-width: 480px) {
  .meaning dl { grid-template-columns: auto 1fr; gap: .35rem 1rem; align-items: baseline; }
  .meaning dd { margin-bottom: 0; }
}

/* --------------------------------------------------------- event card */
.event {
  display: grid; gap: 1.5rem 2.5rem; grid-template-columns: 1fr; align-items: center;
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  background: #fff; border: 1px solid var(--rule); border-radius: var(--r-lg);
  box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.event:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
@media (min-width: 720px) { .event { grid-template-columns: auto 1fr auto; } }
.event__date {
  display: grid; place-items: center; gap: .1rem;
  width: 104px; height: 104px; border-radius: var(--r-md);
  background: var(--grad-warm); color: #fff; text-align: center;
}
.event__day { font-family: var(--font-display); font-size: 2.3rem; font-weight: 750; line-height: 1; }
.event__mon { font-size: .72rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; }
.event__body h3 { margin-bottom: .3rem; }
.event__body p { margin: 0; color: var(--ink-70); font-size: .96rem; }

/* --------------------------------------------------------- CTA band */
.cta { position: relative; overflow: hidden; background: var(--night); }
.cta { color: #EDE3DE; }
.cta h2 { color: #fff; }
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 90% at 82% 30%, rgba(242,98,44,.26), transparent 62%),
              radial-gradient(45% 70% at 8% 90%, rgba(167,30,33,.32), transparent 66%);
}
.cta > * { position: relative; }
.cta__inner { display: grid; gap: 2rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .cta__inner { grid-template-columns: 1.5fr auto; } }
.cta p { color: #C9BCB7; max-width: 48ch; margin: 0; }

/* --------------------------------------------------------- contact */
.contact-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .contact-grid { grid-template-columns: 1fr 1fr; } .contact-card--wide { grid-column: 1 / -1; } }
.contact-card {
  padding: 1.4rem 1.5rem; background: #fff; border: 1px solid var(--rule);
  border-radius: var(--r-md); box-shadow: var(--shadow);
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); border-color: #EFD6C6; }
.contact-card__label {
  margin: 0 0 .4rem; font-size: .76rem; font-weight: 650; letter-spacing: .15em;
  text-transform: uppercase; color: var(--ink-55);
}
.contact-card__value {
  display: inline-block; font-family: var(--font-display); font-weight: 650;
  font-size: clamp(1.05rem, .98rem + .45vw, 1.3rem); letter-spacing: -.015em;
  color: var(--red); text-decoration: none; word-break: break-word;
}
a.contact-card__value:hover { color: var(--orange); }
.contact-card__value--plain { font-style: normal; color: var(--ink); line-height: 1.35; }

/* --------------------------------------------------------- footer */
.site-footer {
  position: relative; overflow: hidden;
  background: var(--night-2); color: #B9ACA7;
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
  border-top: 3px solid transparent;
  border-image: var(--grad-warm) 1;
}
.footer-glow {
  position: absolute; inset: auto -20% -55% -20%; height: 130%;
  background: radial-gradient(42% 60% at 22% 88%, rgba(167,30,33,.34), transparent 66%),
              radial-gradient(38% 55% at 88% 96%, rgba(242,98,44,.20), transparent 64%);
  pointer-events: none;
}
.site-footer .wrap { position: relative; }
.site-footer a { color: #E7DAD4; text-decoration: none; transition: color .18s; }
.site-footer a:hover { color: var(--amber); }

/* closing statement */
.footer-lede {
  display: grid; gap: 1.5rem; align-items: center; grid-template-columns: 1fr;
  padding-bottom: clamp(2.25rem, 4vw, 3rem);
  margin-bottom: clamp(1.75rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--rule-dk);
}
@media (min-width: 820px) { .footer-lede { grid-template-columns: auto 1fr auto; gap: 2rem; } }
.footer-mark { width: 72px; }
.footer-statement {
  font-family: var(--font-display); font-weight: 650; color: #fff;
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem); line-height: 1.12;
  letter-spacing: -0.025em; margin: 0; text-wrap: balance;
}
.footer-mal { margin: .55rem 0 0; font-size: 1.5rem; color: var(--amber); opacity: .85; letter-spacing: .04em; }
.footer-cta { white-space: nowrap; }

/* columns */
.site-footer__grid { display: grid; gap: 2.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.site-footer h3 {
  color: #fff; font-family: var(--font-body); font-size: .74rem; font-weight: 650;
  letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1.1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .6rem; font-size: .96rem; }
.site-footer__grid a { position: relative; }
.site-footer__grid a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px;
  background: var(--amber); transition: right .25s ease;
}
.site-footer__grid a:hover::after { right: 0; }
.footer-address { font-style: normal; font-size: .96rem; line-height: 1.6; }
.footer-reg { color: #8C7F7B; }

/* base row */
.site-footer__base {
  border-top: 1px solid var(--rule-dk); margin-top: clamp(1.75rem, 3vw, 2.25rem); padding-top: 1.4rem;
  font-size: .84rem; display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; align-items: center;
  justify-content: space-between;
}
.to-top { display: inline-flex; align-items: center; gap: .45rem; font-weight: 550; }
.to-top svg { width: 14px; height: 14px; transition: transform .2s; }
.to-top:hover svg { transform: translateY(-3px); }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 100; background: #fff; padding: .8rem 1.3rem; border-radius: 8px; box-shadow: var(--shadow); }

/* --------------------------------------------------------- scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

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

/* Unfilled content — visible in dev, greppable. Remove before launch. */
[data-todo] { outline: 1px dashed var(--orange); outline-offset: 3px; }
li[data-todo], span[data-todo] { display: inline-block; }

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