/* =========================================================
   FREESCKET Inc. — Modern Investment Firm Style
   Palette: Deep Navy / Ivory / Gold
   ========================================================= */

:root {
  --navy-900: #0a1f3a;
  --navy-800: #102a4c;
  --navy-700: #1a3560;
  --navy-50:  #f4f6fa;

  --ivory:    #f8f5ee;
  --cream:    #faf7f0;
  --paper:    #ffffff;

  --gold:     #b8934a;
  --gold-soft:#c9a961;
  --gold-dim: #8c6f37;

  --text:     #1a1a1a;
  --text-soft:#4a4a4a;
  --muted:    #8a8a8a;
  --border:   rgba(10, 31, 58, 0.12);
  --border-dark: rgba(255, 255, 255, 0.12);

  --serif-en: "Cormorant Garamond", "Noto Serif JP", serif;
  --serif-ja: "Noto Serif JP", "Cormorant Garamond", serif;
  --sans:     "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 2px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--text);
  background: var(--cream);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.02em;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* =============== Header =============== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 240, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--navy-900);
  color: var(--gold-soft);
  font-family: var(--serif-en);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-en {
  font-family: var(--serif-en);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--navy-900);
}

.brand-ja {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.15em;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--text-soft);
  transition: color 0.2s ease;
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover {
  color: var(--navy-900);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
  left: 0;
}

/* =============== Hero =============== */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at top right, rgba(184, 147, 74, 0.08), transparent 55%),
    linear-gradient(180deg, var(--cream) 0%, var(--ivory) 100%);
  padding: 120px 0 140px;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.eyebrow {
  font-family: var(--serif-en);
  font-size: 13px;
  letter-spacing: 0.32em;
  color: var(--gold);
  text-transform: uppercase;
  margin: 0 0 28px;
  font-weight: 500;
}

.hero-title {
  font-family: var(--serif-ja);
  font-size: clamp(32px, 5.2vw, 60px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
  margin: 0 0 32px;
  color: var(--navy-900);
}

.hero-sub {
  font-size: 16px;
  line-height: 2;
  color: var(--text-soft);
  margin: 0 0 48px;
  max-width: 640px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-size: 13px;
  letter-spacing: 0.22em;
  font-weight: 500;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 1px solid transparent;
  min-width: 200px;
}

.btn-primary {
  background: var(--navy-900);
  color: var(--cream);
  border-color: var(--navy-900);
}

.btn-primary:hover {
  background: var(--navy-800);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(10, 31, 58, 0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--navy-900);
}

.btn-ghost:hover {
  background: var(--navy-900);
  color: var(--cream);
}

.hero-decoration {
  position: absolute;
  right: -120px;
  top: 40px;
  width: 520px;
  height: 520px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  opacity: 0.15;
  z-index: 1;
  pointer-events: none;
}

.hero-decoration::before {
  content: "";
  position: absolute;
  inset: 60px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  opacity: 0.6;
}

/* =============== Sections =============== */
.section {
  padding: 120px 0;
  position: relative;
}

.section-light {
  background: var(--paper);
}

.section-dark {
  background: var(--navy-900);
  color: var(--cream);
}

.section-eyebrow {
  font-family: var(--serif-en);
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--gold);
  text-transform: uppercase;
  margin: 0 0 16px;
  font-weight: 500;
}

.section-dark .section-eyebrow {
  color: var(--gold-soft);
}

.section-title {
  font-family: var(--serif-ja);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 600;
  margin: 0 0 24px;
  color: var(--navy-900);
  letter-spacing: 0.03em;
  position: relative;
  padding-bottom: 24px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 1px;
  background: var(--gold);
}

.section-dark .section-title {
  color: var(--cream);
}

.section-lead {
  font-size: 16px;
  line-height: 2;
  color: var(--text-soft);
  max-width: 720px;
  margin: 0 0 60px;
}

.section-dark .section-lead {
  color: rgba(248, 245, 238, 0.75);
}

/* =============== Philosophy =============== */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.philosophy-card {
  padding: 40px 32px;
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s ease;
}

.philosophy-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.philosophy-num {
  display: block;
  font-family: var(--serif-en);
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--gold-soft);
  margin-bottom: 20px;
}

