/* =====================================================================
   RAGARASA — Company Profile
   Faithful to the Ragarasa Design System handoff bundle.
   Display: Playfair Display · Logo: Cinzel · Body/UI: Mulish
   Warm, natural, earthy wellness palette · soft warm shadows
   ===================================================================== */

/* ---------- Tokens (from DS: colors / typography / spacing) ---------- */
:root {
  /* Sage Green (primary) */
  --sage-900: #2E3A2C;
  --sage-800: #3C4A39;
  --sage-700: #4E5E49;
  --sage-600: #5E6E58;
  --sage-500: #7D8F7A;
  --sage-400: #97A693;
  --sage-300: #B4C0B0;
  --sage-200: #D2DACE;
  --sage-100: #E6EBE3;
  --sage-50: #F2F5F0;
  /* Warm Gold (accent) */
  --gold-700: #8F7330;
  --gold-600: #AD8B40;
  --gold-500: #C9A657;
  --gold-400: #D7BB7C;
  --gold-300: #E4CF9C;
  --gold-200: #EFE1C2;
  --gold-100: #F7EFDD;
  /* Soft Terracotta */
  --terracotta-700: #A24E33;
  --terracotta-600: #BE6244;
  --terracotta-500: #D87A5A;
  --terracotta-400: #E29680;
  --terracotta-300: #ECB7A4;
  --terracotta-200: #F4D6C9;
  --terracotta-100: #FAEAE1;
  /* Lavender Mist */
  --lavender-600: #9A89AE;
  --lavender-500: #B8A9C9;
  --lavender-400: #C7BAD5;
  --lavender-300: #D7CDE1;
  --lavender-200: #E8E1EE;
  --lavender-100: #F3EFF7;
  /* Warm neutrals */
  --ivory: #FBF8F3;
  --sand: #F2E7D6;
  --sand-deep: #E7D7C0;
  --paper: #FFFFFF;
  --clay-100: #EFE7DB;
  --ink-900: #1F2A1D;
  --ink: #2C3729;
  --ink-soft: #51604C;
  --ink-muted: #7B8676;

  /* Semantic aliases */
  --color-primary: var(--sage-600);
  --color-primary-hover: var(--sage-700);
  --color-primary-press: var(--sage-800);
  --color-accent: var(--gold-500);
  --color-accent-hover: var(--gold-600);
  --bg: var(--ivory);
  --surface: var(--paper);
  --surface-sand: var(--sand);
  --surface-sage: var(--sage-50);
  --text-strong: var(--ink);
  --text-body: var(--ink-soft);
  --text-muted: var(--ink-muted);
  --text-on-dark: var(--ivory);
  --text-accent: var(--gold-700);
  --border: #E4DBCB;
  --border-strong: #D5C8B2;
  --border-sage: var(--sage-200);
  --focus-ring: var(--gold-500);
  --pillar-temu: var(--gold-500);
  --pillar-utuh: var(--lavender-500);
  --pillar-tumbuh: var(--sage-500);
  --pillar-bermakna: var(--terracotta-500);

  /* Type */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-logo: 'Cinzel', 'Playfair Display', serif;
  --font-body: 'Mulish', -apple-system, 'Segoe UI', system-ui, sans-serif;
  --tracking-wider: 0.12em;
  --tracking-logo: 0.22em;

  /* Spacing / radius / shadow / motion */
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  --shadow-xs: 0 1px 2px rgba(60, 50, 36, 0.05);
  --shadow-sm: 0 2px 8px rgba(60, 50, 36, 0.06);
  --shadow-md: 0 8px 24px rgba(60, 50, 36, 0.08);
  --shadow-lg: 0 18px 48px rgba(60, 50, 36, 0.10);
  --shadow-focus: 0 0 0 3px rgba(201, 166, 87, 0.35);
  --container: 1200px;
  --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 140ms;
  --dur-base: 240ms;
  --dur-slow: 420ms;
}

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

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-strong);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

::selection {
  background: var(--gold-200);
  color: var(--ink);
}

:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
  border-radius: 6px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

.wrap--narrow {
  max-width: 920px;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -90px;
  transform: translateX(-50%);
  background: var(--sage-600);
  color: var(--ivory);
  padding: .6rem 1.2rem;
  border-radius: var(--radius-pill);
  z-index: 200;
  white-space: nowrap;
  transition: top var(--dur-fast);
}

.skip-link:focus {
  top: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: 0;
  border-radius: var(--radius-pill);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background var(--dur-base) var(--ease-soft), color var(--dur-base), transform var(--dur-base) var(--ease-soft), box-shadow var(--dur-base);
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--sage-600);
  color: var(--ivory);
  padding: 16px 32px;
  font-size: 17px;
}

