/* Layout for the separate introduction, product and community pages. */
.mobile-nav {
  position: absolute;
  top: 100%;
}
.desktop-nav a[aria-current="page"],
.mobile-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 7px;
}
.desktop-nav {
  gap: 22px;
}
.hero-description {
  max-width: 420px;
}
.explore-section {
  padding-block: 56px 72px;
  border-block: 1px solid var(--line);
}
.explore-section > h2 {
  max-width: 760px;
  margin: 20px 0 36px;
}
.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.explore-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 30px;
  transition: border-color 0.2s;
}
.explore-card:hover {
  border-color: var(--forest);
}
.explore-index {
  font-size: 12px;
  color: var(--clay);
}
.explore-card h3 {
  font: 400 30px / 1.2 var(--serif);
  overflow-wrap: anywhere;
}
.explore-card p {
  color: var(--muted);
  font-size: 14px;
}
.explore-link {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  margin-top: auto;
  padding-top: 20px;
  font-size: 13px;
}
.story-section,
.component-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 7vw;
  align-items: center;
  padding-block: 72px;
}
.story-copy h2 {
  margin: 22px 0;
}
.story-copy > p:not(.eyebrow),
.component-intro-copy > p:not(.eyebrow) {
  max-width: 560px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 20px;
}
.component-intro h1 {
  font-size: clamp(38px, 4.5vw, 70px);
  margin: 22px 0;
}
.component-intro .button {
  margin-top: 8px;
}
.intro-reel {
  margin: 0 auto;
  width: min(100%, 320px);
  min-width: 0;
}
.reel-player {
  width: 100%;
  min-width: 0;
  aspect-ratio: 9 / 16;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--forest-deep);
}
.reel-launch {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  position: relative;
  background: transparent;
}
.reel-launch:focus-visible {
  outline-offset: -5px;
}
.reel-launch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reel-button-label {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 16px;
  padding: 12px;
  border-radius: 4px;
  color: var(--forest-deep);
  background: var(--paper);
  font-size: 13px;
}
.reel-frame {
  border: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: white;
}
.intro-reel figcaption {
  display: grid;
  gap: 8px;
  font-size: 12px;
  line-height: 1.7;
  padding-top: 14px;
}
.intro-reel figcaption strong {
  font-weight: 500;
}
.intro-reel figcaption a {
  text-decoration: underline;
  text-underline-offset: 3px;
  padding-block: 5px;
}
.intro-reel figcaption small {
  font-size: 11px;
  color: var(--muted);
}
.product-introduction {
  display: grid;
  align-items: start;
}
.section-intro h1,
.journal-copy h1 {
  font-size: clamp(38px, 4vw, 62px);
}
.schedule-heading h2 {
  font-size: clamp(34px, 3.5vw, 52px);
}
@media (max-width: 1180px) {
  .desktop-nav {
    gap: 16px;
  }
}
@media (max-width: 850px) {
  .explore-card {
    padding: 22px;
  }
  .explore-card h3 {
    font-size: 25px;
  }
  .story-section,
  .component-intro {
    gap: 30px;
  }
}
@media (max-width: 620px) {
  .explore-section {
    padding-block: 40px 48px;
  }
  .explore-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .explore-card {
    gap: 12px;
  }
  .explore-card h3 {
    font-size: 29px;
  }
  .story-section,
  .component-intro {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 48px;
  }
  .story-copy > p:not(.eyebrow),
  .component-intro-copy > p:not(.eyebrow) {
    font-size: 14px;
  }
  .section-intro h1 {
    margin-top: 18px;
  }
  :lang(hy) .section-intro h1,
  :lang(hy) .journal-copy h1 {
    font-size: clamp(32px, 8vw, 43px);
  }
  .product-introduction {
    margin-bottom: 12px;
  }
}
/* Quieter presentation built around the owner's mark and community imagery. */
:root {
  --paper: #fcf7f1;
  --white: #fffdf9;
  --ink: #26382b;
  --muted: #60685c;
  --line: #dfddd4;
}
.site-header {
  background: var(--paper);
  padding-block: 8px;
}
.wordmark .brand-logo {
  width: 82px;
  height: 61px;
  object-fit: contain;
}
.site-footer .wordmark .brand-logo {
  width: 94px;
  height: 70px;
}
h1,
h2 {
  letter-spacing: -0.035em;
}
h1 em,
h2 em {
  font-style: normal;
}
.hero h1 {
  font-size: clamp(48px, 5.5vw, 80px);
  line-height: 1.08;
}
.hero {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 8vw;
  padding-block: 55px;
}
.hero-description {
  font-size: 17px;
  line-height: 1.8;
}
.home-photo {
  margin: 0 auto;
  width: min(100%, 340px);
}
.home-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 2px;
}
.home-photo figcaption {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}
.status-dot,
.mini-book,
.contact-star,
.explore-index,
.section-index {
  display: none;
}
.eyebrow {
  letter-spacing: 0.09em;
}
.hero-note {
  font-size: 12px;
}
.explore-section > h2 {
  font-size: clamp(32px, 3.5vw, 48px);
}
.explore-card {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 25px 0;
}
.explore-grid {
  gap: 40px;
}
.explore-link {
  border: 0;
  padding-top: 12px;
}
.story-copy h2 {
  font-size: clamp(36px, 4vw, 54px);
}
.contact-banner {
  background: #ebece2;
  color: var(--ink);
  border-block: 1px solid var(--line);
}
.contact-banner .eyebrow {
  color: var(--muted);
}
.contact-banner h2 {
  font-size: clamp(28px, 3vw, 42px);
}
.button,
.text-link,
.desktop-nav {
  font-size: 14px;
}
.button:hover:not(:disabled) {
  transform: none;
}
.meeting-meta,
.meeting-date,
.delivery-note,
.edition-copy small,
.config-footnote {
  font-size: 12px;
}
.meetings-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.meeting-card {
  max-width: 620px;
}
.meeting-art {
  display: none;
}
.meeting-card-body {
  padding: 28px;
}
.meeting-card h3 {
  font-size: 27px;
}
@media (max-width: 620px) {
  .hero {
    gap: 28px;
    padding-block: 32px;
  }
  .hero h1 {
    font-size: clamp(45px, 11vw, 64px);
  }
  :lang(hy) .hero h1 {
    font-size: clamp(36px, 9vw, 51px);
  }
  .hero-description {
    font-size: 15px;
  }
  .home-photo {
    width: 100%;
  }
  .home-photo img {
    height: 360px;
    object-position: center 30%;
  }
  .explore-grid {
    gap: 8px;
  }
  .wordmark .brand-logo {
    width: 72px;
    height: 54px;
  }
  .site-header {
    padding-block: 6px;
  }
}
/* Journal workshop: a restrained product study in the storefront palette. */
.journal-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.6fr);
  gap: 8vw;
  align-items: end;
  padding-block: 60px 48px;
}
.journal-copy .coming-badge {
  margin: 20px 0 12px;
}
.journal-copy h1 {
  max-width: 680px;
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: 1.08;
}
.journal-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}
.journal-note {
  max-width: 310px;
  justify-self: end;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.55;
}
.journal-workshop {
  border-block: 1px solid var(--line);
  padding-block: 44px 58px;
}
.journal-workshop-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 28px;
}
.journal-workshop-heading h2,
.journal-story h2 {
  margin-top: 14px;
  font-size: clamp(34px, 4vw, 52px);
}
.journal-workshop-heading > p {
  max-width: 380px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.journal-configurator {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  min-height: 530px;
  border: 1px solid var(--line);
  background: var(--white);
}
.journal-viewer {
  position: sticky;
  top: 100px;
  align-self: start;
  height: min(740px, calc(100vh - 130px));
  min-width: 0;
  min-height: 500px;
  overflow: hidden;
  background: #e9e8dd;
}
.journal-viewer canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  cursor: grab;
  touch-action: none;
  filter: drop-shadow(0 15px 18px #0009);
}
.journal-viewer::before {
  content: "";
  position: absolute;
  inset: -5px;
  background: linear-gradient(#21170d30, #160f086b), url("./backgrounds/trinity-library.jpg") center / cover;
  filter: blur(2px);
  pointer-events: none;
}
.journal-viewer canvas.is-dragging {
  cursor: grabbing;
}
.journal-viewer-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 17px;
  display: flex;
  justify-content: space-between;
  color: #fff8e9;
  text-shadow: 0 1px 4px #000;
  font-size: 11px;
}
.journal-zoom {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  gap: 6px;
}
.journal-zoom button {
  width: 38px;
  height: 38px;
  border: 1px solid #c8c9bb;
  background: #fcfbf6e8;
  color: var(--forest);
  font-size: 21px;
}
.journal-zoom button:hover {
  background: white;
}
.journal-viewer-status {
  position: absolute;
  left: 18px;
  right: 72px;
  top: 18px;
  color: var(--muted);
  font-size: 12px;
}
.journal-options {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 9px;
  padding: 32px 30px;
}
.journal-options > .eyebrow {
  margin-bottom: 8px;
}
.journal-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 18px;
}
.journal-option {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
#journal-size,
#journal-material,
#journal-elastic {
  grid-column: 1 / -1;
}
.journal-size-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.journal-size-choice {
  position: relative;
  cursor: pointer;
}
.journal-size-choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.journal-size-choice > span {
  display: grid;
  gap: 3px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.journal-size-choice small {
  color: var(--muted);
  font-size: 12px;
}
.journal-size-choice input:checked + span {
  border-color: var(--forest);
  background: #31543b0d;
}
.journal-size-choice input:focus-visible + span {
  outline: 2px solid var(--forest);
  outline-offset: 2px;
}
.journal-option legend {
  margin-bottom: 12px;
  padding: 0;
  font-size: 13px;
  font-weight: 500;
}
.charm-picker {
  grid-column: 1 / -1;
  min-width: 0;
}
.charm-picker-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 12px;
  margin-bottom: 12px;
}
.charm-picker h3 {
  margin: 0;
  font: 500 13px var(--sans);
  letter-spacing: normal;
}
.charm-count {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.charm-catalogue {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 3px;
}
.charm-choice {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #0002;
  border-radius: 50%;
  background: transparent;
  outline: 2px solid transparent;
  outline-offset: 3px;
  cursor: pointer;
}
.charm-choice[data-selected="true"] {
  outline-color: var(--forest);
}
.charm-choice:hover:not(:disabled) {
  border-color: var(--forest);
  outline-color: var(--forest);
}
.charm-choice:focus-visible,
.charm-selected button:focus-visible,
.charm-rules summary:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
}
.charm-choice:disabled {
  opacity: .35;
  cursor: not-allowed;
}
.charm-choice[data-stock="out-of-stock"] {
  position: relative;
  opacity: 1;
}
.charm-choice[data-stock="out-of-stock"] .charm-photo {
  opacity: .45;
}
.charm-choice[data-stock="out-of-stock"]::after {
  content: "×";
  position: absolute;
  right: -2px;
  bottom: -2px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--forest);
  color: white;
  font-size: 15px;
}
.charm-stock-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.charm-photo {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #080e18;
  border-radius: 50%;
}
.charm-photo-crop {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.8);
  overflow: hidden;
}
.charm-photo-crop img {
  position: absolute;
  max-width: none;
  object-fit: fill;
}
.charm-selected-list {
  display: grid;
  gap: 14px;
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}
.charm-selected-list[hidden] {
  display: none;
}
.charm-selected {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 5px 10px;
  font-size: 12px;
}
.charm-selected > .charm-photo {
  grid-row: span 2;
}
.charm-selected-name {
  font-size: 11px;
  color: var(--muted);
}
.charm-placement {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.charm-placement button {
  min-height: 32px;
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 5px 7px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}
.charm-placement button[aria-pressed="true"] {
  border-color: var(--line);
  background: #ebece2;
  color: var(--forest);
}
.charm-selected > .charm-remove {
  grid-column: 3;
  grid-row: 1 / span 2;
  width: 32px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
}
.charm-remove:hover {
  color: var(--forest);
}
.charm-rules {
  margin-top: 16px;
  color: var(--muted);
  font-size: 11px;
}
.charm-rules summary {
  width: fit-content;
  padding-block: 6px;
  cursor: pointer;
  text-underline-offset: 3px;
}
.charm-rules summary:hover {
  color: var(--forest);
  text-decoration: underline;
}
.charm-picker-note {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.7;
}
.journal-swatch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 3px;
}
.journal-swatch {
  position: relative;
  display: block;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  cursor: pointer;
}
.journal-swatch input {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.journal-swatch-face {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid #0002;
  outline: 2px solid transparent;
  outline-offset: 3px;
}
.journal-swatch-face img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.journal-swatch input:checked + .journal-swatch-face {
  outline-color: var(--forest);
}
.journal-swatch input:hover + .journal-swatch-face {
  border-color: var(--forest);
}
.journal-swatch input:focus-visible + .journal-swatch-face,
.journal-zoom button:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
}
.journal-selection {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.journal-concept-note {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}
.journal-options .coming-badge {
  align-self: flex-start;
  margin: 8px 0 0;
}
.journal-story {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 8vw;
  align-items: center;
  padding-block: 68px;
}
.journal-story-copy > p {
  max-width: 540px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}
.journal-story-copy .text-link {
  margin-top: 22px;
}
@media (max-width: 850px) {
  .journal-configurator {
    grid-template-columns: minmax(0, 1.1fr) minmax(250px, 0.9fr);
  }
  .journal-options {
    padding: 26px 22px;
  }
}
@media (max-width: 620px) {
  .journal-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding-block: 40px 34px;
  }
  .journal-copy h1 {
    font-size: clamp(38px, 10vw, 54px);
  }
  .journal-note {
    justify-self: start;
    font-size: 17px;
  }
  .journal-workshop {
    padding-block: 34px 40px;
  }
  .journal-workshop-heading {
    display: grid;
    gap: 14px;
  }
  .journal-workshop-heading > p {
    font-size: 13px;
  }
  .journal-configurator {
    grid-template-columns: minmax(0, 1fr);
  }
  .journal-viewer,
  .journal-viewer canvas {
    min-height: 360px;
    height: 360px;
  }
  .journal-viewer { position: relative; top: auto; }
  .journal-options {
    padding: 25px 22px;
  }
  .journal-story {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding-block: 44px;
  }
  .journal-story-copy > p {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .journal-viewer canvas {
    scroll-behavior: auto;
  }
}
