/* ==========================================================================
   COCO STATE — site stylesheet
   Light-only, corporate Japanese real-estate. No build step, no framework.
   ========================================================================== */

/* --- tokens ------------------------------------------------------------- */
:root {
  color-scheme: light;

  --ink:      #0B1F2A;
  --ink-soft: #143343;
  --brand:    #0E4A5F;
  --brand-dk: #08303E;
  --accent:   #D9663A;
  --accent-lt:#F0A97A;
  --sand:     #FAF7F2;
  --sand-dk:  #F1EBE1;
  --paper:    #FFFFFF;
  --muted:    #5D6E78;
  --line:     rgba(11, 31, 42, .12);
  --line-soft:rgba(11, 31, 42, .07);

  --shadow-sm: 0 1px 2px rgba(11,31,42,.05), 0 2px 8px rgba(11,31,42,.04);
  --shadow-md: 0 2px 4px rgba(11,31,42,.05), 0 12px 32px rgba(11,31,42,.08);
  --shadow-lg: 0 4px 8px rgba(11,31,42,.06), 0 24px 64px rgba(11,31,42,.12);

  --radius:    14px;
  --radius-lg: 22px;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);

  --font-sans: system-ui, sans-serif;
  --font-display: var(--font-sans);

  --step--1: clamp(.8125rem, .79rem + .1vw, .875rem);
  --step-0:  clamp(.9375rem, .91rem + .14vw, 1.0625rem);
  --step-1:  clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  --step-2:  clamp(1.3rem, 1.15rem + .7vw, 1.75rem);
  --step-3:  clamp(1.65rem, 1.35rem + 1.4vw, 2.5rem);
  --step-4:  clamp(2.1rem, 1.5rem + 2.8vw, 4rem);
  --step-5:  clamp(2.6rem, 1.5rem + 4.6vw, 5.5rem);

  --header-h: 72px;
}

/* --- reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.85;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
:lang(ja) body { line-height: 2; }

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.015em;
  text-wrap: balance;
}
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ja) h4 {
  letter-spacing: .01em;
  line-height: 1.4;
  /* balance splits Japanese mid-word; auto-phrase breaks on phrase boundaries. */
  text-wrap: auto;
  word-break: auto-phrase;
}
p { text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: 12px; top: -100px; z-index: 200;
  background: var(--ink); color: #fff;
  padding: 12px 20px; border-radius: 0 0 10px 10px;
  text-decoration: none; font-weight: 700;
  transition: top .2s;
}
.skip:focus { top: 0; }

/* Vietnamese quoted inside a non-Vietnamese page needs a font that actually has
   the precomposed glyphs — Zen Kaku Gothic New does not. */
html:not([lang="vi"]) [lang="vi"] {
  font-family: system-ui, "Segoe UI", "Noto Sans", Arial, sans-serif;
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* --- layout primitives -------------------------------------------------- */
.wrap {
  width: min(100% - var(--gutter) * 2, var(--wrap));
  margin-inline: auto;
}
.section { padding-block: clamp(64px, 9vw, 130px); }
.section--sand { background: var(--sand); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px;
  background: currentColor; flex: none;
}
:lang(ja) .eyebrow { letter-spacing: .1em; }

.section-head { max-width: 62ch; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { font-size: var(--step-3); }
.section-head .lead {
  margin-top: 18px;
  color: var(--muted);
  font-size: var(--step-1);
  line-height: 1.9;
}

/* --- buttons ------------------------------------------------------------ */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-0);
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
  box-shadow: 0 6px 18px rgba(217,102,58,.28);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(217,102,58,.34); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--sand); border-color: var(--ink); box-shadow: none; }

.btn--on-dark {
  --btn-bg: rgba(255,255,255,.1);
  --btn-fg: #fff;
  border-color: rgba(255,255,255,.35);
  box-shadow: none;
  backdrop-filter: blur(8px);
}
.btn--on-dark:hover { background: rgba(255,255,255,.2); box-shadow: none; }

