:root {
  --paper: #f6f3ed;
  --paper-deep: #ece7dd;
  --ink: #292826;
  --muted: #67635d;
  --accent: #8d342d;
  --line: #b8afa1;
  --serif: Didot, "Bodoni MT", "Bodoni 72", Georgia, "Times New Roman", serif;
  --sans: Avenir, "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: min(88rem, calc(100% - 2.5rem));
}

* { box-sizing: border-box; }
html { max-width: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, .97rem + .12vw, 1.12rem);
  line-height: 1.7;
  max-width: 100%;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.intro-grid > *, .text-grid > *, .ichigo-grid > *, .studio-opening > *, .studio-method > *, .family-grid > *, .about-grid > *, .contact > * { min-width: 0; }
.skip-link { position: fixed; z-index: 100; top: .75rem; left: .75rem; transform: translateY(-180%); padding: .65rem 1rem; background: var(--ink); color: var(--paper); }
.skip-link:focus { transform: none; }
.site-header { position: absolute; z-index: 2; inset: 0 0 auto; padding: 1rem 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; max-width: 15rem; font-size: .68rem; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.brand img { width: 2.4rem; height: 2.15rem; object-fit: contain; }
section { padding-block: clamp(5.5rem, 10vw, 10rem); }
h1, h2, .display-line { margin: 0; font-family: var(--serif); font-weight: 400; line-height: .98; letter-spacing: -.025em; }
h1 { max-width: 13ch; font-size: clamp(3.1rem, 9.2vw, 8.8rem); }
h1, h2 { overflow-wrap: break-word; hyphens: auto; }
h2 { font-size: clamp(2.4rem, 5.4vw, 5.8rem); }
p { margin: 0 0 1.15em; }
.eyebrow, .section-number { margin-bottom: 1.25rem; color: var(--accent); font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.intro-meta { margin-bottom: 1.25rem; }
.intro-meta .section-number, .intro-meta .eyebrow { margin-bottom: 0; }
.intro-meta .section-number { margin-bottom: .35rem; }
.lead { max-width: 48rem; margin-top: 2rem; font-size: clamp(1.15rem, 1rem + .55vw, 1.6rem); line-height: 1.55; }
.note { max-width: 42rem; color: var(--muted); font-size: .92rem; }
.prose { max-width: 43rem; }
.intro { min-height: 100svh; padding-top: clamp(8rem, 13vw, 12rem); }
.intro-grid { display: grid; gap: 3rem; }
.hero-image { margin: 0; }
.hero-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 60% center; }
.reflection { position: relative; max-width: 52rem; padding-top: 2rem; }
.reflection::before, .studio-method::before, .contact::before { content: ""; display: block; width: 4rem; border-top: 1px solid var(--accent); margin-bottom: 2rem; }
.section-crane { position: absolute; right: 0; top: 0; width: clamp(3rem, 8vw, 6rem); opacity: .13; }
.display-line { margin-bottom: 1.5rem; font-size: clamp(2rem, 4vw, 4rem); color: var(--accent); }
.reflection h2 { max-width: 14ch; font-size: clamp(2.6rem, 5.5vw, 6rem); margin-bottom: 2.5rem; }
.questions { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.45; }
.text-grid, .studio-method { display: grid; gap: 2.5rem; }
.garden-image { margin: clamp(4rem, 8vw, 8rem) 0; }
.garden-image img { width: 100%; aspect-ratio: 16 / 8.6; object-fit: cover; }
.ichigo-grid { display: grid; gap: 2rem; align-items: center; }
.japanese { color: var(--accent); font-family: "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", Georgia, serif; font-size: clamp(4.5rem, 15vw, 12rem); line-height: 1; letter-spacing: .04em; writing-mode: vertical-rl; justify-self: center; opacity: .82; }
.ichigo-grid h2 { max-width: 10ch; margin-bottom: 2.25rem; }
.studio-opening { display: grid; gap: 3rem; }
.studio-opening h2 span { display: block; }
.hands-image { margin: clamp(4rem, 8vw, 8rem) 0; }
.hands-image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.studio-method h2 { max-width: 12ch; font-size: clamp(2.5rem, 4.8vw, 5.2rem); }
.process-image { margin: clamp(4rem, 7vw, 7rem) 0 0; }
.process-image img { width: 100%; }
figcaption { margin-top: .8rem; color: var(--muted); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.families { padding-bottom: clamp(3rem, 6vw, 6rem); }
.family-grid { display: grid; gap: 3rem; }
.family-intro, .child-copy { max-width: 44rem; }
.family-intro h2, .child-copy h2 { margin-bottom: 2rem; }
.child-image { order: 2; margin: 0; align-self: end; }
.child-copy { order: 3; }
.child-image img { width: 100%; max-height: 34rem; object-fit: contain; }
.about-grid { display: grid; gap: 3.5rem; align-items: start; }
.portrait { margin: 0; }
.portrait img { width: 100%; aspect-ratio: 5 / 6.6; object-fit: cover; object-position: 50% 34%; }
.bio h2 { margin-bottom: 2.5rem; }
.credentials { padding: 0; margin: 0 0 3rem; list-style: none; border-top: 1px solid var(--line); }
.credentials li { padding: .72rem 0; border-bottom: 1px solid var(--line); }
.closing-copy { font-family: var(--serif); font-size: clamp(1.2rem, 1rem + .55vw, 1.65rem); line-height: 1.5; }
.contact { display: grid; gap: 2.5rem; margin-top: clamp(5rem, 10vw, 10rem); padding-top: 2rem; }
.contact h2 { max-width: 9ch; }
address { font-style: normal; }
.contact address { font-size: clamp(1rem, .9rem + .38vw, 1.3rem); overflow-wrap: anywhere; }
.contact-row { display: block; margin-top: .5rem; }
.site-footer { padding: 2rem 0; border-top: 1px solid var(--line); }
.footer-inner, .footer-brand, .site-footer nav { display: flex; align-items: center; }
.footer-inner { justify-content: space-between; gap: 1.5rem; }
.footer-brand { gap: .75rem; max-width: 19rem; font-size: .72rem; line-height: 1.3; }
.footer-brand img { width: 2.5rem; height: 2.2rem; object-fit: contain; }
.site-footer nav { gap: 1.25rem; font-size: .82rem; }
dialog { width: min(43rem, calc(100% - 1.5rem)); max-height: calc(100dvh - 1.5rem); padding: 0; border: 0; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: rgb(25 23 20 / .65); }
.dialog-inner { position: relative; padding: clamp(1.5rem, 5vw, 4rem); overflow-y: auto; max-height: calc(100dvh - 1.5rem); }
.dialog-inner h2 { margin: 2rem 0; font-size: clamp(2.5rem, 7vw, 4.5rem); }
.dialog-close { position: absolute; top: 1.25rem; right: 1.25rem; min-width: 5.5rem; min-height: 2.75rem; border: 1px solid var(--ink); background: transparent; color: inherit; font: inherit; cursor: pointer; }
.dialog-close:hover { background: var(--ink); color: var(--paper); }

@media (min-width: 48rem) {
  :root { --wrap: min(88rem, calc(100% - 5rem)); }
  .site-header { padding: 1.5rem 2.5rem; }
  .intro-grid { grid-template-columns: minmax(0, 1.05fr) minmax(20rem, .95fr); align-items: end; }
  .intro-copy { padding-top: 4rem; }
  .hero-image { grid-column: 2; grid-row: 1; }
  .hero-image img { aspect-ratio: 4 / 5.1; }
  .reflection { grid-column: 1 / -1; margin-top: 4rem; margin-left: 9vw; }
  .text-grid, .studio-method { grid-template-columns: minmax(15rem, .75fr) minmax(20rem, 1.25fr); }
  .ichigo-grid { grid-template-columns: minmax(12rem, .7fr) minmax(24rem, 1.3fr); }
  .studio-opening { grid-template-columns: minmax(18rem, .9fr) minmax(24rem, 1.1fr); align-items: end; }
  .family-grid { grid-template-columns: minmax(18rem, .9fr) minmax(20rem, 1.1fr); }
  .family-intro { grid-column: 1; }
  .child-image { grid-column: 1; grid-row: 2; order: initial; }
  .child-copy { grid-column: 2; grid-row: 1 / span 2; order: initial; align-self: center; }
  .about-grid { grid-template-columns: minmax(18rem, .78fr) minmax(25rem, 1.22fr); }
  .contact { grid-template-columns: .8fr 1.2fr; }
}

@media (min-width: 75rem) {
  .intro-grid { grid-template-columns: 1.12fr .88fr; }
  .hero-image { margin-right: -4vw; }
  .text-grid, .studio-method { padding-inline: 7vw; }
  .garden-image { width: calc(100% + 8vw); margin-left: -4vw; }
  .studio-opening { padding-inline: 4vw; }
  .family-grid { grid-template-columns: .8fr 1.2fr; column-gap: 8vw; }
  .child-image img { max-height: 41rem; }
  .about-grid { column-gap: 8vw; }
}

@media (max-width: 31rem) {
  :root { --wrap: calc(100% - 2rem); }
  .site-header { padding-inline: 1rem; }
  .brand span { max-width: 9rem; }
  section { padding-block: 4.5rem; }
  .intro { padding-top: 7.25rem; }
  h1 { font-size: clamp(2.72rem, 13vw, 3.55rem); }
  .hero-image img { aspect-ratio: 1 / 1; }
  .japanese { writing-mode: horizontal-tb; justify-self: start; font-size: clamp(3.8rem, 21vw, 6rem); }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .site-footer nav { width: 100%; justify-content: space-between; }
}

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