/* Hands In Clay: a photo-led, warm studio page */

.logo__mark { flex: none; }
.logo { gap: 0.6rem; }

.menu-button { display: none; }
.js .menu-button {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem;
  background: transparent; border: 2px solid var(--color-text); border-radius: var(--radius-button);
  font-weight: 700; cursor: pointer;
}
@media (max-width: 47.99rem) {
  .js .nav { display: none; width: 100%; }
  .js .nav.is-open { display: block; }
  .js .nav__list { flex-direction: column; padding-bottom: var(--space-s); }
  .js .nav__list a { display: block; padding: 0.75rem 0.25rem; min-height: 44px; font-size: var(--step-1); }
}
@media (min-width: 48rem) { .js .menu-button { display: none; } }

/* Hero */
.hero { min-height: min(92vh, 56rem); }
.photo-hero::after {
  background: linear-gradient(to top, rgb(30 16 8 / 0.86), rgb(30 16 8 / 0.5) 50%, rgb(30 16 8 / 0.25));
}
.hero__content { display: grid; gap: var(--space-s); justify-items: start; }
.hero__content h1 { max-width: 16ch; font-weight: 500; }
.hero__content .lead { max-width: 44ch; }
.hero__eyebrow { color: #F6D9B8; text-shadow: none; }
.hero__actions { margin-top: var(--space-s); }
.button--light { background: #fff; color: var(--color-text); }
.photo-hero .button { text-shadow: none; }

/* Section headings */
.section-head { margin-bottom: var(--space-xl); display: grid; gap: var(--space-2xs); }

/* Path cards */
.paths__grid { padding: 0; list-style: none; }
.paths__grid .card { position: relative; display: flex; flex-direction: column; gap: var(--space-2xs); }
.paths__grid .card__media { aspect-ratio: 10 / 7; }
.paths__grid .card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.paths__grid .card:hover .card__media img { transform: scale(1.05); }
.card__link { text-decoration: none; }
.card__link::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius); }
.card__link:focus-visible { outline: none; }
.card__link:focus-visible::after { outline: 3px solid var(--color-text); outline-offset: 3px; }
.card__more { margin-top: auto; padding-top: var(--space-xs); font-weight: 700; color: var(--color-accent); }

