/* =========================================================================
   Riverside South — holding page
   Built to the Riverside South visual guidelines (August 2026)
   Palette : River depth / Soft Stone / Sunlight / Sea glass
   Type    : PT Serif Regular (headings) · Asta Sans Medium & Light (UI/body)
   ========================================================================= */

/* -------------------------------------------------------------------------
   Brand fonts
   PT Serif is loaded from Google Fonts in index.html.
   Asta Sans is a licensed typeface and is not served by Google Fonts. When
   the licensed web font files are available, drop them into /fonts and
   uncomment the @font-face rules below — the whole site will pick them up
   automatically via --font-sans. Until then Figtree is used as the nearest
   free stand-in (geometric humanist sans with matching Light/Medium weights).
   ------------------------------------------------------------------------- */
/*
@font-face {
  font-family: "Asta Sans";
  src: url("fonts/AstaSans-Light.woff2") format("woff2");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Asta Sans";
  src: url("fonts/AstaSans-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
*/

/* -------------------------------------------------------------------------
   Design tokens
   ------------------------------------------------------------------------- */
:root {
  /* Brand colours */
  --river-depth: #00494E;   /* main dark colour   */
  --river-deep:  #003237;   /* darker shade, used for footer layering */
  --soft-stone:  #F7F7F7;   /* main light colour  */
  --sunlight:    #FFE5B4;   /* accent, for details */
  --sea-glass:   #DDF3F2;   /* supporting, for details */
  --paper:       #FBF9F7;

  /* Functional colours */
  --ink:          #1F2A2A;
  --ink-muted:    #4A5757;
  --on-dark:      #FFFFFF;
  --on-dark-soft: rgba(255, 255, 255, 0.78);
  --hairline:     rgba(0, 73, 78, 0.14);

  /* Typography */
  --font-serif: "PT Serif", Georgia, "Times New Roman", serif;
  --font-sans:  "Asta Sans", "Figtree", -apple-system, BlinkMacSystemFont,
                "Segoe UI", Helvetica, Arial, sans-serif;

  /* Fluid scale */
  --step-h1:   clamp(2.25rem, 1.45rem + 3.6vw, 4rem);
  --step-h2:   clamp(1.75rem, 1.3rem + 1.9vw, 2.6rem);
  --step-h3:   clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
  --step-lead: clamp(1.125rem, 1.02rem + 0.5vw, 1.375rem);
  --step-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-small: 0.9375rem;

  /* Rhythm */
  --gutter:      clamp(1.25rem, 5vw, 3.5rem);
  --section-pad: clamp(3.25rem, 7vw, 6rem);
  --measure:     68ch;
  --wrap:        1180px;
  --radius:      6px;
  --header-height: clamp(5.75rem, 4.8rem + 3vw, 7rem);
}

/* -------------------------------------------------------------------------
   Reset & base
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;               /* Asta Sans Light — body copy */
  font-size: var(--step-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;               /* PT Serif Regular — headings & statements */
  line-height: 1.12;
  margin: 0;
  letter-spacing: 0;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

img, svg { max-width: 100%; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--sunlight);
  outline-offset: 3px;
  border-radius: 2px;
}

.section--stone :focus-visible,
.section--seaglass :focus-visible { outline-color: var(--river-depth); }

/* -------------------------------------------------------------------------
   Motion
   ------------------------------------------------------------------------- */
@keyframes fade-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-soft {
  from { opacity: 0; }
  to { opacity: 1; }
}

.site-header,
.site-footer {
  animation: fade-soft 0.6s ease-out both;
}

