@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@500;600;700;800;900&family=Outfit:wght@500;600;700;800&display=swap");

:root {
  --bg: #fff9f2;
  --bg-soft: #fff1e0;
  --text: #2a1f3d;
  --text-secondary: #5c5270;
  --text-muted: #8a8199;
  --brand: #ff5a7a;
  --brand-2: #ff8c42;
  --brand-3: #3ecf8e;
  --brand-4: #4c9fff;
  --brand-5: #a78bfa;
  --line: #ffe0c8;
  --line-strong: #ffc9a0;
  --shadow-soft: 0 12px 40px rgba(255, 90, 122, 0.12);
  --max: 1180px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Outfit", sans-serif;
  --font-body: "Nunito", sans-serif;
  --radius: 24px;
  --radius-sm: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(circle at 8% 12%, rgba(255, 140, 66, 0.14), transparent 28%),
    radial-gradient(circle at 92% 8%, rgba(76, 159, 255, 0.12), transparent 26%),
    radial-gradient(circle at 80% 88%, rgba(62, 207, 142, 0.12), transparent 30%),
    radial-gradient(circle at 12% 78%, rgba(167, 139, 250, 0.1), transparent 28%);
  background-attachment: fixed;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 249, 242, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(255, 140, 66, 0.08);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff8c42, #ff5a7a);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(255, 90, 122, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff8c42, #ff5a7a);
  color: #fff !important;
  font-weight: 800 !important;
  font-size: 0.9rem !important;
  box-shadow: 0 8px 20px rgba(255, 90, 122, 0.28);
  transition: transform 0.2s, filter 0.2s;
}

.nav-cta:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 2px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 3rem 0 4rem;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 30%, rgba(255, 140, 66, 0.35), transparent 32%),
    radial-gradient(circle at 78% 22%, rgba(76, 159, 255, 0.28), transparent 30%),
    radial-gradient(circle at 70% 78%, rgba(62, 207, 142, 0.25), transparent 34%),
    radial-gradient(circle at 30% 85%, rgba(255, 90, 122, 0.2), transparent 28%),
    linear-gradient(180deg, #fff6eb 0%, #ffe8d4 45%, #fff3e8 100%);
}

.hero-media::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 40% 60% 55% 45%;
  background: linear-gradient(135deg, rgba(255, 90, 122, 0.35), rgba(255, 140, 66, 0.25));
  top: 12%;
  right: 8%;
  animation: floatBlob 8s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 55% 45% 40% 60%;
  background: linear-gradient(135deg, rgba(76, 159, 255, 0.3), rgba(167, 139, 250, 0.25));
  bottom: 18%;
  left: 6%;
  animation: floatBlob 10s ease-in-out infinite alternate-reverse;
}

@keyframes floatBlob {
  from { transform: translateY(0) rotate(0deg); }
  to { transform: translateY(-24px) rotate(8deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  text-align: center;
}

.hero-brand {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(255, 255, 255, 0.75);
  border: 2px solid #ffd0bc;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: riseIn 0.8s var(--ease) 0.1s forwards;
}

.hero h1 {
  font-family: var(--font-display);
  max-width: 16ch;
  margin: 0 auto 1.25rem;
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  background: linear-gradient(120deg, #ff5a7a 0%, #ff8c42 40%, #4c9fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  animation: riseIn 0.8s var(--ease) 0.25s forwards;
}

.hero-lead {
  max-width: 34rem;
  margin: 0 auto 2rem;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
  font-weight: 600;
  opacity: 0;
  animation: riseIn 0.8s var(--ease) 0.4s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  opacity: 0;
  animation: riseIn 0.8s var(--ease) 0.55s forwards;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 1.5rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 0.98rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, filter 0.2s;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
}

.btn-primary {
  background: linear-gradient(135deg, #ff8c42, #ff5a7a);
  color: #fff;
  box-shadow: 0 12px 28px rgba(255, 90, 122, 0.32);
}

.btn-primary:hover { filter: brightness(1.05); }

.btn-ghost {
  background: #fff;
  color: var(--text);
  border: 2px solid #ffd0bc;
  box-shadow: 0 8px 20px rgba(255, 140, 66, 0.1);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

/* Sections */
.section { padding: 5.5rem 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}

.section-kicker {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.55rem;
}

.section-head h2,
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--brand);
  font-weight: 800;
  font-size: 0.95rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.link-more::after {
  content: "→";
  transition: transform 0.2s;
}

.link-more:hover::after { transform: translateX(4px); }

/* Happen cards */
.happen-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 1.25rem;
}

.happen-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 1.75rem;
  border-radius: var(--radius);
  background: #fff;
  border: 2px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}

.happen-card:hover {
  transform: translateY(-6px);
  border-color: #ffb089;
  box-shadow: 0 18px 40px rgba(255, 90, 122, 0.16);
}

.happen-card.featured {
  background: linear-gradient(145deg, #ff8c42 0%, #ff5a7a 55%, #ff7eb6 100%);
  color: #fff;
  border-color: transparent;
  min-height: 340px;
  justify-content: flex-end;
  box-shadow: 0 18px 44px rgba(255, 90, 122, 0.28);
}

.happen-date {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--brand-2);
  margin-bottom: 0.75rem;
}

.happen-card.featured .happen-date { color: rgba(255, 255, 255, 0.85); }

.happen-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.happen-card.featured h3 { font-size: 1.55rem; }

.happen-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: auto;
}

.happen-card.featured p { color: rgba(255, 255, 255, 0.92); }

/* Story panels */
.story-block { padding: 5rem 0; }

.story-block.alt {
  background: linear-gradient(180deg, rgba(232, 244, 255, 0.65), rgba(243, 236, 255, 0.45));
}

.story-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-4);
  margin-bottom: 0.5rem;
}

