:root {
  --ink: #10283d;
  --ink-deep: #0a1d2d;
  --gold: #b59a62;
  --gold-light: #d2c29d;
  --ivory: #f3efe6;
  --paper: #faf8f3;
  --slate: #61707a;
  --text: #172632;
  --line: rgba(16, 40, 61, 0.16);
  --serif: "Noto Serif Display", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --container: min(1180px, calc(100vw - 48px));
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: var(--container); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 14px; background: var(--ivory); color: var(--ink); transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 86px;
  color: #fff;
  transition: background .35s, box-shadow .35s, height .35s;
}
.site-header.scrolled {
  height: 72px;
  background: rgba(10, 29, 45, .94);
  box-shadow: 0 10px 35px rgba(0,0,0,.12);
  backdrop-filter: blur(14px);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; letter-spacing: .01em; }
.brand-icon {
  width: 25px; height: 25px; display: block;
  background: url("assets/toloshiro-mark-light.svg") center / contain no-repeat;
}
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.45rem; letter-spacing: .05em; text-transform: uppercase; }
.header-actions { display: flex; align-items: center; gap: 44px; }
.nav { display: flex; gap: 32px; align-items: center; }
.nav a { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .78; transition: opacity .2s; }
.nav a:hover, .nav a:focus-visible { opacity: 1; }
.language-switch { display: flex; gap: 9px; align-items: center; }
.language-switch span { width: 1px; height: 12px; background: rgba(255,255,255,.35); }
.language-switch button { border: 0; background: transparent; color: inherit; padding: 4px 0; font-size: .72rem; letter-spacing: .12em; cursor: pointer; opacity: .45; }
.language-switch button.active { opacity: 1; }
.menu-toggle { display: none; border: 0; background: transparent; color: #fff; padding: 8px; }
.menu-line { display: block; width: 25px; height: 1px; background: currentColor; margin: 6px 0; transition: transform .25s; }

.hero {
  position: relative;
  min-height: 810px;
  height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 42%, rgba(181,154,98,.13), transparent 28%),
    linear-gradient(135deg, var(--ink-deep), var(--ink) 60%, #173b54);
  color: #fff;
}
.hero-grid { position: absolute; inset: 0; opacity: .15; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 86px 86px; mask-image: linear-gradient(to right, transparent, #000 40%); }
.hero-orbit { position: absolute; border: 1px solid rgba(210,194,157,.18); border-radius: 50%; }
.hero-orbit-one { width: 580px; height: 580px; right: -120px; top: 110px; }
.hero-orbit-two { width: 360px; height: 360px; right: 20px; top: 220px; }
.hero-inner { position: relative; z-index: 2; height: 100%; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .55fr); align-items: center; gap: 80px; padding-top: 86px; }
.hero-copy { max-width: 770px; }
.eyebrow { margin: 0 0 22px; color: var(--slate); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.hero .eyebrow { color: var(--gold-light); }
.eyebrow-gold { color: var(--gold); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 30px; font-family: var(--serif); font-size: clamp(3.45rem, 6.4vw, 6.9rem); line-height: .98; font-weight: 500; letter-spacing: -.035em; }
.hero-lead { max-width: 650px; margin-bottom: 34px; color: rgba(255,255,255,.72); font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.8; }
.text-link { display: inline-flex; align-items: center; gap: 14px; color: var(--gold-light); font-size: .79rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.text-link svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.3; transition: transform .25s; }
.text-link:hover svg { transform: translateX(5px); }
.hero-mark { width: min(29vw, 330px); aspect-ratio: 1; justify-self: end; position: relative; display: grid; place-items: center; border: 1px solid rgba(210,194,157,.22); border-radius: 50%; background: rgba(255,255,255,.015); }
.hero-mark::before, .hero-mark::after { content: ""; position: absolute; inset: 15%; border: 1px solid rgba(210,194,157,.12); border-radius: 50%; }
.hero-mark::after { inset: 30%; }
.v5-icon-slot { position: absolute; inset: 13%; background: url("assets/toloshiro-mark-light.svg") center / contain no-repeat; z-index: 2; filter: drop-shadow(0 18px 36px rgba(0,0,0,.15)); }
.hero-scroll { position: absolute; z-index: 2; bottom: 0; left: 50%; width: 1px; height: 72px; background: rgba(255,255,255,.15); overflow: hidden; }
.hero-scroll span { display: block; width: 100%; height: 35%; background: var(--gold-light); animation: scrollLine 2.2s infinite var(--ease); }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 50%,100% { transform: translateY(300%); } }

.section { padding: 150px 0; }
.section-light { background: var(--paper); }
.section-ivory { background: var(--ivory); }
.section-ink { background: var(--ink); color: #fff; }
.split-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 110px; align-items: start; }
h2 { font-family: var(--serif); font-size: clamp(2.55rem, 4.1vw, 4.75rem); line-height: 1.08; font-weight: 500; letter-spacing: -.025em; margin-bottom: 0; }
.section-copy { padding-top: 48px; max-width: 680px; }
.section-copy p { color: var(--slate); }
.section-copy .lead { color: var(--text); font-size: 1.24rem; line-height: 1.75; }
.section-intro { max-width: 700px; margin-bottom: 75px; }
.section-intro h2 { color: #fff; margin-bottom: 24px; }
.section-intro > p:last-child { color: rgba(255,255,255,.55); }
.activity-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.14); }
.activity-card { min-height: 390px; padding: 38px 38px 34px 0; position: relative; border-right: 1px solid rgba(255,255,255,.14); }
.activity-card + .activity-card { padding-left: 38px; }
.activity-card:last-child { border-right: 0; }
.card-number { display: block; color: var(--gold); font-size: .67rem; letter-spacing: .16em; margin-bottom: 58px; }
.card-icon { width: 48px; height: 48px; color: var(--gold-light); margin-bottom: 30px; }
.card-icon svg { width: 100%; fill: none; stroke: currentColor; stroke-width: 1.2; }
.activity-card h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; margin-bottom: 15px; }
.activity-card p { color: rgba(255,255,255,.56); font-size: .94rem; max-width: 290px; }
.approach-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 120px; }
.approach-heading { position: sticky; top: 130px; align-self: start; }
.approach-heading h2 { margin-bottom: 30px; }
.approach-heading > p:last-child { max-width: 480px; color: var(--slate); }
.principle { display: grid; grid-template-columns: 54px 1fr; gap: 28px; padding: 38px 0; border-top: 1px solid var(--line); }
.principle:last-child { border-bottom: 1px solid var(--line); }
.principle > span { color: var(--gold); font-size: .71rem; letter-spacing: .14em; padding-top: 7px; }
.principle h3 { font-family: var(--serif); font-size: 1.55rem; font-weight: 500; margin-bottom: 8px; }
.principle p { color: var(--slate); margin-bottom: 0; font-size: .94rem; }
.statement { position: relative; overflow: hidden; background: var(--ink-deep); color: #fff; padding: 140px 0; }
.statement::after { content: ""; position: absolute; width: 600px; height: 600px; right: -220px; top: -230px; border: 1px solid rgba(181,154,98,.16); border-radius: 50%; box-shadow: 0 0 0 100px rgba(181,154,98,.025), 0 0 0 200px rgba(181,154,98,.018); }
.statement-line { position: absolute; left: 0; top: 0; bottom: 0; width: 7px; background: var(--gold); }
.statement-inner { position: relative; z-index: 2; max-width: 980px; }
.statement blockquote { margin: 0; font-family: var(--serif); font-size: clamp(2.35rem, 4.4vw, 5rem); line-height: 1.18; font-weight: 500; letter-spacing: -.025em; }
.contact { background: var(--paper); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 80px; }
.contact-details { justify-self: end; text-align: right; }
.contact-details a { display: inline-block; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 3rem); color: var(--ink); border-bottom: 1px solid var(--gold); line-height: 1.4; }
.contact-details p { color: var(--slate); margin: 16px 0 0; }
.site-footer { background: var(--ink-deep); color: rgba(255,255,255,.68); padding: 74px 0 28px; }
.footer-main { display: flex; justify-content: space-between; gap: 50px; padding-bottom: 60px; }
.footer-brand-lockup { display: inline-flex; align-items: center; gap: 14px; }
.footer-brand .brand-icon { width: 34px; height: 34px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin: 12px 0 0; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-links { display: flex; align-items: flex-start; gap: 32px; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-links a { transition: color .2s; }
.footer-links a:hover { color: #fff; }
.back-top { margin-left: 26px; }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.11); display: flex; justify-content: space-between; font-size: .72rem; letter-spacing: .04em; }
.footer-bottom p { margin-bottom: 0; }
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.visible { opacity: 1; transform: translateY(0); }

.legal-page { min-height: 100vh; background: var(--paper); }
.legal-header { background: var(--ink-deep); color: #fff; padding: 26px 0; }
.legal-header .container { display: flex; justify-content: space-between; align-items: center; }
.legal-header a:last-child { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.legal-content { max-width: 840px; padding: 110px 0 140px; }
.legal-content h1 { color: var(--ink); font-size: clamp(3rem, 6vw, 5.8rem); }
.legal-content h2 { font-size: 1.8rem; margin: 54px 0 18px; }
.legal-content p, .legal-content li { color: var(--slate); }

@media (max-width: 980px) {
  :root { --container: min(100% - 36px, 760px); }
  .site-header { height: 74px; }
  .menu-toggle { display: block; z-index: 3; cursor: pointer; }
  .header-actions { position: fixed; inset: 0 0 auto; min-height: 100svh; padding: 120px 28px 60px; flex-direction: column; justify-content: flex-start; align-items: stretch; background: var(--ink-deep); transform: translateX(100%); transition: transform .35s var(--ease); }
  .site-header.menu-open .header-actions { transform: translateX(0); }
  .site-header.menu-open .menu-line:first-child { transform: translateY(3.5px) rotate(45deg); }
  .site-header.menu-open .menu-line:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .nav { flex-direction: column; align-items: flex-start; gap: 20px; }
  .nav a { font-family: var(--serif); font-size: 2rem; text-transform: none; letter-spacing: 0; }
  .language-switch { margin-top: 28px; }
  .hero { min-height: 760px; height: auto; }
  .hero-inner { min-height: 760px; grid-template-columns: 1fr; gap: 20px; padding: 140px 0 80px; }
  .hero-mark {
    display: grid;
    position: absolute;
    width: 178px;
    right: 18px;
    top: 118px;
    opacity: .18;
    border-color: rgba(210,194,157,.14);
    pointer-events: none;
  }
  .hero-mark::before, .hero-mark::after { display: none; }
  .hero-copy { position: relative; z-index: 2; }
  .hero-copy { max-width: 720px; }
  .split-layout, .approach-layout { grid-template-columns: 1fr; gap: 60px; }
  .section-copy { padding-top: 0; }
  .approach-heading { position: static; }
  .activity-grid { grid-template-columns: 1fr; }
  .activity-card, .activity-card + .activity-card { min-height: 300px; padding: 34px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .card-number { margin-bottom: 30px; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-details { justify-self: start; text-align: left; }
}

@media (max-width: 640px) {
  :root { --container: calc(100% - 32px); }
  .brand-icon { width: 25px; height: 25px; }
  .hero-mark { width: 126px; right: -8px; top: 105px; opacity: .14; }
  .brand-name { font-size: 1.18rem; }
  .hero { min-height: 720px; }
  .hero-inner { min-height: 720px; padding-top: 125px; }
  h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .section { padding: 100px 0; }
  h2 { font-size: 2.7rem; }
  .section-intro { margin-bottom: 50px; }
  .statement { padding: 100px 0; }
  .statement blockquote { font-size: 2.45rem; }
  .contact-details a { font-size: 1.62rem; }
  .footer-main, .footer-bottom { flex-direction: column; }
  .footer-links { flex-wrap: wrap; gap: 18px 24px; }
  .back-top { margin-left: 0; }
  .footer-bottom { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
