/* Alchemy Studio: "Earth & Ember".
   An editorial magazine about one teacher's week in Elora. Oversized Fraunces carries the personality;
   deep aubergine spreads (with grain and a low ember glow) alternate with clean parchment reading pages.
   Burnt orange is the one energetic accent; citron is a rare, small surprise on dark. */

:root {
  --aubergine: #281F2B;
  --parchment: #F5F0E8;
  --ember: #C34F33;
  --ember-deep: #A9432B;
  --ember-ink: #A3402A;      /* small ember text on parchment (5.5:1) */
  --ember-glow: #E9785C;     /* small ember text on aubergine (5.5:1) */
  --citron: #D8DF66;
  --ink: #281F2B;
  --ink-soft: #5F5760;       /* secondary text on parchment (6.1:1) */
  --mist: #CFC5CB;           /* secondary text on aubergine (9.5:1) */
  --line: rgba(40, 31, 43, .16);
  --line-strong: rgba(40, 31, 43, .34);
  --line-dark: rgba(245, 240, 232, .18);

  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --frame: 1200px;
  --gutter: clamp(16px, 4.5vw, 56px);
  --radius: 10px;
  --photo-radius: 14px;
  --section: clamp(80px, 10vw, 144px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dock-h: 0px;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
  color-scheme: light;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 450;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--ember);
  overflow-x: clip;
}
@media (min-width: 900px) {
  body { font-size: 1.125rem; }
}

::selection { background: var(--citron); color: var(--aubergine); }

img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.02em;
  margin: 0;
  text-wrap: balance;
  font-optical-sizing: auto;
}
h1 em, h2 em, h3 em { font-style: italic; font-weight: 600; }

h2 { font-size: clamp(2.5rem, 1.5rem + 4vw, 5rem); letter-spacing: -.03em; }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1.5px; }

:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .retreats :focus-visible, .closing :focus-visible, .page-intro :focus-visible,
.site-header :focus-visible, .site-footer :focus-visible, .dock :focus-visible { outline-color: var(--citron); }

.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* One page frame for every section. */
.wrap {
  width: min(calc(100% - 2 * var(--gutter)), var(--frame));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 12px; top: -80px;
  z-index: 100;
  background: var(--ember);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
}
.skip:focus { top: 12px; }

/* ------------------------------------------------------------ dark spreads */

.hero, .retreats, .closing, .site-footer, .page-intro {
  background-color: var(--aubergine);
  background-image: var(--grain), radial-gradient(ellipse 70% 60% at 85% 10%, rgba(195, 79, 51, .30), transparent 70%);
  color: var(--parchment);
}

/* ------------------------------------------------------------ buttons and links */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 52px;
  padding: 0 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font: 800 1rem/1 var(--sans);
  letter-spacing: .005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease-out), box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-ember { background: var(--ember); color: #fff; }
.btn-ember:hover { background: var(--ember-deep); box-shadow: 0 10px 22px -14px rgba(195, 79, 51, .9); }

.btn-ghost { border-color: var(--aubergine); color: var(--aubergine); background: transparent; }
.btn-ghost:hover { background: var(--aubergine); color: var(--parchment); }

.btn-ghost-light { border-color: rgba(245, 240, 232, .55); color: var(--parchment); background: transparent; }
.btn-ghost-light:hover { border-color: var(--parchment); background: rgba(245, 240, 232, .08); }

.btn-parchment { background: var(--parchment); color: var(--aubergine); }
.btn-parchment:hover { background: #fff; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--ember);
  text-decoration-thickness: 2px;
  text-underline-offset: .32em;
  transition: color .2s;
}
.text-link:hover { color: var(--ember-ink); }

.mini-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius);
  border: 1.5px solid var(--line-strong);
  font: 800 .9375rem/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease-out);
}
.mini-btn:hover { border-color: var(--aubergine); transform: translateY(-2px); }
.mini-btn--solid { background: var(--ember); color: #fff; border-color: var(--ember); }
.mini-btn--solid:hover { background: var(--ember-deep); border-color: var(--ember-deep); }

/* ------------------------------------------------------------ header */

.site-header {
  --brand-h: 64px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--aubergine);
  color: var(--parchment);
  transition: box-shadow .2s ease;
}
html:not(.js) .site-header,
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line-dark), 0 14px 28px -22px rgba(0, 0, 0, .8); }
.site-header.is-scrolled { --brand-h: 54px; }
@media (min-width: 900px) {
  .site-header { --brand-h: 84px; }
  .site-header.is-scrolled { --brand-h: 62px; }
}

