:root {
  --bg: #f3f6fb;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --surface-tint: #f6efe3;
  --ink: #161b25;
  --ink-soft: #4b5568;
  --ink-muted: #667286;
  --accent: #d88820;
  --accent-soft: #efb35e;
  --line: #dbe3ef;
  --line-strong: #c8d2e1;

  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;

  --shadow-lg: 0 24px 46px rgba(18, 34, 61, 0.12);
  --shadow-md: 0 12px 26px rgba(18, 34, 61, 0.09);

  --container: 1420px;

  --step--1: clamp(0.84rem, 0.82rem + 0.08vw, 0.92rem);
  --step-0: clamp(1rem, 0.98rem + 0.14vw, 1.12rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.36vw, 1.42rem);
  --step-2: clamp(1.54rem, 1.3rem + 0.8vw, 2.04rem);
  --step-3: clamp(2rem, 1.58rem + 1.35vw, 2.96rem);
  --step-4: clamp(2.5rem, 2.02rem + 2vw, 3.9rem);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: var(--step-0);
  line-height: 1.62;
  color: var(--ink);
  background: linear-gradient(180deg, #f7f9fc 0%, #f2f5fa 100%);
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  line-height: 1.14;
  letter-spacing: -0.015em;
  font-family: "Fraunces", Georgia, serif;
  color: inherit;
}

p {
  margin: 0;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  transition: box-shadow 220ms ease;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 70px;
  height: 22px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(190, 119, 24, 0.3));
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-mark {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.brand-sub {
  font-size: 0.66rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
}

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

.nav-links a {
  font-size: 0.82rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #db9a42;
  color: #1b160f;
  background: linear-gradient(90deg, #efbc71, #e3a046);
  padding: 11px 17px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
}

.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
}

.mobile-panel[data-open="true"] {
  display: block;
}

.mobile-panel .container {
  display: grid;
  gap: 8px;
  padding: 16px 0 20px;
}

.mobile-panel a {
  padding: 11px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  color: var(--ink-muted);
  font-weight: 600;
}

.mobile-panel a:hover {
  border-color: var(--line);
  color: var(--ink);
}

.page-hero {
  padding: 70px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.hero-main,
.hero-side {
  border-radius: var(--radius-xl);
  border: none;
  background: linear-gradient(160deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--shadow-lg);
}

.hero-main {
  padding: 42px;
}

.hero-side {
  padding: 28px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #b96a0e;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.68rem;
  font-weight: 800;
}

.kicker::before {
  content: "";
  width: 44px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.hero-title {
  margin-top: 18px;
  font-size: var(--step-4);
  max-width: 15ch;
}

.hero-copy {
  margin-top: 16px;
  max-width: 60ch;
  color: var(--ink-soft);
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 11px 17px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.btn-primary {
  border-color: #d6933b;
  background: linear-gradient(90deg, #efbc71, #e09e46);
  color: #1b160f;
}

.btn-secondary {
  border-color: var(--line-strong);
  background: #fff;
  color: var(--ink);
}

.hero-note {
  margin-top: 22px;
  border-radius: var(--radius-md);
  border: 1px solid #ecd4b0;
  background: #fff6e8;
  padding: 12px 13px;
  font-size: var(--step--1);
  color: #6d4a1f;
}

.hero-side h3 {
  font-size: var(--step-1);
}

.hero-side p {
  margin-top: 8px;
  color: var(--ink-soft);
}

.hero-insights {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.hero-insights article {
  border: none;
  border-radius: 11px;
  background: #f2f7ff;
  padding: 12px;
}

.hero-insights h4 {
  font-family: "Manrope", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-insights span {
  display: block;
  margin-top: 4px;
  font-size: 0.79rem;
  color: var(--ink-soft);
}

.section {
  padding: 82px 0;
}

.section-light {
  background: linear-gradient(180deg, #f9f2e6 0%, #f3ebdd 100%);
  border-top: 1px solid #e9ddca;
  border-bottom: 1px solid #e4d7c5;
}

.section-dark {
  background: linear-gradient(180deg, #eef3fb 0%, #e7eef8 100%);
  border-top: 1px solid #dce6f5;
  border-bottom: 1px solid #d6e0ef;
}

.section-head {
  max-width: 820px;
  margin-bottom: 26px;
}

.section-head h2 {
  margin-top: 12px;
  font-size: var(--step-3);
}

.section-head p {
  margin-top: 12px;
  color: var(--ink-soft);
}

.media-wall {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: none;
  box-shadow: var(--shadow-lg);
  position: relative;
  background: #fff;
}

.media-wall img {
  width: 100%;
  min-height: 430px;
  max-height: 680px;
  object-fit: cover;
}

.media-caption {
  position: absolute;
  left: 24px;
  bottom: 20px;
  right: 24px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(15, 20, 30, 0.52);
  backdrop-filter: blur(4px);
  padding: 11px 13px;
  font-size: 0.82rem;
  color: #f3f5f9;
}

.grid-3,
.grid-2,
.grid-4 {
  display: grid;
  gap: 14px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  border-radius: var(--radius-lg);
  border: none;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 20px;
  box-shadow: var(--shadow-md);
}

.card h3,
.card h4 {
  font-size: var(--step-1);
}

.card p {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #eccf9e;
  background: #fff6e7;
  color: #ab620f;
  padding: 5px 9px;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.meta-row {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--ink-muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
}

.learn-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.learn-list li {
  position: relative;
  padding-left: 16px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.learn-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.split-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}

.quote-panel {
  border-radius: var(--radius-xl);
  border: none;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.quote-panel blockquote {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: var(--step-2);
  max-width: 25ch;
}

.quote-panel p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.matrix {
  width: 100%;
  border-collapse: collapse;
  border: none;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.matrix th,
.matrix td {
  border: 1px solid #e8edf6;
  padding: 12px;
  vertical-align: top;
  text-align: left;
}

.matrix th {
  background: #f6f9fd;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
}

.matrix td {
  font-size: 0.88rem;
  color: #2c3340;
}

.cta-band {
  border-radius: var(--radius-xl);
  border: none;
  background: linear-gradient(120deg, #fff4e3, #fffdf9);
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: var(--shadow-md);
}

.cta-band h3 {
  font-size: var(--step-2);
}

.cta-band p {
  margin-top: 8px;
  color: var(--ink-soft);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 14px;
}

.form-card,
.side-card {
  border-radius: var(--radius-lg);
  border: none;
  background: #ffffff;
  color: var(--ink);
  padding: 22px;
  box-shadow: var(--shadow-md);
}

.hero-carousel-shell {
  padding: 8px 0 32px;
}

.hero-carousel {
  position: relative;
  min-height: 620px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 54px rgba(13, 30, 57, 0.2);
  background: #0f141e;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 700ms ease, transform 900ms ease;
}

.carousel-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

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

.carousel-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 18, 30, 0.72) 0%, rgba(10, 18, 30, 0.35) 55%, rgba(10, 18, 30, 0.18) 100%);
}

.carousel-content {
  position: absolute;
  left: 58px;
  bottom: 56px;
  max-width: 660px;
  color: #f4f7fb;
}

.carousel-kicker {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: #ffd088;
}

.carousel-title {
  margin-top: 10px;
  font-size: clamp(2rem, 1.52rem + 1.9vw, 3.4rem);
  line-height: 1.04;
  max-width: 16ch;
}

.carousel-copy {
  margin-top: 12px;
  max-width: 56ch;
  color: rgba(244, 247, 251, 0.9);
}

.carousel-controls {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  padding: 7px;
}

.carousel-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: none;
  background: #ffffff;
  color: #172134;
  font-size: 1rem;
  cursor: pointer;
}

.carousel-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 4px;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: #99a4b5;
  padding: 0;
  cursor: pointer;
}

.carousel-dot[aria-current="true"] {
  width: 18px;
  border-radius: 999px;
  background: var(--accent);
}

.story-stream {
  display: grid;
  gap: 22px;
}

.story-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: center;
}

.story-row.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.story-copy {
  padding: 10px 8px;
}

.story-copy h3 {
  font-size: var(--step-2);
}

.story-copy p {
  margin-top: 10px;
  color: var(--ink-soft);
}

.story-media {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 380px;
}

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

.stat-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.stat-item {
  padding: 16px 10px;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 1.4rem;
}

.stat-item span {
  display: block;
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

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

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

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

.field label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #666154;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #cfd8e5;
  border-radius: 10px;
  background: #fff;
  color: #181610;
  font: inherit;
  padding: 10px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(212, 131, 29, 0.26);
  border-color: rgba(212, 131, 29, 0.72);
}

.form-status {
  margin-top: 12px;
  border-radius: 10px;
  padding: 10px 11px;
  font-size: 0.84rem;
  display: none;
}

.form-status[data-state="success"] {
  display: block;
  background: #ecf8ef;
  border: 1px solid #b7dfc1;
  color: #245731;
}

.form-status[data-state="error"] {
  display: block;
  background: #fff1f1;
  border: 1px solid #f0bcbc;
  color: #7e1f1f;
}

.side-card h3 {
  font-size: var(--step-1);
}

.side-card p {
  margin-top: 8px;
  color: var(--ink-soft);
}

.tab-suite {
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: var(--shadow-md);
  padding: 16px;
}

.tab-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 16px;
}

.tab-list {
  display: grid;
  gap: 8px;
}

.tab-btn {
  width: 100%;
  text-align: left;
  border: none;
  border-radius: 12px;
  padding: 13px 14px;
  background: #f4f8ff;
  color: #3f4b60;
  font: inherit;
  cursor: pointer;
  font-weight: 700;
}

.tab-btn.is-active {
  background: linear-gradient(90deg, #ffe7c2, #ffd8a4);
  color: #3c2606;
}

.tab-panels {
  position: relative;
}

.tab-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: stretch;
}

.tab-panel.is-active {
  display: grid;
}

.tab-copy {
  padding: 8px 6px 8px 2px;
}

.tab-copy h3 {
  font-size: var(--step-2);
}

.tab-copy p {
  margin-top: 10px;
  color: var(--ink-soft);
}

.tab-media {
  border-radius: 16px;
  overflow: hidden;
  min-height: 280px;
  box-shadow: var(--shadow-md);
}

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

.site-footer {
  border-top: 1px solid var(--line);
  background: #f8fbff;
  padding: 36px 0 42px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-brand strong {
  letter-spacing: 0.11em;
}

.footer-brand small {
  display: block;
  margin-top: 3px;
  color: var(--ink-muted);
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--ink-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 360ms ease, transform 360ms ease;
}

@media (max-width: 1120px) {
  .hero-grid,
  .grid-4,
  .grid-3,
  .grid-2,
  .split-band,
  .contact-wrap,
  .field-grid,
  .story-row,
  .story-row.reverse,
  .stat-line,
  .tab-layout,
  .tab-panel {
    grid-template-columns: 1fr;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .hero-main,
  .hero-side {
    padding: 24px;
  }

  .hero-title {
    max-width: 18ch;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .media-wall img {
    min-height: 340px;
  }

  .hero-carousel {
    min-height: 560px;
  }

  .carousel-content {
    left: 24px;
    right: 24px;
    bottom: 70px;
    max-width: 100%;
  }
}

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

  .page-hero {
    padding-top: 72px;
  }

  .brand-sub {
    display: none;
  }

  .brand-logo {
    width: 60px;
    height: 20px;
  }

  .section {
    padding: 60px 0;
  }

  .hero-carousel {
    min-height: 520px;
    border-radius: 20px;
  }

  .carousel-controls {
    right: 12px;
    bottom: 12px;
    padding: 5px;
  }

  .carousel-btn {
    width: 30px;
    height: 30px;
  }

  .story-media {
    min-height: 300px;
  }

  .media-caption {
    left: 12px;
    right: 12px;
    bottom: 12px;
    font-size: 0.74rem;
  }
}
