/* ============================================
   TEMUJIN — temujin.co.jp
   Design System
   ============================================ */

:root {
  --c-red: #C49A4E;
  --c-red-dark: #A9782A;
  --c-red-light: #D8B86E;
  --c-black: #071D3A;
  --c-gray-900: #333333;
  --c-gray-700: #555555;
  --c-gray-500: #888888;
  --c-gray-300: #CCCCCC;
  --c-gray-100: #F6F2EA;
  --c-white: #FFFFFF;
  --c-gold: #C9A961;
  --c-gold-light: #E8D9A8;
  --c-ivory: #FBF8F1;
  --c-navy: #071D3A;
  --c-navy-2: #0B2A50;
  --c-ink: #06162D;

  --f-serif: "Noto Serif JP", "Yu Mincho", "游明朝", YuMincho, "Hiragino Mincho ProN", serif;
  --f-sans: "Noto Sans JP", "Yu Gothic", "游ゴシック", YuGothic, "Hiragino Sans", sans-serif;
  --f-ascii: Georgia, "Times New Roman", serif;

  --max-width: 1140px;
  --pad-x: 24px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,.10);
  --radius: 4px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-black);
  background: var(--c-ivory);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--c-red); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-red-dark); }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
.nowrap { white-space: nowrap; }

@keyframes fadeUpSoft {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
@keyframes fadeDownSoft {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes crestTurn {
  from { transform: translateX(-50%) rotate(0deg); }
  to { transform: translateX(-50%) rotate(360deg); }
}
@keyframes borderWake {
  from {
    opacity: 0;
    transform: scaleX(.92);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}
@keyframes floatMark {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes introVeil {
  0%, 82% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}
@keyframes buildRing {
  0% {
    opacity: 0;
    transform: rotate(0deg) scale(.18);
    border-width: 1px;
  }
  38% {
    opacity: .72;
    transform: rotate(150deg) scale(.68);
  }
  72%, 100% {
    opacity: 1;
    transform: rotate(360deg) scale(1);
  }
}
@keyframes introRingSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes buildHexagon {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.78) rotate(-42deg);
  }
  18% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(.9) rotate(0deg);
  }
  36% {
    transform: translate(-49%, -51%) scale(.96) rotate(60deg);
  }
  54% {
    transform: translate(-51%, -49%) scale(1.02) rotate(120deg);
  }
  72% {
    transform: translate(-50%, -50%) scale(1) rotate(240deg);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(360deg);
  }
}
@keyframes buildTriangle {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) translateY(18px) scale(.86);
  }
  44%, 100% {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0) scale(1);
  }
}
@keyframes buildT {
  0% {
    opacity: 0;
    transform: translateY(38px) scale(.96);
    text-shadow: 0 0 0 rgba(251,248,241,0);
  }
  58% {
    opacity: 1;
    transform: translateY(-2px) scale(1.04);
    text-shadow: 0 10px 20px rgba(251,248,241,.42);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    text-shadow: 0 4px 12px rgba(251,248,241,.22);
  }
}
@keyframes buildCaption {
  0%, 76% {
    opacity: 0;
    transform: translateY(10px);
  }
  86%, 100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Layout ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
section { padding: 80px 0; }
@media (max-width: 768px) {
  section { padding: 56px 0; }
}

/* ===== Header / Nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-gray-100);
  backdrop-filter: blur(8px);
  background-color: rgba(255,255,255,.95);
  animation: none;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-symbol {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 5px 10px rgba(7,29,58,.08));
}
.brand-logo {
  gap: 14px;
}
.brand-logo .brand-symbol {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.brand-logo .brand-name {
  font-family: var(--f-ascii);
  font-size: 20px;
  letter-spacing: .28em;
  color: var(--c-navy);
  line-height: 1.1;
}
.brand-mark {
  width: 4px; height: 32px; background: var(--c-red);
}
.brand-name {
  font-family: var(--f-serif);
  font-size: 20px; font-weight: 700; color: var(--c-black);
  letter-spacing: .04em;
}
.brand-name small {
  display: block; font-size: 10px; font-family: var(--f-ascii);
  color: var(--c-gold); letter-spacing: .25em; font-weight: 400; font-style: italic;
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  color: var(--c-black); font-size: 14px; font-weight: 500;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -6px; left: 0;
  width: 0; height: 2px; background: var(--c-red); transition: width .25s;
}
.nav-links a:hover::after, .nav-links a.is-active::after { width: 100%; }
.nav-cta {
  background: var(--c-navy); color: var(--c-white) !important;
  padding: 10px 20px; border-radius: var(--radius);
  font-weight: 700; font-size: 13px;
  border: 1px solid rgba(201,169,97,.45);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--c-ink); color: var(--c-white) !important; }

.menu-toggle { display: none; }
@media (max-width: 900px) {
  .menu-toggle {
    display: flex; flex-direction: column; gap: 5px;
    width: 32px; height: 28px; justify-content: center;
  }
  .menu-toggle span {
    width: 100%; height: 2px; background: var(--c-black); transition: .25s;
  }
  .menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--c-white);
    border-bottom: 1px solid var(--c-gray-100);
    max-height: 0; overflow: hidden; transition: max-height .3s;
    padding: 0 var(--pad-x);
  }
  .nav-links.is-open { max-height: 500px; padding: 16px var(--pad-x); }
  .nav-links a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--c-gray-100); }
  .nav-links .nav-cta { margin-top: 12px; text-align: center; }
}

/* ===== Hero ===== */
.hero {
  background: var(--c-black);
  color: var(--c-white);
  padding: 120px 0 100px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: 0; left: 0; bottom: 0;
  width: 8px; background: var(--c-red);
}
.hero-eyebrow {
  font-family: var(--f-ascii);
  color: var(--c-gold); font-size: 12px; letter-spacing: .35em;
  margin-bottom: 24px; font-style: italic;
}
.hero h1 {
  font-family: var(--f-serif);
  font-size: clamp(32px, 5.5vw, 56px);
  font-weight: 700; line-height: 1.3;
  margin-bottom: 24px;
}
.hero h1 em {
  color: var(--c-gold); font-style: normal;
}
.hero-lead {
  font-size: clamp(15px, 2vw, 18px); line-height: 1.85;
  color: var(--c-gold-light); max-width: 720px; margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Page hero (smaller) */
.page-hero {
  background: var(--c-black); color: var(--c-white);
  padding: 80px 0 60px; position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: 0; left: 0; bottom: 0;
  width: 8px; background: var(--c-red);
}
.page-hero .eyebrow {
  font-family: var(--f-ascii); color: var(--c-gold);
  font-size: 12px; letter-spacing: .3em; font-style: italic;
  margin-bottom: 16px;
}
.page-hero-logo {
  width: 82px;
  height: 82px;
  object-fit: contain;
  margin-bottom: 18px;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.22));
  animation: none;
}
.page-hero h1 {
  font-family: var(--f-serif); font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 16px; line-height: 1.3;
}
.page-hero p { color: var(--c-gold-light); font-size: 15px; max-width: 720px; }
.page-hero .container {
  animation: none;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block; padding: 14px 32px;
  font-weight: 700; font-size: 14px; letter-spacing: .05em;
  border-radius: var(--radius); transition: all .2s;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--c-gold); color: var(--c-navy) !important;
  border-color: var(--c-gold);
}
.btn-primary:hover {
  background: var(--c-gold-light); transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent; color: var(--c-white) !important;
  border-color: var(--c-gold);
}
.btn-outline:hover { background: var(--c-gold); color: var(--c-black) !important; }
.btn-dark {
  background: var(--c-black); color: var(--c-white) !important;
}
.btn-dark:hover { background: var(--c-gray-900); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ===== Section heads ===== */
.section-head {
  text-align: center; margin-bottom: 56px;
}
.section-head .eyebrow {
  display: inline-block;
  font-family: var(--f-ascii); color: var(--c-red);
  font-size: 11px; letter-spacing: .35em; font-style: italic;
  margin-bottom: 12px;
}
.section-head h2 {
  font-family: var(--f-serif); font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700; color: var(--c-black); line-height: 1.3;
  position: relative; display: inline-block; padding-bottom: 16px;
}
.section-head h2::after {
  content: ''; position: absolute; bottom: 0; left: 50%;
  width: 56px; height: 2px; background: var(--c-gold);
  transform: translateX(-50%);
}
.section-head .lead {
  margin-top: 20px; max-width: 680px; margin-left: auto; margin-right: auto;
  color: var(--c-gray-700);
}

.section-light { background: var(--c-gray-100); }

/* ===== Cards / Grid ===== */
.grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 768px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--c-white); padding: 32px;
  border: 1px solid var(--c-gray-100);
  border-radius: var(--radius); transition: all .25s;
}
.card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-md);
  border-color: var(--c-gold);
}
.card-num {
  font-family: var(--f-ascii); font-size: 14px;
  color: var(--c-gold); letter-spacing: .2em; font-style: italic;
  margin-bottom: 8px;
}
.card h3 {
  font-family: var(--f-serif); font-size: 20px;
  margin-bottom: 12px; color: var(--c-black);
}
.card p { color: var(--c-gray-700); font-size: 14px; }

