@font-face { font-family: 'Halant'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/halant-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Halant'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/halant-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Halant'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/halant-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Halant'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/halant-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Halant'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/halant-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'IBM Plex Sans Hebrew'; font-style: normal; font-weight: 100; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-hebrew-latin-100-normal.woff2") format("woff2"); }
@font-face { font-family: 'IBM Plex Sans Hebrew'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-hebrew-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'IBM Plex Sans Hebrew'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-hebrew-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'IBM Plex Sans Hebrew'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-hebrew-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'IBM Plex Sans Hebrew'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-hebrew-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'IBM Plex Sans Hebrew'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-hebrew-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'IBM Plex Sans Hebrew'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-hebrew-latin-700-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #eef0e6;
  --fg-light-base-body: #1b1f18;
  --fg-light-base-heading: #1b1f18;
  --fg-light-base-muted: #50574a;
  --fg-light-base-link: #386525;
  --fg-light-base-inverse: #1f3317;
  --bg-light-card: #f9faf4;
  --fg-light-card-body: #1b1f18;
  --fg-light-card-heading: #1b1f18;
  --fg-light-card-muted: #50574a;
  --fg-light-card-link: #386525;
  --fg-light-card-inverse: #1f3317;
  --bg-light-elevated: #e2e7d6;
  --fg-light-elevated-body: #1b1f18;
  --fg-light-elevated-heading: #1b1f18;
  --fg-light-elevated-muted: #50574a;
  --fg-light-elevated-link: #386525;
  --fg-light-elevated-inverse: #1f3317;
  --brand-light-accent: #386525;
  --brand-light-accent-hover: #234e18;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #386525;
  --border-light-default: #6c7563;
  --border-light-subtle: #c9cfbc;
}
.bg-surface-base { background: var(--bg-light-base); --fg-body: var(--fg-light-base-body); --fg-heading: var(--fg-light-base-heading); --fg-muted: var(--fg-light-base-muted); --fg-link: var(--fg-light-base-link); --fg-inverse: var(--fg-light-base-inverse); }
.bg-surface-card { background: var(--bg-light-card); --fg-body: var(--fg-light-card-body); --fg-heading: var(--fg-light-card-heading); --fg-muted: var(--fg-light-card-muted); --fg-link: var(--fg-light-card-link); --fg-inverse: var(--fg-light-card-inverse); }
.bg-surface-elevated { background: var(--bg-light-elevated); --fg-body: var(--fg-light-elevated-body); --fg-heading: var(--fg-light-elevated-heading); --fg-muted: var(--fg-light-elevated-muted); --fg-link: var(--fg-light-elevated-link); --fg-inverse: var(--fg-light-elevated-inverse); }
.text-role-body { color: var(--fg-body); overflow-wrap: anywhere; }
.text-role-heading { color: var(--fg-heading); overflow-wrap: anywhere; }
.text-role-muted { color: var(--fg-muted); }
.text-role-link { color: var(--fg-link); }
.text-role-inverse { color: var(--fg-inverse); }
.text-role-link { text-decoration: underline; }
.text-role-link:hover { color: var(--brand-light-accent-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus-light-ring); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.site-logo { max-width: 100%; height: auto; }
.site-menu > summary { list-style: none; cursor: pointer; }
.site-menu > summary::-webkit-details-marker { display: none; }
:where(section[data-section][style]) { background-size: cover; background-position: center; padding: clamp(1.5rem, 4vw, 3rem); }
:where(section[data-section][style] > .bg-surface-card) { padding: clamp(1rem, 3vw, 2rem); }
:where(section[data-section][style] > .bg-surface-card > :first-child) { margin-top: 0; }
:where(section[data-section][style] > .bg-surface-card > :last-child) { margin-bottom: 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: static; padding: 0.25rem 0.5rem; outline: 2px solid var(--focus-light-ring); }

/* Spa journal: sage paper, Halant serif headlines, herbal green on rules and drop caps. */
:root {
  --serif: 'Halant', Georgia, 'Times New Roman', serif;
  --sans: 'IBM Plex Sans Hebrew', 'Segoe UI', system-ui, sans-serif;
  --herb: var(--brand-light-accent);
  --herb-deep: var(--brand-light-accent-hover);
  --rule: var(--border-light-default);
  --hair: var(--border-light-subtle);
  --measure: 36rem;
  --page: 72rem;
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  background-image: radial-gradient(color-mix(in srgb, var(--border-light-subtle) 45%, transparent) 0.6px, transparent 0.8px);
  background-size: 5px 5px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0;
}
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 3rem 0 0.75rem; }
h3 { font-size: 1.3rem; margin: 2rem 0 0.5rem; }

p { margin: 0 0 1.15rem; }
ul, ol { padding-left: 1.25rem; margin: 0 0 1.15rem; }
li { margin-bottom: 0.4rem; }

.text-role-link { text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.text-role-link:hover { text-decoration-thickness: 2px; }

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

/* ---------- Masthead ---------- */

.site-header {
  position: relative;
  z-index: 5;
  padding: 1rem 1rem 0;
}

.masthead {
  max-width: var(--page);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
}

.brand { display: inline-block; line-height: 0; text-decoration: none; }
.brand .site-logo { width: 15rem; height: auto; }

.masthead-strap { display: none; }

.contents-bar {
  max-width: var(--page);
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--rule);
  border-bottom: 3px double var(--herb);
  padding: 0.5rem 0;
}

/* Collapsed menu: narrow screens */
.site-menu { position: relative; }
.site-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0.3rem 0.2rem;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
}
.menu-icon {
  position: relative;
  width: 1.1rem;
  height: 0.75rem;
  border-top: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
}
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0.35rem;
  top: 50%;
  border-top: 1.5px solid var(--herb);
  transform: translateY(-50%);
}
.site-menu > ul {
  position: absolute;
  right: 0;
  top: calc(100% + 0.6rem);
  width: min(21rem, calc(100vw - 2rem));
  max-height: 75vh;
  overflow: auto;
  margin: 0;
  padding: 1rem 1.2rem;
  list-style: none;
  background: var(--bg-light-card);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--herb);
}
.site-menu li { margin: 0; }
.site-menu > ul > li { padding: 0.3rem 0; border-bottom: 1px solid var(--hair); }
.site-menu > ul > li:last-child { border-bottom: 0; }
.site-menu > ul > li > a { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; }
.site-menu a { display: block; padding: 0.4rem 0; }
.site-menu ul ul { list-style: none; margin: 0 0 0.4rem; padding-left: 0.9rem; border-left: 2px solid var(--herb); }
.site-menu ul ul a { font-size: 0.95rem; line-height: 1.4; }