.hero__info,
.notice,
.section__title,
.rule,
.section__lead,
.cols,
.card,
.section__note,
.contact__list {
  animation: fade-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__info { animation-delay: 0.08s; }
.notice { animation-delay: 0.18s; }
.section__title { animation-delay: 0.06s; }
.rule { animation-delay: 0.12s; }
.section__lead { animation-delay: 0.18s; }
.cols, .sessions { animation-delay: 0.24s; }
.card:nth-child(2) { animation-delay: 0.32s; }
.section__note, .contact__list { animation-delay: 0.3s; }
.site-footer { animation-delay: 0.18s; }

/* -------------------------------------------------------------------------
   Layout helpers
   ------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10;
  background: var(--sunlight);
  color: var(--river-depth);
  padding: 0.75rem 1.25rem;
  font-weight: 500;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

/* Gold hairline used across the brand */
.rule {
  display: block;
  width: 100%;
  height: 2px;
  margin: 1.5rem 0 2rem;
  background: var(--sunlight);
}
.section--stone .rule,
.section--seaglass .rule { background: var(--river-depth); opacity: 0.35; }

/* -------------------------------------------------------------------------
   Header
   ------------------------------------------------------------------------- */
.site-header {
  background: var(--river-depth);
  color: var(--on-dark);
  padding-block: clamp(1.25rem, 3vw, 2rem);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.wordmark {
  display: block;
  text-decoration: none;
  line-height: 1.1;
}

.wordmark__name {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  color: var(--sunlight);
}

.wordmark__place {
  display: block;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--on-dark-soft);
  text-align: right;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 229, 180, 0.45);
  border-radius: 999px;
  font-size: var(--step-small);
  font-weight: 500;
  color: var(--sunlight);
}

.status-pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sunlight);
  flex: none;
}

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  background: var(--river-depth);
  color: var(--on-dark);
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  padding-block: clamp(2.5rem, 6vw, 5rem) var(--section-pad);
  overflow: hidden;
}

/* Soft light on the water — a subtle nod to the brand imagery */
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto -20% -55% auto;
  right: -18%;
  bottom: -50%;
  width: min(46rem, 90vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 229, 180, 0.16) 0%, rgba(255, 229, 180, 0) 68%);
  pointer-events: none;
}

.hero > .wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: clamp(2rem, 6vw, 5rem);
}

.hero__info {
  flex: 1 1 36rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  font-size: var(--step-small);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sunlight);
}

.hero__title {
  font-size: var(--step-h1);
  margin-bottom: 0.4em;
}

.hero__lead {
  max-width: 40ch;
  font-size: var(--step-lead);
  font-weight: 500;              /* Asta Sans Medium — statements */
  line-height: 1.4;
  color: var(--on-dark);
}

/* Key holding-page message */
.notice {
  flex: 0 1 32rem;
  margin-top: 0;
  max-width: 32rem;
  background: var(--sunlight);
  color: var(--river-depth);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.25rem);
}

.notice__body {
  font-size: var(--step-lead);
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 1.35em;
}

.notice__body strong { font-weight: 600; }

.notice__actions { margin: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1.75rem;
  background: var(--river-depth);
  color: var(--on-dark);
  border-radius: 0;
  font-size: var(--step-small);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn__icon {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.btn:hover { background: var(--river-deep); }
.btn:active { transform: translateY(1px); }
.notice .btn:focus-visible { outline-color: var(--river-depth); }

/* -------------------------------------------------------------------------
   Content sections
   ------------------------------------------------------------------------- */
.section { padding-block: var(--section-pad); }

.section--stone    { background: var(--soft-stone); color: var(--ink); }
.section--seaglass { background: var(--sea-glass);  color: var(--ink); }
.section--river    { background: var(--river-depth); color: var(--on-dark); }

.section__title {
  font-size: var(--step-h2);
  max-width: 22ch;
}
.section--river .section__title { color: var(--on-dark); }
.section--stone .section__title,
.section--seaglass .section__title { color: var(--river-depth); }

.section__lead {
  max-width: 54ch;
  font-size: var(--step-lead);
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 2rem;
}
.section--river .section__lead { color: var(--on-dark-soft); }

.section__note {
  margin-top: 2.25rem;
  max-width: var(--measure);
  font-size: var(--step-small);
  color: var(--ink-muted);
}

.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: clamp(1.25rem, 3vw, 3rem);
  max-width: 62rem;
}

.cols p { max-width: 42ch; }

/* -------------------------------------------------------------------------
   Exhibition cards
   ------------------------------------------------------------------------- */
.sessions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.card {
  display: block;
  background: #FFFFFF;
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3.5vw, 2rem);
  box-shadow: 0 12px 28px rgba(0, 73, 78, 0.08);
}

