:root {
  --bg: #f6efe6;
  --surface: #fffaf5;
  --white: #ffffff;
  --navy: #071b34;
  --text: #0d1d32;
  --muted: #5f6670;
  --line: #e2d2c0;
  --line-strong: #cfb79f;
  --copper: #c75b2a;
  --sage: #42624c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 239, 230, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 210, 192, 0.85);
}

.header-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-mark {
  width: 102px;
  height: 82px;
  display: block;
}

.brand-r { fill: var(--navy); }
.brand-r-second { opacity: 0.96; }

.brand-road,
.brand-arrow-line {
  fill: none;
  stroke: var(--sage);
  stroke-width: 7;
  stroke-linecap: round;
}

.brand-road-second { stroke-width: 5; opacity: 0.92; }
.brand-arrow-line { stroke-width: 4; }
.brand-arrow { fill: var(--copper); }

.brand-text {
  padding-left: 18px;
  border-left: 1px solid var(--line-strong);
  line-height: 1;
}

.brand-name {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  text-transform: uppercase;
  font-size: 28px;
  letter-spacing: 0.04em;
  color: var(--navy);
}

.brand-sub {
  display: block;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  font-size: 12px;
  line-height: 1.55;
  color: var(--sage);
  font-weight: 700;
}

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

.primary-nav a {
  position: relative;
  font-size: 14px;
  color: #253044;
}

.primary-nav a:not(.contact-button)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -18px;
  width: 0;
  height: 2px;
  background: var(--copper);
  transition: width 0.2s ease;
}

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

.primary-nav a.active {
  color: var(--navy);
  font-weight: 700;
}

.contact-button {
  background: var(--navy);
  color: white !important;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(7, 27, 52, 0.14);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: white;
  color: var(--navy);
  font-weight: 800;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: white;
}

.mobile-nav.open {
  display: grid;
  gap: 4px;
  padding: 12px 16px 16px;
}

.mobile-nav a {
  padding: 13px 12px;
  color: var(--muted);
}

.mobile-nav a.active {
  color: var(--navy);
  font-weight: 800;
  background: var(--bg);
}

.home-page,
.page-section {
  padding: 48px 0 76px;
}

.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  min-height: 680px;
  overflow: hidden;
  background: #fffdf8;
  box-shadow: 0 24px 80px rgba(7, 27, 52, 0.08);
}

.hero-copy {
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 62px 42px 62px 48px;
  background: linear-gradient(90deg, rgba(255,253,248,1) 0%, rgba(255,253,248,0.98) 78%, rgba(255,253,248,0) 100%);
}

.eyebrow {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  color: var(--sage);
}

.eyebrow.center { text-align: center; }
.eyebrow.small { letter-spacing: 0.2em; }

.small-rule,
.purpose-rule {
  width: 52px;
  height: 2px;
  background: var(--copper);
}

.small-rule { margin-top: 38px; }

.hero-copy h1,
.page-section h1,
.page-section h2 {
  margin: 34px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 7.4vw, 96px);
  line-height: 0.88;
  font-weight: 600;
  letter-spacing: -0.065em;
  color: var(--navy);
}

.hero-copy h1 { max-width: 9ch; }

.hero-copy p {
  margin: 28px 0 0;
  max-width: 22ch;
  font-size: 20px;
  line-height: 1.65;
  color: #404b59;
}

.hero-visual {
  position: relative;
  min-height: 680px;
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: 34%;
  background: linear-gradient(90deg, rgba(255,253,248,0.9), rgba(255,253,248,0));
  pointer-events: none;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
}

.home-actions {
  margin-top: 28px;
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr 1fr;
}

.home-action-card {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 150px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--copper);
  background: white;
  padding: 28px 32px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.home-action-card:hover {
  background: var(--surface);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(7, 27, 52, 0.08);
}

.action-number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 78px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.07em;
  color: var(--copper);
}

.home-action-card strong {
  display: block;
  font-size: 19px;
  color: var(--navy);
}

.home-action-card small {
  display: block;
  margin-top: 8px;
  max-width: 34ch;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}

.action-arrow {
  color: var(--copper);
  font-size: 28px;
}