/* Issue cards (red accent) */
.issue-card {
  background: var(--c-white); padding: 32px;
  border-left: 4px solid var(--c-red);
  box-shadow: var(--shadow-sm);
}
.issue-card h3 { font-family: var(--f-serif); margin-bottom: 12px; font-size: 18px; }
.issue-card p { color: var(--c-gray-700); font-size: 14px; }

/* ===== Strengths (numbered list) ===== */
.strength-list { display: grid; gap: 32px; }
.strength-item { display: grid; grid-template-columns: 80px 1fr; gap: 24px; align-items: start; }
.strength-num {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--c-navy); color: var(--c-white);
  border: 3px solid var(--c-gold);
  box-shadow: 0 8px 22px rgba(7,29,58,.18);
  font-family: var(--f-serif); font-size: 30px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.strength-item h3 {
  font-family: var(--f-serif); font-size: 22px;
  margin-bottom: 8px; padding-bottom: 8px;
  border-bottom: 2px solid var(--c-gold); display: inline-block;
}
.strength-item p { color: var(--c-gray-700); }
@media (max-width: 600px) {
  .strength-item { grid-template-columns: 1fr; }
}

/* ===== Service flow ===== */
.flow {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px;
}
@media (max-width: 900px) { .flow { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .flow { grid-template-columns: repeat(2, 1fr); } }
.flow-step {
  background: var(--c-gray-100); padding: 24px 12px;
  text-align: center; position: relative;
}
.flow-step::before {
  content: ''; display: block; height: 4px; background: var(--c-red);
  margin: -24px -12px 12px;
}
.flow-step .num {
  font-family: var(--f-ascii); color: var(--c-gold);
  font-size: 12px; letter-spacing: .2em; font-style: italic;
  margin-bottom: 4px;
}
.flow-step .title {
  font-family: var(--f-serif); font-weight: 700; font-size: 16px;
  margin-bottom: 8px;
}
.flow-step .desc { font-size: 11px; color: var(--c-gray-700); line-height: 1.5; }

/* ===== Pricing ===== */
.price-card {
  background: var(--c-black); color: var(--c-white);
  padding: 48px; border-radius: var(--radius);
  position: relative; overflow: hidden;
}
.price-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--c-red);
}
.price-card .label {
  color: var(--c-gold); font-size: 12px; letter-spacing: .3em;
  font-family: var(--f-ascii); font-style: italic; margin-bottom: 12px;
}
.price-card h3 {
  font-family: var(--f-serif); font-size: 24px; margin-bottom: 24px;
}
.price-amount {
  font-family: var(--f-serif); font-size: 56px; font-weight: 700;
  margin-bottom: 8px; line-height: 1;
  white-space: nowrap;
}
.price-amount span { font-size: 16px; color: var(--c-gold-light); }
.price-meta { font-size: 13px; color: var(--c-gold-light); margin-bottom: 24px; }
.pricing-grid { align-items: stretch; }
.pricing-grid .card,
.pricing-grid .price-card {
  min-width: 0;
}
.success-fee-amount {
  white-space: nowrap;
}
.success-fee-amount span {
  display: inline-block;
  margin-left: 8px;
  color: var(--c-gray-500);
  font-family: var(--f-sans);
  font-size: 12px;
  font-weight: 700;
  vertical-align: middle;
}
.price-list { color: var(--c-gold-light); }
.price-list li {
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1);
  position: relative; padding-left: 24px;
}
.price-list li::before {
  content: '✓'; position: absolute; left: 0; color: var(--c-gold); font-weight: 700;
}