a.card {
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

a.card:hover {
  box-shadow: 0 16px 34px rgba(0, 73, 78, 0.12);
  transform: translateY(-2px);
}

a.card:focus-visible {
  outline: 3px solid var(--river-depth);
  outline-offset: 4px;
}

.card__label {
  margin: 0 0 1rem;
  font-family: var(--font-sans);
  font-size: var(--step-small);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--river-depth);
}

.card__headline {
  font-family: var(--font-serif);
  font-size: var(--step-h3);
  line-height: 1.25;
  margin-bottom: 0.4rem;
  color: var(--river-depth);
}

.card__meta {
  font-style: normal;
  color: var(--ink-muted);
}

.dates {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.dates li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hairline);
}
.dates li:last-child { padding-bottom: 0; border-bottom: 0; }

.dates__day {
  font-weight: 500;
  color: var(--river-depth);
}

.dates__time {
  margin-left: auto;
  font-weight: 500;
  color: var(--ink-muted);
  white-space: nowrap;
}

/* -------------------------------------------------------------------------
   Contact
   ------------------------------------------------------------------------- */
.contact__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), max-content));
  gap: 1.25rem clamp(2rem, 6vw, 4.5rem);
}

.contact__list li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.contact__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--sunlight);
  color: var(--river-depth);
}

.contact__icon svg { width: 1.25rem; height: 1.25rem; }

.contact__list a {
  font-size: var(--step-lead);
  font-weight: 500;
  color: var(--on-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 229, 180, 0.5);
  padding-bottom: 2px;
  overflow-wrap: anywhere;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.contact__list a:hover {
  color: var(--sunlight);
  border-bottom-color: var(--sunlight);
}

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.site-footer {
  background: var(--river-deep);
  color: var(--on-dark-soft);
  padding-block: clamp(1.75rem, 4vw, 2.5rem);
  font-size: var(--step-small);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

.site-footer__brand {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  color: var(--sunlight);
}
.site-footer__brand span {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--on-dark-soft);
}

.site-footer__meta { margin: 0; }

.site-footer__meta a {
  color: var(--sunlight);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 229, 180, 0.5);
}

.site-footer__meta a:hover {
  border-bottom-color: var(--sunlight);
}

/* -------------------------------------------------------------------------
   Small screens
   ------------------------------------------------------------------------- */
@media (max-width: 40em) {
  :root { --header-height: 8.75rem; }
  .site-header__inner { flex-direction: column; align-items: flex-start; }
  .wordmark__place { text-align: left; }
  .status-pill { font-size: 0.875rem; padding: 0.4rem 0.85rem; }
  .hero { min-height: auto; }
  .hero > .wrap { flex-direction: column; }
  .hero__info, .notice { flex-basis: auto; }
  .section__lead--plans { margin-bottom: 0; }
  .dates__time { margin-left: 0; }
  .btn {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    text-align: center;
  }
}

/* -------------------------------------------------------------------------
   Print
   ------------------------------------------------------------------------- */
@media print {
  body { background: #fff; color: #000; }
  .hero, .section--river, .site-header, .site-footer {
    background: #fff !important;
    color: #000 !important;
  }
  .hero__title, .section__title, .wordmark__name, .site-footer__brand { color: #000 !important; }
  .notice { border: 1px solid #000; background: #fff !important; }
  .status-pill, .skip-link, .btn { display: none !important; }
  .contact__list a { color: #000 !important; }
  .contact__icon { background: #eee; color: #000; }
}