.btn--line { --btn-bg: #06C755; box-shadow: 0 6px 18px rgba(6,199,85,.26); }
.btn--line:hover { box-shadow: 0 10px 26px rgba(6,199,85,.32); }

.btn--sm { padding: 11px 20px; font-size: var(--step--1); }
.btn--block { width: 100%; }

/* --- header ------------------------------------------------------------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.header__inner {
  width: min(100% - var(--gutter) * 2, 1360px);
  margin-inline: auto;
  display: flex; align-items: center; gap: 20px;
}

.header.is-solid,
.header.is-open,
body:not(.has-hero) .header {
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 1px 20px rgba(11,31,42,.05);
}

.brand {
  display: inline-flex; align-items: center; gap: 11px;
  text-decoration: none; flex: none;
  color: var(--ink);
}
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__text { display: grid; line-height: 1.15; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.06rem;
  letter-spacing: .04em;
}
.brand__sub {
  font-size: .625rem; letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

body.has-hero .header:not(.is-solid):not(.is-open) .brand { color: #fff; }
body.has-hero .header:not(.is-solid):not(.is-open) .brand__sub { color: rgba(255,255,255,.75); }
body.has-hero .header:not(.is-solid):not(.is-open) .nav__link { color: rgba(255,255,255,.92); }
body.has-hero .header:not(.is-solid):not(.is-open) .langswitch__btn { color: #fff; border-color: rgba(255,255,255,.35); }
body.has-hero .header:not(.is-solid):not(.is-open) .burger { color: #fff; border-color: rgba(255,255,255,.35); }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 26px); }
.nav__link {
  text-decoration: none;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  padding: 6px 0;
  position: relative;
  transition: color .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 10px; flex: none; }

/* language switcher */
.langswitch { position: relative; }
.langswitch__btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: .75rem; font-weight: 700; letter-spacing: .06em;
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.langswitch__btn:hover { background: rgba(11,31,42,.06); }
.langswitch__btn svg { width: 14px; height: 14px; }
.langswitch__menu {
  position: absolute; right: 0; top: calc(100% + 10px);
  min-width: 172px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 6px;
  display: none;
}
.langswitch__menu[data-open="true"] { display: block; }
.langswitch__menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 13px; border-radius: 8px;
  text-decoration: none; font-size: .875rem; font-weight: 600;
  color: var(--ink);
}
.langswitch__menu a:hover { background: var(--sand); }
.langswitch__menu a[aria-current="true"] { color: var(--accent); }
.langswitch__menu code {
  font-family: var(--font-display);
  font-size: .6875rem; letter-spacing: .1em;
  color: var(--muted);
}

.burger {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 12px;
  background: transparent; cursor: pointer;
}
.burger svg { width: 20px; height: 20px; }
.burger .icon-close { display: none; }
.header.is-open .burger .icon-close { display: block; }
.header.is-open .burger .icon-menu { display: none; }

@media (max-width: 1080px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 12px var(--gutter) 26px;
    display: none;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .header.is-open .nav { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link {
    display: block;
    padding: 15px 4px; font-size: 1rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: 20px; }
  .burger { display: inline-flex; }
  .header__actions { margin-left: auto; }
  .header__actions .btn { display: none; }
}
@media (min-width: 1081px) { .nav__cta { display: none; } }

/* --- hero --------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(94svh, 860px);
  display: flex; align-items: flex-end;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: clamp(56px, 8vw, 110px);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,26,36,.62) 0%, rgba(8,26,36,.32) 34%, rgba(8,26,36,.86) 100%),
    linear-gradient(96deg, rgba(8,32,44,.72) 0%, rgba(8,32,44,.15) 62%);
}
.hero__inner { position: relative; z-index: 1; }
.hero__eyebrow {
  color: var(--accent-lt);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: var(--step-5);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.03em;
  max-width: 16ch;
  text-shadow: 0 2px 30px rgba(0,0,0,.3);
}
:lang(ja) .hero h1 { font-size: var(--step-4); line-height: 1.35; letter-spacing: .005em; max-width: none; }
.hero h1 span { display: block; }
.hero h1 span + span { color: var(--accent-lt); }

.hero__lead {
  margin-top: 26px;
  max-width: 54ch;
  font-size: var(--step-1);
  line-height: 1.9;
  color: rgba(255,255,255,.9);
}
.hero__actions {
  margin-top: 38px;
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
}
.hero__note {
  margin-top: 20px;
  font-size: var(--step--1);
  color: rgba(255,255,255,.72);
  display: flex; align-items: center; gap: 8px;
}
.hero__note svg { width: 15px; height: 15px; color: var(--accent-lt); }

.hero__scroll {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  z-index: 1; color: rgba(255,255,255,.5);
}
.hero__scroll svg { width: 22px; height: 22px; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
@media (max-width: 700px) { .hero__scroll { display: none; } }

/* --- stats band --------------------------------------------------------- */
.stats { background: var(--ink); color: #fff; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.14);
  border-radius: var(--radius);
  overflow: hidden;
  margin-block: clamp(-60px, -5vw, -40px) 0;
  position: relative; z-index: 2;
  box-shadow: var(--shadow-lg);
}
.stats__cell {
  background: var(--ink);
  padding: clamp(22px, 3vw, 34px) clamp(18px, 2.4vw, 30px);
}
.stats__value {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, .85rem + .8vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -.01em;
  color: #fff;
  line-height: 1.3;
}
.stats__label {
  margin-top: 8px;
  font-size: var(--step--1);
  color: rgba(255,255,255,.62);
  line-height: 1.6;
}
@media (max-width: 860px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } }

