@font-face {
  font-family: 'JF';
  src: url('../../../jf-openhuninn-2.1.ttf') format('truetype');
  font-display: swap;
}

:root {
  --navy:   #1a3a5c;
  --blue:   #2c5f8a;
  --light:  #EBF2FA;
  --bg:     #fafaf7;
  --paper:  #ffffff;
  --ink:    #2a2a2a;
  --sub:    #6b6b6b;
  --line:   #e4e4de;
  --accent: #8a6d3b;
  --max:    960px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'JF', 'Noto Serif TC', 'Microsoft JhengHei', serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue); }

/* Layout */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

/* Header */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand img {
  height: 40px;
  width: auto;
  display: block;
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand-cn {
  font-size: 18px;
  color: var(--navy);
  letter-spacing: 0.12em;
}
.brand-en {
  font-size: 10px;
  color: var(--sub);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.brand-jp {
  font-size: 11px;
  color: var(--sub);
  letter-spacing: 0.1em;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 36px;
}
nav a {
  font-size: 14px;
  color: var(--ink);
  letter-spacing: 0.18em;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}
nav a:hover, nav a.active {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

/* Hero */
.hero {
  padding: 120px 0 100px;
  text-align: left;
}
.hero .eyebrow {
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: 34px;
  line-height: 1.6;
  color: var(--navy);
  font-weight: normal;
  letter-spacing: 0.15em;
  margin-bottom: 32px;
}
.hero h1 .thin { color: var(--sub); font-size: 22px; display: block; margin-top: 12px; letter-spacing: 0.2em; }
.hero .lead {
  max-width: 560px;
  color: var(--sub);
  font-size: 15px;
  line-height: 2.1;
}
.hero .divider {
  width: 40px;
  height: 1px;
  background: var(--navy);
  margin: 48px 0;
}

/* Section */
section { padding: 80px 0; }
.section-title {
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-heading {
  font-size: 22px;
  color: var(--navy);
  font-weight: normal;
  letter-spacing: 0.15em;
  margin-bottom: 48px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

/* About block */
.about p {
  color: var(--ink);
  line-height: 2.2;
  margin-bottom: 20px;
  max-width: 640px;
}

/* Service grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-item {
  background: var(--paper);
  padding: 40px 36px;
}
.service-item .num {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.3em;
  margin-bottom: 16px;
}
.service-item h3 {
  font-size: 17px;
  color: var(--navy);
  font-weight: normal;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.service-item p {
  font-size: 14px;
  color: var(--sub);
  line-height: 1.95;
}

/* Detail list (services page) */
.service-detail {
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
}
.service-detail:last-child { border-bottom: 0; }
.service-detail .label {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
  padding-top: 6px;
}
.service-detail h3 {
  font-size: 20px;
  color: var(--navy);
  font-weight: normal;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}
.service-detail p {
  color: var(--sub);
  line-height: 2.1;
  margin-bottom: 16px;
}
.service-detail ul {
  list-style: none;
  margin-top: 16px;
}
.service-detail li {
  padding: 8px 0 8px 20px;
  position: relative;
  color: var(--ink);
  font-size: 14px;
}
.service-detail li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.info-row {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  align-items: baseline;
}
.info-row .k {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
}
.info-row .v {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.8;
}
.info-row .v a { color: var(--navy); }

.map-frame {
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  background: var(--light);
}

/* CTA panel */
.cta {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 56px 48px;
  text-align: center;
  margin: 40px 0;
}
.cta p { color: var(--sub); margin-bottom: 24px; }
.cta .btn { display: inline-block; padding: 14px 36px; border: 1px solid var(--navy); color: var(--navy); font-size: 13px; letter-spacing: 0.3em; transition: all .2s; }
.cta .btn:hover { background: var(--navy); color: #fff; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
  margin-top: 80px;
  background: var(--paper);
}
.site-footer .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
}
.site-footer small {
  font-size: 12px;
  color: var(--sub);
  letter-spacing: 0.1em;
}

/* Responsive */
@media (max-width: 720px) {
  .site-header .inner { flex-direction: column; gap: 14px; padding: 14px 24px; }
  nav ul { gap: 22px; }
  .container { padding: 0 24px; }
  .hero { padding: 72px 0 60px; }
  .hero h1 { font-size: 26px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; gap: 16px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .info-row { grid-template-columns: 80px 1fr; gap: 12px; }
  .cta { padding: 40px 24px; }
}