/* Photo band */
.band { height: clamp(26rem, 60vw, 38rem); display: grid; align-items: end; padding-bottom: var(--space-l); }
.band > img { position: absolute; inset: 0; }
.band__panel { position: relative; z-index: 1; }
.band__card {
  max-width: 34rem; display: grid; gap: var(--space-xs);
  padding: var(--space-l); background: var(--color-bg); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.textlink { font-weight: 700; color: var(--color-accent); }

/* Events */
.events { list-style: none; padding: 0; display: grid; gap: var(--space-s); }
.event {
  display: grid; grid-template-columns: auto 1fr; gap: var(--space-xs) var(--space-s); align-items: center;
  padding: var(--space-s); background: var(--color-surface); border-radius: var(--radius);
}
.event h3 { font-size: var(--step-1); }
.event .button { grid-column: 1 / -1; justify-self: start; }
.event__day {
  display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%;
  background: var(--color-accent); color: var(--color-accent-text);
  font-family: var(--font-heading); font-size: var(--step-1); font-weight: 600;
}
@media (min-width: 40rem) {
  .event { grid-template-columns: auto 1fr auto; }
  .event .button { grid-column: auto; }
}

/* Sign-up */
.signup .form { max-width: 32rem; }
.signup input:not([type='checkbox']) { background: #fff; color: var(--color-text); border-color: #fff; }
.signup .check { display: flex; gap: 0.75rem; align-items: flex-start; }
.signup .check input { flex: none; margin-top: 0.2rem; accent-color: var(--color-text); }
.signup .check label { font-weight: 500; }
.signup .hint { color: inherit; }
.signup :focus-visible { outline-color: #fff; }
.signup .button { background: var(--color-text); color: #fff; justify-self: start; }

/* Footer */
.footer__grid { display: grid; gap: var(--space-l); padding-bottom: var(--space-l); border-bottom: 1px solid color-mix(in srgb, currentColor 25%, transparent); }
.footer__links { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 0 var(--space-m); }
.footer__links a { display: inline-block; padding: 0.6rem 0; min-height: 44px; }
.footer__legal { padding-top: var(--space-m); display: grid; gap: var(--space-2xs); font-size: var(--step--1); }
.site-footer .photo-credits { color: inherit; opacity: 0.85; }
@media (min-width: 48rem) { .footer__grid { grid-template-columns: 1fr 2fr; } }

/* ---------- Shared additions ---------- */
.check { display: flex; gap: 0.75rem; align-items: flex-start; }
.check input { flex: none; margin-top: 0.2rem; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-weight: 700; }
.form-status:empty { display: none; }
.form-status.is-ok { padding: var(--space-s); border-radius: var(--radius-sm); background: var(--color-surface); color: var(--color-text); }
.signup .form-status.is-ok { background: #fff; }
.signup .field-error { color: #fff; }
.signup .field-error::before { background: #fff; }
.signup [aria-invalid='true'] { border-color: #fff !important; outline: 3px solid var(--color-text); }
.event__day { line-height: 1; align-content: center; gap: 0; }
.event__num { font-size: var(--step-1); }
.event__mon { font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.textlink--light { color: #fff; }
.header-fix { }

/* Page heroes */
.page-hero { min-height: min(70vh, 40rem); }
.jump { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: var(--space-s); }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border-radius: 999px; background: rgb(255 255 255 / 0.16); border: 1px solid rgb(255 255 255 / 0.5); color: #fff; font-weight: 600; text-decoration: none; backdrop-filter: blur(4px); }
.jump a:hover { background: #fff; color: var(--color-text); }
.jump a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* Class blocks */
.class-block, #workshops, #home-education, #vouchers { scroll-margin-top: 5rem; }
.class-photo { margin: 0; }
.class-photo img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); object-fit: cover; }
.facts { list-style: none; padding: 0; display: grid; gap: var(--space-2xs); }
.facts li { position: relative; padding-left: 1.6rem; }
.facts li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--color-pop); }
#workshops .class-photo { margin-top: var(--space-s); }
.dates { list-style: none; padding: 0; margin-top: var(--space-xs); background: var(--color-bg); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: var(--space-2xs) var(--space-s); }
.date-row { display: grid; grid-template-columns: 6.2rem 1fr; gap: 0 var(--space-s); padding: var(--space-xs) 0; border-bottom: 1px solid color-mix(in srgb, var(--color-text) 15%, transparent); }
.date-row:last-child { border-bottom: 0; }
.date-row__date { font-family: var(--font-heading); font-weight: 600; color: var(--color-accent); }
.date-row__name { font-weight: 700; }
.date-row__time { grid-column: 2; font-size: var(--step--1); }
.dates-title { margin-bottom: var(--space-2xs); }
.vouchers .class-photo img { box-shadow: none; }
.vouchers .textlink { color: #fff; }
.vouchers .button { background: #fff; color: var(--color-text); }

/* Membership */
.ticks { list-style: none; padding: 0; display: grid; gap: var(--space-s); }
.ticks li { position: relative; padding: var(--space-s) var(--space-s) var(--space-s) 3.2rem; background: var(--color-surface); border-radius: var(--radius); }
.ticks li::before { content: ''; position: absolute; left: 1.1rem; top: 1.35rem; width: 1.1rem; height: 0.6rem; border-left: 3px solid var(--color-accent); border-bottom: 3px solid var(--color-accent); transform: rotate(-45deg); }
.plans { list-style: none; padding: 0; }
.plan { display: grid; align-content: start; gap: var(--space-2xs); padding: var(--space-m); background: var(--color-bg); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.plan--feature { background: var(--color-accent); color: var(--color-accent-text); }
.plan--feature h3 { color: inherit; }
.plan__price { font-family: var(--font-heading); font-size: var(--step-4); line-height: 1; font-weight: 600; }
.plan__price span { font-family: var(--font-body); font-size: var(--step-0); font-weight: 500; }
.plans__note { margin-top: var(--space-m); max-width: 60ch; }

/* About */
.space-facts { grid-template-columns: repeat(2, 1fr); }
.founder { padding: var(--space-m); background: var(--color-surface); border-radius: var(--radius); display: grid; gap: var(--space-2xs); }
.team { padding: var(--space-m); background: var(--color-surface); border-radius: var(--radius-lg); align-self: start; }
.team__list { list-style: none; padding: 0; margin-top: var(--space-xs); }
.team__list li { display: grid; padding: var(--space-xs) 0; border-bottom: 1px solid color-mix(in srgb, var(--color-text) 15%, transparent); color: var(--color-muted); }
.team__list li:last-child { border-bottom: 0; }
.team__list strong { color: var(--color-text); }

/* Contact */
.contact-card { padding: var(--space-l); background: var(--color-surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); align-self: start; display: grid; gap: var(--space-s); }
.contact-details { display: grid; gap: var(--space-s); }
.contact-details div { display: grid; gap: 0.15rem; }
@media (min-width: 40rem) { .date-row { grid-template-columns: 6.2rem 1fr auto; } .date-row__time { grid-column: auto; } }
#workshops .split { align-items: start; }
.contact-details { grid-template-columns: 1fr; }
