/* ==========================================================
   Aomori Atelier — site styles
   Palette: Stone #E5E1D8 · Taupe #898174
   ========================================================== */

:root {
  --bg: #F6F4F0;
  --stone: #E5E1D8;
  --stone-soft: #EEEBE5;
  --taupe: #898174;
  --taupe-deep: #6B6459;
  --ink: #1E1C19;
  --muted: #5E574D;
  --line: #DCD7CD;
  --white: #FFFFFF;

  --font-sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --container: 1200px;
  --gutter: 24px;
  --shadow-soft: 0 1px 2px rgba(30, 28, 25, .06), 0 8px 24px rgba(30, 28, 25, .05);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: -0.03em; line-height: 1.05; }
ul { margin: 0; padding: 0; list-style: none; }
em.serif, .serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- Type helpers ---------- */
.eyebrow { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; display: inline-flex; align-items: center; gap: 8px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--taupe); }
.display { font-size: clamp(44px, 6.4vw, 84px); line-height: 1; letter-spacing: -0.045em; }
.h2 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -0.035em; line-height: 1.06; }
.h3 { font-size: 24px; letter-spacing: -0.02em; line-height: 1.2; }
.lead { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 520px; }
.small { font-size: 14px; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 500; white-space: nowrap; cursor: pointer;
  border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s;
  font-family: inherit;
}
.btn svg { width: 16px; height: 16px; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #3A3631; }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--line); box-shadow: 0 1px 2px rgba(30,28,25,.05); }
.btn-light:hover { border-color: var(--taupe); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 15px; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color .2s; }
.link-arrow:hover { border-color: var(--ink); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 244, 240, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 38px; width: auto; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { font-size: 15px; padding: 8px 14px; border-radius: var(--radius-pill); color: var(--ink); transition: background .2s; }
.nav-links a:hover { background: var(--stone); }
.nav-links a[aria-current="page"] { background: var(--stone); }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle svg { width: 20px; height: 20px; }
.mobile-menu { display: none; }

@media (max-width: 880px) {
  .nav-links, .nav-actions .btn-light { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-menu { display: block; position: fixed; inset: 72px 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 24px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
  .mobile-menu.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .mobile-menu a { display: block; font-size: 22px; letter-spacing: -0.02em; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { margin-top: 20px; width: 100%; }
}
@media (max-width: 420px) { .nav-actions .btn-dark { padding: 0 14px; } .brand img { height: 32px; } }

/* ---------- Sections ---------- */
.section { padding: 112px 0 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: 48px; }
.section-head .stack { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
@media (max-width: 880px) { .section { padding-top: 80px; } .section-head { grid-template-columns: minmax(0, 1fr); margin-bottom: 32px; } }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 64px; align-items: start; }
.hero-grid .left { display: flex; flex-direction: column; gap: 28px; }
.hero-grid .right { padding-top: 14px; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 880px) { .hero { padding-top: 48px; } .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero-grid .right { padding-top: 0; order: -1; display: none; } }

/* ---------- Orbs ---------- */
.orb {
  position: relative; border-radius: 50%; overflow: hidden; isolation: isolate;
  background: var(--stone);
  box-shadow: inset 0 -12px 40px rgba(255,255,255,.35);
  /* Force a circular clip on mobile Safari/Chrome (blurred, animated child otherwise renders square) */
  clip-path: circle(50% at 50% 50%);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  transform: translateZ(0);
}
.orb::before {
  content: ""; position: absolute; inset: -25%; z-index: -1;
  background: var(--orb-grad);
  filter: blur(18px);
  animation: orb-drift 18s ease-in-out infinite alternate;
}
.orb::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, rgba(255,255,255,.55), rgba(255,255,255,0) 42%);
  mix-blend-mode: soft-light;
}
@keyframes orb-drift {
  0% { transform: rotate(0deg) scale(1); }
  100% { transform: rotate(40deg) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) { .orb::before { animation: none; } html { scroll-behavior: auto; } }

/* Orb tone variants (all derived from Stone & Taupe) */
.tone-cut    { --orb-grad: radial-gradient(circle at 25% 30%, #F3EEE5 0 22%, transparent 48%), radial-gradient(circle at 72% 62%, #898174 0 18%, transparent 52%), radial-gradient(circle at 40% 80%, #C9B49A 0 20%, transparent 50%), linear-gradient(140deg, #E5E1D8, #B8AD9C); }
.tone-treat  { --orb-grad: radial-gradient(circle at 70% 25%, #FBF8F2 0 20%, transparent 46%), radial-gradient(circle at 30% 65%, #A7A58C 0 22%, transparent 55%), radial-gradient(circle at 75% 80%, #898174 0 16%, transparent 48%), linear-gradient(200deg, #E5E1D8, #C2BCA8); }
.tone-ritual { --orb-grad: radial-gradient(circle at 30% 25%, #F6EFE6 0 18%, transparent 45%), radial-gradient(circle at 68% 45%, #D2B79E 0 22%, transparent 55%), radial-gradient(circle at 35% 78%, #6B6459 0 16%, transparent 50%), linear-gradient(160deg, #E8DCCB, #A3907B); }
.tone-color  { --orb-grad: radial-gradient(circle at 65% 30%, #F4E6DA 0 20%, transparent 48%), radial-gradient(circle at 28% 50%, #C99A7E 0 20%, transparent 52%), radial-gradient(circle at 70% 78%, #898174 0 20%, transparent 52%), linear-gradient(120deg, #E5D6C8, #B09582); }
.tone-perm   { --orb-grad: radial-gradient(circle at 30% 70%, #F5F1EA 0 20%, transparent 48%), radial-gradient(circle at 70% 30%, #9C9383 0 22%, transparent 55%), radial-gradient(circle at 60% 85%, #D8CDBB 0 18%, transparent 50%), linear-gradient(60deg, #DCD6CA, #8C8475); }
.tone-lash   { --orb-grad: radial-gradient(circle at 35% 30%, #FBF6F1 0 20%, transparent 48%), radial-gradient(circle at 70% 60%, #D7BCB0 0 22%, transparent 55%), radial-gradient(circle at 30% 85%, #A89C8D 0 18%, transparent 50%), linear-gradient(180deg, #EDE3DB, #B9A99A); }

/* ---------- Showcase panel (hero carousel) ---------- */
.showcase { margin-top: 56px; background: var(--stone); border-radius: var(--radius-lg); padding: 10px; position: relative; overflow: hidden; }
.showcase-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; background: rgba(255,255,255,.35); border-radius: 20px; padding: 4px; }
.showcase-tab { appearance: none; border: 0; background: transparent; font: inherit; font-size: 15px; color: var(--muted); height: 46px; border-radius: 16px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: background .2s, color .2s, box-shadow .2s; }
.showcase-tab .dot { width: 9px; height: 9px; border-radius: 50%; }
.showcase-tab[aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: var(--shadow-soft); }
.showcase-tab:hover { color: var(--ink); }
.showcase-stage { position: relative; height: 470px; overflow: hidden; }
.carousel { position: absolute; inset: 0; }
.slide { position: absolute; left: 50%; top: 52px; width: 260px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .6s; opacity: 0; pointer-events: none; }
.slide .orb { width: 260px; height: 260px; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.slide .meta { display: flex; flex-direction: column; gap: 6px; transition: opacity .4s; }
.slide .meta strong { font-weight: 500; font-size: 17px; }
.slide .meta span { font-size: 14px; color: var(--muted); max-width: 240px; }
.slide[data-pos="0"]  { opacity: 1; pointer-events: auto; }
.slide[data-pos="-1"] { transform: translateX(calc(-50% - 310px)) scale(.76); opacity: .9; pointer-events: auto; }
.slide[data-pos="1"]  { transform: translateX(calc(-50% + 310px)) scale(.76); opacity: .9; pointer-events: auto; }
.slide[data-pos="-2"] { transform: translateX(calc(-50% - 560px)) scale(.6); opacity: .45; }
.slide[data-pos="2"]  { transform: translateX(calc(-50% + 560px)) scale(.6); opacity: .45; }
.slide:not([data-pos="0"]) .meta { opacity: .55; }
.slide-hit { position: absolute; inset: 0; border-radius: 50%; appearance: none; border: 0; padding: 0; margin: 0; background: transparent; cursor: pointer; }
.orb-cta { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; border-radius: 50%; background: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-soft); z-index: 2; transition: transform .2s; }
.orb-cta:hover { transform: translate(-50%, -50%) scale(1.06); }
.orb-cta svg { width: 20px; height: 20px; }
.slide:not([data-pos="0"]) .orb-cta { display: none; }
.carousel-nav { position: absolute; top: 170px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 3; }
.carousel-nav:hover { background: rgba(255,255,255,.5); color: var(--ink); }
.carousel-nav.prev { left: calc(50% - 200px); top: 395px; }
.carousel-nav.next { left: calc(50% + 156px); top: 395px; }
.showcase-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 10px 10px; flex-wrap: wrap; }
.chips { display: flex; gap: 4px; flex-wrap: wrap; }
.chip { appearance: none; border: 0; background: transparent; font: inherit; font-size: 14px; color: var(--muted); height: 40px; padding: 0 14px; border-radius: var(--radius-pill); cursor: pointer; transition: background .2s, color .2s; }
.chip:hover { color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(30,28,25,.06); }
@media (max-width: 880px) {
  .showcase-stage { height: 430px; }
  .slide, .slide .orb { width: 220px; }
  .slide .orb { height: 220px; }
  .slide[data-pos="-1"] { transform: translateX(calc(-50% - 230px)) scale(.7); opacity: .55; }
  .slide[data-pos="1"]  { transform: translateX(calc(-50% + 230px)) scale(.7); opacity: .55; }
  .slide[data-pos="-2"], .slide[data-pos="2"] { opacity: 0; }
  .carousel-nav.prev { left: 8px; top: 140px; }
  .carousel-nav.next { left: auto; right: 8px; top: 140px; }
  .showcase-tab { font-size: 14px; }
  .showcase-foot .btn { width: 100%; }
}

/* ---------- Trust strip with corner marks ---------- */
.ruled { position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ruled::before, .ruled::after { content: ""; position: absolute; width: 7px; height: 7px; border-left: 1px solid var(--muted); border-top: 1px solid var(--muted); top: -4px; left: -4px; }
.ruled::after { left: auto; right: -4px; border-left: 0; border-right: 1px solid var(--muted); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: 28px 24px; display: flex; flex-direction: column; gap: 6px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact .k { font-size: 13px; color: var(--muted); }
.fact .v { font-size: 20px; letter-spacing: -0.02em; overflow-wrap: anywhere; }
@media (max-width: 880px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { padding: 20px 16px; }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fact:nth-child(4) { grid-column: 1 / -1; border-left: 0; padding-left: 0; }
  .fact .v { font-size: 18px; }
}

/* ---------- Category cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.card { background: var(--stone-soft); border-radius: var(--radius-md); padding: 24px; display: flex; flex-direction: column; gap: 20px; min-height: 300px; transition: background .25s, transform .25s; }
.card:hover { background: var(--stone); }
.card .top { display: flex; justify-content: space-between; align-items: flex-start; }
.card .orb { width: 64px; height: 64px; box-shadow: none; }
.card .count { font-size: 13px; color: var(--muted); }
.card h3 { font-size: 24px; letter-spacing: -0.02em; }
.card ul { display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--muted); }
.card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; }
@media (max-width: 980px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .card-grid { grid-template-columns: minmax(0, 1fr); } .card { min-height: 0; } }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 12px; }
.feature { border-radius: var(--radius-md); padding: 28px; min-height: 460px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; position: relative; overflow: hidden; isolation: isolate; }
.feature-ritual { color: var(--ink); background: var(--stone); }
.feature-ritual .bg-orb { position: absolute; width: 520px; height: 520px; right: -140px; top: -120px; z-index: -1; opacity: .9; }
.feature-style { background: var(--stone-soft); }
.feature .list { display: flex; flex-direction: column; background: rgba(255,255,255,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 14px; padding: 6px 18px; }
.feature .list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.feature .list li:last-child { border-bottom: 0; }
.feature .list li span:last-child { color: var(--muted); font-size: 14px; text-align: right; }
.feature .caption { display: flex; flex-direction: column; gap: 6px; }
.feature .caption strong { font-weight: 500; font-size: 15px; }
.feature .caption span { font-size: 14px; color: var(--muted); max-width: 440px; }
.style-orbs { display: flex; align-items: center; justify-content: center; gap: 0; padding: 8px 0; }
.style-orbs .orb { width: 120px; height: 120px; margin: 0 -10px; }
.style-orbs .orb:nth-child(2) { width: 170px; height: 170px; z-index: 1; }
.style-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.style-pill { background: var(--white); border-radius: var(--radius-pill); padding: 10px 16px; font-size: 15px; box-shadow: 0 1px 2px rgba(30,28,25,.05); }
.style-pill.dark { background: var(--ink); color: var(--white); }
@media (max-width: 880px) { .split { grid-template-columns: minmax(0, 1fr); } .feature { min-height: 0; } .feature-ritual .bg-orb { width: 360px; height: 360px; right: -120px; top: -100px; } }

/* ---------- Statement ---------- */
.statement { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.15; letter-spacing: -0.03em; max-width: 980px; }
.statement .muted { color: var(--taupe-deep); }

/* ---------- Visit ---------- */
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px; }
.info-card { background: var(--stone-soft); border-radius: var(--radius-md); padding: 8px 24px; display: flex; flex-direction: column; }
.info-row { padding: 20px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.info-row:last-of-type { border-bottom: 0; }
.info-row .k { font-size: 13px; color: var(--muted); }
.info-row .v { font-size: 18px; letter-spacing: -0.01em; }
.info-row a.v:hover { text-decoration: underline; text-underline-offset: 4px; }
.info-card .btn-row { padding: 8px 0 20px; }
.map { border-radius: var(--radius-md); overflow: hidden; background: var(--stone); min-height: 420px; }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: grayscale(.85) sepia(.12) contrast(.95); }
@media (max-width: 880px) { .visit-grid { grid-template-columns: minmax(0, 1fr); } .map, .map iframe { min-height: 320px; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px 64px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: 18px; letter-spacing: -0.01em; min-height: 44px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .plus { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--stone); display: inline-flex; align-items: center; justify-content: center; transition: transform .25s; }
.faq-list summary .plus svg { width: 14px; height: 14px; }
.faq-list details[open] summary .plus { transform: rotate(45deg); }
.faq-list .answer { padding: 0 56px 24px 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
@media (max-width: 880px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } .faq-list .answer { padding-right: 0; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; background: var(--stone); border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.cta-band .orbs { position: absolute; right: -60px; top: -80px; display: flex; gap: 16px; z-index: -1; opacity: .95; }
.cta-band .orbs .orb:nth-child(1) { width: 180px; height: 180px; margin-top: 90px; }
.cta-band .orbs .orb:nth-child(2) { width: 240px; height: 240px; }
.cta-band .orbs .orb:nth-child(3) { width: 160px; height: 160px; margin-top: 140px; }
.cta-band h2 { max-width: 620px; }
.cta-band p { margin-top: 16px; }
@media (max-width: 880px) { .cta-band { grid-template-columns: minmax(0, 1fr); } .cta-band .orbs { opacity: .45; right: -160px; } }

/* ---------- Footer ---------- */
.site-footer { padding: 112px 0 32px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 56px; }
.footer-top .about { display: flex; flex-direction: column; gap: 16px; max-width: 320px; }
.footer-top .about img { height: 44px; width: auto; align-self: flex-start; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-col .k { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-word { font-size: clamp(44px, 12vw, 160px); line-height: .82; letter-spacing: -0.06em; color: var(--stone); user-select: none; white-space: nowrap; overflow: hidden; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
@media (max-width: 880px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-top .about { grid-column: 1 / -1; } }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding: 72px 0 0; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.crumbs a:hover { color: var(--ink); }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
@media (max-width: 880px) { .page-head { padding-top: 40px; } .page-head-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Services page ---------- */
.cat-nav { position: sticky; top: 72px; z-index: 20; background: rgba(246, 244, 240, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); margin-top: 56px; }
.cat-nav .container { display: flex; gap: 4px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.cat-nav .container::-webkit-scrollbar { display: none; }
.cat-nav a { flex: none; height: 40px; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; border-radius: var(--radius-pill); font-size: 14px; color: var(--muted); transition: background .2s, color .2s; }
.cat-nav a:hover { color: var(--ink); }
.cat-nav a.is-active { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(30,28,25,.06); }
.cat-nav .dot { width: 8px; height: 8px; border-radius: 50%; }

.svc-section { padding-top: 88px; scroll-margin-top: 140px; }
.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px 64px; }
.svc-intro { display: flex; flex-direction: column; gap: 18px; align-self: start; position: sticky; top: 156px; }
.svc-intro .num { font-size: 13px; color: var(--muted); }
.svc-intro .orb { width: 88px; height: 88px; }
.svc-intro p { color: var(--muted); max-width: 340px; }
.svc-list { border-top: 1px solid var(--ink); }
.svc-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.svc-item .name { font-size: 22px; letter-spacing: -0.02em; }
.svc-item .note { font-size: 14px; color: var(--muted); margin-top: 4px; }
.svc-item .ask { font-size: 14px; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--white); transition: border-color .2s; }
.svc-item .ask:hover { border-color: var(--taupe); }
.svc-item .ask svg { width: 14px; height: 14px; }
.svc-footnote { margin-top: 16px; font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.svc-footnote::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--taupe); margin-top: 8px; }
@media (max-width: 880px) {
  .cat-nav { top: 72px; }
  .svc-layout { grid-template-columns: minmax(0, 1fr); }
  .svc-intro { position: static; }
  .svc-item .name { font-size: 19px; }
  .svc-item .ask span { display: none; }
  .svc-item .ask { width: 40px; padding: 0; justify-content: center; }
}

/* ---------- About page ---------- */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.principle { background: var(--stone-soft); border-radius: var(--radius-md); padding: 28px; display: flex; flex-direction: column; gap: 14px; min-height: 260px; }
.principle .n { font-size: 13px; color: var(--muted); }
.principle h3 { font-size: 26px; letter-spacing: -0.025em; margin-top: auto; }
.principle p { color: var(--muted); font-size: 15px; }
.timeline { border-top: 1px solid var(--line); }
.tl-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.tl-row .year { font-size: 32px; letter-spacing: -0.03em; color: var(--taupe-deep); }
.tl-row h3 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 8px; }
.tl-row p { color: var(--muted); max-width: 640px; }
.slogan { text-align: center; padding: 96px 24px; background: var(--stone); border-radius: var(--radius-lg); position: relative; overflow: hidden; isolation: isolate; }
.slogan .orb { position: absolute; width: 300px; height: 300px; z-index: -1; opacity: .8; }
.slogan .orb.a { left: -90px; bottom: -120px; }
.slogan .orb.b { right: -60px; top: -140px; }
.slogan .big { font-size: clamp(32px, 5.6vw, 76px); letter-spacing: -0.04em; line-height: 1; }
.slogan p { margin-top: 18px; color: var(--muted); }
@media (max-width: 880px) { .principles { grid-template-columns: minmax(0, 1fr); } .principle { min-height: 0; } .tl-row { grid-template-columns: minmax(0, 1fr); gap: 8px; } }

/* ---------- Steps (visit page) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.step { background: var(--stone-soft); border-radius: var(--radius-md); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.step .n { width: 36px; height: 36px; border-radius: 50%; background: var(--white); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; }
.step h3 { font-size: 22px; letter-spacing: -0.02em; margin-top: 16px; }
.step p { color: var(--muted); font-size: 15px; }
@media (max-width: 880px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 24px; padding: 80px 0; }

/* ---------- Moving announcement ---------- */
.move-bar { background: var(--ink); color: var(--bg); font-size: 14px; }
.move-bar[hidden] { display: none; }
.move-bar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 16px; padding-top: 10px; padding-bottom: 10px; text-align: center; }
.move-bar strong { font-weight: 600; }
.move-bar a { color: var(--bg); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
