:root {
  color-scheme: dark;
  --ground: #251c17;
  --deep: #1d1916;
  --paper: #f5f1e9;
  --ink: #302b26;
  --orange: #ff6500;
  --light: #edf1f0;
  --muted: #c5b8ae;
  --rule: #594a40;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--ground); color: var(--light); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3 { margin: 0; }
::selection { background: var(--orange); color: var(--ground); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 6px; }

.skip-link { position: absolute; top: 8px; left: 16px; z-index: 10; padding: 12px 18px; background: var(--paper); color: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: relative; z-index: 1; max-width: 1280px; margin: auto; padding: 26px 48px 20px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.header-identity { display: flex; align-items: center; min-height: 44px; }
.header-identity img { width: 210px; }
.site-header nav { display: flex; align-items: center; gap: 36px; font-size: 14px; font-weight: 500; }
.site-header nav a { min-height: 44px; display: inline-flex; align-items: center; gap: 18px; white-space: nowrap; }
.section-link, .page-link { color: var(--muted); }
.section-link:hover, .page-link:hover { color: var(--light); }
.nav-contact { border-bottom: 1px solid var(--orange); }
.nav-contact span { color: var(--orange); font-size: 20px; }

.hero { overflow: hidden; padding-bottom: 78px; }
.hero-scene { position: relative; width: min(100%, 880px); margin: -12px auto 0; }
.hero-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 54%, rgba(37,28,23,.08) 66%, rgba(37,28,23,.7) 85%, var(--ground) 100%); }
.hero-scene img { width: 100%; }
.hero-content { position: relative; z-index: 1; max-width: 1184px; padding: 0 24px; margin: -80px auto 0; text-align: center; }
.hero-logo { width: min(580px, 80vw); margin: auto; }
h1 { margin-top: 25px; font-size: clamp(38px, 3.5vw, 48px); line-height: 1.12; letter-spacing: -.04em; font-weight: 500; }
h1 br { display: none; }
h1 span { color: #d7c7b6; }
.hero-description { max-width: 820px; margin: 22px auto 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; justify-content: center; align-items: center; gap: 32px; margin-top: 26px; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 28px; padding: 15px 21px; min-height: 52px; font-size: 13px; font-weight: 600; border: 1px solid transparent; border-radius: 2px; transition: background-color .2s, border-color .2s; }
.button-primary { color: var(--ground); background: var(--orange); }
.button-primary:hover { background: #ff7f2b; }
.button span { font-size: 18px; line-height: 1; }
.text-link { display: inline-flex; align-items: center; gap: 16px; min-height: 48px; font-size: 13px; border-bottom: 1px solid #826b59; }
.text-link:hover { border-color: var(--orange); }
.text-link span { color: var(--orange); font-size: 19px; }

.section-light { color-scheme: light; background: var(--paper); color: var(--ink); }
.section-inner { max-width: 1184px; margin: auto; padding-inline: 48px; }
.expertise { padding-block: 96px 110px; }
.expertise-layout { display: grid; grid-template-columns: .94fr 1.06fr; gap: 94px; }
h2 { font-size: clamp(32px, 3.3vw, 43px); line-height: 1.17; letter-spacing: -.04em; font-weight: 500; }
.section-introduction > p { margin-top: 25px; max-width: 345px; color: #675f55; font-size: 16px; line-height: 1.75; }
.experience-page-link { margin-top: 22px; }
.experience-page-link span { color: #b94700; }
.expertise-list { border-top: 1px solid #c8bfb2; }
.expertise-list details { border-bottom: 1px solid #c8bfb2; }
.expertise-list summary { display: grid; grid-template-columns: 24px 1fr 20px; align-items: start; gap: 22px; padding: 24px 0; cursor: pointer; font-size: 23px; font-weight: 500; line-height: 1.3; letter-spacing: -.025em; list-style: none; }
.expertise-list summary::-webkit-details-marker { display: none; }
.row-number { padding-top: 4px; color: #796950; font-size: 15px; font-weight: 500; }
.disclosure { position: relative; width: 16px; height: 16px; margin-top: 7px; }
.disclosure::before, .disclosure::after { content: ""; position: absolute; background: #655a4d; }
.disclosure::before { width: 14px; height: 1px; left: 1px; top: 7px; }
.disclosure::after { width: 1px; height: 14px; left: 7px; top: 1px; }
details[open] .disclosure::after { display: none; }
.detail-copy { padding: 0 24px 25px 46px; color: #675f55; font-size: 14px; line-height: 1.75; }
.detail-topics { margin-top: 14px; }

.approach { background: var(--deep); padding-block: 94px 98px; }
.approach-heading { display: grid; grid-template-columns: 1.1fr .9fr; align-items: start; gap: 94px; }
.approach-heading > p { max-width: 410px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.approach-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; padding: 0; margin: 65px 0 0; list-style: none; }
.approach-steps li { border-top: 1px solid var(--rule); padding-top: 22px; }
.step-number { color: #d2a783; }
.approach-steps h3 { font-size: 24px; font-weight: 500; letter-spacing: -.025em; }
.approach-steps p { margin-top: 13px; max-width: 285px; color: var(--muted); font-size: 14px; line-height: 1.8; }

.contact { padding-block: 90px; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 94px; }
.contact h2 { font-size: clamp(45px, 5vw, 68px); line-height: 1.04; }
.contact-content > p { color: #675f55; font-size: 16px; line-height: 1.8; }
.contact-email { display: flex; justify-content: space-between; gap: 20px; width: fit-content; max-width: 100%; padding-block: 18px 12px; margin-top: 13px; border-bottom: 1px solid #8b7560; font-size: clamp(20px, 2vw, 26px); font-weight: 500; letter-spacing: -.025em; }
.contact-email span { color: #b94700; margin-left: 22px; }
.contact-email:hover { border-color: #b94700; }

.site-footer { padding-block: 40px; }
.footer-layout { display: flex; align-items: center; gap: 38px; }
.footer-logo { width: 74px; }
.site-footer p { color: var(--light); font-size: 13px; line-height: 1.8; }
.site-footer p span { color: var(--muted); font-size: 11px; }
.footer-top { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; margin-left: auto; color: var(--muted); font-size: 12px; }
.footer-top:hover { color: var(--light); }

@media (min-width: 1500px) {
  .hero-scene { width: 960px; }
  .hero-content { margin-top: -94px; }
}

@media (max-width: 960px) {
  .site-header { padding-inline: 32px; }
  .site-header nav { gap: 24px; }
  .hero-scene { width: min(100%, 880px); margin-top: 0; }
  .hero-content { margin-top: -70px; }
  .hero-logo { width: min(580px, 78vw); }
  .section-inner { padding-inline: 32px; }
  .expertise-layout, .approach-heading, .contact-layout { gap: 45px; }
  .expertise-list summary { font-size: 20px; gap: 14px; }
  .detail-copy { padding-left: 38px; }
  .approach-steps { gap: 30px; }
}

@media (max-width: 800px) {
  .site-header { padding: 19px 22px 12px; flex-direction: column; align-items: flex-start; gap: 8px; }
  .header-identity img { width: 174px; }
  .site-header nav { width: 100%; justify-content: space-between; gap: 16px; font-size: 13px; }
}

@media (max-width: 650px) {
  html { scroll-padding-top: 16px; }
  .site-header .section-link { display: none; }
  .site-header .nav-contact { gap: 12px; }
  .hero { padding-bottom: 62px; }
  .hero-scene { width: 100%; margin-top: 12px; }
  .hero-scene::after { background: linear-gradient(to bottom, transparent 60%, rgba(37,28,23,.2) 74%, var(--ground) 100%); }
  .hero-content { margin-top: -14px; padding-inline: 22px; }
  .hero-logo { width: 100%; max-width: 440px; }
  h1 { margin-top: 25px; font-size: clamp(24px, 7.4vw, 40px); line-height: 1.2; letter-spacing: -.045em; }
  h1 br { display: initial; }
  h1 span { white-space: nowrap; }
  .hero-description { margin: 20px auto 0; max-width: 325px; font-size: 15px; line-height: 1.75; }
  .desktop-break { display: none; }
  .hero-actions { flex-direction: column; gap: 13px; margin-top: 26px; }
  .button { min-height: 50px; padding: 14px 22px; font-size: 12px; }
  .text-link { min-height: 44px; font-size: 12px; }
  .section-inner { padding-inline: 25px; }
  .expertise { padding-block: 60px; }
  .expertise-layout, .approach-heading, .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  h2 { font-size: 34px; }
  .section-introduction > p { margin-top: 20px; max-width: 100%; font-size: 15px; }
  .expertise-list summary { grid-template-columns: 22px 1fr 16px; padding-block: 22px; gap: 14px; font-size: 20px; }
  .wide-break { display: none; }
  .detail-copy { padding: 0 14px 24px 36px; font-size: 14px; }
  .approach { padding-block: 60px; }
  .approach-heading { gap: 24px; }
  .approach-heading > p { font-size: 14px; }
  .approach-steps { grid-template-columns: 1fr; gap: 30px; margin-top: 36px; }
  .approach-steps li { padding-top: 20px; }
  .approach-steps h3 { font-size: 23px; }
  .approach-steps p { max-width: 100%; margin-top: 10px; }
  .contact { padding-block: 60px; }
  .contact-layout { gap: 25px; }
  .contact h2 { font-size: 54px; }
  .contact-content > p { font-size: 15px; }
  .contact-email { font-size: 23px; margin-top: 9px; }
  .site-footer { padding-block: 32px; }
  .footer-layout { flex-wrap: wrap; gap: 24px; }
  .footer-logo { width: 68px; }
  .site-footer p { font-size: 12px; }
  .site-footer p span { font-size: 10px; }
  .footer-top { width: 100%; margin-left: 0; padding-top: 18px; border-top: 1px solid var(--rule); }
}

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