.btn--primary:hover {
  background: var(--sage-700);
}

.btn--gold {
  background: var(--gold-500);
  color: var(--ink);
  padding: 16px 34px;
  font-size: 17px;
}

.btn--gold:hover {
  background: var(--gold-600);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border-strong);
  padding: 15px 31px;
  font-size: 17px;
}

.btn--outline:hover {
  border-color: var(--sage-500);
  color: var(--sage-700);
}

.btn--ghost-sage {
  background: transparent;
  color: var(--sage-700);
  border: 1px solid var(--sage-500);
  padding: 13px 28px;
  font-size: 16px;
}

.btn--ghost-sage:hover {
  background: var(--sage-600);
  color: var(--ivory);
}

.btn--sm {
  padding: 11px 22px;
  font-size: 14px;
}

/* ---------- Eyebrow & section heads ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-700);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: .5;
}

.eyebrow--center {
  justify-content: center;
}

.eyebrow--on-dark {
  color: var(--gold-300);
}

.head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.head .eyebrow {
  margin-bottom: 16px;
}

.head h2 {
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.head p {
  margin-top: 14px;
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.6;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 40px;
  background: rgba(251, 248, 243, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.brand img {
  width: 38px;
  height: 38px;
}

.brand-name {
  font-family: var(--font-logo);
  font-weight: 600;
  letter-spacing: var(--tracking-logo);
  color: var(--sage-600);
  font-size: 19px;
  padding-left: 0.22em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  background: none;
  border: 0;
  padding: 4px 0;
  transition: color var(--dur-fast);
}

.nav-link:hover {
  color: var(--sage-700);
}

.nav-link[aria-current="page"] {
  color: var(--sage-700);
}

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  background: var(--sage-600);
  border-radius: 2px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 3px;
}

.lang button {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 11px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  transition: background var(--dur-fast), color var(--dur-fast);
}

.lang button[aria-pressed="true"] {
  color: var(--ivory);
  background: var(--sage-600);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 11px 9px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink-soft);
}

/* ---------- Page switching ---------- */
.rr-page[hidden] {
  display: none;
}

main {
  padding-top: 69px;
}

.section {
  padding: 84px 0;
}

.section--sage {
  background: var(--surface-sage);
}

.section--sand {
  background: var(--surface-sand);
}

.section--sage700 {
  background: var(--sage-700);
}

.section--ink {
  background: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 40px 80px;
}

.hero h1 {
  font-weight: 600;
  font-size: clamp(2.6rem, 6vw, 4.625rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  margin: 18px 0 24px;
}

.hero h1 em {
  font-style: italic;
  color: var(--sage-600);
}

.hero-lead {
  font-size: 19px;
  line-height: 1.7;
  color: var(--text-body);
  max-width: 46ch;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-media {
  position: relative;
}

.hero-media-frame {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  background: var(--sand);
}

.hero-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  bottom: -26px;
  left: -26px;
  width: 92px;
  height: 92px;
  background: var(--ivory);
  border-radius: 50%;
  padding: 14px;
  box-shadow: var(--shadow-md);
}

/* ---------- Pillars ---------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 22px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.pillar-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.pillar-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.pillar--temu .pillar-icon {
  background: var(--gold-100);
  border: 1px solid var(--gold-500);
}

.pillar--utuh .pillar-icon {
  background: var(--lavender-100);
  border: 1px solid var(--lavender-500);
}

.pillar--tumbuh .pillar-icon {
  background: var(--sage-100);
  border: 1px solid var(--sage-500);
}

.pillar-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.pillar--temu .pillar-label {
  color: var(--gold-700);
}

.pillar--utuh .pillar-label {
  color: var(--lavender-600);
}

.pillar--tumbuh .pillar-label {
  color: var(--sage-700);
}

.card p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
}

.bermakna {
  background: var(--surface-sand);
  border: 1px solid var(--sand-deep);
  border-radius: var(--radius-lg);
  padding: 30px 34px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.bermakna img {
  width: 54px;
  height: 54px;
  flex: none;
}

.bermakna h3 {
  font-style: italic;
  font-weight: 600;
  font-size: 26px;
  margin-bottom: 4px;
  color: var(--terracotta-700);
}

.bermakna p {
  font-size: 17px;
  color: var(--text-body);
  line-height: 1.6;
}

/* ---------- Why ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.media-frame {
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 5/4;
  background: var(--sand);
  box-shadow: var(--shadow-md);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-copy h2 {
  font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 2.375rem);
  line-height: 1.15;
  margin: 16px 0;
}

.why-copy>p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 28px;
}

.why-solution {
  border-left: 3px solid var(--sage-500);
  padding: 4px 0 4px 22px;
}

.why-solution h3 {
  font-size: 23px;
  color: var(--sage-700);
  margin-bottom: 8px;
}

.why-solution p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
}

/* ---------- Ecosystem teaser ---------- */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}