.header-in { height: var(--brand-h); display: flex; align-items: center; gap: 22px; }

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-right: auto;
  font-family: var(--display);
  font-weight: 700;
  font-size: calc(var(--brand-h) * .36);
  letter-spacing: -.02em;
  line-height: 1;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
@media (prefers-reduced-motion: no-preference) {
  .header-in { transition: height .22s var(--ease-out); }
  .site-header .wordmark { transition: font-size .22s var(--ease-out); }
}

.main-nav, .header-actions { display: none; }
.main-nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-weight: 700;
  font-size: .975rem;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 8px;
  transition: color .2s;
}
.main-nav a:hover { color: var(--citron); }
.main-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--ember); text-decoration-thickness: 2px; text-underline-offset: .45em; }

.header-actions { align-items: center; gap: 18px; }
.header-phone {
  display: inline-flex; align-items: center;
  min-height: 44px;
  font-weight: 700;
  font-size: .975rem;
  color: var(--mist);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { color: var(--parchment); text-decoration: underline; }
.site-header .btn { min-height: 46px; padding: 0 20px; }

.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1.5px solid rgba(245, 240, 232, .5);
  border-radius: var(--radius);
  background: transparent;
  color: var(--parchment);
  font: 800 .9375rem/1 var(--sans);
  cursor: pointer;
}
@media (min-width: 1040px) {
  .main-nav, .header-actions { display: flex; }
  .menu-btn { display: none; }
}

/* ------------------------------------------------------------ hero */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(36px, 6vw, 88px) clamp(64px, 8vw, 120px);
}
.hero-grid { display: grid; gap: 44px; }

.hero-title {
  font-size: clamp(3.6rem, 1.6rem + 7vw, 8.5rem);
  font-weight: 640;
  line-height: .88;
  letter-spacing: -.035em;
  margin-bottom: 40px;
}
.hero-title .ht { display: block; }
.hero-title em { color: var(--ember-glow); font-weight: 600; letter-spacing: -.02em; padding-right: .04em; }

.hero-lead {
  max-width: 34ch;
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--mist);
  margin-bottom: 30px;
}
@media (min-width: 900px) {
  .hero-lead { font-size: 1.25rem; }
}

.hero-media {
  position: relative;
  margin: 0 0 76px;
  justify-self: end;
  width: min(100% - 28px, 540px);
}
.hero-main {
  width: 100%;
  border-radius: var(--photo-radius);
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .9);
}
.hero-support {
  position: absolute;
  left: -28px;
  bottom: -64px;
  width: 36%;
  border-radius: var(--photo-radius);
  border: 6px solid var(--aubergine);
  box-shadow: 0 24px 44px -26px rgba(0, 0, 0, .9);
}
.hero-tag {
  position: absolute;
  right: -8px;
  top: -18px;
  transform: rotate(-3deg);
  background: var(--citron);
  color: var(--aubergine);
  padding: 12px 16px 11px;
  border-radius: 6px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1;
  box-shadow: 0 12px 24px -16px rgba(0, 0, 0, .9);
}
.media-credit {
  display: block;
  margin-top: 12px;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--mist);
}
/* Phones: the credit sits below the overlapping pair, clear of both photos. Wide screens: under the main photo, right. */
.hero .media-credit { position: absolute; right: 0; top: 100%; width: 56%; margin: 14px 0 0; text-align: right; }
@media (min-width: 900px) {
  .hero .media-credit { top: auto; bottom: -40px; width: auto; margin: 0; }
}
.hero-tag span {
  display: block;
  margin-top: 5px;
  font: 800 .75rem/1.2 var(--sans);
  letter-spacing: .02em;
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1fr .95fr; align-items: end; gap: 48px; }
  .hero-media { width: 100%; max-width: 540px; margin: 0 0 56px; }
  .hero-support { left: -18%; bottom: -56px; width: 38%; }
  .hero-tag { right: -14px; top: -22px; font-size: 1.5rem; }
}

