/* Approved homepage design, shared across Wisteria — 5 November 2026.
   Palette values and font faces are defined once in redesign.css. */
.site-design {
  --card-border: #dfd3e0;
  --card-shadow: 0 7px 20px #302c2b12;
  --card-padding: clamp(24px, 4vw, 56px);
  background: var(--cream);
}
.site-design .masthead,
.site-design .footer { background: var(--paper); }
.site-design .masthead__nav--right a:last-child { font-style: normal; }
.site-design .masthead__nav [aria-current=page] { text-decoration: none; }
.site-design .masthead__nav a:hover { text-decoration: underline; }

@media (min-width: 721px) {
  .site-design .masthead__inner {
    grid-template-columns: minmax(0, 1fr) 200px minmax(0, 1fr);
    gap: 24px;
  }
  .site-design .brand img { width: 200px; }
  .site-design .masthead__nav {
    font-size: clamp(17px, 1.2vw, 20px);
    gap: clamp(16px, 1.8vw, 28px);
  }
  .site-design .footer__line { font-size: 13px; }
}
@media (min-width: 721px) and (max-width: 1000px) {
  .site-design .masthead__inner {
    grid-template-columns: minmax(0, 1.5fr) 155px minmax(0, 1fr);
    gap: 18px;
    padding-inline: 24px;
  }
  .site-design .brand img { width: 155px; }
  .site-design .masthead__nav { font-size: 16px; gap: 16px; }
}
@media (max-width: 720px) {
  .site-design .masthead__inner { grid-template-columns: repeat(4, max-content); }
  .site-design .footer__line { font-size: 10px; }
}

/* Cream pages, paper cards, purple contact sections and green stockist sections. */
.inner-page .page-intro { padding-block: 44px 50px; }
.inner-page .eyebrow { font-size: 15px; line-height: 1.7; letter-spacing: .08em; }
.inner-page .page-intro>p { font-size: 17px; line-height: 1.85; }
.inner-page .biography {
  max-width: 1040px;
  margin: 48px auto 64px;
}
.inner-page .biography>.eyebrow {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}
.inner-page .biography h2 { margin: 30px 0 36px; }
.inner-page .biography-copy { max-width: 720px; }
.inner-page .collection-intros { max-width: none; }
.inner-page .collection-intro {
  max-width: 1040px;
  margin-bottom: 38px;
}
.inner-page .collection-intro p { max-width: 70ch; }
.inner-page .workshop-story {
  margin: 48px 0 56px;
  gap: clamp(28px, 6vw, 80px);
}
.inner-page .workshop-dates { padding-bottom: 64px; }
.inner-page .workshop-dates table { font-size: 17px; }
.inner-page .contact-section {
  background: var(--purple);
  color: var(--paper);
  padding-block: 56px 64px;
}
.inner-page .contact-details h2,
.inner-page .contact-details .eyebrow,
.inner-page .contact-details .contact-email,
.inner-page .contact-details .text-link {
  color: var(--paper);
  border-color: #aa8aba;
}
.inner-page .contact-email { font-size: 17px; }
.inner-page .contact-details>p,
.inner-page .enquiry-guide p { font-size: 16px; line-height: 1.85; }
.inner-page .enquiry-guide {
  min-width: 0;
  color: var(--ink);
}
.inner-page .enquiry-guide h3,
.inner-page .enquiry-guide .eyebrow,
.inner-page .enquiry-guide .contact-email,
.inner-page .enquiry-guide .text-link { color: var(--purple); }
.inner-page .enquiry-guide .contact-email { margin-top: 14px; }
.inner-page .visit-section {
  background: #dfe2d3 url("assets/watercolour-background.webp") center/cover;
  padding-block: 56px 64px;
}
.inner-page .visit-copy h2,
.inner-page .visit-copy .eyebrow,
.inner-page .visit-copy .text-link { color: var(--olive); }
.inner-page .visit-card>p { font-size: 14px; line-height: 1.85; }

/* Keep the expressive closing heading, with the enquiry alongside it. */
.site-design .last-page>.chapter { justify-content: flex-end; }
@media (min-width: 721px) {
  .site-design .last-page { padding-block: 30px 48px; }
  .site-design .last-page__email { font-size: 38px; }
  .site-design .last-page__bottom>div>span { font-size: 16px; }
  .site-design .last-page>.chapter { max-width: 1200px; margin-inline: auto; }
  .site-design .last-page__layout { max-width: 1200px; margin: 34px auto 0; }
  .site-design .last-page h2 {
    font-size: clamp(72px, 6.2vw, 96px);
    line-height: .98;
    margin: 0 0 30px;
  }
}
@media (min-width: 1100px) {
  .site-design .last-page__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(40px, 5vw, 72px);
  }
  .site-design .last-page h2 { margin: 0; }
  .site-design .last-page__bottom {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    width: 100%;
    max-width: 430px;
    justify-self: end;
    margin: 0;
    padding: 24px 0;
    border-top: 1px solid #aa8aba;
  }
  .site-design .last-page__bottom>div { min-width: 0; max-width: none; width: 100%; }
}