.eco-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
}

.eco-card h4,
.brand-card h4 {
  font-size: 20px;
  margin: 0 0 6px;
  color: var(--ink);
}

.eco-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-body);
}

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.tag--school {
  color: var(--gold-700);
  background: var(--gold-100);
}

.tag--family {
  color: var(--sage-700);
  background: var(--sage-100);
}

.tag--corp {
  color: var(--lavender-600);
  background: var(--lavender-100);
}

.tag--elders {
  color: var(--terracotta-700);
  background: var(--terracotta-100);
}

.center {
  text-align: center;
}

/* ---------- CTA band ---------- */
.cta-band {
  max-width: 880px;
  margin: 0 auto;
  padding: 88px 40px;
  text-align: center;
}

.cta-band img {
  width: 72px;
  height: 72px;
  margin: 0 auto 26px;
}

.cta-band h2 {
  font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 2.5rem);
  line-height: 1.2;
  color: var(--ivory);
  margin-bottom: 30px;
}

/* ---------- About: purpose/vision, values, team ---------- */
.page-hero {
  max-width: 920px;
  margin: 0 auto;
  padding: 92px 40px 56px;
  text-align: center;
}

.page-hero h1 {
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.375rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 18px 0 24px;
}

.page-hero .eyebrow {
  margin-bottom: 18px;
}

.page-hero p {
  font-size: 19px;
  line-height: 1.8;
  color: var(--text-body);
}

.page-hero p+p {
  font-size: 17px;
  margin-top: 16px;
}

.pv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.pv-card {
  border-radius: var(--radius-lg);
  padding: 40px;
}

.pv-card--purpose {
  background: var(--surface-sage);
  border: 1px solid var(--sage-200);
}

.pv-card--vision {
  background: var(--surface-sand);
  border: 1px solid var(--sand-deep);
}

.pv-card .label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.pv-card--purpose .label {
  color: var(--sage-700);
}

.pv-card--vision .label {
  color: var(--gold-700);
}

.pv-card p {
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1.4;
  color: var(--ink);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.value {
  text-align: center;
}

.value-initial {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--sage-600);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-300);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
}

.value h4 {
  font-size: 20px;
  color: var(--ivory);
  margin-bottom: 8px;
}

.value p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--sage-200);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.team-photo {
  aspect-ratio: 1/1;
  border-radius: 20px;
  background: var(--sand);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sand-deep);
}

.team-photo svg {
  width: 46px;
  height: 46px;
}

.team-card h4 {
  font-size: 19px;
  color: var(--ink);
  margin-bottom: 4px;
}

.team-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ---------- Ecosystem page ---------- */
.section-lead {
  margin-bottom: 36px;
}

.section-lead .eyebrow {
  margin-bottom: 14px;
}

.section-lead h2 {
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.125rem);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.cat-card {
  display: flex;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 28px;
}

.cat-num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  color: var(--sage-400);
  flex: none;
  line-height: 1;
}

.cat-card h4 {
  font-size: 21px;
  color: var(--ink);
  margin-bottom: 6px;
}

.cat-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-body);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.brand-card {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
}

.brand-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex: none;
  margin-top: 7px;
}

.brand-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-body);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  text-align: center;
  padding: 0 12px;
}

.step-num {
  width: 54px;
  height: 54px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--gold-100);
  border: 1px solid var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--gold-700);
}

.step h4 {
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 10px;
}

.step p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.post {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.post-img {
  aspect-ratio: 16/10;
  background: var(--sand);
}

.post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-body {
  padding: 24px;
}

.post-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-600);
  margin-bottom: 10px;
}

.post-body h4 {
  font-size: 20px;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 10px;
}

.post-meta {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h1 {
  font-weight: 600;
  font-size: clamp(2.1rem, 4.6vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 18px 0;
}

.contact-info>p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-body);
  max-width: 42ch;
  margin-bottom: 36px;
}

.contact-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-point .label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-point span:last-child {
  font-size: 17px;
  color: var(--ink);
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-strong);
}

.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 13px 15px;
  outline: none;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--sage-500);
  box-shadow: var(--shadow-focus);
}

