/* Reiki Yuki Healing
   Palette and type are deliberately narrow: washi paper, sumi ink, one vermilion seal.
   Light-only by design — the paper metaphor is the whole aesthetic. */

:root {
  color-scheme: light;

  --washi: #f2efe9;
  --washi-deep: #e9e5dd;
  --washi-edge: #ddd8ce;
  --sumi: #17161b;
  --sumi-soft: #3b3942;
  --ash: #6f6c76;
  --ash-light: #97949c;
  --shu: #9c3b2e;
  --rule: rgba(23, 22, 27, 0.14);
  --rule-faint: rgba(23, 22, 27, 0.07);

  --mincho: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Songti SC", Georgia,
    "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --measure: 34rem;
  --gutter: clamp(1.5rem, 5vw, 6rem);
  --rhythm: clamp(5rem, 12vw, 11rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--washi);
  color: var(--sumi);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Paper grain, laid over everything. Pointer-events off so it never eats a click. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

::selection {
  background: var(--sumi);
  color: var(--washi);
}

:focus-visible {
  outline: 1.5px solid var(--shu);
  outline-offset: 4px;
}

/* ---------------------------------------------------------------- type */

h1,
h2,
h3 {
  font-family: var(--mincho);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.24;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0 0 1.35em;
  max-width: var(--measure);
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

.lede {
  font-family: var(--mincho);
  font-size: clamp(1.25rem, 1.05rem + 0.85vw, 1.6rem);
  line-height: 1.6;
  color: var(--sumi-soft);
}

/* Vertical section marker — Japanese typesetting, used as a spine not decoration. */
.marker {
  writing-mode: vertical-rl;
  font-family: var(--mincho);
  font-size: 0.8125rem;
  letter-spacing: 0.42em;
  color: var(--ash-light);
  white-space: nowrap;
  user-select: none;
}

.eyebrow {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ash);
  margin: 0 0 1.75rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.75rem;
  height: 1px;
  background: var(--shu);
  vertical-align: 0.3em;
  margin-right: 0.85rem;
}

/* ---------------------------------------------------------------- layout */

.shell {
  max-width: 78rem;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

section {
  position: relative;
  padding-block: var(--rhythm);
}

.rule-top {
  border-top: 1px solid var(--rule-faint);
}

/* Two-column: vertical marker in a narrow spine, content beside it. */
.spread {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  grid-template-columns: 1fr;
}

@media (min-width: 60rem) {
  .spread {
    grid-template-columns: 3.5rem minmax(0, 1fr);
    align-items: start;
  }
}

/* ---------------------------------------------------------------- nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--washi) 86%, transparent);
  backdrop-filter: saturate(120%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s ease, background 0.4s ease;
}

.nav[data-lifted="true"] {
  border-bottom-color: var(--rule-faint);
  background: color-mix(in srgb, var(--washi) 94%, transparent);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 5rem;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.7rem;
  text-decoration: none;
  font-family: var(--mincho);
  font-size: 1.0625rem;
  letter-spacing: 0.14em;
}

/* 靈氣 — the pre-war orthography. Modern Western reiki writes 霊気; the old form is
   the one used in the 1930s material, which is the point. */
.wordmark__kanji {
  color: var(--shu);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
}

.nav__links {
  display: none;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: center;
}

@media (min-width: 60rem) {
  .nav__links {
    display: flex;
  }
}

.nav__links a {
  text-decoration: none;
  font-size: 0.8125rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--sumi-soft);
  padding-block: 0.35rem;
  position: relative;
}

/* Small-screen counterpart to .nav__links — one link, no menu. */
.nav__book {
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sumi);
  border-bottom: 1px solid var(--shu);
  padding-bottom: 0.3rem;
  flex-shrink: 0;
}

@media (min-width: 60rem) {
  .nav__book {
    display: none;
  }
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--sumi);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.nav__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.05rem 1.9rem;
  border: 1px solid var(--sumi);
  background: var(--sumi);
  color: var(--washi);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.45s ease, border-color 0.45s ease;
}

.btn span {
  position: relative;
  z-index: 1;
}

/* Ink drains away on hover rather than a colour swap. */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--washi);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.btn:hover {
  color: var(--sumi);
}

.btn:hover::before {
  transform: scaleY(1);
}

.btn--ghost {
  background: transparent;
  color: var(--sumi);
  border-color: var(--rule);
}

.btn--ghost::before {
  background: var(--sumi);
}

.btn--ghost:hover {
  color: var(--washi);
  border-color: var(--sumi);
}

.btn__arrow {
  width: 1.4rem;
  height: 1px;
  background: currentColor;
  position: relative;
  z-index: 1;
  transition: width 0.35s ease;
}