.site-nav { display: none; }

@media (min-width: 60rem) {
  .site-header { padding-top: 2rem; }
  .masthead { flex-direction: column; text-align: center; gap: 0.35rem; padding-bottom: 1.1rem; }
  .brand .site-logo { width: 23rem; }
  .masthead-strap {
    display: block;
    margin: 0;
    font-family: var(--serif);
    font-size: 1.05rem;
    letter-spacing: 0.02em;
  }
  .contents-bar { justify-content: center; padding: 0; }
  .site-menu { display: none; }
  .site-nav { display: block; }
  .site-nav > ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 2.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .site-nav li { margin: 0; }
  .site-nav > ul > li { position: relative; }
  .site-nav > ul > li > a,
  .site-nav-group > summary {
    display: block;
    padding: 0.8rem 0;
    font-family: var(--serif);
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.3;
  }
  .site-nav > ul > li > a { text-decoration: none; }
  .site-nav > ul > li > a:hover { text-decoration: underline; }
  .site-nav-group > summary {
    cursor: pointer;
    list-style: none;
    padding-right: 1.1rem;
    position: relative;
  }
  .site-nav-group > summary::-webkit-details-marker { display: none; }
  .site-nav-group > summary::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 0.4rem;
    height: 0.4rem;
    border-right: 1.5px solid var(--herb);
    border-bottom: 1.5px solid var(--herb);
    transform: translateY(-70%) rotate(45deg);
  }
  .site-nav-group[open] > summary::after { transform: translateY(-20%) rotate(-135deg); }
  .site-nav-group > ul {
    position: absolute;
    left: 50%;
    top: 100%;
    width: 19rem;
    margin: 0;
    padding: 0.9rem 1.2rem;
    list-style: none;
    transform: translateX(-50%);
    background: var(--bg-light-card);
    border: 1px solid var(--rule);
    border-top: 3px solid var(--herb);
    text-align: left;
  }
  .site-nav-group > ul > li { border-bottom: 1px solid var(--hair); }
  .site-nav-group > ul > li:last-child { border-bottom: 0; }
  .site-nav-group > ul > li:first-child a { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; }
  .site-nav-group a { display: block; padding: 0.45rem 0; font-size: 0.95rem; line-height: 1.4; }
}