.story-block.alt .story-label { color: var(--brand-5); }

.story-block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 2.25rem;
}

.story-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem;
}

.story-panel {
  position: relative;
  min-height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: #fff;
  isolation: isolate;
  box-shadow: 0 16px 40px rgba(42, 31, 61, 0.12);
  transition: transform 0.3s var(--ease);
}

.story-panel:hover { transform: translateY(-6px) scale(1.01); }

.story-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--panel-bg);
  transition: transform 0.7s var(--ease);
}

.story-panel:hover::before { transform: scale(1.05); }

.story-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 15%, rgba(42, 31, 61, 0.28) 100%);
}

.story-panel .eyebrow {
  font-size: 0.85rem;
  font-weight: 800;
  opacity: 0.9;
  margin-bottom: 0.75rem;
}

.story-panel h3 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  max-width: 15ch;
  margin-bottom: 1.1rem;
}

.story-panel .panel-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 800;
  font-size: 0.95rem;
}

.story-panel .panel-link::after { content: "→"; }

.panel-a { --panel-bg: linear-gradient(145deg, #ff9a4d 0%, #ff5a7a 100%); }
.panel-b { --panel-bg: linear-gradient(145deg, #5eb0ff 0%, #7c6cf0 100%); }
.panel-c { --panel-bg: linear-gradient(145deg, #3ecf8e 0%, #2bb8c8 100%); }
.panel-d { --panel-bg: linear-gradient(145deg, #ff7eb6 0%, #a78bfa 100%); }

/* Vision */
.vision {
  background: linear-gradient(160deg, #fff1e0 0%, #e8faf4 45%, #e8f4ff 100%);
  color: var(--text);
  padding: 5.5rem 0;
  border-top: 2px solid var(--line);
  border-bottom: 2px solid #d6f5e8;
}

.vision .section-kicker { color: var(--brand-3); }

.vision h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 16ch;
  margin-bottom: 1rem;
  color: var(--text);
}

.vision-lead {
  max-width: 36rem;
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 3rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 2px dashed #c9f0dd;
}

.stat-item {
  background: #fff;
  border: 2px solid #d6f5e8;
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  box-shadow: 0 10px 28px rgba(62, 207, 142, 0.1);
}

.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.75rem;
  background: linear-gradient(120deg, #ff5a7a, #4c9fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 650;
  max-width: 22ch;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.value-item {
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid #dff3ff;
  border-radius: var(--radius-sm);
  padding: 1.5rem;
}

.value-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
  color: var(--brand-4);
}

.value-item:nth-child(2) h3 { color: var(--brand); }
.value-item:nth-child(3) h3 { color: var(--brand-3); }

.value-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
}

/* Company strip */
.company-strip { padding: 4rem 0; }

.company-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.company-item {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.35rem 1.2rem;
}

.company-item dt {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 0.5rem;
}

.company-item dd {
  font-weight: 750;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  line-height: 1.45;
}

/* Inner pages */
.page-hero {
  padding: 4rem 0 2.75rem;
  border-bottom: 2px solid var(--line);
  background: linear-gradient(180deg, #fff1e0, #fff9f2);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 0.85rem;
}

.page-hero p {
  max-width: 40rem;
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-weight: 600;
}

.page-body { padding: 3.25rem 0 5rem; }

.prose {
  max-width: 760px;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow-soft);
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 2rem 0 0.75rem;
  color: var(--brand);
}

.prose h2:first-of-type,
.prose h2:first-child { margin-top: 0; }

.prose p,
.prose li {
  color: var(--text-secondary);
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.prose ul {
  padding-left: 1.2rem;
  list-style: disc;
  margin-bottom: 1rem;
}

.prose a {
  color: var(--brand);
  font-weight: 800;
}

.prose a:hover { text-decoration: underline; }

.legal-updated {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  font-weight: 700;
}

.team-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin: 1.25rem 0 1.5rem;
}

.team-cell {
  background: linear-gradient(180deg, #fff6eb, #ffe8d4);
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.2rem 0.85rem;
  text-align: center;
}

.team-cell strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.team-cell span {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 700;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.contact-box {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.contact-box h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1.35rem;
  color: var(--brand);
}

.contact-row { margin-bottom: 1.35rem; }
.contact-row:last-child { margin-bottom: 0; }

.contact-row dt {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 0.35rem;
}

.contact-row dd {
  color: var(--text-secondary);
  line-height: 1.55;
  font-weight: 650;
}

.contact-row a {
  color: var(--brand);
  font-weight: 800;
}

/* Footer */
.site-footer {
  background: linear-gradient(160deg, #fff1e0 0%, #ffe4ec 50%, #e8f4ff 100%);
  color: var(--text);
  padding: 3.5rem 0 2rem;
  border-top: 2px solid var(--line);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 2px solid rgba(255, 176, 137, 0.45);
  margin-bottom: 1.5rem;
}

.footer-brand p {
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 28ch;
  line-height: 1.6;
  font-weight: 650;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--brand); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-legal a:hover { color: var(--brand); }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

/* Prevent horizontal scroll on all devices */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

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

@media (max-width: 960px) {
  .container {
    width: min(var(--max), calc(100% - 36px));
  }

  .happen-grid { grid-template-columns: 1fr; }
  .happen-card.featured { min-height: 240px; }
  .story-row,
  .stat-row,
  .value-grid,
  .company-grid,
  .contact-layout,
  .footer-top { grid-template-columns: 1fr 1fr; }
  .team-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .container {
    width: min(var(--max), calc(100% - 28px));
  }

  .nav-toggle {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    z-index: 120;
  }

  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    z-index: 110;
    background: rgba(255, 249, 242, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.35rem 1.25rem 1.35rem;
    display: none;
    max-height: calc(100svh - var(--nav-h));
    overflow-y: auto;
    box-shadow: 0 16px 32px rgba(255, 90, 122, 0.12);
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav-cta {
    margin-top: 0.85rem;
    justify-content: center;
    width: 100%;
    height: 48px;
  }

  .hero {
    min-height: auto;
    padding: 2.5rem 0 3.25rem;
    align-items: center;
  }

  .hero-media::before,
  .hero-media::after {
    width: 140px;
    height: 140px;
    opacity: 0.7;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.75rem);
    max-width: 12ch;
  }

  .hero-lead {
    font-size: 1.02rem;
    margin-bottom: 1.5rem;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    height: 50px;
  }

  .section,
  .story-block,
  .vision {
    padding: 3.25rem 0;
  }

  .page-hero {
    padding: 2.75rem 0 2rem;
  }

  .page-body {
    padding: 2.25rem 0 3.5rem;
  }

  .story-panel {
    min-height: 240px;
    padding: 1.5rem;
  }

  .happen-card {
    min-height: auto;
    padding: 1.35rem;
  }

  .story-row,
  .stat-row,
  .value-grid,
  .company-grid,
  .contact-layout,
  .footer-top,
  .section-head {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .section-head .link-more {
    margin-top: 0.35rem;
  }

  .prose {
    padding: 1.25rem;
    border-radius: 18px;
  }

  .contact-box {
    padding: 1.35rem;
  }

  .team-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }

  .stat-item,
  .value-item,
  .company-item {
    padding: 1.15rem;
  }

  .footer-top {
    gap: 1.5rem;
    padding-bottom: 1.75rem;
  }

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

@media (max-width: 480px) {
  .container {
    width: calc(100% - 24px);
  }

  .logo {
    font-size: 1.05rem;
  }

  .hero-brand {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }

  .hero h1 {
    font-size: 1.85rem;
    line-height: 1.12;
  }

  .section-title,
  .section-head h2,
  .story-block h2,
  .vision h2,
  .page-hero h1 {
    font-size: 1.55rem;
  }

  .happen-card.featured h3 {
    font-size: 1.25rem;
  }

  .story-panel {
    min-height: 210px;
  }

  .story-panel h3 {
    font-size: 1.25rem;
    max-width: none;
  }

  .team-row {
    grid-template-columns: 1fr;
  }

  .stat-item strong {
    font-size: 2rem;
  }

  .btn {
    font-size: 0.95rem;
  }
}

/* iOS safe areas */
@supports (padding: max(0px)) {
  .site-header {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }

  .site-footer {
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
  }
}
