/* ============================================================
   SHINKAI Group — ShinkaiGroup.Biz
   ============================================================ */
:root {
  --navy: #12233d;
  --navy-dark: #0b1728;
  --navy-light: #1d3557;
  --gold: #d4a017;
  --gold-light: #f0c75e;
  --ink: #22303f;
  --muted: #5c6b7c;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(11, 23, 40, 0.12);
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1180px, 92%); margin: 0 auto; }
.section { padding: 104px 0; }
.section-dark { background: var(--navy); color: #e8edf4; }
.section-light { background: var(--bg-soft); }
.center { text-align: center; }
.gold { color: var(--gold); }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.18; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--navy); margin-bottom: 18px; }
.section-dark h2 { color: #ffffff; }

.eyebrow {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.28em;
  color: var(--gold); margin-bottom: 14px;
}
.section-sub { max-width: 640px; margin: 0 auto 26px; color: var(--muted); }
.section-dark .section-sub { color: #aebbcc; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 15px 34px; border-radius: 60px;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.03em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  border: 2px solid transparent; cursor: pointer;
}
.btn:hover { transform: translateY(-3px); }
.btn-gold { background: linear-gradient(120deg, var(--gold) 0%, var(--gold-light) 100%); color: var(--navy-dark); box-shadow: 0 8px 26px rgba(212, 160, 23, 0.4); }
.btn-gold:hover { box-shadow: 0 14px 32px rgba(212, 160, 23, 0.55); }
.btn-outline { border-color: rgba(255,255,255,0.65); color: #ffffff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-navy { background: var(--navy); color: #ffffff; margin-top: 26px; }
.btn-navy:hover { background: var(--navy-light); }
.btn-block { width: 100%; border: none; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 14px 0; transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { height: 52px; width: auto; }
.navbar .logo-dark { display: none; }
.navbar .logo-light { display: block; }
.navbar.scrolled { background: #ffffff; box-shadow: 0 4px 24px rgba(11,23,40,0.1); padding: 8px 0; }
.navbar.scrolled .logo-dark { display: block; }
.navbar.scrolled .logo-light { display: none; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 0.92rem; font-weight: 500; color: #ffffff;
  position: relative; padding: 6px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gold); transition: width 0.3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.navbar.scrolled .nav-links a { color: var(--navy); }
.nav-links .nav-cta {
  background: linear-gradient(120deg, var(--gold), var(--gold-light));
  color: var(--navy-dark) !important; padding: 11px 26px; border-radius: 50px; font-weight: 600;
}
.nav-links .nav-cta::after { display: none; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; margin: 5px 0; background: #ffffff; border-radius: 2px; transition: 0.3s; }
.navbar.scrolled .nav-toggle span { background: var(--navy); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,23,40,0.92) 0%, rgba(11,23,40,0.72) 45%, rgba(11,23,40,0.35) 100%);
}
.hero-content { position: relative; z-index: 2; color: #ffffff; padding: 140px 0 100px; }
.hero-eyebrow { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.34em; color: var(--gold-light); margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 800; margin-bottom: 24px; }
.hero-sub { max-width: 560px; font-size: 1.08rem; color: #cfd9e5; margin-bottom: 38px; font-weight: 300; }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 46px; border: 2px solid rgba(255,255,255,0.55); border-radius: 20px; z-index: 2;
}
.hero-scroll span {
  position: absolute; top: 8px; left: 50%; width: 4px; height: 10px; margin-left: -2px;
  background: var(--gold-light); border-radius: 2px; animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- Stats ---------- */
.stats { background: var(--navy-dark); padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-num, .stat-plus { font-family: var(--font-head); font-size: 2.7rem; font-weight: 700; color: var(--gold-light); }
.stat p { color: #9fb0c4; font-size: 0.9rem; margin-top: 6px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-badge {
  position: absolute; bottom: -28px; right: -22px;
  background: var(--navy); color: #dbe4ee; border-radius: var(--radius);
  padding: 22px 26px; display: flex; align-items: center; gap: 16px;
  box-shadow: var(--shadow); font-size: 0.82rem; line-height: 1.4;
}
.about-badge .big { font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; }
.about-copy p { color: var(--muted); margin-bottom: 16px; }
.about-points { list-style: none; margin: 22px 0 8px; }
.about-points li { display: flex; gap: 12px; margin-bottom: 12px; color: var(--ink); }
.check {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(212,160,23,0.16); color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; margin-top: 2px;
}

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 54px; }
.service-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 38px 30px;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.service-card:hover { transform: translateY(-8px); background: rgba(255,255,255,0.09); border-color: rgba(212,160,23,0.5); }
.service-icon {
  width: 62px; height: 62px; border-radius: 16px; margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(212,160,23,0.25), rgba(212,160,23,0.08));
  display: flex; align-items: center; justify-content: center; color: var(--gold-light);
}
.service-icon svg { width: 32px; height: 32px; }
.service-card h3 { font-size: 1.22rem; color: #ffffff; margin-bottom: 12px; }
.service-card p { font-size: 0.93rem; color: #aebbcc; }

/* ---------- Markets ---------- */
.markets-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 54px; }
.markets-grid-6 { grid-template-columns: repeat(3, 1fr); }
.market-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); aspect-ratio: 3 / 4; max-height: 460px;
}
.market-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.market-card:hover img { transform: scale(1.07); }
.market-card figcaption {
  position: absolute; inset: auto 0 0 0; padding: 90px 26px 26px; color: #ffffff;
  background: linear-gradient(180deg, transparent, rgba(11,23,40,0.92) 62%);
}
.market-card h3 { font-size: 1.35rem; margin-bottom: 8px; }
.market-card p { font-size: 0.88rem; color: #c8d3df; }
.wave-tag {
  display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--navy-dark); background: var(--gold-light);
  padding: 4px 10px; border-radius: 40px; margin-bottom: 10px;
}
.market-notes {
  margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  font-size: 0.88rem; color: var(--muted);
}
.market-notes strong { color: var(--navy); display: block; margin-bottom: 4px; }

/* ---------- Finance strip ---------- */
.finance-strip { background: var(--navy-dark); }
.finance-strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.finance-shot { position: relative; margin: 0; overflow: hidden; height: 280px; }
.finance-shot img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9); }
.finance-shot figcaption {
  position: absolute; left: 22px; bottom: 18px; color: #fff;
  font-family: var(--font-head); font-size: 1.15rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

/* ---------- Case study ---------- */
.work-grid { display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 56px; align-items: start; }
.work-copy p { color: var(--muted); margin-bottom: 16px; }
.work-facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  background: var(--navy); color: #dbe4ee; border-radius: var(--radius); padding: 28px;
}
.work-fact { padding: 14px 10px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.work-fact:nth-last-child(-n+2) { border-bottom: none; }
.work-fact b { display: block; font-family: var(--font-head); font-size: 1.55rem; color: var(--gold-light); }
.work-fact span { font-size: 0.82rem; color: #9fb0c4; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 54px; }
.process-step {
  background: #ffffff; border-radius: var(--radius); padding: 36px 28px;
  box-shadow: 0 6px 22px rgba(11,23,40,0.07); position: relative;
  border-top: 4px solid var(--gold); transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.process-step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-num { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: rgba(212,160,23,0.35); }
.process-step h3 { color: var(--navy); margin: 8px 0 10px; font-size: 1.25rem; }
.process-step p { font-size: 0.9rem; color: var(--muted); }

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; padding: 120px 0; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cta-overlay { position: absolute; inset: 0; background: rgba(11,23,40,0.85); }
.cta-content { position: relative; z-index: 2; text-align: center; color: #ffffff; }
.cta-content h2 { color: #ffffff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 34px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: start; }
.contact-info > p { color: var(--muted); }
.contact-items { margin: 30px 0; display: grid; gap: 20px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.ci-icon {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px;
  background: rgba(212,160,23,0.14); color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem;
}
.contact-item a:hover { color: var(--gold); }

.contact-form {
  background: #ffffff; border-radius: var(--radius); padding: 42px;
  box-shadow: var(--shadow); border: 1px solid #e7ecf2;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid #dde4ec; border-radius: 10px;
  font-family: var(--font-body); font-size: 0.93rem; color: var(--ink);
  background: #fbfcfe; transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212,160,23,0.14);
}
.form-note { margin-top: 14px; font-size: 0.88rem; text-align: center; color: var(--gold); font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-dark); color: #9fb0c4; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 44px; padding: 74px 0 54px;
}
.footer-brand img { height: 56px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: 0.9rem; max-width: 320px; }
.footer-col h4 { color: #ffffff; font-family: var(--font-body); font-size: 0.95rem; margin-bottom: 16px; letter-spacing: 0.06em; }
.footer-col a, .footer-col span { display: block; font-size: 0.9rem; margin-bottom: 10px; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.09); padding: 20px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 0.82rem; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .services-grid, .markets-grid { grid-template-columns: repeat(2, 1fr); }
  .finance-strip-grid, .market-notes, .work-grid, .work-facts { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 54px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-badge { right: 10px; }
}
@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid, .markets-grid, .process-grid, .form-row, .finance-strip-grid, .market-notes, .work-grid, .work-facts { grid-template-columns: 1fr; }
  .finance-shot { height: 200px; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: min(320px, 82vw); height: 100vh;
    flex-direction: column; justify-content: center; gap: 28px;
    background: var(--navy-dark); transition: right 0.35s ease; box-shadow: -10px 0 40px rgba(0,0,0,0.3);
  }
  .nav-links.open { right: 0; }
  .nav-links a { color: #ffffff !important; font-size: 1.05rem; }
  .nav-toggle { display: block; z-index: 110; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); background: #fff; }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background: #fff; }
  .contact-form { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 56px 0 40px; }
}