@media (max-width: 720px) {
  .inner-page .page-intro { padding-block: 30px 38px; }
  .inner-page .eyebrow { font-size: 12px; }
  .inner-page .page-intro>p { font-size: 14px; }
  .inner-page .biography { margin-block: 32px 44px; }
  .inner-page .collection-intro { margin-bottom: 28px; }
  .inner-page .workshop-story { margin-block: 32px 40px; gap: 25px; }
  .inner-page .workshop-dates { padding-bottom: 44px; }
  .inner-page .workshop-dates table { font-size: 13px; }
  .inner-page .contact-section,
  .inner-page .visit-section { padding-block: 40px 46px; }
  .inner-page .contact-email { font-size: 14px; }
  .inner-page .contact-details>p,
  .inner-page .enquiry-guide p { font-size: 14px; }
  .inner-page .visit-card>p { font-size: 13px; }
}

/* Occasion dialogs: internal contact and collection links. */
.site-design .flower-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin-top: 24px;
}
.site-design .flower-dialog__actions .underlink {
  min-height: 44px;
  margin-top: 0;
  gap: 16px;
  font-size: 14px;
}

/* Gallery final review: natural image proportions without padded frames. */
.inner-page .gallery-grid {
  display: block;
  column-count: 3;
  column-gap: 28px;
}
.inner-page .gallery-item {
  display: block;
  break-inside: avoid;
  margin: 0 0 28px;
}
.inner-page .gallery-item>a {
  display: block;
  aspect-ratio: auto;
  background: transparent;
  overflow: visible;
}
.inner-page .gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  background: transparent;
}
.inner-page #gallery-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.inner-page .gallery-bottom { justify-content: flex-end; }
.inner-page .workshop-feature {
  max-width: 960px;
  margin-inline: auto;
}
.inner-page .workshop-feature img,
.inner-page .workshop-strip img {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  background: transparent;
}
.inner-page .workshop-strip {
  display: block;
  column-count: 3;
  column-gap: 24px;
}
.inner-page .workshop-strip>a {
  display: block;
  break-inside: avoid;
  margin-bottom: 24px;
}

/* Unframed viewer: only the photograph and a small close control. */
.inner-page .photo-viewer {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 3dvh 3vw;
  border: 0;
  background: transparent;
  color: #fff;
  overflow: hidden;
}
.inner-page .photo-viewer[open] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.inner-page .photo-viewer::backdrop { background: rgba(0, 0, 0, .75); }
.inner-page .photo-viewer img {
  display: block;
  width: auto;
  height: auto;
  max-width: 94vw;
  max-height: calc(90dvh - 52px);
  object-fit: contain;
  background: transparent;
}
.inner-page .photo-viewer__controls {
  position: static;
  display: flex;
  justify-content: center;
  margin-top: 4px;
  padding: 0;
  background: transparent;
}
.inner-page .photo-viewer button {
  min-width: 44px;
  min-height: 44px;
  padding: 4px 8px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  text-shadow: 0 1px 3px #000;
}
.inner-page .photo-viewer button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
@media (max-width: 1000px) {
  .inner-page .gallery-grid { column-count: 2; }
}
@media (max-width: 720px) {
  .inner-page .gallery-grid { column-gap: 20px; }
  .inner-page .gallery-item { margin-bottom: 20px; }
  .inner-page .workshop-strip { column-count: 2; column-gap: 20px; }
}
@media (max-width: 600px) {
  .inner-page .gallery-grid { column-count: 1; }
}
@media (max-width: 500px) {
  .inner-page .workshop-strip { column-count: 1; }
}

/* Restored gallery navigation, keeping every control unboxed. */
.inner-page .photo-viewer__controls { gap: 20px; }
.inner-page .photo-viewer button[data-photo-prev],
.inner-page .photo-viewer button[data-photo-next] {
  font-size: 16px;
  line-height: 1.4;
  white-space: nowrap;
  border: 0;
  background: transparent;
}

/* Final plain price and booking emphasis. */
.workshop-page .workshop-price {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--purple);
  font: 500 72px/1.15 var(--serif);
}
.workshop-page .workshop-price>span { font: 400 18px/1.5 var(--body); }
.workshop-page #workshop-contact-heading {
  font-size: clamp(52px, 5vw, 72px);
  line-height: 1.05;
  margin: 0 0 20px;
}
.workshop-page #workshop-contact-heading em { font-weight: 700; font-style: italic; }
.workshop-page .workshop-booking-label {
  font-size: 20px;
  letter-spacing: .06em;
  margin-bottom: 20px;
}
.workshop-page .enquiry-guide a[href^="tel:"] { border: 0; text-decoration: none; }

/* One shared treatment, matching the two approved homepage paper boxes. */
.site-design .paper-card.paper-card--panel,
.site-design .paper-card.paper-card--postcard {
  background: var(--paper);
  box-shadow: var(--card-shadow);
  border-radius: 0;
  min-width: 0;
}
.site-design .paper-card.paper-card--panel {
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
  padding: var(--card-padding);
  border: 1px solid var(--card-border);
  transform: none;
}
.site-design .paper-card.paper-card--postcard {
  padding: 32px 38px;
  border: 0;
  transform: rotate(-1deg);
}
@media (min-width: 721px) and (max-width: 950px) {
  .site-design .paper-card.paper-card--postcard { padding: 25px; }
}
@media (max-width: 720px) {
  .workshop-page .workshop-price { font-size: 64px; }
  .workshop-page .workshop-booking-label { font-size: 16px; }
  .site-design .paper-card.paper-card--postcard { padding: 25px 26px 28px; transform: rotate(1deg); }
}

/* Vector arrows avoid platform-specific emoji rendering. */
.site-design .ui-icon {
  display: inline-block;
  width: .8em;
  height: .8em;
  vertical-align: -.1em;
  flex-shrink: 0;
  color: inherit;
}