/* Motion: the headline rises in once, line by line; content is visible without it. */
@media (prefers-reduced-motion: no-preference) {
  html.js .hero-title .ht { animation: rise .7s var(--ease-out) both; }
  html.js .hero-title .ht:nth-child(2) { animation-delay: .12s; }
  html.js .hero-title .ht:nth-child(3) { animation-delay: .24s; }
  html.js .hero-title .ht:nth-child(4) { animation-delay: .36s; }
  html.js .hero-lead, html.js .hero .actions { animation: rise .7s var(--ease-out) .48s both; }
  html.js .hero-media { animation: unveil 1s var(--ease-out) .2s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(26px); } }
  @keyframes unveil { from { clip-path: inset(0 0 100% 0); opacity: .4; } to { clip-path: inset(-80px -80px -80px -80px); opacity: 1; } }
}

/* Gentle image reveals as sections enter view (gated on html.motion-ok, which site.js sets). */
@media (prefers-reduced-motion: no-preference) {
  html.motion-ok .reveal-img { transition: clip-path .9s var(--ease-out), opacity .9s var(--ease-out); }
  html.motion-ok .reveal-img:not(.in) { clip-path: inset(0 0 100% 0); opacity: .3; }
  html.motion-ok .reveal-img.in { clip-path: inset(0); }
}

/* ------------------------------------------------------------ class programme */

.programme { padding-block: var(--section); }
.programme-head { display: grid; gap: 18px; margin-bottom: clamp(44px, 6vw, 76px); }
.programme-intro p { max-width: 46ch; font-size: 1.0625em; color: var(--ink-soft); }
@media (min-width: 900px) {
  .programme-head { grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
}

.groups { display: grid; gap: clamp(56px, 7vw, 88px); }
@media (min-width: 960px) {
  .groups { grid-template-columns: 1fr 1fr; gap: 72px; }
}

.group-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--aubergine);
}
.group-title { font-size: clamp(2.25rem, 1.6rem + 2.2vw, 3.25rem); letter-spacing: -.03em; }
.group--energise .group-title { color: var(--ember-ink); }
.group-img {
  width: 132px;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  border-radius: var(--photo-radius);
  margin-bottom: 4px;
}
.group--restore .group-img { aspect-ratio: 1; }
@media (min-width: 900px) {
  .group-img { width: 168px; }
  .group--restore .group-img { width: 160px; }
}