/* --- service cards ------------------------------------------------------ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: clamp(16px, 2vw, 26px);
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 38px);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-lt));
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(14,74,95,.1), rgba(217,102,58,.12));
  color: var(--brand);
  margin-bottom: 22px;
}
.card__icon svg { width: 25px; height: 25px; }
.card h3 { font-size: var(--step-1); margin-bottom: 12px; }
.card p { color: var(--muted); font-size: var(--step-0); line-height: 1.85; }

/* --- reasons (alternating) ---------------------------------------------- */
.reason {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}
.reason + .reason { margin-top: clamp(56px, 7vw, 100px); }
.reason:nth-child(even) .reason__media { order: -1; }
.reason__num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(14,74,95,.28);
  margin-bottom: 16px;
}
.reason h3 { font-size: var(--step-2); margin-bottom: 16px; }
.reason p { color: var(--muted); line-height: 1.95; }
.reason__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
}
.reason__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) {
  .reason { grid-template-columns: 1fr; gap: 26px; }
  .reason:nth-child(even) .reason__media { order: 0; }
  .reason__media { order: -1; aspect-ratio: 16 / 10; }
}

/* --- image placeholder (used until real photos land) -------------------- */
.ph {
  background:
    radial-gradient(120% 90% at 15% 12%, rgba(217,102,58,.28), transparent 58%),
    radial-gradient(110% 100% at 88% 92%, rgba(14,74,95,.42), transparent 62%),
    linear-gradient(148deg, #12566B 0%, #0E4A5F 42%, #0B1F2A 100%);
  background-color: #0E4A5F;
  overflow: hidden;
}
.ph::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(90% 90% at 50% 40%, #000 20%, transparent 78%);
}
.ph__label {
  position: absolute; inset: auto 0 0 0;
  padding: 16px 20px;
  font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700;
  color: rgba(255,255,255,.5);
}

/* --- international block ------------------------------------------------ */
.intl {
  background: linear-gradient(150deg, var(--brand-dk) 0%, var(--brand) 55%, #10586F 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.intl::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 88% 8%, rgba(217,102,58,.34), transparent 62%),
    radial-gradient(50% 60% at 4% 96%, rgba(255,255,255,.09), transparent 60%);
}
.intl > * { position: relative; }
.intl .eyebrow { color: var(--accent-lt); }
.intl .section-head .lead { color: rgba(255,255,255,.82); }
.intl__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
}
.intl__item {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: clamp(24px, 2.8vw, 32px);
  backdrop-filter: blur(4px);
}
.intl__item h3 { font-size: var(--step-1); margin-bottom: 11px; }
.intl__item p { color: rgba(255,255,255,.78); font-size: var(--step-0); }

.langcards { margin-top: clamp(34px, 4vw, 52px); }
.langcards__lead { color: rgba(255,255,255,.72); margin-bottom: 18px; font-size: var(--step--1); }
.langcards__row { display: flex; flex-wrap: wrap; gap: 14px; }
.langcard {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 24px 16px 18px;
  background: rgba(255,255,255,.96);
  color: var(--ink);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 6px 20px rgba(0,0,0,.16);
}
.langcard:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.22); }
.langcard__code {
  font-family: var(--font-display);
  font-size: .6875rem; font-weight: 800; letter-spacing: .12em;
  background: var(--ink); color: #fff;
  padding: 6px 10px; border-radius: 999px;
  flex: none;
}
.langcard__text { display: grid; line-height: 1.4; }
.langcard__native { font-size: var(--step--1); font-weight: 500; color: var(--muted); }

/* --- flow --------------------------------------------------------------- */
.flow { counter-reset: step; }
.flow__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(20px, 2.4vw, 30px);
}
.flow__item {
  counter-increment: step;
  position: relative;
  padding-top: 30px;
  border-top: 2px solid var(--line);
}
.flow__item::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: -1px; left: 0;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: .75rem; font-weight: 800; letter-spacing: .1em;
  background: var(--accent); color: #fff;
  padding: 5px 11px; border-radius: 999px;
}
.flow__item h3 { font-size: var(--step-1); margin-bottom: 10px; }
.flow__item p { color: var(--muted); font-size: var(--step--1); line-height: 1.85; }

