/* Hallmark custom · Stillroom Yoga · Small-group yoga and restorative classes */
/* Critique: each section follows the business-specific action and its materials. */
@font-face {
  font-family: "dm-serif";
  src: url("./fonts/dm-serif.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "dm-sans";
  src: url("./fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --paper: #fbf6eb;
  --ink: #403b50;
  --accent: #af8981;
  --lavender: #e7e0eb;
  --line: #938993;
  --peach: #ead8ca;
  --display: "dm-serif", Georgia, serif;
  --body: "dm-sans", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html,
body {
  overflow-x: clip;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
.wrap {
  width: min(calc(100% - clamp(2.25rem, 9vw, 9rem)), 82rem);
  margin-inline: auto;
}
h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin: 0;
}
h1,
h2,
h3,
.signature {
  font-family: var(--display);
  line-height: 1.02;
  letter-spacing: -0.04em;
  overflow-wrap: break-word;
  min-width: 0;
  font-weight: 400;
}
h1 {
  font-size: clamp(3.45rem, 7.4vw, 7.5rem);
}
h2 {
  font-size: clamp(2.3rem, 4.3vw, 4.6rem);
  text-wrap: balance;
}
h3 {
  font-size: clamp(1.45rem, 2.7vw, 2.5rem);
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-underline-offset: 0.25em;
}
button,
select {
  font: inherit;
  color: inherit;
}
a:focus-visible,
button:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}
a:hover {
  text-decoration-thickness: 2px;
}
button:disabled,
select:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 5.25rem;
}
.brand,
.signature {
  color: inherit;
  text-decoration: none;
}
.brand {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.5vw, 2.45rem);
  line-height: 1;
  letter-spacing: -0.055em;
}
nav {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 2rem);
}
nav a {
  font-size: 0.93rem;
  text-decoration: none;
  font-weight: 600;
}
nav a:hover {
  text-decoration: underline;
}
.skip {
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  z-index: 9;
  transform: translateY(-180%);
  background: var(--paper);
  color: var(--ink);
  padding: 0.6rem 1rem;
}
.skip:focus {
  transform: none;
}
.step {
  padding-block: clamp(3.25rem, 7vw, 7.2rem);
}
.choice-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.4rem 0;
}
.choice-list button {
  border: 1px solid currentColor;
  min-height: 2.75rem;
  background: transparent;
  padding: 0.55rem 1rem;
  cursor: pointer;
}
.choice-list button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.remarks {
  font-size: 0.88rem;
  margin-top: 1rem;
}
details {
  border-top: 1px solid currentColor;
  padding: 0.85rem 0;
}
details:last-child {
  border-bottom: 1px solid currentColor;
}
summary {
  cursor: pointer;
  font-weight: 600;
}
details p {
  margin-top: 0.55rem;
  max-width: 42rem;
}
footer {
  border-top: 1px solid var(--ink);
}
.foot {
  display: flex;
  gap: 1.25rem;
  justify-content: space-between;
  align-items: center;
  padding-block: 2.2rem;
}
.signature {
  font-size: 1.5rem;
}
.foot span,
.foot > a:last-child {
  font-size: 0.9rem;
}
@media (max-width: 690px) {
  header .wrap {
    min-height: 4.6rem;
  }
  nav {
    gap: 0.7rem;
  }
  nav a {
    font-size: 0.875rem;
  }
  .foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }
  .choice-list button {
    flex: 0 1 auto;
  }
}
@media (max-width: 445px) {
  .optional {
    display: none;
  }
  .wrap {
    width: calc(100% - 2rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  header,
  footer .foot > a:last-child,
  .skip,
  .choice-list {
    display: none;
  }
}
header .wrap {
  min-height: 5.4rem;
}
.brand {
  display: flex;
  gap: 0.7rem;
  align-items: center;
}
.still-mark {
  display: block;
  width: 1.6rem;
  height: 1.25rem;
  border: 1.5px solid var(--ink);
  border-radius: 1.5rem 1.5rem 0 0;
  border-bottom: 4px double var(--ink);
}
.quiet-practice {
  background: var(--lavender);
}
.quiet-practice h2 {
  font-size: clamp(2.3rem, 4vw, 4.1rem);
}
.still-classes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6%;
  margin-top: 2rem;
}
.still-classes article {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}
.still-classes p {
  margin: 0.75rem 0;
  max-width: 32ch;
}
.still-classes span {
  font-size: 0.95rem;
  font-weight: 600;
}
.still-times,
.first-visit > .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 10%;
}
.still-times h2 + p,
.first-visit h2 + p {
  margin: 1rem 0 1.5rem;
  max-width: 32rem;
}
.daylist {
  margin-top: 1rem;
}
.daylist > div,
.session {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 0.8rem 0;
}
.session strong {
  font-weight: 650;
}
.session p {
  font-size: 0.9rem;
}
.choice-list button {
  border-radius: 2rem;
}
.first-visit {
  background: var(--peach);
  padding-block: 3.5rem;
}
.still-detail img {
  width: 100%;
  height: clamp(16rem, 25vw, 26rem);
  object-fit: cover;
  border-radius: 0 40% 0 0;
}
.first-visit details {
  border-color: var(--line);
}
@media (max-width: 700px) {
  .still-classes {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.2rem;
  }
  .still-classes article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0 0.5rem;
    align-items: center;
  }
  .still-classes p {
    grid-column: 1/-1;
    grid-row: 2;
  }
  .still-classes span {
    grid-row: 1;
    grid-column: 2;
  }
  .still-times,
  .first-visit > .wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.35rem;
  }
}
:where(img) {
  height: auto;
}
.diary {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(3rem, 6vw, 6rem);
}
.diary > .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 9%;
  align-items: center;
}
.diary-leaf h2 {
  max-width: 9ch;
}
.diary-leaf p {
  max-width: 32ch;
  margin-top: 1rem;
}
.diary-page {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(1.15rem, 3vw, 2.7rem);
  border-radius: 0 2.8rem 0 0;
}
.diary-page label {
  display: block;
  font-weight: 650;
}
.diary-page select {
  display: block;
  margin-top: 0.45rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0;
  width: 100%;
  background: var(--paper);
  color: var(--ink);
  min-height: 44px;
}
.diary-entry {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.4rem;
  margin: 1.4rem 0;
  padding: 1rem 0;
  border-block: 1px solid var(--line);
  align-items: center;
}
.diary-entry p {
  margin-top: 0.45rem;
}
.diary-download {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: 600;
}
.diary-download:focus-visible {
  outline-color: var(--ink);
}
@media (max-width: 700px) {
  .diary > .wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.4rem;
  }
  .diary-leaf h2 {
    max-width: 15ch;
  }
  .diary-entry {
    gap: 0.8rem;
  }
}
.session a {
  display: inline-block;
  font-size: 0.9rem;
  margin: 0.35rem 0;
}
.interior-reading {
  max-width: 76rem;
  margin: auto;
  padding: clamp(1.2rem, 5vw, 5rem);
}
.interior-reading h1 {
  max-width: 14ch;
  font-size: clamp(3rem, 7.3vw, 7.2rem);
  line-height: 0.98;
}
.interior-reading h2 {
  font-size: clamp(1.8rem, 3.5vw, 3.4rem);
  margin: 0 0 0.7rem;
}
.interior-reading h3 {
  font-size: clamp(1.22rem, 2.1vw, 2.1rem);
  margin: 1rem 0 0.4rem;
}
.interior-reading p,
.interior-reading li {
  max-width: 66ch;
  line-height: 1.55;
}
.interior-reading p + p {
  margin-top: 0.75rem;
}
.interior-reading section {
  border-top: 1px solid currentColor;
  padding: clamp(1.2rem, 3vw, 2.6rem) 0;
}
.interior-reading figure {
  margin: 1.25rem 0;
}
.interior-reading figcaption {
  margin: 0.5rem 0;
  font-size: 0.85rem;
  line-height: 1.4;
}
.interior-reading a {
  display: inline-block;
  padding: 0.7rem 0;
  color: inherit;
  text-underline-offset: 0.2em;
}
.interior-reading .lead {
  font-size: 1.22rem;
  max-width: 52ch;
  margin: 1.3rem 0 2rem;
}
.guide-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 3vw, 3rem);
}
.photo-lead {
  display: grid;
  align-items: stretch;
  grid-template-columns: var(--lead-columns);
  background: var(--lead-bg);
  color: var(--lead-ink);
  width: 100%;
  margin: 0;
  isolation: isolate;
}
.photo-lead-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(2rem, 5vw, 6.5rem) clamp(1.15rem, 5.8vw, 7rem);
}
.photo-lead h1 {
  font-family: var(--display, inherit);
  font-weight: var(--lead-weight, 400);
  font-size: clamp(3.25rem, 6.8vw, 8.3rem);
  letter-spacing: -0.052em;
  line-height: 0.96;
  text-wrap: balance;
  color: inherit;
  max-width: 12ch;
  margin: 0;
}
.photo-lead p {
  font: inherit;
  font-size: clamp(1rem, 1.3vw, 1.3rem);
  line-height: 1.5;
  max-width: 39ch;
  margin: 1.15rem 0 0;
}
.photo-lead-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.4rem;
  margin: 1.15rem 0 0.2rem;
}
.photo-lead-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: inherit;
  font: inherit;
  line-height: 1.28;
  text-decoration: underline;
  text-underline-offset: 0.35em;
  text-decoration-thickness: 1px;
}
.photo-lead-links a:first-child {
  font-weight: 700;
  text-decoration-thickness: 2px;
}
.photo-lead-links a:hover {
  text-decoration-thickness: 3px;
}
.photo-lead-image {
  margin: 0;
  min-width: 0;
  position: relative;
}
.photo-lead-image img {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: var(--lead-pos, 50% 50%);
}
.photo-lead.side,
.photo-lead.reverse {
  min-height: clamp(27rem, 43vw, 43rem);
}
.photo-lead.reverse .photo-lead-image {
  grid-column: 1;
  grid-row: 1;
}
.photo-lead.reverse .photo-lead-text {
  grid-column: 2;
  grid-row: 1;
}
.interior-reading .guide-photo {
  width: 100%;
  display: block;
  height: auto;
  max-height: 29rem;
  object-fit: cover;
}
.interior-reading .guide-pair:has(> :only-child) {
  display: block;
}
.interior-reading .guide-pair:has(> :only-child) p {
  max-width: 68ch;
}
@media (max-width: 740px) {
  .photo-lead.side,
  .photo-lead.reverse {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .photo-lead .photo-lead-text,
  .photo-lead.reverse .photo-lead-text {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    max-width: none;
    position: static;
    background: none;
    padding: clamp(1.45rem, 5.5vw, 2.7rem) clamp(1.05rem, 5vw, 2.3rem);
  }
  .photo-lead h1 {
    font-size: clamp(2.7rem, 9.7vw, 5.2rem);
    max-width: 15ch;
  }
  .photo-lead p {
    margin-top: 0.8rem;
    font-size: 1rem;
    max-width: 46ch;
  }
  .photo-lead-links {
    margin-top: 0.65rem;
  }
  .photo-lead .photo-lead-image,
  .photo-lead.reverse .photo-lead-image {
    position: relative;
    inset: auto;
    grid-row: 2;
    grid-column: 1;
    height: clamp(13rem, 47vw, 23rem);
    min-height: 0;
  }
  .photo-lead .photo-lead-image img {
    object-position: var(--lead-mobile-pos, var(--lead-pos));
  }
  .interior-reading .guide-pair {
    grid-template-columns: 1fr;
  }
}
.photo-lead {
  --lead-columns: 52% 48%;
  --lead-pos: 52% 52%;
  --lead-bg: #eaeada;
  --lead-ink: #354637;
}
.photo-lead h1 {
  font-size: clamp(3.5rem, 7.7vw, 9.1rem);
  font-style: normal;
}
.diary-entry {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}
.entry-time {
  font-size: 1.65rem;
  font-variant-numeric: tabular-nums;
}
.studio-guide .guide-photo {
  object-position: center 44%;
}
