/* Official Site Builder - Human-Grade Responsive Stylesheet */
:root {
  --bg-page: #FAF9F6;
  --bg-card: #FFFFFF;
  --bg-alt: #F4F2EC;
  --bg-header: #FAF9F6;
  --bg-footer: #1A1A1A;
  --hero-bg: #FAF9F6;
  --hero-text: #1A1A1A;
  --hero-muted: #5C5852;
  --header-text: #1A1A1A;
  --header-hover: #7D6D41;
  --footer-text: #EAE7DF;
  --text-main: #1A1A1A;
  --text-muted: #5C5852;
  --accent: #9E8C58;
  --accent-text: #7D6D41;
  --accent-on-dark: #D4C79B;
  --hero-badge: #7D6D41;
  --border-color: #E4DFD4;
  --btn-bg: #1A1A1A;
  --btn-text: #FFFFFF;
  --btn-hover: #7D6D41;
  --font-sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", "Meiryo", sans-serif;
  --font-serif: "Cormorant Garamond", "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.04em;
  font-feature-settings: "palt";
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--bg-header);
  color: var(--header-text);
  border-bottom: 1px solid rgba(128, 128, 128, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 16px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

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

.brand-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.brand-sub {
  font-size: 11px;
  opacity: 0.78;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--header-hover);
  border-bottom-color: var(--accent);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(128, 128, 128, 0.4);
  color: var(--header-text);
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 12px 24px 20px;
  border-top: 1px solid rgba(128, 128, 128, 0.18);
  background-color: var(--bg-header);
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav .nav-link {
  padding: 12px 0;
  border-bottom: 1px solid rgba(128, 128, 128, 0.14);
}

/* Hero & Page Header */
.hero-section {
  background-color: var(--hero-bg);
  color: var(--hero-text);
  padding: 96px 0 92px;
  border-bottom: 1px solid var(--border-color);
}

.page-hero {
  background-color: var(--hero-bg);
  color: var(--hero-text);
  padding: 68px 0 60px;
  border-bottom: 1px solid var(--border-color);
}

.hero-eyebrow {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hero-badge);
  margin: 0 0 18px;
}

.hero-title {
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.38;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 22px;
  max-width: 780px;
}

.page-title {
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.35;
  font-weight: 700;
  margin: 0 0 12px;
}

.hero-lead {
  font-size: 17px;
  line-height: 1.9;
  color: var(--hero-muted);
  margin: 0 0 34px;
  max-width: 680px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.btn-primary {
  display: inline-block;
  background-color: var(--btn-bg);
  color: var(--btn-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 14px 28px;
  border-radius: 4px;
  border: 1px solid var(--btn-bg);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-primary:hover {
  background-color: var(--btn-hover);
  border-color: var(--btn-hover);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.hero-section .text-link {
  color: var(--hero-badge);
}

/* Section Bands */
.section-band {
  padding: 88px 0;
  background-color: var(--bg-page);
}

.section-band.is-alt {
  background-color: var(--bg-alt);
}

.section-band.is-card-bg {
  background-color: var(--bg-card);
}

.section-header {
  border-left: 3px solid var(--accent);
  padding-left: 18px;
  margin-bottom: 44px;
  text-align: left;
}

.section-eyebrow {
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0 0 6px;
}

.section-heading {
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.4;
  font-weight: 700;
  margin: 0;
}

/* Asymmetric 2-Column Editorial Layout (About) */
.editorial-split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: start;
}

.editorial-single {
  max-width: 760px;
}

.portrait-frame {
  aspect-ratio: 4 / 5;
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  background-color: var(--bg-alt);
  position: relative;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  background-color: var(--bg-alt);
  color: var(--text-main);
}

.portrait-fallback.is-hidden {
  display: none;
}

.monogram-circle {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  color: var(--accent-text);
  margin-bottom: 14px;
}

.prose-block {
  text-align: left;
}

.prose-block p {
  margin: 0 0 18px;
}

.role-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-text);
  margin: 0 0 6px;
}

.person-name {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 18px;
}

/* Editorial Numbered List (Services) */
.service-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-color);
}

.service-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
}

.service-num {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent-text);
}

.service-cat {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 6px;
}

.service-title {
  font-size: 21px;
  font-weight: 700;
  margin: 0 0 12px;
}

.service-desc {
  margin: 0 0 12px;
  color: var(--text-main);
}

.service-target {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 14px;
}

/* Media & Values Grid (2 Columns, Left-Aligned) */
.two-col-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.panel-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 28px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.panel-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0 0 6px;
}

.panel-title {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 8px;
}

.panel-text {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
}

/* Timeline (Achievements) */
.timeline {
  border-left: 2px solid var(--accent);
  padding-left: 28px;
  margin-left: 8px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.timeline-item {
  position: relative;
  text-align: left;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--accent);
}

.timeline-period {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-text);
  margin: 0 0 4px;
}

.timeline-title {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 8px;
}

.timeline-desc {
  margin: 0;
  color: var(--text-muted);
}

/* Contact Form */
.contact-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 36px;
  max-width: 720px;
}

.form-group {
  margin-bottom: 22px;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.required-mark {
  color: #B91C1C;
  margin-left: 4px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #C8C3B8;
  border-radius: 4px;
  font-family: inherit;
  font-size: 15px;
  background-color: #FFFFFF;
  color: #111827;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-text);
}

/* CTA Banner */
.cta-band {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border-color);
  padding: 76px 0;
}

.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Footer */
.site-footer {
  margin-top: auto;
  background-color: var(--bg-footer);
  color: var(--footer-text);
  padding: 56px 0 36px;
  font-size: 13px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-nav a {
  text-decoration: none;
  opacity: 0.85;
}

.footer-nav a:hover {
  color: var(--accent-on-dark);
  opacity: 1;
}

.footer-bottom {
  padding-top: 20px;
  font-size: 12px;
  opacity: 0.72;
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: inline-block;
  }
  .hero-section {
    padding: 64px 0 60px;
  }
  .section-band {
    padding: 64px 0;
  }
  .editorial-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .service-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 28px 0;
  }
  .two-col-grid {
    grid-template-columns: 1fr;
  }
  .contact-box {
    padding: 24px 18px;
  }
}
