:root {
  color-scheme: light;
  --paper: #f7f5f2;
  --green: #2d6a4f;
  --mint: #95d5b2;
  --orange: #f4a261;
  --ink: #24342c;
  --soft-green: #edf6ef;
  --line: rgba(45, 106, 79, .15);
  font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; }
body { min-width: 320px; min-height: 100vh; margin: 0; background: var(--paper); }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.site-shell {
  width: min(100%, 1600px);
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(14px, 2vw, 28px);
  display: grid;
  grid-template-columns: minmax(0, .4fr) minmax(0, .6fr);
  gap: clamp(12px, 1.5vw, 22px);
  align-items: stretch;
}
.identity-panel, .right-panel {
  min-width: 0;
  min-height: calc(100vh - clamp(28px, 4vw, 56px));
  border-radius: 16px;
  box-shadow: 0 14px 38px rgba(42, 55, 46, .08);
}
.identity-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(25px, 3.2vw, 48px);
  color: #fffdf8;
  background: var(--green);
}
.identity-panel::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  opacity: .12;
  pointer-events: none;
  background-image: radial-gradient(#e5f1e7 .7px, transparent .7px);
  background-size: 9px 9px;
  mask-image: linear-gradient(145deg, transparent 12%, #000 100%);
}
.brandline, .hero-copy, .hero-note, .panel-footer { position: relative; z-index: 2; }
.brandline {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fffdf8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.45;
}
.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255,253,248,.45);
  border-radius: 14px;
  color: var(--green);
  background: var(--mint);
  font-size: 15px;
  font-weight: 900;
}
.hero-copy { margin-top: clamp(55px, 11vh, 120px); }
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: rgba(255,253,248,.8);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .1em;
}
.hero-kicker::before { width: 22px; height: 3px; border-radius: 4px; background: var(--orange); content: ""; }
.hero-title {
  margin: 24px 0 0 -3px;
  font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  font-size: clamp(48px, 6vw, 92px);
  font-weight: 850;
  letter-spacing: -.085em;
  line-height: .9;
  text-transform: uppercase;
}
.hero-title span { display: block; }
.hero-title .outline-word {
  margin-left: clamp(12px, 3.5vw, 55px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,253,248,.8);
}
.hero-symbol {
  position: absolute;
  z-index: 1;
  right: clamp(-170px, -9vw, -70px);
  bottom: clamp(130px, 19vh, 225px);
  width: clamp(230px, 29vw, 430px);
  aspect-ratio: 1;
  opacity: .88;
  animation: symbol-enter .9s cubic-bezier(.2,.72,.24,1) both;
}
.hero-symbol svg { width: 100%; height: 100%; overflow: visible; }
.symbol-ring { transform-origin: 50% 50%; animation: ring-turn 38s linear infinite; }
.symbol-core { transform-origin: center; animation: core-breathe 5s ease-in-out infinite; }
.hero-note {
  max-width: 290px;
  margin: auto 0 0;
  padding-top: 30px;
  color: rgba(255,253,248,.82);
  font-size: 12px;
  line-height: 1.8;
}
.panel-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-top: 42px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,253,248,.28);
  color: rgba(255,253,248,.76);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .07em;
  line-height: 1.65;
  text-transform: uppercase;
}
.panel-footer > span:last-child { text-align: right; }
.right-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(23px, 3.2vw, 48px);
  background: #fffefa;
}
.right-topline {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #61736a;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .06em;
}
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--orange); vertical-align: 1px; }
.section-tabs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 2vw, 28px);
  margin-top: 20px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}