/* ===== Detail (9 services) ===== */
.detail-item {
  display: grid; grid-template-columns: 80px 1fr; gap: 24px;
  padding: 40px 0; border-bottom: 1px solid var(--c-gray-100);
}
.detail-item:last-child { border-bottom: none; }
.detail-num {
  font-family: var(--f-ascii); font-size: 32px; font-weight: 700;
  color: var(--c-red); border-right: 2px solid var(--c-gold);
  padding-right: 16px; line-height: 1; padding-top: 4px;
}
.detail-item h3 {
  font-family: var(--f-serif); font-size: 22px; margin-bottom: 8px;
}
.detail-item .sub {
  font-family: var(--f-ascii); color: var(--c-gold);
  font-size: 12px; font-style: italic; margin-bottom: 16px;
}
.detail-item .body { color: var(--c-gray-700); margin-bottom: 16px; }
.detail-item .scope-list { margin-bottom: 16px; }
.detail-item .scope-list li {
  padding: 4px 0 4px 20px; position: relative; font-size: 14px;
}
.detail-item .scope-list li::before {
  content: '■'; color: var(--c-red); position: absolute; left: 0;
  font-size: 10px; top: 8px;
}
.detail-item .why {
  background: var(--c-gray-100); padding: 12px 16px;
  border-left: 3px solid var(--c-gold);
  font-style: italic; font-size: 14px; color: var(--c-gray-900);
}
@media (max-width: 600px) {
  .detail-item { grid-template-columns: 1fr; }
  .detail-num { border-right: none; border-bottom: 2px solid var(--c-gold); padding: 0 0 8px; }
}

