/* ===== BASE ===== */
:root{
  --bg: #f6f5f0;
  --panel: #ffffff;
  --ink: #111;
  --muted: #666;
  --line: #e5e3db;
  --accent: #f5c400;
}

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

body{
  background:var(--bg);
  color:var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
}

.page{ padding:40px 16px; }

/* ===== NAV ===== */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .4s, backdrop-filter .4s;
}
.site-nav.scrolled {
  background: rgba(246,245,240,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.site-nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.site-nav-logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
}
.site-nav-logo span {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .3px;
}
.site-nav-links {
  display: flex; gap: 36px;
  list-style: none;
}
.site-nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .2px;
  transition: color .3s;
}
.site-nav-links a:hover { color: var(--ink); }
.site-nav-links a.is-current {
  color: var(--ink);
  font-weight: 700;
}

.site-nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px; height: 32px;
  position: relative;
  z-index: 110;
}
.site-nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: absolute;
  left: 5px;
  transition: all .3s;
}
.site-nav-hamburger span:nth-child(1) { top: 8px; }
.site-nav-hamburger span:nth-child(2) { top: 15px; }
.site-nav-hamburger span:nth-child(3) { top: 22px; }
.site-nav-hamburger.open span:nth-child(1) { top: 15px; transform: rotate(45deg); }
.site-nav-hamburger.open span:nth-child(2) { opacity: 0; }
.site-nav-hamburger.open span:nth-child(3) { top: 15px; transform: rotate(-45deg); }

.site-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(246,245,240,.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.site-mobile-menu.open { display: flex; }
.site-mobile-menu a {
  text-decoration: none;
  color: var(--ink);
  font-size: 20px;
  font-weight: 600;
}
.site-mobile-menu a:hover { color: var(--muted); }
.site-mobile-menu a.is-current { font-weight: 800; }

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 140px 16px 104px;
  background: #E3EFE0;
}

.hero::before,
.hero::after {
  content: "SETTLEMENT";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 140px;
  font-weight: 900;
  letter-spacing: 4px;
  color: #000;
  opacity: 0.04;
  white-space: nowrap;
  pointer-events: none;
}

.hero::before { left: -260px; }
.hero::after  { right: -260px; }

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  background: #ffffff;
  padding: 48px 32px;
  border-radius: 10px;
}

.hero-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
  color: #111;
}

.hero-title span { display: block; font-weight: 800; }

.hero-desc {
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto 28px;
  color: #222;
}

.hero-cta {
  display: inline-block;
  background: #f4b400;
  color: #000;
  font-weight: 800;
  padding: 16px 30px;
  border: 3px solid #000;
  box-shadow: 6px 6px 0 #000;
  text-decoration: none;
}

.hero-cta:hover {
  transform: translate(1px, 1px);
  box-shadow: 4px 4px 0 #000;
}

.hero-note {
  margin-top: 16px;
  font-size: 14px;
  color: #444;
}

/* ===== SECTION ===== */
.section{
  max-width:1200px;
  margin:80px auto;
  padding:0 20px;
}

.section h2{
  font-size:36px;
  margin-bottom:48px;
}

.panel{
  background:var(--panel);
  border-radius:20px;
  padding:28px;
  border:1px solid var(--line);
}

/* ========================================
   CLICKABLE TIMELINE
   ======================================== */
.tl-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.tl-section h2 {
  font-size: 36px;
  margin-bottom: 12px;
}

.tl-section > p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 56px;
}

/* --- the horizontal axis --- */
.tl-axis {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0;
}

/* connector line */
.tl-axis::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 24px;
  right: 24px;
  height: 2px;
  background: var(--line);
  z-index: 0;
}

/* each node */
.tl-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  flex: 1;
  transition: transform .2s ease;
}

.tl-node:hover { transform: translateY(-2px); }

/* the dot */
.tl-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--panel);
  border: 3px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 12px;
  transition: all .3s ease;
  flex-shrink: 0;
}

.tl-node.active .tl-dot {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  transform: scale(1.15);
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}

.tl-node-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 4px;
  text-align: center;
  transition: color .3s ease;
}

.tl-node.active .tl-node-label { color: var(--ink); }

.tl-node-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  max-width: 120px;
  line-height: 1.3;
  transition: color .3s ease;
}

.tl-node.active .tl-node-title {
  font-weight: 800;
}

/* --- detail panel below axis --- */
.tl-detail {
  margin-top: 40px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  animation: panelIn .35s ease;
}

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