.purpose-band {
  margin-top: 48px;
  padding: 58px 48px;
  background: linear-gradient(180deg, #f7f5ee 0%, #eef3eb 100%);
  border: 1px solid rgba(226, 210, 192, 0.8);
  text-align: center;
}

.purpose-band h2 {
  margin: 20px auto 0;
  max-width: 900px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.purpose-rule { margin: 26px auto 0; }

.purpose-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.purpose-grid article {
  padding: 0 32px;
  border-left: 1px solid rgba(7, 27, 52, 0.12);
}

.purpose-grid article:first-child { border-left: 0; }

.purpose-icon {
  color: var(--sage);
  font-size: 34px;
  line-height: 1;
}

.purpose-grid h3 {
  margin: 22px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  color: var(--navy);
}

.purpose-grid p {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

.intro-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.page-section h1,
.page-section h2 {
  margin-top: 22px;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 0.95;
}

.intro-grid > p,
.wide-intro > p,
.contact-grid > div > p {
  margin: 0;
  max-width: 68ch;
  font-size: 18px;
  line-height: 1.9;
  color: var(--muted);
}

.wide-intro { max-width: 940px; }
.wide-intro > p { margin-top: 24px; }

.three-grid,
.two-grid {
  margin-top: 52px;
  display: grid;
  gap: 1px;
  background: var(--line);
}

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

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

.info-card,
.number-card,
.step-card {
  background: white;
  padding: 32px;
  border: 1px solid var(--line);
}

.info-card h2,
.number-card h2,
.step-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.info-card p,
.number-card p,
.step-card p {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.number-card > div,
.step-card > span {
  color: var(--copper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 46px;
  font-weight: 600;
  letter-spacing: -0.05em;
}

.phase-flow {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 22px;
  align-items: center;
  border: 1px solid var(--line);
  background: white;
  padding: 28px;
}

.phase-flow h2 {
  margin: 8px 0 0;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.phase-arrow {
  color: var(--copper);
  font-size: 34px;
}

.phase-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

.phase-title {
  margin: 0;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 600;
  color: var(--navy);
}

.step-list {
  margin-top: 22px;
  display: grid;
  gap: 1px;
  background: var(--line);
}

.step-card {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 22px;
}

.stacked-cards {
  margin-top: 52px;
  display: grid;
  gap: 1px;
  background: var(--line);
}

.contact-form {
  border: 1px solid var(--line);
  background: white;
  padding: 32px;
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  font-size: 13px;
  font-weight: 800;
  color: #3f454b;
}

.form-row label { margin-top: 0; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1px solid var(--line);
  padding: 14px;
  outline: none;
  background: white;
}

.form-footer {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.form-footer p {
  margin: 0;
  color: #6b625c;
  font-size: 13px;
  line-height: 1.6;
}

.form-footer button {
  border: 0;
  background: var(--navy);
  color: white;
  padding: 14px 22px;
  font-weight: 900;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
  background: white;
}

.site-footer p { margin: 0; }

@media (max-width: 1120px) {
  .desktop-nav { display: none; }
  .menu-button { display: inline-flex; align-items: center; justify-content: center; }
  .header-inner { min-height: 86px; }

  .hero-stage,
  .intro-grid,
  .contact-grid,
  .phase-grid,
  .four-grid,
  .three-grid,
  .two-grid,
  .purpose-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage { min-height: auto; }
  .hero-copy { padding: 44px 32px 16px; }
  .hero-visual { min-height: 520px; }

  .purpose-grid article {
    border-left: 0;
    border-top: 1px solid rgba(7, 27, 52, 0.12);
    padding: 28px 0 0;
  }

  .purpose-grid article:first-child { border-top: 0; }
}

@media (max-width: 720px) {
  .container { width: min(1200px, calc(100% - 22px)); }
  .home-page, .page-section { padding: 34px 0 54px; }

  .brand-lockup { gap: 10px; }
  .brand-mark { width: 70px; height: 58px; }
  .brand-text { padding-left: 10px; }
  .brand-name { font-size: 18px; }
  .brand-sub { font-size: 9px; letter-spacing: 0.2em; }

  .hero-copy h1 { font-size: clamp(44px, 13vw, 68px); max-width: 9ch; }
  .hero-copy p { font-size: 18px; }
  .hero-visual { min-height: 430px; }

  .home-actions { grid-template-columns: 1fr; }
  .home-action-card { grid-template-columns: 68px 1fr; min-height: 130px; }
  .action-arrow { display: none; }
  .action-number { font-size: 58px; }

  .purpose-band { padding: 42px 24px; }
  .page-section h1, .page-section h2 { font-size: clamp(36px, 11vw, 54px); }

  .intro-grid > p,
  .wide-intro > p,
  .contact-grid > div > p { font-size: 16px; }

  .phase-flow,
  .step-card,
  .form-row { grid-template-columns: 1fr; }

  .form-footer { align-items: stretch; flex-direction: column; }
  .form-footer button { width: 100%; }
}