/* --- area --------------------------------------------------------------- */
.areas { display: grid; gap: clamp(24px, 3vw, 38px); }
.area-group {
  display: grid;
  grid-template-columns: minmax(150px, 210px) 1fr;
  gap: clamp(16px, 2.6vw, 40px);
  align-items: start;
  padding-block: clamp(20px, 2.4vw, 30px);
  border-top: 1px solid var(--line);
}
.area-group h3 {
  font-size: var(--step-1);
  color: var(--brand);
}
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  display: inline-block;
  padding: 8px 17px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink-soft);
}
.section--sand .chip { background: var(--paper); }
@media (max-width: 640px) { .area-group { grid-template-columns: 1fr; gap: 14px; } }

/* --- faq ---------------------------------------------------------------- */
.faq__list { max-width: 900px; }
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__item summary {
  display: flex; align-items: flex-start; gap: 16px;
  padding: clamp(20px, 2.4vw, 26px) 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-1);
  line-height: 1.6;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { flex: 1; }
.faq__sign {
  flex: none; width: 26px; height: 26px; margin-top: 3px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sand-dk);
  color: var(--brand);
  transition: transform .3s ease, background-color .3s ease, color .3s ease;
}
.section--sand .faq__sign { background: var(--paper); }
.faq__sign svg { width: 13px; height: 13px; }
.faq__item[open] .faq__sign { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq__a {
  padding: 0 0 clamp(22px, 2.4vw, 28px) 42px;
  color: var(--muted);
  line-height: 1.95;
  max-width: 78ch;
}
@media (max-width: 560px) { .faq__a { padding-left: 0; } }

/* --- company ------------------------------------------------------------ */
.company__grid {
  display: grid;
  grid-template-columns: 1.25fr .95fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
}
@media (max-width: 900px) { .company__grid { grid-template-columns: 1fr; } }

.deftable {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--line);
}
.deftable th, .deftable td {
  text-align: left;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: var(--step-0);
  line-height: 1.75;
}
.deftable th {
  width: 34%;
  font-weight: 700;
  color: var(--brand);
  padding-right: 20px;
}
.deftable td a { color: var(--accent); font-weight: 700; text-decoration: none; }
.deftable td a:hover { text-decoration: underline; }
@media (max-width: 560px) {
  .deftable th, .deftable td { display: block; width: 100%; }
  .deftable th { border-bottom: 0; padding-bottom: 2px; font-size: var(--step--1); }
  .deftable td { padding-top: 0; }
}

.access {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.access__map { aspect-ratio: 4 / 3; background: var(--sand-dk); }
.access__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.access__body { padding: clamp(22px, 2.6vw, 30px); }
.access__body h3 { font-size: var(--step-1); margin-bottom: 12px; }
.access__body p { color: var(--muted); font-size: var(--step--1); line-height: 1.85; margin-bottom: 18px; }

/* --- contact ------------------------------------------------------------ */
.contact__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
}
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

.channel {
  display: flex; gap: 18px; align-items: flex-start;
  padding: clamp(20px, 2.4vw, 26px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.channel + .channel { margin-top: 14px; }
.channel:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.channel__icon {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--sand-dk); color: var(--brand);
}
.channel--line .channel__icon { background: rgba(6,199,85,.12); color: #06C755; }
.channel__icon svg { width: 22px; height: 22px; }
.channel__label, .channel__value, .channel__note { display: block; }
.channel__label { font-size: var(--step--1); color: var(--muted); font-weight: 600; }
.channel__value {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.3;
  margin-block: 2px 4px;
}
.channel--line .channel__value { font-size: var(--step-1); }
.channel__note { font-size: var(--step--1); color: var(--muted); }

.hours {
  margin-top: 22px;
  padding: 20px 22px;
  background: var(--sand-dk);
  border-radius: var(--radius);
  font-size: var(--step--1);
  line-height: 1.9;
}
.section--sand .hours { background: var(--paper); border: 1px solid var(--line); }
.hours dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; }
.hours dt { font-weight: 700; color: var(--brand); }
.hours dd { margin: 0; color: var(--muted); }

/* form */
.form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.2vw, 42px);
  box-shadow: var(--shadow-sm);
}
.form h3 { font-size: var(--step-2); margin-bottom: 10px; }
.form__note { color: var(--muted); font-size: var(--step--1); margin-bottom: 26px; }
.field { margin-bottom: 20px; }
.field__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 620px) { .field__row { grid-template-columns: 1fr; gap: 0; } }
.field label {
  display: flex; align-items: center; gap: 8px;
  font-size: var(--step--1);
  font-weight: 700;
  margin-bottom: 8px;
}
.req {
  font-size: .625rem; font-weight: 800; letter-spacing: .06em;
  background: rgba(217,102,58,.12); color: var(--accent);
  padding: 3px 8px; border-radius: 4px;
  text-transform: uppercase;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--sand);
  font-size: var(--step-0);
  line-height: 1.6;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { min-height: 148px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(14,74,95,.1);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235D6E78' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 17px; padding-right: 42px; }

.check { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 24px; }
.check input { width: 19px; height: 19px; margin-top: 4px; flex: none; accent-color: var(--accent); }
.check label { font-size: var(--step--1); font-weight: 500; line-height: 1.7; margin: 0; display: block; }
.check a { color: var(--accent); font-weight: 700; }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* --- footer ------------------------------------------------------------- */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.72);
  padding-block: clamp(52px, 6vw, 82px) 32px;
  font-size: var(--step--1);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.15fr;
  gap: clamp(30px, 4vw, 60px);
  padding-bottom: clamp(34px, 4vw, 52px);
  border-bottom: 1px solid rgba(255,255,255,.14);
}
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; gap: 32px; } }

