@font-face {
  font-family: "Rolner";
  src: url("../assets/fonts/rolner.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #070707;
  --dark: #0c0c0f;
  --dark-2: #111115;
  --white: #ffffff;
  --text: #f4f4f5;
  --muted: #b9b9c2;
  --soft: #85858f;
  --line: rgba(255, 255, 255, 0.13);
  --line-soft: rgba(255, 255, 255, 0.08);
  --card: rgba(255, 255, 255, 0.055);
  --card-strong: rgba(255, 255, 255, 0.09);
  --emerald: #42d39c;
  --gold: #d8b76a;
  --blue: #8fbfff;
  --rose: #ff9db7;
  --violet: #b9a3ff;
  --silver: #d8d8de;
  --danger: #ff6b6b;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: min(1180px, calc(100% - 48px));
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 0%, rgba(66, 211, 156, 0.08), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(216, 183, 106, 0.08), transparent 32%),
    linear-gradient(180deg, #070707 0%, #0b0b0d 48%, #070707 100%);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 84%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.54) 100%);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* ==============================
   Typography
============================== */

.brand-title,
h1,
h2,
h3,
.display-text {
  font-family: "Rolner", Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0.045em;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(3.1rem, 7.4vw, 7.6rem);
  line-height: 0.94;
  text-transform: uppercase;
}

h2 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.02;
  text-transform: uppercase;
}

h3 {
  margin: 0;
  line-height: 1.12;
  text-transform: uppercase;
}

p {
  margin-top: 0;
}

.eyebrow,
.section-kicker,
.origin-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--emerald), var(--gold));
}

.hero-lead,
.section-copy {
  color: var(--muted);
}

.hero-lead {
  max-width: 760px;
  margin: 26px 0 0;
  color: #d5d5dc;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
}

.section-copy {
  max-width: 620px;
  margin: 0;
}

/* ==============================
   Navbar
============================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(7, 7, 7, 0.78);
  backdrop-filter: blur(18px);
}

.nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03)),
    #101010;
}

.logo-mark img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-title {
  font-size: 15px;
  text-transform: uppercase;
}

.brand-subtitle {
  color: var(--soft);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--emerald), var(--gold));
  transition: width 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions,
.user-menu {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-name {
  display: block;
  max-width: 140px;
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-role {
  display: inline-flex;
  color: var(--emerald);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.user-link {
  color: var(--muted);
  font-size: 12px;
}

/* ==============================
   Buttons
============================== */

.btn,
.btn-small,
.filter-btn,
.quick-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.btn {
  min-height: 48px;
  padding: 12px 21px;
  background: var(--white);
  color: var(--black);
  font-weight: 900;
}

.btn-small {
  min-height: 40px;
  padding: 9px 15px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 900;
}

.btn:hover,
.btn-small:hover,
.filter-btn:hover,
.quick-btn:hover {
  transform: translateY(-2px);
}

.btn:hover {
  box-shadow: 0 18px 42px rgba(255, 255, 255, 0.16);
}

.btn-outline,
.btn-login,
.quick-btn {
  background: rgba(255, 255, 255, 0.035);
  color: var(--white);
  border-color: var(--line);
}

.btn-outline:hover,
.btn-login:hover,
.quick-btn:hover {
  border-color: rgba(255, 255, 255, 0.32);
}

.btn-register,
.quick-btn.primary {
  background: var(--white);
  color: var(--black);
}

.btn-logout {
  background: rgba(255, 107, 107, 0.16);
  border: 1px solid rgba(255, 107, 107, 0.35);
  color: #ffd4d4;
}

/* ==============================
   Hero & Sections
============================== */

.page-hero,
.hero {
  position: relative;
  padding: 118px 0 74px;
  overflow: hidden;
}

.page-hero::before,
.hero::before {
  content: "";
  position: absolute;
  width: 660px;
  height: 660px;
  right: -240px;
  top: 20px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.16), transparent 24%),
    radial-gradient(circle at 50% 50%, rgba(66, 211, 156, 0.12), transparent 46%),
    radial-gradient(circle at 62% 65%, rgba(216, 183, 106, 0.12), transparent 45%);
}

.page-hero-inner,
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: 44px;
  align-items: end;
}

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

.section {
  padding: 88px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 34px;
}

/* ==============================
   Base Cards
============================== */