.class {
  display: grid;
  grid-template-columns: 1fr;
  padding: 28px 0 30px;
  border-bottom: 1px solid var(--line-strong);
}
.class-when {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 12px;
  margin: 0 0 10px;
  font-weight: 800;
  font-size: .9375rem;
  letter-spacing: .02em;
  color: var(--ember-ink);
  font-variant-numeric: tabular-nums;
}
.class-when span + span::before { content: "·"; margin-right: 12px; color: var(--ink-soft); }
.class-name { font-size: clamp(1.875rem, 1.5rem + 1.2vw, 2.5rem); margin-bottom: 6px; }
.class-desc { max-width: 48ch; margin-bottom: 14px; }
.class-meta {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.class-meta li {
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1;
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
}
.class-meta li:first-child { border-color: var(--aubergine); color: var(--aubergine); }
.class-rsvp {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: .5em;
  min-height: 44px;
  font-weight: 800;
  text-decoration: none;
  color: var(--aubergine);
  border-bottom: 2px solid var(--ember);
  transition: color .2s;
}
.class-rsvp::after { content: "→"; color: var(--ember); transition: transform .2s var(--ease-out); }
.class-rsvp:hover { color: var(--ember-ink); }
.class-rsvp:hover::after { transform: translateX(4px); }

.programme-foot { margin-top: clamp(36px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.programme-foot .media-credit { margin: 0; color: var(--ink-soft); }

.programme--page { padding-top: clamp(48px, 6vw, 80px); }
.programme-note { max-width: 62ch; font-weight: 700; color: var(--ink-soft); margin-bottom: clamp(36px, 5vw, 56px); }

.posters { margin-top: clamp(56px, 7vw, 88px); }
.posters-label { font-weight: 800; font-size: .875rem; letter-spacing: .04em; margin-bottom: 14px; }
.poster-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-items: start;
}
.poster { margin: 0; }
.poster img { width: 100%; border-radius: 10px; }
.poster figcaption { margin-top: 8px; font-size: .8125rem; font-weight: 700; color: var(--ink-soft); }
@media (min-width: 760px) {
  .poster-row { grid-template-columns: repeat(4, minmax(0, 220px)); gap: 20px; }
}

/* ------------------------------------------------------------ Meet Nerine */

.nerine { padding-block: var(--section); border-top: 1px solid var(--line-strong); }
.nerine-grid { display: grid; gap: 44px; }

/* Her own words stand where a portrait will go (a real, authorised photo is listed in the hand-off). */
.nerine-card {
  position: relative;
  margin: 0;
  min-height: 340px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--photo-radius);
  background-color: var(--ember);
  background-image: var(--grain), radial-gradient(circle at 20% 15%, rgba(216, 223, 102, .35), transparent 45%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.nerine-card blockquote { margin: 0; }
.nerine-card p {
  font-family: var(--display);
  font-weight: 640;
  font-size: clamp(2.75rem, 1.8rem + 3.4vw, 4.5rem);
  line-height: .95;
  letter-spacing: -.035em;
}
.nerine-card em { font-style: italic; color: var(--aubergine); }
.nerine-card figcaption { margin-top: 18px; font-weight: 800; font-size: .9375rem; }

.nerine-copy h2 { margin-bottom: 22px; }
.nerine-lead { font-family: var(--display); font-weight: 500; font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); line-height: 1.25; letter-spacing: -.01em; max-width: 30ch; }
.nerine-copy > p:not(.nerine-lead) { max-width: 52ch; color: var(--ink-soft); }
.mini-review { margin: 30px 0 0; padding-top: 22px; border-top: 1px solid var(--line-strong); max-width: 52ch; }
.mini-review blockquote { margin: 0; }
.mini-review p { font-family: var(--display); font-weight: 500; font-size: 1.25rem; line-height: 1.3; }
.mini-review figcaption { margin-top: 8px; font-size: .875rem; font-weight: 700; color: var(--ink-soft); }
@media (min-width: 900px) {
  .nerine-grid { grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
  .nerine-card { min-height: 520px; }
}

/* ------------------------------------------------------------ Find your tribe */

.tribe { padding-block: var(--section); }
.tribe-grid { display: grid; gap: 44px; }
.tribe-head p { max-width: 36ch; color: var(--ink-soft); margin-top: 18px; }
.tribe-head h2 em { color: var(--ember-ink); }
.quote { margin: 0; }
.quote blockquote { margin: 0; }
.quote p { font-family: var(--display); font-weight: 500; font-size: clamp(1.375rem, 1.15rem + .8vw, 1.75rem); line-height: 1.25; letter-spacing: -.01em; }
.quote--big p { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.625rem); line-height: 1.15; }
.quote figcaption { margin-top: 14px; font-size: .875rem; font-weight: 700; color: var(--ink-soft); }
@media (min-width: 900px) {
  .tribe-grid { grid-template-columns: repeat(12, 1fr); gap: 40px 32px; }
  .tribe-head { grid-column: 1 / 5; }
  .quote--big { grid-column: 5 / 13; }
  .quote:not(.quote--big) { grid-column: 7 / 13; }
}

/* ------------------------------------------------------------ retreats */

.retreats { padding-block: var(--section); }
.retreats-grid { display: grid; gap: 48px; }
.retreats-copy h2 { margin-bottom: 14px; }
.retreat-name { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); letter-spacing: -.02em; line-height: 1.05; margin-bottom: 22px; color: var(--mist); font-weight: 500; }
.retreat-name em { color: var(--ember-glow); }
.retreats-copy h2 { font-size: clamp(3.25rem, 1.8rem + 5.6vw, 7rem); letter-spacing: -.035em; line-height: .9; }
.retreats-copy > p { max-width: 44ch; color: var(--mist); }
.retreats-copy > p.retreat-when { font-weight: 700; color: var(--parchment); }
.retreats-copy .btn { margin: 8px 0 24px; }
.retreat-note { font-size: .9375rem; }

.retreats-side { display: grid; gap: 28px; }
.retreat-photo { margin: 0; width: min(62%, 260px); }
.retreat-photo img { width: 100%; border-radius: var(--photo-radius); box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .9); }
@media (min-width: 640px) {
  .retreats-side { grid-template-columns: minmax(0, 220px) 1fr; align-items: end; gap: 32px; }
  .retreat-photo { width: 100%; }
}
.elements { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.element {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "name date" "what what";
  gap: 4px 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-dark);
}
.element-name { grid-area: name; font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 1.6rem + 1.6vw, 3rem); line-height: 1; letter-spacing: -.03em; }
.element-date { grid-area: date; align-self: center; font-weight: 800; font-size: .9375rem; color: var(--citron); white-space: nowrap; font-variant-numeric: tabular-nums; }
.element-what { grid-area: what; color: var(--mist); font-size: .9375rem; }
.element--past .element-name { color: rgba(245, 240, 232, .5); text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: rgba(245, 240, 232, .35); }
.element--past .element-date { color: var(--mist); font-weight: 600; }
.element--past .element-what { color: var(--mist); }
@media (min-width: 900px) {
  .retreats-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: end; }
}