.btn:hover .btn__arrow {
  width: 2.1rem;
}

/* ---------------------------------------------------------------- hero */

.hero {
  min-height: min(92svh, 54rem);
  display: flex;
  align-items: center;
  padding-block: clamp(4rem, 10vw, 7rem) var(--rhythm);
  position: relative;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 7vw, 5rem);
  align-items: center;
  width: 100%;
}

@media (min-width: 62rem) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(3rem, 6vw, 6rem);
  }
}

.hero h1 {
  font-size: clamp(2.4rem, 1.4rem + 4.4vw, 4.6rem);
  line-height: 1.12;
  letter-spacing: -0.005em;
  margin-bottom: 1.9rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--shu);
}

.hero__sub {
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.2rem);
  color: var(--sumi-soft);
  max-width: 30rem;
  margin-bottom: 2.75rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
}

.hero__note {
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--ash);
}

/* Ensō — drawn as an arc with a deliberate opening. Not a logo; a breath mark. */
.enso {
  width: min(100%, 30rem);
  margin-inline: auto;
  aspect-ratio: 1;
  position: relative;
}

.enso svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* A brush loses ink as it travels: heavy at the start, dry at the tail. Faked with
   a dash gradient is impossible, so the stroke tapers via stroke-width + opacity
   on a single pass and lets the displacement filter supply the tooth. */
.enso__stroke {
  fill: none;
  stroke: var(--sumi);
  stroke-width: 6;
  stroke-linecap: round;
  filter: url(#inkEdge);
  opacity: 0.9;
}

.enso__kanji {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--mincho);
  font-size: clamp(2.6rem, 6vw, 3.9rem);
  letter-spacing: 0.1em;
  color: var(--sumi);
  opacity: 0.86;
  pointer-events: none;
}

.enso__kanji small {
  display: block;
  font-family: var(--sans);
  font-size: 0.6875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ash);
  margin-top: 1.1rem;
}

/* Ink bloom washes. Absolutely positioned, always behind, never interactive.
   The turbulence is baked into a data-URI image rather than run as a live filter
   on an element: as an image the browser rasterizes it once and caches it, where
   a live feTurbulence + mix-blend-mode repaints on every scroll frame and stalls
   the compositor. Same look, none of the cost. */
.wash {
  position: absolute;
  pointer-events: none;
  z-index: -1;
  aspect-ratio: 1;
  opacity: 0.5;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='b' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.008 0.012' numOctaves='4' seed='3' result='t'/%3E%3CfeGaussianBlur in='t' stdDeviation='9' result='g'/%3E%3CfeColorMatrix in='g' type='matrix' values='0 0 0 0 0.09 0 0 0 0 0.085 0 0 0 0 0.105 0 0 0 -1.4 0.95'/%3E%3C/filter%3E%3CradialGradient id='f' cx='50%25' cy='50%25' r='50%25'%3E%3Cstop offset='0%25' stop-color='%23fff' stop-opacity='1'/%3E%3Cstop offset='45%25' stop-color='%23fff' stop-opacity='.75'/%3E%3Cstop offset='78%25' stop-color='%23fff' stop-opacity='.18'/%3E%3Cstop offset='100%25' stop-color='%23fff' stop-opacity='0'/%3E%3C/radialGradient%3E%3Cmask id='m'%3E%3Crect width='600' height='600' fill='url(%23f)'/%3E%3C/mask%3E%3Crect width='600' height='600' filter='url(%23b)' mask='url(%23m)'/%3E%3C/svg%3E");
}

.wash--hero {
  top: -14%;
  right: -18%;
  width: 62%;
  min-width: 30rem;
  opacity: 0.32;
}

.wash--mid {
  bottom: -30%;
  left: -22%;
  width: 55%;
  min-width: 26rem;
  opacity: 0.22;
}

/* ---------------------------------------------------------------- lineage */

.lineage__body {
  max-width: var(--measure);
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.lineage h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.6rem);
  margin-bottom: 1.5rem;
}

.chain {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  counter-reset: gen;
}

.chain li {
  position: relative;
  padding: 1.6rem 0 1.6rem 3.25rem;
  border-top: 1px solid var(--rule-faint);
  counter-increment: gen;
}

.chain li:last-child {
  border-bottom: 1px solid var(--rule-faint);
}

/* The vertical thread running through the lineage. */
.chain li::before {
  content: "";
  position: absolute;
  left: 0.6rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--rule);
}

.chain li:first-child::before {
  top: 50%;
}

.chain li:last-child::before {
  bottom: 50%;
}