/* ---------- Page frame ---------- */

.paper { padding: 0 1rem; }

.breadcrumbs { max-width: var(--page); margin: 1.25rem auto 0; font-size: 0.9rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.25rem 0.55rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.55rem; color: var(--rule); }

.photo-hero, .photo-inline { margin: 0 0 2rem; }
.photo-hero img, .photo-inline img { display: block; width: 100%; }
.photo-inline img { border-top: 3px solid var(--herb); }

.accent-block {
  margin: 2.25rem 0;
  padding: 0.5rem 0 0.5rem 1.4rem;
  border-left: 3px solid var(--herb);
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.45;
}
.accent-block > :last-child { margin-bottom: 0; }

.table-scroll { overflow-x: auto; margin: 0 0 1.5rem; }
.table-scroll table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.table-scroll th, .table-scroll td { padding: 0.55rem 0.7rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hair); }
.table-scroll th { font-family: var(--serif); border-bottom-color: var(--rule); }

section[data-section][style] { margin: 2.25rem 0; padding: clamp(1.25rem, 4vw, 3rem); background-size: cover; background-position: center; }
section[data-section][style] > .bg-surface-card { max-width: 30rem; padding: clamp(1rem, 3vw, 1.75rem); }

/* Herbal drop cap, shared by the lead paragraph of a read */
.read-body > p:first-of-type::first-letter,
.issue-body > p:first-of-type::first-letter,
.letter-body > p:first-of-type::first-letter {
  float: left;
  margin: 0.32rem 0.6rem 0 0;
  font-family: var(--serif);
  font-size: 4.1em;
  font-weight: 500;
  line-height: 0.8;
  color: var(--herb);
}

/* ---------- Home: seasonal issue, stepped ---------- */

.issue { max-width: var(--page); margin: 0 auto; padding: 2rem 0 4.5rem; }

.cover {
  padding: clamp(1.5rem, 5vw, 3.5rem);
  border-top: 3px solid var(--herb);
}
.cover-head h1 { max-width: 15ch; }
.cover-lines { margin-top: 1.75rem; }
.display-line { max-width: 30rem; margin: 0 0 0.6rem; font-size: 1.08rem; }
.display-line:last-child { margin-bottom: 0; color: var(--fg-muted); }

.issue-body { margin-top: 2.5rem; }
.issue-body > * { max-width: var(--measure); }
.issue-body > .photo-hero { max-width: none; }
.issue-body > p:first-of-type { font-size: 1.2rem; line-height: 1.6; }
.issue-body > h2 { padding-top: 1rem; border-top: 1px solid var(--hair); }
.issue-body > h2::before {
  content: "";
  display: block;
  width: 3rem;
  margin: -1.05rem 0 1rem;
  border-top: 3px solid var(--herb);
}

@media (min-width: 52rem) {
  .cover {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    column-gap: 3rem;
    align-items: end;
  }
  .cover-lines { margin-top: 0; padding-left: 1.5rem; border-left: 1px solid var(--rule); }
  .issue-body > h2:nth-of-type(1),
  .issue-body > h2:nth-of-type(1) ~ * { margin-left: 5rem; }
  .issue-body > h2:nth-of-type(2),
  .issue-body > h2:nth-of-type(2) ~ * { margin-left: 11rem; }
  .issue-body > h2:nth-of-type(3),
  .issue-body > h2:nth-of-type(3) ~ * { margin-left: 17rem; }
  .issue-body > h2:nth-of-type(n+2) ~ * { font-size: 1rem; }
}

/* ---------- Topic hub: contents grid ---------- */

.section-page { max-width: var(--page); margin: 0 auto; padding: 2rem 0 4.5rem; }
.section-head { max-width: 44rem; margin-bottom: 2rem; padding-bottom: 1.25rem; border-bottom: 3px double var(--herb); }
.section-body > * { max-width: var(--measure); }
.section-body > .photo-hero { max-width: 48rem; }