.hero-panel,
.card,
.project-card,
.profile-card,
.founder-card,
.founder-spotlight,
.structure-card,
.standard-card,
.cta-card,
.service-card,
.product-card,
.program-card,
.process-card,
.package-card,
.portfolio-card,
.gallery-card,
.route-card,
.contact-card,
.faq-card,
.stat-card,
.member-card,
.impact-card,
.report-card,
.donation-card,
.curriculum-card,
.path-card,
.space-card,
.setup-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(13, 13, 15, 0.66);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.hero-panel {
  border-color: var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025)),
    rgba(10, 10, 12, 0.72);
  box-shadow: var(--shadow);
  padding: 26px;
}

.hero-panel h2 {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 2.6vw, 2.6rem);
}

.hero-panel p,
.card p,
.service-card p,
.product-card p,
.program-card p,
.process-card p,
.standard-card p,
.package-card p,
.portfolio-card p,
.gallery-card p,
.route-card p,
.member-card p,
.contact-card p,
.faq-card p,
.cta-card p {
  color: var(--muted);
}

.card,
.contact-card,
.donation-card,
.curriculum-card {
  padding: 30px;
}

.card h3 {
  margin: 0 0 14px;
  font-size: 1.6rem;
}

.card p {
  margin: 0;
}

/* ==============================
   Grids
============================== */

.overview-grid,
.structure-grid,
.contact-layout,
.donation-layout,
.curriculum-layout,
.setup-layout,
.order-panel,
.origin-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
}

.projects-grid,
.profiles-grid,
.services-grid,
.products-grid,
.programs-grid,
.portfolio-grid,
.gallery-grid,
.space-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.standard-grid,
.process-grid,
.path-grid,
.impact-grid,
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.package-grid,
.routes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* ==============================
   Lists / Items
============================== */

.summary-list,
.signal-list,
.role-list,
.responsibility-list,
.donation-list,
.curriculum-list,
.setup-list,
.order-list,
.quick-contact,
.quick-actions,
.report-list,
.pipeline-list,
.faq-list {
  display: grid;
  gap: 12px;
}

.summary-list,
.signal-list,
.quick-contact {
  margin-top: 24px;
}

.summary-item,
.signal-item,
.role-item,
.responsibility-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.22);
}

.role-item,
.responsibility-item {
  align-items: start;
  padding: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.summary-icon,
.signal-icon,
.quick-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--emerald);
  font-weight: 900;
}

.role-dot,
.responsibility-dot {
  width: 12px;
  height: 12px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--emerald);
  box-shadow: 0 0 28px rgba(66, 211, 156, 0.55);
}

.summary-item strong,
.signal-item strong,
.quick-item strong,
.role-item h3,
.responsibility-item h3 {
  display: block;
  line-height: 1.2;
  text-transform: uppercase;
}

.summary-item span,
.signal-item span,
.quick-item span,
.quick-item a,
.role-item p,
.responsibility-item p {
  color: var(--muted);
  font-size: 13px;
}

/* ==============================
   Badges / Tags / Filters
============================== */

.badge,
.tag,
.package-label,
.member-role,
.report-status,
.pipeline-status {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #d7d7dd;
  font-size: 12px;
}

.package-label,
.member-role,
.report-status,
.pipeline-status,
.tag {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 900;
}

.badge.core-badge,
.badge.owner,
.badge.status-planning {
  color: var(--gold);
  border-color: rgba(216, 183, 106, 0.3);
  background: rgba(216, 183, 106, 0.08);
}

.badge.charity-badge,
.badge.manager,
.badge.status-live {
  color: var(--emerald);
  border-color: rgba(66, 211, 156, 0.3);
  background: rgba(66, 211, 156, 0.08);
}

.badge.florist-badge {
  color: var(--rose);
  border-color: rgba(255, 157, 183, 0.3);
  background: rgba(255, 157, 183, 0.08);
}

.badge.studio-badge,
.badge.volunteer,
.badge.status-internal {
  color: var(--blue);
  border-color: rgba(143, 191, 255, 0.3);
  background: rgba(143, 191, 255, 0.08);
}

.badge.academy-badge {
  color: var(--violet);
  border-color: rgba(185, 163, 255, 0.3);
  background: rgba(185, 163, 255, 0.08);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-btn {
  min-height: 40px;
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--line-soft);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 900;
}

.filter-btn.active {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* ==============================
   Feature Cards
============================== */

.project-card,
.service-card,
.product-card,
.program-card,
.profile-card,
.member-card,
.route-card,
.package-card,
.standard-card,
.process-card,
.path-card,
.portfolio-card,
.gallery-card,
.space-card {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    opacity 0.2s ease;
}

.project-card:hover,
.service-card:hover,
.product-card:hover,
.program-card:hover,
.profile-card:hover,
.member-card:hover,
.route-card:hover,
.package-card:hover,
.standard-card:hover,
.process-card:hover,
.path-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(17, 17, 21, 0.74);
}