/* ------------------------------------------------------------ find us */

.find { padding-block: var(--section); }
.find-grid { display: grid; gap: 48px; }
.find-copy h2 { margin-bottom: 20px; }
.find-copy > p { max-width: 38ch; color: var(--ink-soft); }
.find-copy .actions { margin: 28px 0 14px; }
.places { display: grid; gap: 20px; }
.place { padding: 26px 28px 28px; border-radius: var(--photo-radius); border: 1.5px solid var(--aubergine); }
.place p { margin: 0 0 4px; }
.place .place-name { font-family: var(--display); font-weight: 600; font-size: 2rem; line-height: 1.05; letter-spacing: -.02em; margin-bottom: 8px; }
.place .place-role { font-weight: 700; }
.place .place-note { color: var(--ink-soft); margin-top: 10px; font-size: .9375rem; max-width: 40ch; }
.place--quiet { border-color: var(--line-strong); }
.place--quiet .place-name { font-size: 1.5rem; }
@media (min-width: 900px) {
  .find-grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
}

/* ------------------------------------------------------------ footer */

.site-footer { padding: clamp(56px, 7vw, 88px) 0 calc(28px + var(--dock-h)); }
.footer-grid { display: grid; gap: 32px; }
.footer-brand .wordmark { font-size: 2.25rem; margin-bottom: 8px; }
.footer-brand p { max-width: 32ch; color: var(--mist); }
.footer-nav ul, .social { list-style: none; margin: 0; padding: 0; }
.footer-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .2s;
}
.footer-nav a:hover { color: var(--citron); }
.social { display: flex; gap: 8px; align-self: start; }
.social a {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--line-dark);
  transition: background-color .2s, color .2s, border-color .2s;
}
.social a:hover { background: var(--citron); color: var(--aubergine); border-color: var(--citron); }
/* The Kohmera credit: "Website by" and Kohmera's own on-dark logo, nothing after it. */
.credit { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: .875rem; }
.credit a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--mist); text-decoration: none; transition: color .2s; }
.credit a:hover { color: var(--parchment); }
.credit-logo { height: 15px; width: auto; flex: none; margin-bottom: 1px; }
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr auto; gap: 56px; }
}

/* ------------------------------------------------------------ phone dock */

.dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: var(--aubergine);
  box-shadow: 0 -12px 26px -18px rgba(0, 0, 0, .9);
}
.dock .btn { width: 100%; min-height: 48px; }
@media (max-width: 1039px) {
  :root { --dock-h: calc(68px + env(safe-area-inset-bottom)); }
}
@media (min-width: 1040px) {
  .dock { display: none; }
}

/* ------------------------------------------------------------ dialogs (menu, contact) */