.footer .brand { color: #fff; }
.footer .brand__sub { color: rgba(255,255,255,.55); }
.footer__tagline { margin-top: 18px; max-width: 38ch; line-height: 1.85; }
.footer h2 {
  font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.5); font-weight: 700;
  margin-bottom: 18px;
}
.footer ul { display: grid; gap: 11px; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer__contact { display: grid; gap: 12px; line-height: 1.8; }
.footer__contact strong {
  display: block; color: #fff;
  font-family: var(--font-display); font-size: var(--step-1); font-weight: 800;
  letter-spacing: -.01em;
}
.footer__bottom {
  padding-top: 26px;
  display: flex; flex-wrap: wrap; gap: 12px 26px;
  align-items: center; justify-content: space-between;
  font-size: .75rem;
  color: rgba(255,255,255,.5);
}
.footer__license { max-width: 70ch; line-height: 1.7; }

/* --- misc pages --------------------------------------------------------- */
.pagehead {
  background: linear-gradient(150deg, var(--brand-dk), var(--brand));
  color: #fff;
  padding-top: calc(var(--header-h) + clamp(48px, 7vw, 96px));
  padding-bottom: clamp(48px, 7vw, 96px);
}
.pagehead h1 { font-size: var(--step-3); }
.pagehead .crumb {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: var(--step--1);
  color: rgba(255,255,255,.66);
  margin-bottom: 16px;
}
.pagehead .crumb a { text-decoration: none; }
.pagehead .crumb a:hover { color: #fff; text-decoration: underline; }

.prose { max-width: 78ch; }
.prose > * + * { margin-top: 20px; }
.prose h2 {
  font-size: var(--step-2);
  margin-top: clamp(40px, 4vw, 56px);
  padding-top: clamp(24px, 2.6vw, 32px);
  border-top: 1px solid var(--line);
}
.prose h2:first-of-type { margin-top: 34px; }
.prose p { color: var(--ink-soft); line-height: 1.95; }
.prose ul { display: grid; gap: 10px; padding-left: 0; }
.prose li {
  position: relative; padding-left: 26px;
  color: var(--ink-soft); line-height: 1.85;
}
.prose li::before {
  content: ""; position: absolute; left: 6px; top: .82em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
}
.prose .note {
  padding: 16px 20px;
  background: var(--sand);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  font-size: var(--step--1);
  color: var(--muted);
}
.prose .updated { font-size: var(--step--1); color: var(--muted); }

.notfound {
  min-height: 76svh;
  display: grid; place-items: center; text-align: center;
  padding-top: var(--header-h);
}
.notfound__code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 11rem);
  font-weight: 900; line-height: 1;
  letter-spacing: -.05em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(14,74,95,.25);
}
.notfound h1 { font-size: var(--step-3); margin-block: 18px 14px; }
.notfound p { color: var(--muted); margin-bottom: 30px; }

.thanks {
  min-height: 76svh;
  display: grid; place-items: center; text-align: center;
  padding-top: var(--header-h);
}
.thanks__icon {
  width: 76px; height: 76px; margin: 0 auto 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(6,199,85,.12); color: #06C755;
}
.thanks__icon svg { width: 36px; height: 36px; }

/* --- reveal on scroll --------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}

/* --- print -------------------------------------------------------------- */
@media print {
  .header, .footer, .hero__scroll, .form, .langswitch, .burger { display: none !important; }
  body { color: #000; }
  .section { padding-block: 18px; }
}