/* ===== KPI stats ===== */
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 768px) { .kpi-row { grid-template-columns: 1fr; } }
.kpi {
  background: var(--c-white); padding: 32px; text-align: center;
  border-top: 4px solid var(--c-red); box-shadow: var(--shadow-sm);
}
.kpi .v {
  font-family: var(--f-serif); font-size: 40px; font-weight: 700;
  color: var(--c-red); line-height: 1.2; margin-bottom: 8px;
}
.kpi .l { font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.kpi .n { font-size: 12px; color: var(--c-gray-500); }

/* ===== Forms ===== */
.form-grid { display: grid; gap: 20px; max-width: 720px; margin: 0 auto; }
.form-row { display: grid; gap: 8px; }
.form-row.row-2 { grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form-row.row-2 { grid-template-columns: 1fr; } }
.form-row label { font-weight: 700; font-size: 13px; }
.form-row label .req { color: var(--c-red); margin-left: 4px; }
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--c-gray-300); border-radius: var(--radius);
  font: inherit; background: var(--c-white); transition: border-color .2s;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none; border-color: var(--c-red);
}
.form-row textarea { min-height: 160px; resize: vertical; }
.form-actions { display: flex; justify-content: center; margin-top: 16px; }
.form-note {
  background: var(--c-gray-100); padding: 16px; border-left: 3px solid var(--c-gold);
  font-size: 13px; color: var(--c-gray-700); margin-bottom: 24px;
}

/* ===== Definition list (info table) ===== */
.dl-info {
  display: grid; grid-template-columns: 200px 1fr; gap: 0;
  border-top: 1px solid var(--c-gray-100);
}
.dl-info dt, .dl-info dd {
  padding: 16px 24px; border-bottom: 1px solid var(--c-gray-100);
}
.dl-info dt {
  font-weight: 700; background: var(--c-gray-100); color: var(--c-red);
  font-size: 14px;
}
.dl-info dd { font-size: 14px; }
.terms-box .dl-info {
  grid-template-columns: 160px 1fr;
}
.terms-box .dl-info dd {
  line-break: strict;
  word-break: normal;
}
@media (max-width: 600px) {
  .dl-info { grid-template-columns: 1fr; }
  .dl-info dt { padding-bottom: 0; border-bottom: none; }
  .terms-box .dl-info { grid-template-columns: 1fr; }
}