dialog.sheet {
  padding: 0;
  border: 0;
  width: 100%;
  max-width: 100%;
  max-height: min(88dvh, 640px);
  margin: auto 0 0;
  border-radius: 18px 18px 0 0;
  background: var(--parchment);
  color: var(--ink);
  overflow: hidden;
  box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, .6);
}
dialog.sheet[open] { display: flex; flex-direction: column; }
dialog.sheet::backdrop { background: rgba(20, 14, 22, .62); }
.sheet-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px 14px 22px;
  background: var(--aubergine);
  color: var(--parchment);
}
.sheet-title { font-family: var(--display); font-weight: 700; font-size: 1.5rem; line-height: 1.1; letter-spacing: -.02em; }
.sheet-close {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(245, 240, 232, .1);
  color: var(--parchment);
  cursor: pointer;
}
.sheet-close:hover { background: rgba(245, 240, 232, .2); }
.sheet-close:focus-visible { outline-color: var(--citron); }
.sheet-body {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--ember) transparent;
  padding: 22px 22px calc(26px + env(safe-area-inset-bottom));
}
.sheet-actions { display: grid; gap: 10px; margin-top: 20px; }
.sheet-actions .btn { width: 100%; }
.sheet-note { margin-top: 18px; font-size: .9375rem; color: var(--ink-soft); }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list a {
  display: flex;
  align-items: center;
  min-height: 60px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: -.02em;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.menu-list a[aria-current="page"] { color: var(--ember-ink); }
@media (min-width: 700px) {
  dialog.sheet { margin: auto; width: min(560px, calc(100% - 32px)); border-radius: 18px; max-height: min(720px, 90dvh); }
  .sheet-body { padding-bottom: 26px; }
}
@media (prefers-reduced-motion: no-preference) {
  dialog.sheet[open] { animation: sheet-in .28s var(--ease-out); }
  dialog.sheet[open]::backdrop { animation: fade-in .28s ease; }
  @keyframes sheet-in { from { transform: translateY(24px); opacity: .4; } }
  @keyframes fade-in { from { opacity: 0; } }
}

/* ------------------------------------------------------------ inner-page intro */

.page-intro { padding-block: clamp(48px, 7vw, 104px); }
.intro-grid { display: grid; gap: 24px; }
.page-intro h1 { font-size: clamp(3.25rem, 1.6rem + 6vw, 7rem); font-weight: 640; line-height: .9; letter-spacing: -.035em; }
.page-intro h1 em { color: var(--ember-glow); }
.intro-side p { max-width: 40ch; color: var(--mist); font-size: 1.125rem; }
.intro-side .actions { margin-top: 26px; }
@media (min-width: 900px) {
  .intro-grid { grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: end; }
}
.page-intro--short { padding-bottom: clamp(48px, 6vw, 88px); }

.split-head { display: grid; gap: 16px; }
.split-head p { max-width: 46ch; color: var(--ink-soft); }
@media (min-width: 900px) {
  .split-head { grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
}

/* ------------------------------------------------------------ the message helper */

.finder { padding-block: var(--section); border-top: 1px solid var(--line-strong); }
.finder-grid { display: grid; gap: 32px; }
.finder-head p { max-width: 40ch; color: var(--ink-soft); margin-top: 18px; }
@media (min-width: 960px) {
  .finder-grid { grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
  .finder-head { position: sticky; top: 120px; }
}
.finder-tool {
  padding: clamp(22px, 3vw, 36px);
  border-radius: 16px;
  border: 1.5px solid var(--aubergine);
  background: var(--parchment);
}
html:not(.js) .finder-tool { display: none; }
.nojs-note { display: none; }
html:not(.js) .nojs-note { display: block; font-weight: 700; }

.field-label { display: block; font-weight: 800; font-size: .9375rem; margin-bottom: 8px; }
.field-label span { font-weight: 600; color: var(--ink-soft); }

/* The visible face wraps long names; the real select sits over it, invisible but operable. */
.select-wrap { position: relative; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 18px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2.5px solid var(--aubergine);
  border-bottom: 2.5px solid var(--aubergine);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.select-face {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 12px 48px 12px 18px;
  border: 2px solid var(--aubergine);
  border-radius: var(--radius);
  background: #fff;
  font: 800 1.125rem/1.25 var(--sans);
  transition: box-shadow .2s;
}
.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  font: 800 1rem/1.2 var(--sans);
}
.select-wrap:focus-within .select-face { outline: 3px solid var(--ember); outline-offset: 3px; }
.select-wrap:hover .select-face { box-shadow: 0 0 0 3px rgba(195, 79, 51, .18); }

.finder-answer { margin: 22px 0 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.finder-lead { font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.12; letter-spacing: -.02em; margin-bottom: 12px; }
.finder-lines { list-style: none; margin: 0; padding: 0; }
.finder-lines li { font-weight: 600; padding-left: 20px; position: relative; }
.finder-lines li + li { margin-top: 6px; }
.finder-lines li::before {
  content: "";
  position: absolute;
  left: 0; top: .66em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ember);
}
textarea {
  display: block;
  width: 100%;
  field-sizing: content;
  min-height: 120px;
  padding: 14px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: 500 1.0625rem/1.5 var(--sans);
  resize: vertical;
}
textarea:focus-visible { outline: 3px solid var(--ember); outline-offset: 2px; }
.finder-how { margin: 10px 0 18px; font-size: .9375rem; color: var(--ink-soft); }
.finder-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.finder-status { margin: 0; font-weight: 800; }
.finder-status:not(:empty) { margin-top: 14px; }
.finder-call { margin-top: 8px; }
.finder-call a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; text-decoration-color: var(--ember); }

/* ------------------------------------------------------------ other offerings */

.offerings { padding-block: var(--section); }
.offer-groups { display: grid; gap: 44px; margin-top: clamp(40px, 5vw, 64px); }
.offer-group h3 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); margin-bottom: 14px; }
.offer-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--aubergine); }
.offer-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-strong);
}
.offer-name { font-weight: 800; font-size: 1.0625rem; line-height: 1.3; }
.offer-actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (min-width: 900px) {
  .offer-groups { grid-template-columns: 1fr 1fr; gap: 64px; }
}