.service-card,
.product-card,
.program-card {
  grid-column: span 4;
  min-height: 300px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.service-card.large,
.product-card.large,
.program-card.large {
  grid-column: span 8;
}

.service-card > span,
.product-card > span,
.program-card > span,
.standard-card > span,
.process-card > span,
.path-card > span {
  display: block;
  color: var(--soft);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.service-card h3,
.product-card h3,
.program-card h3 {
  margin: 44px 0 12px;
  font-size: clamp(1.35rem, 2.2vw, 2.2rem);
}

.service-card p,
.product-card p,
.program-card p {
  margin: 0;
}

.service-card .project-footer,
.product-card .project-footer,
.program-card .project-footer {
  margin-top: auto;
}

.standard-card,
.process-card,
.path-card {
  min-height: 230px;
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.standard-card h3,
.process-card h3,
.path-card h3 {
  margin: 40px 0 10px;
  font-size: 1.35rem;
}

.standard-card p,
.process-card p,
.path-card p {
  margin: 0;
}

/* ==============================
   Route Cards - FIXED
   Ini bagian yang memperbaiki error teks kepotong.
============================== */

.route-card {
  min-height: 315px;
  padding: 30px !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
}

.route-card > span {
  display: block;
  margin: 0 0 34px 0;
  color: var(--soft);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.route-card h3 {
  margin: 0 0 18px 0 !important;
  padding: 0;
  font-size: clamp(1.42rem, 2.25vw, 2.25rem);
  line-height: 1.22;
  letter-spacing: 0.045em;
  max-width: 100%;
}

.route-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.62;
}

.route-card .tags {
  margin-top: auto;
  padding-top: 26px;
}

/* ==============================
   Projects
============================== */

.project-card {
  grid-column: span 6;
  min-height: 360px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.project-card.large {
  grid-column: span 8;
}

.project-card.small {
  grid-column: span 4;
}

.project-card h3 {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 2.2vw, 2.3rem);
}

.project-card p {
  margin: 0;
  color: var(--muted);
}

.project-meta,
.profile-meta,
.founder-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.project-details {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.project-detail {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.project-detail strong {
  color: var(--white);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.project-footer {
  margin-top: auto;
  padding-top: 24px;
}

.text-link {
  color: var(--white);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-card.is-hidden,
.profile-card.is-hidden {
  display: none;
}

/* ==============================
   Profiles / Members
============================== */

.profile-card {
  grid-column: span 4;
  min-height: 430px;
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.profile-card.core,
.member-card.lead {
  grid-column: span 6;
}

.profile-image,
.portrait-frame,
.founder-portrait {
  position: relative;
  min-height: 230px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.14), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    #0f0f12;
}

.profile-card.core .profile-image {
  min-height: 260px;
}

.profile-image img,
.portrait-frame img,
.founder-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-placeholder,
.portrait-placeholder {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  color: var(--soft);
  text-align: center;
  padding: 20px;
}

.profile-placeholder strong,
.portrait-placeholder strong {
  display: block;
  color: var(--white);
  font-size: clamp(2rem, 5vw, 4rem);
  font-family: "Rolner", Inter, sans-serif;
  line-height: 1;
  letter-spacing: 0.04em;
}

.profile-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 4px 4px;
}

.profile-card h3,
.member-card h3 {
  margin: 0 0 8px;
  font-size: 1.4rem;
}

.profile-card p,
.member-card p {
  margin: 0;
}

.role-stack {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.role-line,
.founder-point,
.signature-item,
.contact-item,
.donation-item,
.curriculum-item,
.setup-item,
.order-item {
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.22);
}

.role-line strong,
.founder-point strong,
.signature-item strong,
.contact-label,
.donation-item strong,
.curriculum-item strong,
.setup-item strong,
.order-item strong {
  display: block;
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.role-line span,
.founder-point span,
.signature-item span,
.contact-value,
.donation-item span,
.curriculum-item span,
.setup-item span,
.order-item span {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

.profile-footer {
  margin-top: auto;
  padding-top: 18px;
}

.profile-focus {
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  color: var(--soft);
  font-size: 13px;
}

.member-card {
  grid-column: span 4;
  min-height: 260px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.member-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.avatar {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  color: var(--white);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.16), transparent 40%),
    rgba(255, 255, 255, 0.055);
  font-family: "Rolner", Inter, sans-serif;
  font-size: 22px;
}

.member-role {
  margin-top: auto;
  color: var(--blue);
  border-color: rgba(143, 191, 255, 0.32);
  background: rgba(143, 191, 255, 0.08);
}

/* ==============================
   Founder / Origin
============================== */

.founder-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: stretch;
  background:
    radial-gradient(circle at top left, rgba(216, 183, 106, 0.12), transparent 34%),
    radial-gradient(circle at bottom right, rgba(66, 211, 156, 0.1), transparent 34%),
    rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 24px;
}

.founder-portrait {
  min-height: 560px;
  border-radius: 24px;
}

.founder-content {
  align-self: center;
  padding: clamp(8px, 2vw, 24px);
}

.founder-content h2 {
  margin-bottom: 18px;
}

.founder-content p {
  max-width: 720px;
  margin: 0 0 16px;
  color: var(--muted);
}

.founder-quote,
.origin-quote {
  margin: 24px 0;
  padding: 20px;
  border: 1px solid rgba(216, 183, 106, 0.24);
  border-radius: 20px;
  background: rgba(216, 183, 106, 0.07);
  color: #ece3c9;
  font-weight: 900;
}

.founder-signature-grid,
.origin-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.origin-section {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
}

.origin-section::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  left: -260px;
  top: 80px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 40%, rgba(216, 183, 106, 0.14), transparent 35%),
    radial-gradient(circle at 62% 62%, rgba(66, 211, 156, 0.1), transparent 48%);
  pointer-events: none;
}

.origin-wrap {
  position: relative;
  z-index: 1;
}

.origin-card,
.origin-story-card,
.origin-principle-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.origin-card,
.origin-story-card {
  padding: 34px;
}

.origin-card h2 {
  font-size: clamp(2.4rem, 4.8vw, 5rem);
  line-height: 0.95;
}

.origin-card p,
.origin-story-card p,
.origin-principle-card p {
  color: var(--muted);
}

.origin-story-card h3 {
  margin-bottom: 18px;
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
}

.origin-timeline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.origin-principle-card {
  padding: 22px;
  min-height: 190px;
  position: relative;
  overflow: hidden;
}

.origin-principle-card span {
  color: var(--soft);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.origin-principle-card h3 {
  margin: 40px 0 8px;
  font-size: 1.25rem;
}

.origin-principle-card p {
  margin: 0;
}

/* ==============================
   Packages / Gallery / Portfolio
============================== */

.package-card {
  min-height: 420px;
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.package-card.featured {
  border-color: rgba(216, 183, 106, 0.36);
  background: linear-gradient(145deg, rgba(216, 183, 106, 0.12), rgba(255, 255, 255, 0.04));
}

.package-card h3 {
  margin: 18px 0 10px;
  font-size: 1.65rem;
}

.package-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
  color: var(--muted);
}

.package-list li {
  padding-left: 18px;
  position: relative;
}

.package-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.package-footer {
  margin-top: auto;
  padding-top: 26px;
}

.portfolio-card,
.gallery-card,
.space-card {
  grid-column: span 4;
  min-height: 330px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.portfolio-card.large,
.gallery-card.large,
.space-card.large {
  grid-column: span 8;
}

.portfolio-visual,
.gallery-visual,
.space-visual {
  min-height: 170px;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.16), transparent 35%),
    linear-gradient(135deg, rgba(216, 183, 106, 0.14), rgba(66, 211, 156, 0.08)),
    rgba(0, 0, 0, 0.25);
  display: grid;
  place-items: center;
  color: var(--soft);
  text-align: center;
  padding: 20px;
}

.portfolio-card h3,
.gallery-card h3,
.space-card h3 {
  margin: 20px 0 8px;
  font-size: 1.4rem;
}

/* ==============================
   Forms / Contact / FAQ
============================== */

.contact-form {
  display: grid;
  gap: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--muted);
  font-size: 13px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--white);
  outline: none;
  padding: 14px 15px;
}

.field select {
  color-scheme: dark;
}

.field textarea {
  min-height: 170px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(66, 211, 156, 0.45);
}

.form-note {
  color: var(--soft);
  font-size: 13px;
}

.faq-card {
  padding: 22px;
}

.faq-card summary {
  cursor: pointer;
  color: var(--white);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==============================
   Stats / Reports
============================== */

.stat-card,
.impact-card {
  padding: 26px;
}

.stat-card strong,
.impact-card strong {
  display: block;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.stat-card span,
.impact-card span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

.report-card,
.pipeline-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
}

.report-phase,
.pipeline-phase {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.report-card h3,
.pipeline-card h3 {
  margin: 0 0 4px;
}

.report-card p,
.pipeline-card p {
  margin: 0;
  color: var(--muted);
}

.report-status,
.pipeline-status {
  color: var(--emerald);
  border-color: rgba(66, 211, 156, 0.28);
  white-space: nowrap;
}

/* ==============================
   CTA / Footer
============================== */

.cta-card {
  padding: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background:
    radial-gradient(circle at top left, rgba(66, 211, 156, 0.1), transparent 34%),
    radial-gradient(circle at bottom right, rgba(216, 183, 106, 0.1), transparent 34%),
    rgba(255, 255, 255, 0.045);
}

.cta-card h2 {
  font-size: clamp(1.8rem, 3.2vw, 3.4rem);
}

.cta-card p {
  margin: 14px 0 0;
  max-width: 660px;
}

.footer {
  padding: 38px 0;
  border-top: 1px solid var(--line-soft);
  color: var(--soft);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
}

/* ==============================
   Animation
============================== */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================
   Branch Themes
============================== */

.theme-media .eyebrow::before,
.theme-media .nav-links a::after {
  background: linear-gradient(90deg, var(--blue), var(--emerald));
}

.theme-media .section-kicker {
  color: var(--blue);
}

.theme-florist .eyebrow::before,
.theme-florist .nav-links a::after {
  background: linear-gradient(90deg, var(--rose), var(--gold));
}

.theme-florist .section-kicker {
  color: var(--rose);
}

.theme-charity .eyebrow::before,
.theme-charity .nav-links a::after {
  background: linear-gradient(90deg, var(--emerald), var(--gold));
}

.theme-charity .section-kicker {
  color: var(--emerald);
}

.theme-studio .eyebrow::before,
.theme-studio .nav-links a::after {
  background: linear-gradient(90deg, var(--silver), var(--blue));
}

.theme-studio .section-kicker {
  color: var(--silver);
}

.theme-academy .eyebrow::before,
.theme-academy .nav-links a::after {
  background: linear-gradient(90deg, var(--violet), var(--gold));
}

.theme-academy .section-kicker {
  color: var(--violet);
}

/* ==============================
   Responsive
============================== */

@media (max-width: 1080px) {
  .nav-inner {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .page-hero-inner,
  .hero-inner,
  .overview-grid,
  .structure-grid,
  .contact-layout,
  .donation-layout,
  .curriculum-layout,
  .setup-layout,
  .order-panel,
  .origin-wrap,
  .founder-spotlight {
    grid-template-columns: 1fr;
  }

  .section-header {
    display: grid;
  }

  .service-card,
  .service-card.large,
  .product-card,
  .product-card.large,
  .program-card,
  .program-card.large,
  .profile-card,
  .profile-card.core,
  .member-card,
  .member-card.lead,
  .project-card,
  .project-card.large,
  .project-card.small,
  .portfolio-card,
  .portfolio-card.large,
  .gallery-card,
  .gallery-card.large,
  .space-card,
  .space-card.large {
    grid-column: span 6;
  }

  .standard-grid,
  .process-grid,
  .path-grid,
  .impact-grid,
  .stats-grid,
  .origin-timeline,
  .routes-grid,
  .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-card,
  .pipeline-card,
  .cta-card {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  :root {
    --container: min(100% - 32px, 1180px);
  }

  h1 {
    font-size: clamp(2.7rem, 15vw, 4.4rem);
  }

  h2 {
    font-size: clamp(1.8rem, 10vw, 3rem);
  }

  .brand-subtitle,
  .nav-actions {
    display: none;
  }

  .nav-links {
    font-size: 11px;
  }

  .services-grid,
  .products-grid,
  .programs-grid,
  .profiles-grid,
  .projects-grid,
  .portfolio-grid,
  .gallery-grid,
  .space-grid,
  .team-grid,
  .standard-grid,
  .process-grid,
  .path-grid,
  .impact-grid,
  .stats-grid,
  .origin-timeline,
  .form-grid,
  .founder-signature-grid,
  .routes-grid,
  .package-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card.large,
  .product-card,
  .product-card.large,
  .program-card,
  .program-card.large,
  .profile-card,
  .profile-card.core,
  .member-card,
  .member-card.lead,
  .project-card,
  .project-card.large,
  .project-card.small,
  .portfolio-card,
  .portfolio-card.large,
  .gallery-card,
  .gallery-card.large,
  .space-card,
  .space-card.large {
    grid-column: auto;
  }

  .route-card {
    min-height: 280px;
    padding: 24px !important;
  }

  .route-card > span {
    margin-bottom: 28px;
  }

  .route-card h3 {
    font-size: clamp(1.35rem, 8vw, 2rem);
  }

  .project-detail {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .founder-portrait,
  .portrait-frame {
    min-height: 420px;
  }

  .section,
  .origin-section {
    padding: 72px 0;
  }

  .footer-inner {
    display: grid;
  }
}

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