.field input[aria-invalid="true"] {
  border-color: var(--terracotta-500);
}

.field-error {
  font-size: 13px;
  color: var(--terracotta-600);
  font-weight: 600;
}

.form-thanks {
  text-align: center;
  padding: 48px 12px;
}

.form-thanks .mark {
  font-size: 40px;
  color: var(--gold-500);
  margin-bottom: 16px;
}

.form-thanks p {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--sage-700);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  background: none;
  border: 0;
  padding: 22px 26px;
  text-align: left;
}

.faq-q span:first-child {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--ink);
}

.faq-sign {
  font-size: 24px;
  color: var(--sage-500);
  flex: none;
  line-height: 1;
}

.faq-a {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  padding: 0 26px 24px;
}

.faq-item[hidden] {
  display: none;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--sage-200);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 32px;
  height: 32px;
}

.footer-brand .brand-name {
  color: var(--ivory);
  font-size: 16px;
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  color: var(--gold-300);
}

.footer-rights {
  font-size: 13px;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width:960px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 64px 40px 56px;
  }

  .hero-media {
    order: -1;
    max-width: 420px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .eco-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 32px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cat-grid,
  .brand-grid,
  .contact-grid,
  .pv-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-grid {
    gap: 40px;
  }

  .blog-grid,
  .pillars-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width:680px) {

  .wrap,
  .hero,
  .cta-band,
  .page-hero {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero {
    padding-top: 48px;
  }

  .site-header {
    padding: 15px 18px;
    gap: 12px;
  }

  .nav,
  .header-right>.btn {
    display: none;
  }

  .header-right {
    gap: 10px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header.nav-open .nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    background: var(--ivory);
    border-bottom: 1px solid var(--border);
    padding: 14px 22px;
  }

  .site-header.nav-open .nav-link[aria-current="page"]::after {
    display: none;
  }

  .eco-grid,
  .values-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .section {
    padding: 60px 0;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ===================================================================
   "Kemarin" character on the DS — warm neumorphic depth · breathing
   "Sadar" orb · scroll-driven journey · organic wave dividers.
   Built entirely on official DS tokens (sage / gold / sand / ivory).
   =================================================================== */
:root {
  --nm-light: #FFFFFF;
  --nm-dark: #E5DAC4;
  /* warm tan, derived from sand */
  --shadow-nm: -6px -6px 16px var(--nm-light), 6px 6px 18px var(--nm-dark);
  --shadow-nm-sm: -3px -3px 8px var(--nm-light), 3px 3px 9px var(--nm-dark);
  --shadow-nm-inset: inset -4px -4px 9px var(--nm-light), inset 4px 4px 9px var(--nm-dark);
}

/* warm neumorphic depth on cards */
.pillars-grid .card {
  box-shadow: var(--shadow-nm);
  border-color: rgba(228, 219, 203, .55);
  transition: transform var(--dur-base) var(--ease-soft), box-shadow var(--dur-base);
}

.pillars-grid .card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-nm), var(--shadow-lg);
}

.eco-card {
  box-shadow: var(--shadow-nm-sm);
  border-color: rgba(228, 219, 203, .55);
  transition: transform var(--dur-base) var(--ease-soft), box-shadow var(--dur-base);
}

.eco-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-nm);
}

/* organic wave dividers (current color -> next color) */
.wave {
  line-height: 0;
}

.wave svg {
  display: block;
  width: 100%;
  height: 72px;
}

.wave--ivory-sage {
  background: var(--ivory);
}

.wave--ivory-sage path {
  fill: var(--surface-sage);
}

.wave--sage-sand {
  background: var(--surface-sage);
}

.wave--sage-sand path {
  fill: var(--surface-sand);
}

.wave--sand-ivory {
  background: var(--surface-sand);
}

.wave--sand-ivory path {
  fill: var(--ivory);
}

