:root {
  color-scheme: dark;
  --background: #000;
  --foreground: #f7f7f7;
  --amber: #ffb33e;
  --muted: #ccc;
  --font: "Avenir Next", Avenir, "Century Gothic", Montserrat, sans-serif;
  --quote-size: clamp(16px, 1.35vw, 22px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: var(--font); -webkit-font-smoothing: antialiased; }
::selection { background: var(--amber); color: #000; }
figure, blockquote, p { margin: 0; }
a { color: inherit; text-underline-offset: 5px; }
a:focus-visible { outline: 2px solid var(--amber); outline-offset: 7px; border-radius: 2px; }
.page-width { width: min(82%, 1420px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; top: 12px; left: 12px; padding: 12px 18px; color: #000; background: var(--amber); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.hero { position: relative; isolation: isolate; min-height: clamp(370px, calc(325px + 4vw), 396px); padding: 32px 24px 24px; }
.corner-sashes { position: absolute; inset: 0 0 auto; height: calc(var(--quote-size) * 20.5); overflow: hidden; pointer-events: none; }
.brand { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.circle { display: block; width: clamp(176px, 15.5vw, 250px); height: auto; mix-blend-mode: screen; filter: contrast(1.2); }
h1 { margin: 12px 0 0; font-size: clamp(34px, 3.05vw, 52px); line-height: 1.2; font-weight: 400; letter-spacing: .015em; text-align: center; }

.availability { position: absolute; left: -110px; top: 84px; display: grid; place-items: center; width: 480px; min-height: 112px; padding: 10px 65px; background: var(--foreground); color: #181818; text-align: center; rotate: -46deg; }
.availability span { font-size: clamp(22px, 2.3vw, 37px); line-height: 1.12; font-weight: 700; text-transform: uppercase; letter-spacing: -.025em; }
/* Size the sash in em units so it grows with the shared quote typography. */
.adler-quote { position: absolute; top: 5em; right: -5.85em; display: flex; flex-direction: column; justify-content: center; width: 28em; min-height: 5.6em; padding: .7em 2.8em; background: var(--foreground); color: #202020; font-size: var(--quote-size); text-align: center; rotate: 46deg; }
.adler-quote blockquote { font-size: inherit; font-weight: 400; line-height: 1.35; }
.adler-quote figcaption { font-size: .9375em; font-weight: 700; }

/* Extend each sash past the viewport so its square ends never show. */
.availability::before, .adler-quote::before { content: ""; position: absolute; z-index: -1; inset: 0 -100vmax; background: var(--foreground); pointer-events: none; }

.testimonials { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(40px, 5vw, 95px); padding-top: 14px; }
.testimonial-column { display: grid; gap: 26px; }
.stars { margin-bottom: 9px; font-size: 32px; line-height: 1; letter-spacing: 1px; }
.testimonial blockquote { font-size: var(--quote-size); font-style: italic; font-weight: 400; line-height: 1.35; color: #e4e4e4; }
.testimonial-right { text-align: right; }

.sessions { padding-top: 36px; text-align: center; scroll-margin-top: 28px; }
.sessions h2 { margin: 0; color: var(--amber); font-size: clamp(22.5px, 2.3125vw, 37.5px); font-weight: 700; text-transform: uppercase; line-height: 1.35; }
.plus { margin-left: .18em; }
.session-summary { display: flex; justify-content: center; flex-wrap: wrap; column-gap: .6em; row-gap: 4px; margin-top: 15px; font-size: clamp(22.5px, 2.3125vw, 37.5px); line-height: 1.4; font-weight: 700; text-transform: uppercase; }
.session-summary span { white-space: nowrap; }
.time-unit { font-size: .83em; }
.venue { margin-top: 34px; }
.venue img { display: block; width: 86px; height: auto; margin: 0 auto 15px; }
.venue-name { font-size: clamp(22.5px, 2.0625vw, 33.75px); font-weight: 400; text-transform: uppercase; line-height: 1.45; }
address { font-size: clamp(20px, 2vw, 32.5px); font-style: normal; font-weight: 400; line-height: 1.5; text-wrap: balance; }
.postcode { white-space: nowrap; }
.address-link { text-decoration: none; transition: color 180ms; }
.address-link:hover { color: var(--amber); text-decoration: underline; text-decoration-thickness: 1px; }

.join { margin-top: 25px; color: var(--amber); }
.join p { display: inline; font-size: clamp(20px, 1.75vw, 27.5px); font-weight: 500; line-height: 1.65; }
.email { display: inline-block; margin-left: .25em; padding-block: 4px; font-size: clamp(22.5px, 2vw, 31.25px); font-weight: 700; line-height: 1.5; text-decoration-thickness: 1px; text-decoration-color: transparent; transition: text-decoration-color 200ms; }
.email:hover { text-decoration-color: currentColor; }
.page-footer { padding-block: 30px 40px; text-align: center; font-size: clamp(22px, 2.5vw, 41px); }
.safe-space { display: inline; font-size: inherit; font-weight: 700; text-transform: uppercase; }
.safe-space::after { content: " : "; }
.values { display: inline-flex; justify-content: center; align-items: center; gap: .35em; font-size: inherit; font-weight: 700; line-height: 1.5; text-transform: uppercase; }
.values i { display: inline-block; width: 2px; height: .75em; background: currentColor; }

/* Content stays visible without JavaScript. Motion runs only when requested. */
@media (prefers-reduced-motion: no-preference) {
  .entrance { animation: enter 900ms cubic-bezier(.2,.65,.25,1) both; animation-delay: var(--delay, 0ms); }
  .circle.entrance { animation-name: circle-enter; animation-duration: 1200ms; }
  @keyframes enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes circle-enter { from { opacity: 0; transform: scale(.94) rotate(-8deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
}

@media (min-width: 1700px) {
  .hero { padding-top: 44px; }
}

@media (min-width: 1101px) {
  /* Scale the artwork and keep its position proportional to each corner. */
  .availability { scale: .72; left: -146.4px; top: 44.8px; }
}

@media (max-width: 1100px) {
  .page-width { width: 85%; }
  .corner-sashes { display: contents; }
  .availability::before, .adler-quote::before { display: none; }
  .hero { display: flex; flex-direction: column; align-items: center; overflow: visible; min-height: 0; padding: 0 22px 0; }
  .availability { position: relative; top: auto; left: auto; width: calc(100% + 44px); min-height: 38px; padding: 10px 16px; rotate: none; }
  .availability span { font-size: 11px; font-weight: 700; letter-spacing: .14em; }
  .ribbon-break { display: none; }
  .brand { order: 1; margin-top: 31px; }
  .adler-quote { order: 2; position: relative; top: auto; right: auto; width: 100%; max-width: 440px; min-height: 0; margin-top: 18px; margin-bottom: 16.5px; padding: 0; background: none; color: var(--muted); rotate: none; }
  .adler-quote blockquote { font-style: italic; text-wrap: balance; }
  .adler-quote figcaption { margin-top: 7px; font-size: 13.75px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; }
  .testimonials { column-gap: 38px; padding-top: 10.5px; }
  .stars { font-size: 27px; }
  .page-footer { font-size: clamp(22px, 3.3vw, 36px); }
  .safe-space { display: block; margin-bottom: 5px; }
  .safe-space::after { content: none; }
  .values { gap: .45em; }
}

@media (max-width: 700px) {
  :root { --quote-size: 16px; }
  .page-width { width: calc(100% - 44px); max-width: 520px; }
  .hero { display: flex; flex-direction: column; align-items: center; overflow: visible; padding: 0 22px 0; }
  .availability { position: relative; top: auto; left: auto; width: calc(100% + 44px); min-height: 38px; padding: 10px 16px; rotate: none; }
  .availability span { font-size: 11px; font-weight: 700; letter-spacing: .14em; }
  .ribbon-break { display: none; }
  .brand { order: 1; margin-top: 31px; }
  .circle { width: clamp(150px, 35vw, 200px); }
  h1 { margin-top: 12px; font-size: clamp(29px, 7.3vw, 44px); }
  .adler-quote { order: 2; position: relative; top: auto; right: auto; width: 100%; max-width: 350px; min-height: 0; margin-top: 21px; margin-bottom: 0; padding: 0; background: none; color: var(--muted); rotate: none; }
  .adler-quote blockquote { font-style: italic; text-wrap: balance; }
  .adler-quote figcaption { margin-top: 7px; font-size: 13.75px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; }
  .testimonials { display: flex; flex-direction: column; gap: 24px; padding-top: 25.5px; }
  .testimonial-column { gap: 24px; }
  .testimonial { text-align: center; }
  .stars { font-size: 25px; margin-bottom: 11px; }
  .testimonial blockquote { text-wrap: pretty; }
  .testimonial-short { padding-block: 4px; }
  .sessions { margin-top: 30px; padding-top: 30px; border-top: 1px solid #292929; }
  .sessions h2 { max-width: 360px; margin-inline: auto; font-size: 23.75px; line-height: 1.5; text-wrap: balance; }
  .session-summary { flex-direction: column; gap: 5px; margin-top: 19px; font-size: 25px; }
  .session-summary > span:last-child { font-size: 21.25px; font-weight: 500; margin-top: 4px; }
  .venue { margin-top: 30px; }
  .venue img { width: 74px; margin-bottom: 18px; }
  .venue-name { max-width: 320px; margin-inline: auto; font-size: 21.25px; text-wrap: balance; }
  address { margin-top: 7px; font-size: 18.75px; }
  .join { margin-top: 29px; }
  .join p { display: block; max-width: 340px; margin-inline: auto; font-size: 20px; font-weight: 400; line-height: 1.65; text-wrap: balance; }
  .email { margin: 7px 0 0; font-size: clamp(18.75px, 5.25vw, 27.5px); }
  .page-footer { padding-block: 35px 32px; font-size: clamp(17px, 4.25vw, 26px); }
  .values { display: flex; flex-wrap: wrap; gap: .4em; margin-top: 8px; }
}

@media (max-width: 360px) {
  .page-width { width: calc(100% - 34px); }
  .sessions h2 { font-size: 21.25px; }
  .page-footer { font-size: 15px; }
}

/* Use the available height efficiently on laptops while keeping text readable. */
@media (min-width: 1200px) and (max-height: 1100px) {
  :root { --quote-size: clamp(16px, 1.9vh, 20px); }
  body { display: flex; flex-direction: column; min-height: 100svh; }
  main { display: flex; flex-direction: column; flex: 1; justify-content: space-evenly; }
  .hero { flex-shrink: 0; min-height: calc(clamp(224px, 28vh, 310px) - clamp(22px, calc(7vh - 26px), 52px)); padding: 12px 24px 0; }
  .circle { width: clamp(100px, 17vh, 180px); }
  h1 { margin-top: 6px; font-size: clamp(30px, 4.5vh, 38px); }
  .testimonials { width: min(calc(100% - 360px), 1280px); grid-template-columns: 1fr .65fr 1.15fr; gap: 24px; padding-top: 8px; }
  .testimonial-column { display: contents; }
  .testimonial-short { text-align: center; }
  .stars { margin-bottom: 6px; font-size: 24px; }
  .sessions { padding-top: 10px; }
  .sessions h2 { font-size: 22.5px; }
  .session-summary { margin-top: 8px; font-size: 22.5px; }
  .venue { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 12px; }
  .venue img { width: 50px; margin: 0; }
  .venue-details { text-align: left; }
  .venue-name { font-size: 22.5px; }
  address { font-size: 20px; }
  .join { margin-top: 8px; }
  .join p { font-size: 20px; }
  .email { font-size: 22.5px; }
  .page-footer { padding-block: 12px; font-size: clamp(22px, 2vw, 28px); }
}

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