/* ===== CTA band ===== */
.cta-band {
  background: var(--c-black); color: var(--c-white);
  text-align: center; padding: 64px var(--pad-x);
}
.cta-band h2 {
  font-family: var(--f-serif); font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 16px;
}
.cta-band p { color: var(--c-gold-light); margin-bottom: 32px; }

/* ===== Footer ===== */
.site-footer {
  background: var(--c-black); color: var(--c-gray-300);
  padding: 56px 0 24px; font-size: 13px;
}
.site-footer .footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 768px) { .site-footer .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  color: var(--c-gold); font-size: 12px; letter-spacing: .2em;
  font-family: var(--f-ascii); font-style: italic;
  margin-bottom: 16px;
}
.site-footer ul li { padding: 4px 0; }
.site-footer a { color: var(--c-gray-300); }
.site-footer a:hover { color: var(--c-gold); }
.site-footer .brand-name { color: var(--c-white); }
.site-footer .brand-name small { color: var(--c-gold); }
.site-footer .footer-tag { color: var(--c-gray-500); margin-top: 16px; line-height: 1.7; }
.site-footer .copyright {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px;
  text-align: center; font-size: 12px; color: var(--c-gray-500);
}

/* ===== Article (privacy etc) ===== */
.article { max-width: 800px; margin: 0 auto; }
.article h2 {
  font-family: var(--f-serif); font-size: 22px;
  margin: 40px 0 16px; padding-bottom: 8px;
  border-bottom: 2px solid var(--c-gold);
}
.article h3 {
  font-family: var(--f-serif); font-size: 18px;
  margin: 24px 0 12px; color: var(--c-red);
}
.article p { margin-bottom: 16px; line-height: 1.85; }
.article ul, .article ol { margin: 0 0 16px 24px; }
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article ul li, .article ol li { padding: 4px 0; }