.chain li::after {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: -0.275rem;
  border-radius: 50%;
  background: var(--washi);
  border: 1px solid var(--ash-light);
}

.chain li[data-current]::after {
  background: var(--shu);
  border-color: var(--shu);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--shu) 14%, transparent);
}

.chain__name {
  font-family: var(--mincho);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem;
}

.chain__name span {
  font-family: var(--sans);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash-light);
}

.chain__role {
  font-size: 0.9375rem;
  color: var(--ash);
  margin: 0.3rem 0 0;
  max-width: 42rem;
}

/* ---------------------------------------------------------------- benefits */

.benefits {
  background: var(--sumi);
  color: var(--washi);
  position: relative;
  overflow: hidden;
}

.benefits .marker,
.benefits .eyebrow {
  color: rgba(242, 239, 233, 0.5);
}

.benefits h2 {
  color: var(--washi);
  font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.6rem);
  margin-bottom: 1.5rem;
  max-width: 32rem;
}

.benefits .lede {
  color: rgba(242, 239, 233, 0.62);
  margin-bottom: clamp(2.75rem, 5vw, 4rem);
}

/* Every item is something the method gives, so every item gets the same seal-red
   mark — no struck-through column. The list flows across two columns purely as
   layout; the reading order is unchanged. */
.gains {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0 clamp(2.5rem, 5vw, 4.5rem);
}

@media (min-width: 48rem) {
  .gains {
    grid-template-columns: 1fr 1fr;
  }
}

.gains li {
  padding: 1.4rem 0 1.4rem 2rem;
  border-top: 1px solid rgba(242, 239, 233, 0.09);
  position: relative;
  font-size: 1.0625rem;
  color: rgba(242, 239, 233, 0.9);
}

.gains li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.85rem;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--shu);
}

.gains li b {
  font-weight: 400;
  color: var(--washi);
}

.gains li small {
  display: block;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(242, 239, 233, 0.5);
  margin-top: 0.25rem;
}

/* ---------------------------------------------------------------- method */

.method__grid {
  display: grid;
  gap: 0;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--rule-faint);
}

@media (min-width: 52rem) {
  .method__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.method__item {
  padding: clamp(2rem, 4vw, 2.75rem) 0;
  border-bottom: 1px solid var(--rule-faint);
}

@media (min-width: 52rem) {
  .method__item:nth-child(odd) {
    padding-right: clamp(2rem, 5vw, 4rem);
    border-right: 1px solid var(--rule-faint);
  }

  .method__item:nth-child(even) {
    padding-left: clamp(2rem, 5vw, 4rem);
  }
}

.method__jp {
  font-family: var(--mincho);
  font-size: 1.5rem;
  letter-spacing: 0.14em;
  color: var(--shu);
  margin: 0 0 0.6rem;
  line-height: 1;
}

.method__item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}

.method__item p {
  font-size: 0.9375rem;
  color: var(--ash);
  margin: 0;
}

/* ---------------------------------------------------------------- sessions */

.sessions__grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

@media (min-width: 52rem) {
  .sessions__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  border: 1px solid var(--rule);
  background: color-mix(in srgb, var(--washi-deep) 55%, transparent);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.card:hover {
  border-color: var(--sumi);
  transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
  .card:hover {
    transform: none;
  }
}

.card__jp {
  font-family: var(--mincho);
  font-size: 0.9375rem;
  letter-spacing: 0.3em;
  color: var(--ash-light);
  margin: 0 0 1.1rem;
}

.card h3 {
  font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.7rem);
  margin-bottom: 1rem;
}

.card p {
  color: var(--ash);
  font-size: 0.9375rem;
  margin-bottom: 2rem;
}

.card__meta {
  margin-top: auto;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule-faint);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--sumi-soft);
}

.card__meta dt {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash-light);
  margin-bottom: 0.3rem;
}

.card__meta dd {
  margin: 0;
  font-family: var(--mincho);
  font-size: 1.05rem;
}

/* ---------------------------------------------------------------- portrait */

.about__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

@media (min-width: 58rem) {
  .about__grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  }
}

/* Photo slots: real images drop in already treated — grayscale, high contrast. */
.plate {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--washi-deep);
  border: 1px solid var(--rule-faint);
  overflow: hidden;
}

.plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.16);
}

.plate__empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ash-light);
  line-height: 2;
}

.about h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.6rem);
  margin-bottom: 1.5rem;
}

.about__quote {
  font-family: var(--mincho);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  line-height: 1.65;
  color: var(--sumi);
  border-left: 1px solid var(--shu);
  padding-left: 1.5rem;
  margin: 2.25rem 0 0;
  max-width: 32rem;
}