.tl-detail-header {
  padding: 28px 32px 20px;
  border-bottom: 1px solid #f0efe9;
  display: flex;
  align-items: center;
  gap: 16px;
}

.tl-detail-num {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.tl-detail-info .tl-detail-sub {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.tl-detail-info .tl-detail-title {
  font-size: 22px;
  font-weight: 800;
}

/* services inside detail */
.tl-detail-body {
  padding: 0;
}

.tl-svc {
  padding: 24px 32px;
  border-bottom: 1px solid #f5f3ee;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: background .2s ease;
}

.tl-svc:last-child { border-bottom: none; }
.tl-svc:hover { background: #fdfcfa; }

.tl-svc-index {
  font-size: 32px;
  font-weight: 900;
  color: var(--line);
  line-height: 1;
  flex-shrink: 0;
  width: 44px;
  padding-top: 2px;
}

.tl-svc-content { flex: 1; }

.tl-svc-name {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.tl-svc-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 10px;
}

.tl-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tl-chips span {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #eee9df;
  background: #faf7f2;
  color: #555;
}

/* ===== WHO ===== */
.section.who{ margin:120px auto; }

.who .wrap{
  display:grid;
  grid-template-columns:420px 1fr;
  gap:70px;
  position:relative;
  width:100%;
}

.who .wrap:before{
  content:"";
  position:absolute;
  left:420px;
  top:0; bottom:0;
  width:1px;
  background:#ece9e0;
}

.who .left{ display:flex; align-items:center; }

.who #leftText{
  font-size:22px;
  font-weight:500;
  line-height:1.5;
  color:#222;
  max-width:320px;
  transition:opacity .25s ease;
}

.who .item{
  position:relative;
  padding:34px 0;
  border-top:1px solid var(--line);
  transition:.35s ease;
}

.who .item:hover{ transform:translateX(4px); }

.who .num{
  position:absolute;
  left:-46px; top:36px;
  font-size:16px; font-weight:600;
  color:#000; opacity:.14;
}

.who .item .tag{
  font-size:11px; font-weight:700;
  letter-spacing:.08em;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  transition:.25s ease;
}

.who .item:hover .tag{
  border-color:var(--accent);
  background:#f5c40012;
}

.who .item h3{
  margin:10px 0 4px;
  font-size:24px; font-weight:700;
  letter-spacing:-0.01em;
}

.who .lead{ color:var(--muted); margin-bottom:12px; }

.who .chips{
  display:flex; flex-wrap:wrap; gap:10px;
  opacity:0; transform:translateY(6px);
  transition:.35s ease;
}

.who .chips span{
  font-size:13px; padding:6px 12px;
  border-radius:999px;
  border:1px solid #eee9df;
  background:#ffffffaa; color:#333;
}

.who .item:hover .chips{ opacity:1; transform:none; }

.section + .section.who{ margin-top:-40px; }

/* ===== CTA ===== */
.section.cta-minimal{ text-align:center; margin:120px auto; }

.cta-divider{
  width:88px; height:2px;
  background:var(--line);
  margin:0 auto 28px;
}

.cta-title{
  font-size:36px; font-weight:800;
  margin:0 0 28px;
  letter-spacing:-0.01em;
}

.cta-btn{
  display:inline-block;
  background:#f4b400; color:#000;
  font-weight:800; padding:16px 30px;
  border:3px solid #000;
  box-shadow:6px 6px 0 #000;
  text-decoration:none;
}

.cta-btn:hover{
  transform:translate(1px,1px);
  box-shadow:4px 4px 0 #000;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .site-nav { padding: 16px 24px; }
  .site-nav-links { display: none; }
  .site-nav-hamburger { display: block; }
  .who .wrap{ grid-template-columns:1fr; gap:40px; }
  .who .wrap:before{display:none}
  .who .num{display:none}
}

@media (max-width: 768px) {
  .hero { padding: 110px 14px 76px; }
  .hero::before, .hero::after { display: none; }
  .hero-inner { padding: 32px 18px; }
  .hero-title { font-size: 32px; }
  .hero-desc { font-size: 16px; }
  .cta-title{ font-size:26px; }
}

@media (max-width: 700px) {
  .tl-axis {
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .tl-axis::-webkit-scrollbar { display: none; }
  .tl-node { min-width: 100px; flex: 0 0 auto; }
}

@media (max-width: 600px) {
  .tl-svc { flex-direction: column; gap: 4px; }
  .tl-svc-index { font-size: 24px; }
  .tl-detail-header { padding: 20px 20px 16px; }
  .tl-svc { padding: 20px; }
}