:root {
  --bg: #fffdf8;
  --bg-soft: #fff4e8;
  --bg-sky: #ffe8c8;
  --bg-warm: #fff0dc;
  --bg-footer: #f6eee4;
  --bg-card: #ffffff;
  --text: #2a1f18;
  --muted: #6b5446;
  --line: rgba(90, 48, 20, 0.1);
  --accent: #e24b1a;
  --accent-hover: #c53d12;
  --brand: #e10600;
  --max: 1160px;
  --wide: 1360px;
  --header: 72px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Songti SC", "STSong", "Noto Serif SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}


body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.wrap {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.wrap-wide {
  width: min(calc(100% - 48px), var(--wide));
  margin: 0 auto;
}

.nl {
  white-space: pre-line;
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(255, 253, 248, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: none;
}

.header-inner {
  width: min(calc(100% - 40px), var(--wide));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  width: 34px;
  height: 26px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.brand-name {
  font-size: 15px;
  font-weight: 620;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}


.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color 0.2s;
}

.nav a:hover,
.nav a.is-active {
  color: var(--text);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  margin-left: auto;
}

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  position: absolute;
  left: 11px;
  transition: 0.25s var(--ease);
}

.menu-btn span {
  top: 19px;
}

.menu-btn span::before,
.menu-btn span::after {
  content: "";
  left: 0;
}

.menu-btn span::before {
  top: -6px;
}

.menu-btn span::after {
  top: 6px;
}

body.nav-open .menu-btn span {
  background: transparent;
}

body.nav-open .menu-btn span::before {
  top: 0;
  transform: rotate(45deg);
}

body.nav-open .menu-btn span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Hero */
.hero {
  padding: calc(var(--header) + 56px) 0 28px;
  position: relative;
  background:
    radial-gradient(ellipse 80% 55% at 12% 0%, rgba(255, 186, 90, 0.55), transparent 58%),
    radial-gradient(ellipse 70% 50% at 92% 8%, rgba(255, 120, 80, 0.28), transparent 56%),
    linear-gradient(180deg, #ffe3b8 0%, #fff4e6 48%, #fffdf8 100%);
}

.hero-copy {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 48px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9a5a32;
  margin-bottom: 22px;
}

h1,
.display {
  font-size: clamp(38px, 5.6vw, 72px);
  line-height: 1.06;
  font-weight: 580;
  letter-spacing: -0.038em;
  color: var(--text);
}


.lead {
  max-width: 640px;
  margin-top: 24px;
  font-size: 19px;
  line-height: 1.7;
  color: var(--muted);
}

.hero-copy .lead {
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-copy .hero-actions {
  justify-content: center;
}

.hero-visual {
  margin: 0 auto;
  display: block;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 22px;
  box-shadow: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 980px;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(226, 75, 26, 0.28);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-ghost {
  border-color: #e4c8ae;
  color: var(--text);
  background: #ffffff;
}

.btn-ghost:hover {
  background: #fff;
  border-color: var(--text);
}

.btn-dark {
  background: var(--accent);
  color: #fff;
}

.btn-dark:hover {
  background: var(--accent-hover);
}

/* Stats */
.stats {
  background: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 28px 0 8px;
}

.stat {
  padding: 28px 24px;
  border-radius: 20px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.stat b {
  display: block;
  font-size: 28px;
  font-weight: 580;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

/* Sections */
.section {
  padding: 112px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-white {
  background: #fff;
}

.section-sky {
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(255, 170, 80, 0.32), transparent 55%),
    linear-gradient(180deg, #fff1dc 0%, #fffdf8 100%);
}

.section-warm {
  background: linear-gradient(180deg, #fff8ef 0%, #ffffff 100%);
}

.section-cta {
  background:
    radial-gradient(ellipse 70% 80% at 20% 0%, rgba(255, 176, 80, 0.4), transparent 55%),
    linear-gradient(180deg, #ffd9a8 0%, #fff3e2 100%);
}

.kicker {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9a5a32;
  margin-bottom: 16px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 64px;
}

.section-head h2,
.page-hero h1,
.vision h2 {
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 580;
}

.section-head p,
.page-hero .lead {
  margin-top: 20px;
  font-size: 18px;
  color: var(--muted);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.card {
  background: #fff;
  border-radius: 22px;
  padding: 36px 32px;
  min-height: 240px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(32, 64, 96, 0.04);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-num {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 28px;
}

.card h3 {
  font-size: 24px;
  letter-spacing: -0.03em;
  font-weight: 580;
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

/* Vision */
#purpose {
  scroll-margin-top: var(--header);
}

.vision {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}

.vision-media {
  margin: 0;
}

.vision-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  border-radius: 22px;
}

blockquote {
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text);
}

.cite {
  margin-top: 28px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9a5a32;
}

.vision .lead {
  max-width: none;
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}

.split img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  border-radius: 22px;
}

/* Page hero */
.page-hero {
  padding: calc(var(--header) + 80px) 0 56px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 8% 0%, rgba(255, 186, 90, 0.48), transparent 56%),
    radial-gradient(ellipse 60% 50% at 96% 10%, rgba(255, 120, 80, 0.22), transparent 54%),
    linear-gradient(180deg, #ffe3b8 0%, #fff6ea 72%, #fffdf8 100%);
}

.page-hero-photo {
  min-height: 430px;
  padding-bottom: 72px;
}

.page-hero-bg {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% center;
  pointer-events: none;
}

.page-hero-culture .page-hero-bg {
  object-position: 58% center;
}

.page-hero-photo::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(
    90deg,
    #ffe3b8 0%,
    rgba(255, 244, 228, 0.96) 26%,
    rgba(255, 246, 234, 0.78) 46%,
    rgba(255, 253, 248, 0.32) 66%,
    transparent 100%
  );
  pointer-events: none;
}

.page-hero-photo .wrap {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin-left: max(24px, calc((100% - var(--max)) / 2));
  margin-right: auto;
}

.media-band {
  padding: 8px 0 88px;
}

.media-band img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  border-radius: 22px;
}

/* Fact grid */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.fact {
  background: var(--bg-soft);
  padding: 28px 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.fact small {
  display: block;
  color: #9a5a32;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.fact b {
  font-weight: 560;
  font-size: 16px;
}

.prose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 48px;
}

.prose-block h3 {
  font-size: 22px;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.prose-block p {
  color: var(--muted);
  line-height: 1.7;
}

/* Values */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.value {
  padding: 32px 28px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(32, 64, 96, 0.04);
  min-height: 250px;
}

.value .sub {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.value h3 {
  font-size: 24px;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.value p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.culture-hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 8px;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px 36px;
  box-shadow: 0 12px 36px rgba(32, 64, 96, 0.05);
}

.panel .kicker {
  color: var(--accent);
}

.panel h3 {
  font-size: 32px;
  letter-spacing: -0.03em;
  margin: 10px 0 16px;
}

.panel p {
  color: var(--muted);
  line-height: 1.7;
}

/* Team features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.features h3 {
  font-size: 22px;
  margin: 0 0 12px;
  letter-spacing: -0.025em;
}

.features p {
  color: var(--muted);
  line-height: 1.7;
}

.photo-frame {
  margin-top: 56px;
}

.photo-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  border-radius: 22px;
}

.photo-frame figcaption {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.contact-band {
  padding-top: 28px;
  padding-bottom: 12px;
}

.contact-facts b {
  white-space: pre-line;
  font-weight: 560;
  font-size: 16px;
  line-height: 1.45;
}

.contact-facts a:hover {
  color: var(--accent);
}

.contact-write {
  padding-top: 36px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: stretch;
}

.contact-invite {
  background:
    radial-gradient(ellipse 90% 70% at 0% 0%, rgba(255, 186, 90, 0.32), transparent 62%),
    linear-gradient(180deg, #fff8ee 0%, #ffffff 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px 36px;
  box-shadow: 0 12px 36px rgba(32, 64, 96, 0.05);
  min-height: 100%;
}

.contact-invite-mark {
  width: 46px;
  height: 46px;
  object-fit: contain;
  margin-bottom: 22px;
}

.contact-invite .kicker {
  color: var(--accent);
}

.contact-invite h3 {
  font-size: 30px;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 8px 0 16px;
}

.contact-invite p:last-child {
  color: var(--muted);
  line-height: 1.7;
}

.contact-list {
  display: grid;
  gap: 28px;
}

.contact-item small {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9a5a32;
  margin-bottom: 8px;
}

.contact-item p,
.contact-item a {
  font-size: 20px;
  letter-spacing: -0.02em;
  white-space: pre-line;
}

.contact-item a:hover {
  color: var(--accent);
}

.form {
  background: #fff;
  border-radius: 24px;
  padding: 36px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form h2 {
  font-size: 28px;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid #e4c8ae;
  background: #fffaf4;
  border-radius: 12px;
  padding: 14px 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(226, 75, 26, 0.16);
}

.form-err {
  margin-top: 14px;
  color: #9b2c12;
  font-size: 14px;
}

.form-done {
  margin-top: 4px;
  background: #fff4e8;
  border: 1px solid #e8d2bc;
  border-radius: 16px;
  padding: 40px 32px;
}

.form-done-title {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
}

.form-done-body {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

/* Footer */
.footer {
  background: var(--bg-footer);
  color: var(--text);
  padding: 72px 0 32px;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand .brand-mark {
  width: 28px;
  height: 21px;
}

.footer-brand span {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 620;
}

.footer p {
  color: var(--muted);
  font-size: 14px;
  max-width: 280px;
}

.footer h4 {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
}

.footer ul {
  list-style: none;
}

.footer li + li {
  margin-top: 10px;
}

.footer a {
  color: var(--muted);
  font-size: 14px;
}

.footer a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: #9a7b68;
  font-size: 12px;
}

.footer-bottom a {
  color: #9a7b68;
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: rise 0.9s var(--ease) forwards;
}

.d1 { animation-delay: 0.08s; }
.d2 { animation-delay: 0.16s; }
.d3 { animation-delay: 0.24s; }
.d4 { animation-delay: 0.32s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .menu-btn {
    display: block;
  }

  .nav {
    position: fixed;
    inset: var(--header) 0 auto;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px 36px;
    gap: 18px;
    display: none;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(32, 64, 96, 0.08);
  }

  body.nav-open .nav {
    display: flex;
  }

  .nav a {
    font-size: 22px;
  }

  .stats-grid,
  .cards,
  .vision,
  .split,
  .facts,
  .prose-grid,
  .values,
  .culture-hero-cards,
  .features,
  .contact-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .split img,
  .vision-media img,
  .photo-frame img,
  .hero-visual img {
    height: auto;
  }

  .section {
    padding: 80px 0;
  }

  .page-hero-bg {
    object-position: center 30%;
  }

  .page-hero-photo::after {
    background: linear-gradient(
      180deg,
      rgba(255, 227, 184, 0.94) 0%,
      rgba(255, 246, 234, 0.88) 58%,
      rgba(255, 253, 248, 0.72) 100%
    );
  }

  .page-hero-photo .wrap {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 640px) {
  .brand-name {
    letter-spacing: 0.1em;
    font-size: 13px;
  }

  .wrap,
  .wrap-wide,
  .header-inner {
    width: calc(100% - 28px);
  }

  h1,
  .display {
    font-size: 36px;
  }

  .lead {
    font-size: 16px;
  }

  .form {
    padding: 24px 20px;
  }

  .form-done {
    padding: 28px 20px;
  }

  .form-done-title {
    font-size: 24px;
  }

  .hero {
    padding-top: calc(var(--header) + 48px);
  }
}