.section-tab {
  position: relative;
  padding: 0;
  border: 0;
  color: #718078;
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .04em;
  transition: color .2s ease, transform .2s ease;
}
.section-tab::after {
  position: absolute;
  right: 100%;
  bottom: -14px;
  left: 0;
  height: 3px;
  border-radius: 4px;
  background: var(--orange);
  content: "";
  transition: right .28s cubic-bezier(.2,.7,.2,1);
}
.section-tab:hover { color: var(--green); transform: translateY(-1px); }
.section-tab[aria-selected="true"] { color: var(--green); }
.section-tab[aria-selected="true"]::after { right: 0; }
.section-tab:focus-visible, a:focus-visible { outline: 2px solid var(--orange); outline-offset: 5px; }
.tab-index { margin-right: 7px; color: #92a198; font-size: 9px; font-weight: 800; }
.panel-content {
  display: flex;
  flex: 1;
  min-height: 0;
  align-items: center;
  padding: clamp(27px, 4vh, 44px) 0;
}
.section-panel { width: 100%; animation: panel-enter .4s cubic-bezier(.2,.72,.24,1) both; }
.section-panel[hidden] { display: none; }
.eyebrow {
  margin: 0 0 20px;
  color: var(--green);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.section-title {
  max-width: 700px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: 850;
  letter-spacing: -.055em;
  line-height: 1.05;
}
.section-intro {
  max-width: 620px;
  margin: 18px 0 0;
  color: #3e5147;
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.8;
}
.section-copy {
  max-width: 620px;
  margin: 14px 0 0;
  padding: 15px 17px;
  border: 1px solid rgba(45,106,79,.08);
  border-radius: 16px;
  color: #627168;
  background: var(--paper);
  font-size: 12px;
  line-height: 1.8;
}
.about-principles { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 14px; }
.about-principles span {
  display: flex;
  min-height: 58px;
  align-items: center;
  padding: 11px;
  border-radius: 14px;
  color: var(--green);
  background: #eaf4ed;
  font-size: 9px;
  font-weight: 850;
}
.section-rule { width: 34px; height: 4px; margin: 20px 0 13px; border-radius: 4px; background: var(--orange); }
.metadata { display: flex; align-items: center; gap: 10px; margin: 0; color: #64766c; font-size: 9px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.metadata::before { width: 19px; height: 1px; background: var(--mint); content: ""; }
.service-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 18px; }
.service-row {
  display: grid;
  min-height: 118px;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(45,106,79,.1);
  border-radius: 16px;
  background: #f7faf6;
  transition: transform .22s ease, box-shadow .22s ease;
}
.service-row:nth-child(2), .approach-item:nth-child(2) { background: #edf6ef; }
.service-row:nth-child(3), .approach-item:nth-child(3) { background: #fff4e8; }
.service-row:nth-child(4), .approach-item:nth-child(4) { background: #f2f6f1; }
.service-row:first-child, .service-row:last-child, .approach-item:first-child, .approach-item:last-child { grid-column: 1 / -1; }
.service-row:first-child { min-height: 100px; }
.service-row:hover, .approach-item:hover { transform: translateY(-3px); box-shadow: 0 9px 20px rgba(45,106,79,.08); }
.service-number { padding-top: 3px; color: var(--green); font-size: 11px; font-weight: 850; }
.service-name { margin: 0; color: var(--ink); font-size: 14px; font-weight: 850; }
.service-detail { max-width: 360px; margin: 5px 0 0; color: #647168; font-size: 11px; line-height: 1.65; }
.approach-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 18px; }
.approach-item { min-height: 112px; padding: 16px; border: 1px solid rgba(45,106,79,.1); border-radius: 16px; background: #f7faf6; transition: transform .22s ease, box-shadow .22s ease; }
.approach-item h3 { margin: 0 0 7px; color: var(--green); font-size: 13px; font-weight: 850; }
.approach-item p { margin: 0; color: #647168; font-size: 11px; line-height: 1.7; }
.contact-card { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 12px; margin-top: 20px; }
.contact-method, .contact-location { min-width: 0; padding: 18px; border: 1px solid rgba(45,106,79,.1); border-radius: 16px; background: #edf6ef; }
.contact-location { background: #fff4e8; }
.contact-label, .contact-address-label { margin: 0; color: var(--green); font-size: 9px; font-weight: 850; text-transform: uppercase; }
.email-link { display: inline-block; max-width: 100%; margin-top: 8px; color: var(--green); font-size: clamp(15px,1.6vw,21px); font-weight: 850; overflow-wrap: anywhere; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.contact-hint { margin: 13px 0 0; color: #627168; font-size: 11px; line-height: 1.7; }
.address { max-width: none; margin: 12px 0 0; color: #56675d; font-size: 11px; line-height: 1.75; }
.cta-link { display: inline-flex; align-items: center; gap: 18px; margin-top: 15px; padding: 14px 17px; border-radius: 12px; color: #26372e; background: var(--orange); font-size: 10px; font-weight: 850; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; transition: transform .2s ease, background .2s ease; }
.cta-link:hover { transform: translateY(-2px); background: #f7b174; }
.cta-link span { font-size: 17px; line-height: 10px; }
.right-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 16px; border-top: 1px solid var(--line); color: #738078; }
.copyright, .chapter-meta { margin: 0; font-size: 9px; font-weight: 650; }
.chapter-meta { color: #738078; text-align: right; }
.chapter-current { color: var(--green); }

@keyframes panel-enter { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }
@keyframes symbol-enter { from { opacity: 0; transform: translateY(24px) rotate(-10deg) scale(.92); } to { opacity: .88; transform: translateY(0) rotate(0) scale(1); } }
@keyframes ring-turn { to { transform: rotate(360deg); } }
@keyframes core-breathe { 50% { transform: scale(.94) rotate(8deg); } }

@media (max-width: 900px) {
  .site-shell { grid-template-columns: minmax(0,.42fr) minmax(0,.58fr); }
  .identity-panel, .right-panel { padding: 24px; }
  .hero-title { font-size: clamp(45px,6.2vw,66px); }
  .service-list, .approach-grid { grid-template-columns: 1fr; }
  .service-row, .approach-item { min-height: auto; }
}
@media (max-width: 700px) {
  .site-shell { display: flex; flex-direction: column; padding: 12px; }
  .identity-panel, .right-panel { min-height: auto; border-radius: 16px; }
  .identity-panel { min-height: 475px; padding: 24px; }
  .hero-copy { margin-top: 55px; }
  .hero-title { font-size: clamp(62px,15vw,92px); }
  .hero-symbol { right: -85px; bottom: 78px; width: 250px; }
  .hero-note { max-width: 240px; padding-top: 25px; font-size: 11px; }
  .panel-footer { margin-top: 28px; }
  .right-panel { padding: 23px 20px; }
  .right-topline { font-size: 8px; }
  .section-tabs { gap: 15px; margin-top: 17px; }
  .section-tab { font-size: 9px; }
  .panel-content { padding: 28px 0; }
  .section-title { font-size: clamp(32px,8vw,46px); }
  .about-principles { grid-template-columns: 1fr; }
  .about-principles span { min-height: 42px; }
  .service-list, .approach-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-row { grid-template-columns: 22px 1fr; padding: 13px; }
  .contact-card { grid-template-columns: 1fr; }
  .right-bottom { align-items: flex-start; flex-direction: column; gap: 9px; }
  .chapter-meta { text-align: left; }
}
@media (max-width: 420px) {
  .service-list, .approach-grid { grid-template-columns: 1fr; }
  .section-tabs { gap: 11px; }
  .section-tab { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