.contents { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.contents-title { margin: 0 0 1.5rem; }
.contents ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.contents li {
  margin: 0;
  padding: 1rem 0 0;
  border-top: 3px solid var(--herb);
}
.contents li a {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}
.contents li a:hover { text-decoration: underline; }

/* ---------- Article: long read ---------- */

.long-read { max-width: 46rem; margin: 0 auto; padding: 2rem 0 5rem; }
.read-head { margin-bottom: 2.25rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--rule); }
.read-head h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); }
.read-body { max-width: var(--measure); margin: 0 auto; }
.read-body > .photo-hero { margin-left: calc((var(--measure) - 46rem) / 2); margin-right: calc((var(--measure) - 46rem) / 2); }
.read-body > h2 { text-align: center; margin-top: 3.5rem; }
.read-body > h2::before {
  content: "";
  display: block;
  width: 2.5rem;
  margin: 0 auto 1.25rem;
  border-top: 3px solid var(--herb);
}
@media (max-width: 47rem) {
  .read-body > .photo-hero { margin-left: 0; margin-right: 0; }
}

/* ---------- About: masthead, split ---------- */

.masthead-page { max-width: var(--page); margin: 0 auto; padding: 2rem 0 4.5rem; display: grid; gap: 2.5rem; }
.letter-head { margin-bottom: 2rem; }
.letter-body > * { max-width: var(--measure); }
.covers { align-self: start; padding: clamp(1.25rem, 3vw, 2rem); border-top: 3px solid var(--herb); }
.covers-title { margin: 0 0 1rem; font-size: 1.4rem; }
.covers-list { margin: 0; padding: 0; list-style: none; }
.covers-list li { margin: 0; padding: 0.6rem 0; border-bottom: 1px solid var(--rule); }
.covers-list li:last-child { border-bottom: 0; }
.covers-list a { font-family: var(--serif); font-size: 1.12rem; font-weight: 600; }

@media (min-width: 56rem) {
  .masthead-page { grid-template-columns: minmax(0, 2fr) minmax(16rem, 1fr); column-gap: 4rem; }
  .covers { margin-top: 7rem; }
}

/* ---------- Contact: letters to the editor ---------- */

.letters { max-width: 38rem; margin: 0 auto; padding: 2rem 0 4.5rem; text-align: center; }
.letters-head { margin-bottom: 1.75rem; }
.letters-body { text-align: left; }
.letters-body > h2 { text-align: center; font-size: 1.45rem; }
.letter-form {
  display: grid;
  gap: 1.15rem;
  margin-top: 2.5rem;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  text-align: left;
  border-top: 3px solid var(--herb);
  border-bottom: 1px solid var(--rule);
}
.field { display: grid; gap: 0.35rem; }
.field label { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; }
.field input, .field textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.6rem 0.2rem;
  font: inherit;
  color: var(--fg-light-card-body);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
}
.field textarea { resize: vertical; line-height: 1.9; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--herb); outline-offset: 2px; }
.letter-submit {
  justify-self: center;
  min-height: 2.75rem;
  padding: 0.6rem 1.6rem;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brand-light-on-accent);
  background: var(--herb);
  border: 0;
  border-radius: 0;
  cursor: pointer;
}
.letter-submit:hover { background: var(--herb-deep); }

/* ---------- Thank you: reply slip ---------- */

.reply-slip { max-width: 40rem; margin: 0 auto; padding: 3rem 0 5rem; }
.slip {
  padding: clamp(1.5rem, 5vw, 3rem);
  text-align: center;
  border-top: 3px solid var(--herb);
  border-bottom: 1px dashed var(--rule);
}
.slip-head h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 1.5rem; }
.slip-body { text-align: left; }
.slip-body > h2 { text-align: center; font-size: 1.35rem; }
.slip-next { margin: 2rem 0 0; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }

/* ---------- Colophon ---------- */

.site-footer { margin-top: 2rem; padding: 2.5rem 1rem 3rem; border-top: 3px double var(--herb); }
.colophon { max-width: var(--page); margin: 0 auto; text-align: center; }
.colophon-name { margin: 0 0 0.4rem; font-family: var(--serif); font-size: 1.4rem; font-weight: 600; }
.colophon-line { max-width: 34rem; margin: 0 auto 0.8rem; }
.colophon-ref { margin: 0; font-size: 0.92rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
