/* Tokens, reset and typography shared by every page. */
:root {
  --paper: #fff;
  --paper-deep: #f5f3ef;
  --ink: #22211f;
  /* No grey text on the site (client request): the softer inks are the same black. */
  --ink-soft: var(--ink);
  --ink-faint: var(--ink);
  --line: #d8d2c6;
  --accent: #b5463a;
  --white: #fff;

  --serif: 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --sans: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --latin: 'Cormorant Garamond', 'Times New Roman', serif;

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1280px;
  --header-h: 84px;
  --section-space: clamp(96px, 14vw, 200px);

  --ease-out: cubic-bezier(.19, 1, .22, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* In-page links stop below the fixed header. */
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: .06em;
  font-feature-settings: 'palt' 1;
  /* Cormorant's default old-style figures sink and shrink (1 looks like i); use full-height ones. */
  font-variant-numeric: lining-nums;
  word-break: auto-phrase;
  line-break: strict;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 8px 16px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.section {
  padding: var(--section-space) var(--gutter);
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
}

/* Label: a small Latin word over its Japanese meaning. */
.label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 15px;
  letter-spacing: .16em;
  color: var(--ink-soft);
}
.label-en {
  font-family: var(--latin);
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .08em;
  color: var(--accent);
}
.label--light { color: var(--white); }
/* On dark photos the English label stays red, a little brighter than --accent so it reads. */
.label--light .label-en { color: #e0604f; }

.section-title {
  margin-top: 12px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.55;
  letter-spacing: .1em;
}

.section-lead {
  margin-top: 16px;
  color: var(--ink-soft);
  line-height: 2;
}

.pc-only { display: none; }
@media (min-width: 900px) {
  .pc-only { display: inline; }
  .sp-only { display: none; }
}

@media (max-width: 599px) {
  body { font-size: 15px; }
  :root { --header-h: 64px; }
}