/* ---- Breathing "Sadar" orb (hero) ---- */
.orb-stage {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.orb {
  position: relative;
  width: clamp(240px, 32vw, 360px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.orb-ring--1 {
  background: radial-gradient(circle at 38% 32%, #FFFFFF, #D2DACE 60%, #B4C0B0 100%);
  box-shadow: var(--shadow-nm), var(--shadow-lg);
  animation: rr-breathe 8s var(--ease-out) infinite;
}

.orb-ring--2 {
  inset: 14%;
  background: radial-gradient(circle at 40% 34%, #FBF8F3, #D2DACE 70%);
  opacity: .9;
  animation: rr-breathe 8s var(--ease-out) infinite;
  animation-delay: -.4s;
}

.orb-ring--3 {
  inset: 28%;
  background: radial-gradient(circle at 42% 36%, #FFFFFF, #E6EBE3 75%);
  animation: rr-breathe 8s var(--ease-out) infinite;
  animation-delay: -.8s;
}

.orb-core {
  position: relative;
  z-index: 2;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 2px;
  background: radial-gradient(circle at 40% 35%, #FFFFFF, #FBF8F3);
  box-shadow: var(--shadow-nm-inset);
}

.orb-word {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  color: var(--sage-700);
}

.orb-count {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--gold-700);
  min-height: 1em;
}

.orb[data-phase="in"] .orb-ring--1 {
  box-shadow: var(--shadow-nm), 0 0 60px 6px rgba(94, 110, 88, .40);
}

.orb[data-phase="out"] .orb-ring--1 {
  box-shadow: var(--shadow-nm), 0 0 46px 4px rgba(201, 166, 87, .45);
}

.orb[data-active="true"] .orb-ring {
  animation-play-state: paused;
}

.orb-cta {
  cursor: pointer;
}

.orb-cta[data-active="true"] {
  background: var(--sage-600);
  color: var(--ivory);
}

.orb-hint {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  max-width: 36ch;
}

@keyframes rr-breathe {

  0%,
  100% {
    transform: scale(.9);
  }

  50% {
    transform: scale(1.06);
  }
}

/* ---- Scroll-driven journey ---- */
.journey-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 48px;
  align-items: start;
  margin-top: 8px;
}

.journey-visual {
  position: sticky;
  top: 18vh;
  display: grid;
  justify-items: center;
  gap: 20px;
}

.journey-orb {
  position: relative;
  width: clamp(170px, 20vw, 240px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #FFFFFF, #F2E7D6 72%);
  box-shadow: var(--shadow-nm);
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: box-shadow .6s var(--ease-out);
}

.journey-orb-glow {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  transition: background .7s var(--ease-out), transform .7s var(--ease-out);
}

.journey-orb-noise {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  opacity: 1;
  transition: opacity .7s var(--ease-out);
  background-image: radial-gradient(circle, var(--sage-600) 1.2px, transparent 1.4px);
  background-size: 14px 14px;
  animation: rr-jitter .6s steps(2) infinite;
}

@keyframes rr-jitter {
  0% {
    transform: translate(0, 0)
  }

  50% {
    transform: translate(2px, -2px)
  }

  100% {
    transform: translate(-1px, 1px)
  }
}

.journey-orb[data-stage="0"] .journey-orb-noise {
  opacity: .9;
}

.journey-orb[data-stage="1"] .journey-orb-noise {
  opacity: .5;
}

.journey-orb[data-stage="2"] .journey-orb-noise {
  opacity: .2;
}

.journey-orb[data-stage="3"] .journey-orb-noise {
  opacity: .05;
}

.journey-orb[data-stage="2"] .journey-orb-glow {
  background: radial-gradient(circle, rgba(201, 166, 87, .20), transparent 70%);
}

.journey-orb[data-stage="3"] .journey-orb-glow {
  background: radial-gradient(circle, rgba(201, 166, 87, .34), transparent 72%);
  transform: scale(1.08);
}

.journey-orb[data-stage="3"] {
  box-shadow: var(--shadow-nm), 0 0 60px -6px rgba(201, 166, 87, .42);
}

.journey-progress {
  width: 200px;
  height: 6px;
  border-radius: 999px;
  background: var(--clay-100);
  box-shadow: var(--shadow-nm-inset);
  overflow: hidden;
}

.journey-progress span {
  display: block;
  height: 100%;
  width: 25%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sage-500), var(--gold-500));
  transition: width .5s var(--ease-out);
}

.journey-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 34px;
}

.journey-step {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 30px 32px;
  box-shadow: var(--shadow-nm-sm);
  opacity: .35;
  transform: translateY(22px) scale(.99);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
  border-left: 4px solid transparent;
}

.journey-step.is-active {
  opacity: 1;
  transform: none;
  box-shadow: var(--shadow-nm);
  border-left-color: var(--gold-500);
}

.journey-step-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--sage-300);
  display: block;
}

.journey-step h3 {
  font-size: 24px;
  margin: 2px 0 8px;
  color: var(--ink);
}

.journey-step p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
}

@media (max-width:960px) {
  .journey-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .journey-visual {
    position: static;
  }
}

@media (prefers-reduced-motion:reduce) {
  .orb-ring {
    transform: scale(1) !important;
  }

  .journey-step {
    opacity: 1 !important;
    transform: none !important;
  }

  .journey-orb-noise {
    animation: none !important;
  }
}