.philosophy-card h3 {
  font-family: var(--serif-ja);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--cream);
  letter-spacing: 0.05em;
}

.philosophy-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(248, 245, 238, 0.7);
}

/* =============== Business =============== */
.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 20px;
}

.business-item {
  background: var(--cream);
  padding: 44px 36px;
  transition: background 0.3s ease;
  position: relative;
}

.business-item:hover {
  background: var(--paper);
}

.business-index {
  font-family: var(--serif-en);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}

.business-item h3 {
  font-family: var(--serif-ja);
  font-size: 19px;
  font-weight: 600;
  color: var(--navy-900);
  margin: 0 0 14px;
  letter-spacing: 0.04em;
}

.business-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-soft);
}

/* =============== About =============== */
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.about-left .section-title::after {
  left: 0;
}

.profile {
  margin: 0;
  border-top: 1px solid var(--border);
}

.profile > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}

.profile dt {
  font-family: var(--serif-ja);
  font-size: 14px;
  font-weight: 500;
  color: var(--navy-900);
  letter-spacing: 0.12em;
}

.profile dd {
  margin: 0;
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.7;
}

.profile .muted {
  font-family: var(--serif-en);
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--muted);
}

/* =============== Contact =============== */
.section-contact {
  background: var(--navy-900);
  color: var(--cream);
  text-align: center;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.section-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(184, 147, 74, 0.08), transparent 60%);
  pointer-events: none;
}

.contact-inner {
  position: relative;
  z-index: 2;
}

.section-contact .section-eyebrow {
  color: var(--gold-soft);
}

.section-contact .section-title {
  color: var(--cream);
  padding-bottom: 24px;
  display: inline-block;
}

.section-contact .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.contact-lead {
  font-size: 15px;
  line-height: 2;
  color: rgba(248, 245, 238, 0.75);
  margin: 32px auto 48px;
  max-width: 560px;
}

.contact-mail {
  display: inline-block;
  font-family: var(--serif-en);
  font-size: clamp(24px, 3.2vw, 36px);
  letter-spacing: 0.08em;
  color: var(--gold-soft);
  border-bottom: 1px solid var(--gold);
  padding: 8px 12px;
  transition: all 0.25s ease;
}

.contact-mail:hover {
  color: var(--cream);
  border-color: var(--cream);
}

.contact-note {
  margin: 40px 0 0;
  font-size: 12px;
  color: rgba(248, 245, 238, 0.5);
  letter-spacing: 0.08em;
}

/* =============== Footer =============== */
.site-footer {
  background: #050f1d;
  color: rgba(248, 245, 238, 0.6);
  padding: 60px 0 40px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.footer-brand .brand-en { color: var(--cream); }
.footer-brand .brand-ja { color: rgba(248, 245, 238, 0.5); }

.footer-nav {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(248, 245, 238, 0.6);
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--gold-soft);
}

.copyright {
  margin: 0;
  font-family: var(--serif-en);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: rgba(248, 245, 238, 0.4);
}

/* =============== Reveal Animation =============== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =============== Responsive =============== */
@media (max-width: 960px) {
  .container { padding: 0 24px; }

  .nav { height: 68px; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 12px; letter-spacing: 0.12em; }
  .brand-ja { display: none; }

  .hero { padding: 80px 0 100px; }
  .hero-decoration { width: 360px; height: 360px; right: -140px; }

  .section { padding: 80px 0; }
  .section-contact { padding: 90px 0; }

  .philosophy-grid { grid-template-columns: 1fr; gap: 20px; }

  .business-grid { grid-template-columns: 1fr 1fr; }

  .about-wrapper { grid-template-columns: 1fr; gap: 40px; }
  .profile > div { grid-template-columns: 120px 1fr; gap: 16px; padding: 18px 0; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }

  .hero-cta { flex-direction: column; }
  .btn { width: 100%; }

  .business-grid { grid-template-columns: 1fr; }

  .profile > div { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .profile dt { font-size: 12px; color: var(--gold); letter-spacing: 0.2em; }

  .footer-nav { gap: 20px; }
}