/* ------------------------------------------------------------ FAQ */

.faqs { padding-block: 0 var(--section); }
.faq-grid { display: grid; gap: 28px; }
.faq-list { border-top: 2px solid var(--aubergine); }
.faq { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 14px 0;
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1.35;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  background:
    linear-gradient(var(--aubergine), var(--aubergine)) center / 12px 2px no-repeat,
    linear-gradient(var(--aubergine), var(--aubergine)) center / 2px 12px no-repeat,
    rgba(40, 31, 43, .08);
}
.faq summary:hover::after { background-color: var(--citron); }
.faq[open] summary::after {
  background:
    linear-gradient(#fff, #fff) center / 12px 2px no-repeat,
    var(--ember);
}
.faq p { padding: 0 48px 20px 0; max-width: 60ch; color: var(--ink-soft); }
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
}

/* ------------------------------------------------------------ closing */

.closing { padding-block: var(--section); }
.closing-grid { display: grid; gap: 24px; }
.closing h2 em { color: var(--ember-glow); }
.closing p { color: var(--mist); max-width: 40ch; font-size: 1.125rem; }
.closing .actions { margin-top: 26px; }
@media (min-width: 900px) {
  .closing-grid { grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: end; }
}

/* ------------------------------------------------------------ book page */

.book-box { padding-block: clamp(40px, 6vw, 80px) var(--section); }
.book-wrap { display: grid; gap: 28px; align-items: start; }
.book-wrap > * { max-width: 720px; }
.book-box .kb { margin-inline: 0 auto; padding: 0; background: transparent; }
@media (min-width: 1040px) {
  .book-wrap { grid-template-columns: minmax(0, 680px) 1fr; gap: 72px; }
  .book-alt { margin-top: 0; padding-top: 22px; border-top: 2px solid var(--aubergine); }
}
.book-alt { margin-top: 28px; font-weight: 600; color: var(--ink-soft); }
.book-alt a { color: var(--ink); font-weight: 800; display: inline-block; padding-block: 10px; margin-block: -10px; text-decoration-color: var(--ember); }

/* Kohmera Booking pop-up and box, in the site's own colours. */
.kb {
  --kb-ink: #281F2B;
  --kb-muted: #5F5760;
  --kb-paper: #FFFFFF;
  --kb-soft: #F5F0E8;
  --kb-accent: #C34F33;
  --kb-accent-ink: #FFFFFF;
  --kb-line: #DDD3C4;
  --kb-radius: 10px;
  --kb-bg: #F5F0E8;
}