/* ===== TEMUJIN homepage ===== */
.logo-intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background:
    radial-gradient(circle at 50% 45%, rgba(201,169,97,.22), transparent 32%),
    linear-gradient(180deg, #071D3A 0%, #06162D 100%);
  pointer-events: none;
  animation: none;
}
.logo-build {
  position: relative;
  width: min(320px, 74vw);
  aspect-ratio: 1;
}
.build-ring,
.build-hexagon,
.build-triangle,
.build-t {
  position: absolute;
  left: 50%;
  top: 50%;
}
.build-ring {
  width: 100%;
  height: 100%;
  margin: -50% 0 0 -50%;
  border-radius: 50%;
  border: 1px solid rgba(201,169,97,.42);
  opacity: 0;
  z-index: 1;
}
.build-ring-1 {
  border-width: 4px;
  border-color: rgba(201,169,97,.92);
  animation: none;
}
.build-ring-2 {
  width: 88%;
  height: 88%;
  margin: -44% 0 0 -44%;
  border-left-color: transparent;
  border-right-color: transparent;
  animation: none;
}
.build-ring-3 {
  width: 112%;
  height: 112%;
  margin: -56% 0 0 -56%;
  border-top-color: transparent;
  border-bottom-color: transparent;
  animation: none;
}
.build-hexagon {
  width: 42%;
  height: 36.4%;
  opacity: 0;
  overflow: visible;
  filter: drop-shadow(0 15px 18px rgba(0,0,0,.22));
  animation: none;
  z-index: 4;
}
.build-hexagon polygon {
  fill: transparent;
  stroke: #C9A961;
  stroke-width: 5;
  stroke-linejoin: round;
}
.build-triangle {
  width: 39%;
  height: 34%;
  transform-origin: center;
  overflow: visible;
  filter: drop-shadow(0 18px 22px rgba(0,0,0,.18));
  opacity: 0;
  animation: none;
  z-index: 3;
}
.build-triangle polygon {
  fill: #F4EBDD;
  stroke: rgba(251,248,241,.72);
  stroke-width: 1.2;
  stroke-linejoin: round;
  shape-rendering: geometricPrecision;
}
.build-t {
  width: 72px;
  margin: -1px 0 0 -36px;
  color: #071D3A;
  font-family: var(--f-ascii);
  font-size: min(64px, 15vw);
  font-weight: 700;
  line-height: 1;
  text-align: center;
  opacity: 0;
  animation: none;
  z-index: 5;
}
.logo-build-caption {
  color: rgba(251,248,241,.82);
  font-family: var(--f-serif);
  font-size: clamp(15px, 2.2vw, 20px);
  letter-spacing: .16em;
  padding-left: .16em;
  animation: none;
}
.logo-intro.is-hidden {
  display: none;
}
.home-hero {
  position: relative;
  overflow: hidden;
  min-height: 510px;
  padding: 20px 0 14px;
  color: var(--c-navy);
  background:
    radial-gradient(circle at 50% 34%, rgba(201,169,97,.18), transparent 30%),
    linear-gradient(180deg, #FBF8F1 0%, #F4EBDD 100%);
}
.home-hero::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(201,169,97,.38);
  pointer-events: none;
  transform-origin: center;
  animation: none;
}
.home-hero::after {
  content: '';
  position: absolute;
  top: 66px;
  left: 50%;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(201,169,97,.28);
  border-radius: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  animation: none;
}
.home-hero-inner {
  min-height: 402px;
  display: grid;
  gap: 10px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.home-hero-centered {
  justify-items: center;
  text-align: center;
}
.hero-lockup {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-bottom: 8px;
  animation: none;
}
.hero-logo-full {
  width: min(276px, 70vw);
  margin-bottom: 8px;
  filter: drop-shadow(0 22px 38px rgba(7,29,58,.14));
  animation: none;
}
.hero-emblem {
  width: min(154px, 42vw);
  filter: drop-shadow(0 18px 34px rgba(7,29,58,.16));
}
.hero-wordmark {
  font-family: var(--f-ascii);
  color: var(--c-navy);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
  letter-spacing: .24em;
  padding-left: .24em;
}
.hero-wordmark span {
  display: block;
  margin-top: 11px;
  padding-left: 0;
  font-family: var(--f-serif);
  font-size: clamp(12px, 1.6vw, 16px);
  letter-spacing: .12em;
  color: var(--c-navy);
  font-style: italic;
}
.home-hero-copy h1 {
  font-family: var(--f-serif);
  font-size: clamp(34px, 4.2vw, 48px);
  line-height: 1.25;
  margin-bottom: 24px;
  color: var(--c-white);
}
.home-hero-centered h1 {
  font-family: var(--f-ascii);
  font-size: clamp(38px, 5.5vw, 58px);
  line-height: 1;
  color: var(--c-navy);
  letter-spacing: .24em;
  margin: 0 0 10px;
  padding-left: .24em;
  animation: none;
}
.hero-subtitle {
  font-family: var(--f-serif);
  color: var(--c-navy);
  font-weight: 700;
  font-size: clamp(18px, 2.3vw, 26px);
  margin-bottom: 8px;
  animation: none;
}
.home-hero .hero-lead {
  color: var(--c-gray-700);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 18px;
  animation: none;
}
.home-hero .hero-eyebrow {
  color: var(--c-gold);
  margin-bottom: 4px;
  animation: none;
}
.home-hero .hero-actions {
  justify-content: center;
  animation: none;
}
.home-hero .btn-outline {
  color: var(--c-navy) !important;
  border-color: var(--c-gold);
}
.home-hero .btn-outline:hover {
  background: var(--c-navy);
  color: var(--c-white) !important;
}
.home-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 330px;
}
.home-hero-visual img {
  width: min(330px, 100%);
  filter: drop-shadow(0 28px 55px rgba(0,0,0,.28));
}
.hero-next {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  text-align: center;
}
.hero-next span {
  display: inline-block;
  font-family: var(--f-ascii);
  font-size: 12px;
  color: rgba(7,29,58,.58);
  letter-spacing: .34em;
  border-top: 1px solid rgba(201,169,97,.55);
  padding-top: 14px;
  animation: none;
}
.intro-band {
  padding: 58px 0;
  background: var(--c-ivory);
  border-bottom: 1px solid rgba(201,169,97,.24);
}
.intro-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 54px;
  align-items: start;
}
.intro-grid h2,
.split-section h2 {
  font-family: var(--f-serif);
  font-size: clamp(25px, 3.2vw, 38px);
  line-height: 1.45;
  color: var(--c-navy);
}
.intro-grid p,
.split-section p {
  color: var(--c-gray-700);
  font-size: 16px;
}
.service-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(201,169,97,.34);
  background: var(--c-white);
}
.service-panel article {
  padding: 34px 26px;
  min-height: 292px;
  border-right: 1px solid rgba(201,169,97,.26);
}
.service-panel article:last-child { border-right: 0; }
.service-panel span {
  display: inline-block;
  font-family: var(--f-ascii);
  color: var(--c-gold);
  font-size: 13px;
  letter-spacing: .2em;
  margin-bottom: 20px;
}
.service-panel h3,
.reason-item h3 {
  font-family: var(--f-serif);
  color: var(--c-navy);
  font-size: 21px;
  margin-bottom: 12px;
}
.service-panel p,
.reason-item p {
  color: var(--c-gray-700);
  font-size: 14px;
}
.section-tint {
  background: linear-gradient(180deg, #F7F1E5 0%, #FBF8F1 100%);
}
.crest-section {
  background:
    linear-gradient(rgba(7,29,58,.94), rgba(7,29,58,.94)),
    radial-gradient(circle at center, rgba(201,169,97,.26), transparent 34%),
    var(--c-navy);
  color: var(--c-white);
  position: relative;
  overflow: hidden;
}
.crest-section::before {
  content: '';
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(201,169,97,.25);
  pointer-events: none;
}
.crest-section .section-head h2,
.crest-section .reason-item h3 {
  color: var(--c-white);
}
.crest-section .section-head .eyebrow {
  color: var(--c-gold);
}
.crest-section .reason-item {
  background: rgba(251,248,241,.06);
  border: 1px solid rgba(201,169,97,.24);
  border-top: 3px solid var(--c-gold);
  box-shadow: none;
}
.crest-section .reason-item p {
  color: rgba(251,248,241,.78);
}
.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.reason-item {
  background: rgba(255,255,255,.72);
  border-top: 3px solid var(--c-gold);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.split-section {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 64px;
  align-items: start;
}
.process-list {
  list-style: none;
  counter-reset: process;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(201,169,97,.34);
}
.process-list li {
  counter-increment: process;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(201,169,97,.34);
}
.process-list li::before {
  content: counter(process, decimal-leading-zero);
  font-family: var(--f-ascii);
  color: var(--c-gold);
  letter-spacing: .18em;
}
.process-list strong {
  display: block;
  font-family: var(--f-ascii);
  color: var(--c-navy);
  font-size: 15px;
  margin-bottom: 4px;
}
.process-list span {
  display: block;
  color: var(--c-gray-700);
  font-size: 14px;
}
.footer-logo .brand-symbol {
  filter: none;
}

.reveal-target {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(3px);
  transition:
    opacity .78s cubic-bezier(.2,.7,.2,1),
    transform .78s cubic-bezier(.2,.7,.2,1),
    filter .78s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}
.reveal-target.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .reveal-target {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@media (max-width: 980px) {
  .home-hero-inner,
  .intro-grid,
  .split-section {
    grid-template-columns: 1fr;
  }
  .home-hero-inner { gap: 12px; }
  .home-hero-visual {
    justify-content: flex-start;
    min-height: auto;
  }
  .home-hero-visual img { width: 245px; }
  .service-panel { grid-template-columns: repeat(2, 1fr); }
  .service-panel article:nth-child(2) { border-right: 0; }
  .service-panel article:nth-child(-n+2) { border-bottom: 1px solid rgba(201,169,97,.26); }
  .reason-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --pad-x: 18px; }
  body {
    font-size: 15px;
    line-height: 1.75;
  }
  section { padding: 48px 0; }
  .site-header .container { height: 64px; }
  .brand {
    gap: 8px;
    min-width: 0;
  }
  .brand-symbol {
    width: 34px;
    height: 34px;
  }
  .brand-name {
    font-size: 15px;
    letter-spacing: 0;
    line-height: 1.15;
  }
  .brand-name small {
    font-size: 8px;
    letter-spacing: .14em;
    margin-top: 2px;
  }
  .menu-toggle {
    width: 30px;
    height: 28px;
    flex: 0 0 auto;
  }
  .nav-links { top: 64px; }
  .nav-links a { font-size: 15px; }
  .page-hero {
    padding: 46px 0 42px;
  }
  .page-hero-logo {
    width: 64px;
    height: 64px;
    margin-bottom: 14px;
  }
  .page-hero h1 {
    font-size: 29px;
    line-height: 1.35;
  }
  .page-hero p {
    font-size: 14px;
    line-height: 1.75;
  }
  .section-head {
    margin-bottom: 34px;
  }
  .section-head .eyebrow {
    font-size: 10px;
    letter-spacing: .22em;
  }
  .section-head h2 {
    font-size: 26px;
    line-height: 1.42;
  }
  .section-head .lead {
    margin-top: 16px;
    font-size: 14px;
  }
  .grid { gap: 16px; }
  .card,
  .issue-card,
  .reason-item {
    padding: 22px;
  }
  .card h3,
  .issue-card h3,
  .reason-item h3 {
    font-size: 19px;
    line-height: 1.45;
  }
  .home-hero {
    min-height: auto;
    padding: 24px 0 28px;
  }
  .home-hero::before { inset: 10px; }
  .home-hero::after {
    width: 230px;
    height: 230px;
    top: 62px;
    opacity: .62;
  }
  .home-hero-inner {
    min-height: auto;
    gap: 8px;
  }
  .home-hero-centered h1 {
    font-family: var(--f-serif);
    font-size: clamp(29px, 8.4vw, 38px);
    line-height: 1.38;
    letter-spacing: 0;
    padding-left: 0;
    margin: 0 0 14px;
  }
  .home-hero-centered h1 em {
    display: inline-block;
    white-space: nowrap;
  }
  .home-hero .hero-eyebrow {
    font-size: 10px;
    letter-spacing: .2em;
    margin-bottom: 8px;
  }
  .home-hero .hero-lead {
    font-size: 14px;
    line-height: 1.78;
    margin-bottom: 20px;
  }
  .hero-logo-full {
    width: min(198px, 64vw);
    margin-bottom: 8px;
  }
  .hero-emblem { width: min(142px, 44vw); }
  .hero-wordmark {
    font-size: clamp(28px, 10vw, 42px);
    letter-spacing: .16em;
    padding-left: .16em;
  }
  .home-hero .hero-actions {
    width: 100%;
    gap: 10px;
    align-items: center;
  }
  .home-hero .hero-actions .btn {
    width: min(100%, 300px);
    text-align: center;
  }
  .kpi-row {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }
  .kpi {
    padding: 22px 20px;
  }
  .kpi .v {
    font-size: 36px;
    line-height: 1.1;
  }
  .kpi .l,
  .kpi .n {
    font-size: 13px;
  }
  .hero-next span {
    font-size: 10px;
    letter-spacing: .2em;
  }
  .price-card {
    padding: 30px 22px;
  }
  .price-amount {
    font-size: 42px;
    white-space: normal;
  }
  .price-amount span {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    white-space: nowrap;
  }
  .success-fee-amount {
    font-size: 42px !important;
    white-space: normal;
  }
  .success-fee-amount span {
    display: block;
    margin: 8px 0 0;
    font-size: 12px;
  }
  .intro-band { padding: 42px 0; }
  .intro-grid,
  .split-section {
    gap: 24px;
  }
  .intro-grid h2,
  .split-section h2 {
    font-size: 26px;
  }
  .process-list li {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 0;
  }
  .service-panel { grid-template-columns: 1fr; }
  .service-panel article,
  .service-panel article:nth-child(-n+2) {
    border-right: 0;
    border-bottom: 1px solid rgba(201,169,97,.26);
    min-height: auto;
    padding: 24px 22px;
  }
  .service-panel article:last-child { border-bottom: 0; }
  .cta-band {
    padding: 48px 20px;
  }
  .cta-band h2 {
    font-size: 25px;
    line-height: 1.4;
  }
  .cta-band p {
    font-size: 14px;
  }
  .site-footer {
    padding: 42px 0 22px;
  }
}