.about__ig {
  font-family: var(--mincho);
  font-size: 1.05rem;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.35rem;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.about__ig:hover {
  color: var(--shu);
  border-color: var(--shu);
}

/* ---------------------------------------------------------------- faq */

.faq__list {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--rule-faint);
  max-width: 46rem;
}

.faq__item {
  border-bottom: 1px solid var(--rule-faint);
}

.faq__q {
  width: 100%;
  background: none;
  border: 0;
  padding: 1.75rem 3rem 1.75rem 0;
  text-align: left;
  font-family: var(--mincho);
  font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.2rem);
  color: var(--sumi);
  cursor: pointer;
  position: relative;
  line-height: 1.5;
}

.faq__q:hover {
  color: var(--shu);
}

/* Plus that becomes a minus. Two bars, one rotates. */
.faq__sign {
  position: absolute;
  right: 0.25rem;
  top: 50%;
  width: 0.85rem;
  height: 0.85rem;
  margin-top: -0.425rem;
}

.faq__sign::before,
.faq__sign::after {
  content: "";
  position: absolute;
  background: var(--ash);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.3, 1), background 0.3s ease;
}

.faq__sign::before {
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  margin-top: -0.5px;
}

.faq__sign::after {
  top: 0;
  left: 50%;
  height: 100%;
  width: 1px;
  margin-left: -0.5px;
}

.faq__q[aria-expanded="true"] .faq__sign::after {
  transform: rotate(90deg);
}

.faq__q[aria-expanded="true"] .faq__sign::before,
.faq__q[aria-expanded="true"] .faq__sign::after {
  background: var(--shu);
}

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.faq__a[data-open="true"] {
  grid-template-rows: 1fr;
}

.faq__a > div {
  overflow: hidden;
}

.faq__a p {
  color: var(--ash);
  font-size: 0.9375rem;
  max-width: 40rem;
  padding-bottom: 1.9rem;
}

@media (prefers-reduced-motion: reduce) {
  .faq__a {
    transition: none;
  }
}

/* ---------------------------------------------------------------- booking */

.book {
  position: relative;
  overflow: hidden;
}

.book__grid {
  display: grid;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: start;
}

@media (min-width: 58rem) {
  .book__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }
}

.book h2 {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem);
  margin-bottom: 1.5rem;
}

.book__aside p {
  color: var(--ash);
}

.book__contact {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.25rem;
}

.book__contact a {
  font-family: var(--mincho);
  font-size: 1.05rem;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.35rem;
  width: fit-content;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.book__contact a:hover {
  color: var(--shu);
  border-color: var(--shu);
}

.form {
  display: grid;
  gap: 1.5rem;
}

.field {
  display: grid;
  gap: 0.6rem;
}

.field label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
}

.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--sumi);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 0.75rem 0;
  border-radius: 0;
  transition: border-color 0.3s ease;
  width: 100%;
}

.field textarea {
  resize: vertical;
  min-height: 5.5rem;
  line-height: 1.7;
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ash) 50%),
    linear-gradient(135deg, var(--ash) 50%, transparent 50%);
  background-position: calc(100% - 9px) calc(50% + 1px), calc(100% - 4px) calc(50% + 1px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--sumi);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--ash-light);
}

.form__row {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 34rem) {
  .form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
  margin-top: 0.75rem;
}

.form__note {
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--ash-light);
  max-width: 22rem;
  margin: 0;
}

.form__status {
  font-size: 0.875rem;
  color: var(--shu);
  min-height: 1.5rem;
  margin: 0;
}

/* ---------------------------------------------------------------- footer */

.footer {
  border-top: 1px solid var(--rule-faint);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem;
  font-size: 0.8125rem;
  color: var(--ash);
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem 3rem;
  padding-bottom: 3rem;
}

.footer__seal {
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  border: 1.5px solid var(--shu);
  color: var(--shu);
  font-family: var(--mincho);
  font-size: 1rem;
  letter-spacing: 0.05em;
  line-height: 1.15;
  text-align: center;
  flex-shrink: 0;
  opacity: 0.9;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__nav a {
  text-decoration: none;
  color: var(--sumi-soft);
  transition: color 0.3s ease;
}

.footer__nav a:hover {
  color: var(--shu);
}

.footer__disclaimer {
  border-top: 1px solid var(--rule-faint);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 3rem;
}

.footer__disclaimer p {
  font-size: 0.75rem;
  line-height: 1.75;
  color: var(--ash-light);
  max-width: 44rem;
  margin: 0;
}

/* ---------------------------------------------------------------- reveal */

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.3, 1),
    transform 0.9s cubic-bezier(0.2, 0.7, 0.3, 1);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.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;
}
