/*
Theme Name: Water & Waves Studio
Theme URI: https://waterandwavesstudio.com
Author: Built for Water & Waves Studio
Description: A custom theme for Water & Waves Studio — original artwork made from sea glass hand-gathered on the New Hampshire Seacoast. Gallery, journal and show listings, built so the artist manages everything from simple forms.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: water-waves
Tags: portfolio, art, gallery, custom-colors, custom-menu, featured-images
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */

:root {
  --sand:        #f0ebe2;
  --sand-deep:   #e7e0d4;
  --fog:         #dde4e6;
  --ocean:       #5b8fa8;
  --ocean-dark:  #46788f;
  --deep:        #2c4a5a;
  --glass-green: #a8c5b5;
  --glass-blue:  #8ab4c2;
  --glass-white: #e8eff1;
  --text:        #2a3a42;
  --muted:       #5f7480;
  --line:        #d6ccbc;

  --display: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --body: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --wrap: 1100px;
  --gutter: 2rem;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--body);
  font-weight: 300;
  background-color: var(--sand);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ocean-dark); }

:focus-visible {
  outline: 2px solid var(--ocean-dark);
  outline-offset: 3px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--deep);
  color: #fff;
  padding: 0.8rem 1.4rem;
  z-index: 999;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   2. Site header / navigation
   ========================================================================== */

.site-nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem var(--gutter);
  max-width: var(--wrap);
  margin: 0 auto;
}

/* The admin bar overlays a fixed-position nav for logged-in users, which
   clips the site name. Only admins ever see this, but they see it constantly. */
body.admin-bar .site-nav { top: 32px; }

@media screen and (max-width: 782px) {
  body.admin-bar .site-nav { top: 46px; }
}

.site-nav.is-solid {
  position: relative;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}

.site-brand {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--deep);
  line-height: 1.1;
}
.site-nav:not(.is-solid) .site-brand { color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid currentColor;
  border-radius: 2px;
  color: inherit;
  font: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
}
.site-nav:not(.is-solid) .nav-toggle { color: #fff; }
.site-nav.is-solid .nav-toggle { color: var(--deep); }

.nav-menu {
  list-style: none;
  display: flex;
  gap: 1.8rem;
  align-items: center;
}

.nav-menu a {
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--deep);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.site-nav:not(.is-solid) .nav-menu a { color: rgba(255,255,255,0.9); }
.nav-menu a:hover,
.nav-menu .current-menu-item > a { border-bottom-color: currentColor; }

/* ==========================================================================
   3. Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 68vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem var(--gutter) 6rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 60%;
  animation: drift 20s ease-in-out infinite alternate;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 50, 65, 0.38);
}

@keyframes drift {
  0%   { transform: scale(1) translateY(0); }
  100% { transform: scale(1.06) translateY(-12px); }
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 80px;
  background: var(--sand);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
  font-weight: 300;
  font-size: clamp(0.65rem, 1.5vw, 0.78rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.8rem, 8vw, 6rem);
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.22);
  margin-bottom: 1.4rem;
  text-wrap: balance;
}
.hero h1 em { font-style: italic; color: var(--glass-green); }

.hero-sub {
  font-weight: 300;
  font-size: clamp(0.9rem, 2vw, 1.02rem);
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.9);
  max-width: 52ch;
  margin: 0 auto 2rem;
  line-height: 1.85;
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Holding page: the hero carries more of the page, so it gets more room. */
.hero--soon { min-height: 78vh; padding-top: 9rem; }

.hero--soon h1 {
  font-size: clamp(2.4rem, 7vw, 5rem);
  margin-bottom: 0.9rem;
}

.soon-heading {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.15rem, 3vw, 1.7rem);
  font-weight: 300;
  color: var(--glass-green);
  margin-bottom: 1rem;
  text-wrap: balance;
}

/* A short row, centred rather than stretched across a wide grid. */
.soon-grid {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

/* ==========================================================================
   4. Layout & sections
   ========================================================================== */

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ocean-dark);
  margin-bottom: 0.7rem;
  font-weight: 400;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--deep);
  margin-bottom: 1.3rem;
  text-wrap: balance;
}

.wrap--narrow { max-width: 780px; }

.prose p { margin-bottom: 1.1rem; max-width: 66ch; }
.prose h2 { font-family: var(--display); font-weight: 400; font-size: 1.8rem; color: var(--deep); margin: 2rem 0 0.8rem; }
.prose h3 { font-family: var(--display); font-weight: 400; font-size: 1.4rem; color: var(--deep); margin: 1.6rem 0 0.6rem; }
.prose ul, .prose ol { margin: 0 0 1.1rem 1.3rem; }
.prose li { margin-bottom: 0.4rem; }
.prose blockquote {
  border-left: 2px solid var(--glass-green);
  padding-left: 1.2rem;
  margin: 1.4rem 0;
  font-family: var(--display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--deep);
}
.prose img { margin: 1.6rem 0; border-radius: 2px; }

.wave-divider {
  width: 100%;
  height: 3px;
  border: none;
  background: linear-gradient(90deg, transparent, var(--glass-blue), var(--glass-green), transparent);
  opacity: 0.5;
  margin: 0;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-accent {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 2px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--glass-blue) 0%, var(--glass-green) 50%, var(--glass-white) 100%);
  box-shadow: 0 20px 60px rgba(44,74,90,0.12);
}
.about-accent img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   5. Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 2rem;
  border: 1.5px solid var(--ocean);
  color: var(--deep);
  background: transparent;
  text-decoration: none;
  font-family: var(--body);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: color 0.3s ease;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ocean);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 0;
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: #fff; }
.btn > * { position: relative; z-index: 1; }
.btn span, .btn svg { position: relative; z-index: 1; }

.btn--light { border-color: rgba(255,255,255,0.8); color: #fff; }
.btn--light::before { background: #fff; }
.btn--light:hover { color: var(--deep); }

/* ==========================================================================
   6. Gallery / artwork
   ========================================================================== */

.collection-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.8rem;
}

.collection-filter__link {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--deep);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.5rem 1.1rem;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.collection-filter__link:hover { border-color: var(--ocean); }
.collection-filter__link.is-current {
  background: var(--deep);
  border-color: var(--deep);
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.art-card { text-decoration: none; color: inherit; display: block; }

.art-card__frame {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 2px;
  background: var(--fog);
  box-shadow: 0 8px 32px rgba(44,74,90,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.art-card:hover .art-card__frame {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(44,74,90,0.16);
}
.art-card__frame img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Placeholder shown when a piece has no photo yet */
.art-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  background: linear-gradient(160deg, var(--fog) 0%, var(--glass-white) 100%);
  color: var(--ocean);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.65;
  text-align: center;
  padding: 1rem;
}
.art-placeholder__icon {
  width: 36px; height: 36px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}

.art-card__meta { padding: 0.9rem 0.1rem 0; }
.art-card__title {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--deep);
  line-height: 1.25;
}
.art-card__line {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.art-card__price { font-variant-numeric: tabular-nums; }

.status-tag {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.18rem 0.5rem;
  border-radius: 2px;
  border: 1px solid currentColor;
  line-height: 1.4;
}
.status-tag--available  { color: var(--ocean-dark); }
.status-tag--sold       { color: #96755a; }
.status-tag--commission { color: #6d8f7c; }
.status-tag--made_to_order { color: var(--ocean-dark); border-style: dashed; }

/* Single artwork */
.art-single {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.art-single__image {
  border-radius: 2px;
  overflow: hidden;
  background: var(--fog);
  box-shadow: 0 18px 50px rgba(44,74,90,0.12);
}
.art-single__image .art-placeholder { position: relative; aspect-ratio: 4/5; }

.art-specs {
  list-style: none;
  margin: 1.6rem 0;
  border-top: 1px solid var(--line);
}
.art-specs li {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.art-specs dt, .art-specs .k {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.25em;
}
.art-specs .v { color: var(--text); }
.art-price-big {
  font-family: var(--display);
  font-size: 2rem;
  color: var(--deep);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   7. Events / shows
   ========================================================================== */

.event-list { list-style: none; margin-top: 2.5rem; }

.event {
  display: grid;
  grid-template-columns: 7.5rem 1fr auto;
  gap: 2rem;
  align-items: baseline;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}
.event:last-child { border-bottom: 1px solid var(--line); }

.event__date {
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--ocean-dark);
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}
.event__name {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--deep);
  line-height: 1.25;
  margin-bottom: 0.2rem;
}
.event__where { font-size: 0.9rem; color: var(--muted); }
.event__link { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }

.event--past { opacity: 0.55; }

/* ==========================================================================
   8. Journal / posts
   ========================================================================== */

.post-list { display: grid; gap: 2.6rem; margin-top: 2.5rem; }

.post-card { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: start; }
.post-card--noimg { grid-template-columns: 1fr; }
.post-card__thumb { border-radius: 2px; overflow: hidden; aspect-ratio: 4/3; background: var(--fog); }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card__title { font-family: var(--display); font-size: 1.6rem; font-weight: 400; line-height: 1.2; margin-bottom: 0.35rem; }
.post-card__title a { color: var(--deep); text-decoration: none; }
.post-card__title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.post-meta { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.6rem; }

.entry-header { margin-bottom: 2rem; }
.entry-title {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 300;
  line-height: 1.12;
  color: var(--deep);
  text-wrap: balance;
}
.entry-featured { margin: 2rem 0; border-radius: 2px; overflow: hidden; }

.pagination { margin-top: 3rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.pagination .page-numbers {
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--deep);
  font-size: 0.85rem;
  border-radius: 2px;
}
.pagination .page-numbers.current { background: var(--deep); color: #fff; border-color: var(--deep); }

/* ==========================================================================
   9. Inquiry / contact
   ========================================================================== */

.inquiry {
  background: var(--sand-deep);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1.8rem;
  margin-top: 2rem;
}
.inquiry h3 { font-family: var(--display); font-size: 1.35rem; font-weight: 400; color: var(--deep); margin-bottom: 0.4rem; }
.inquiry p { font-size: 0.92rem; color: var(--muted); margin-bottom: 1.1rem; }

/* ==========================================================================
   10. Footer
   ========================================================================== */

.social-links { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding: 3rem 0 2.5rem;
  text-align: center;
}
.site-footer__brand { font-family: var(--display); font-size: 1.5rem; color: var(--deep); margin-bottom: 0.4rem; }
.site-footer__tag { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.6rem; }
.site-footer__former { font-size: 0.78rem; opacity: 0.8; }
.footer-nav { list-style: none; display: flex; gap: 1.6rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.6rem; }
.footer-nav a { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; color: var(--deep); }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer__legal { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); opacity: 0.8; }

/* ==========================================================================
   11. Responsive
   ========================================================================== */

@media (max-width: 860px) {
  .art-single { grid-template-columns: 1fr; gap: 2rem; }
  .post-card { grid-template-columns: 180px 1fr; gap: 1.4rem; }
}

@media (max-width: 700px) {
  :root { --gutter: 1.4rem; }

  .nav-toggle { display: inline-block; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%; right: var(--gutter);
    background: var(--sand);
    border: 1px solid var(--line);
    border-radius: 2px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 0;
    min-width: 190px;
    box-shadow: 0 12px 32px rgba(44,74,90,0.14);
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-menu a,
  .site-nav:not(.is-solid) .nav-menu a {
    display: block;
    color: var(--deep);
    padding: 0.7rem 1.2rem;
    border-bottom: none;
  }

  .hero { min-height: 0; padding: 7rem var(--gutter) 5rem; }
  .hero::after { height: 50px; }

  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-accent { aspect-ratio: 16/9; }

  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }

  .event { grid-template-columns: 1fr; gap: 0.4rem; }
  .event__link { justify-self: start; }

  .post-card, .post-card--noimg { grid-template-columns: 1fr; }
  .post-card__thumb { aspect-ratio: 16/9; }

  .art-specs li { grid-template-columns: 1fr; gap: 0.1rem; }
}


/* ==========================================================================
   12. Commissions: process, forms, notes
   ========================================================================== */

.process {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.6rem;
}

.process__step {
  counter-increment: step;
  border-top: 2px solid var(--glass-green);
  padding-top: 1.1rem;
}

.process__step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--body);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--ocean-dark);
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}

.process__step h2 {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--deep);
  line-height: 1.25;
  margin-bottom: 0.4rem;
}

.process__step p { font-size: 0.93rem; color: var(--muted); margin: 0; }

.empty-note {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ── Enquiry form ── */
.ww-form { margin-top: 1.8rem; max-width: 560px; }

.ww-form__row { margin-bottom: 1.3rem; }

.ww-form__row label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--deep);
  margin-bottom: 0.45rem;
}

.ww-form input[type="text"],
.ww-form input[type="email"],
.ww-form textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.75rem 0.9rem;
  transition: border-color 0.2s ease;
}

.ww-form input:focus,
.ww-form textarea:focus {
  outline: none;
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(91,143,168,0.14);
}

.ww-form textarea { resize: vertical; min-height: 150px; line-height: 1.7; }

.ww-form__help { font-size: 0.82rem; color: var(--muted); margin-top: 0.4rem; }

.ww-form__about {
  background: var(--sand-deep);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  margin-bottom: 1.3rem;
}

/* Off-screen rather than display:none, so bots still fill it in. */
.ww-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ww-form button.btn { border-width: 1.5px; font-family: var(--body); }

.form-note {
  border-radius: 2px;
  padding: 1.1rem 1.3rem;
  margin: 1.6rem 0;
  border: 1px solid var(--line);
  background: var(--sand-deep);
}
.form-note p { margin: 0 0 0.4rem; max-width: none; }
.form-note p:last-child { margin-bottom: 0; }
.form-note--ok  { border-left: 3px solid var(--glass-green); }
.form-note--bad { border-left: 3px solid #a8703f; }

/* ── Long-form article pages ── */
.article-hero { border-bottom: 1px solid var(--line); }
.article-lede {
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  font-weight: 300;
  line-height: 1.55;
  color: var(--deep);
  max-width: 56ch;
  margin-bottom: 1.6rem;
}

.prose h2:first-of-type { margin-top: 1rem; }

.fact-box {
  background: var(--sand-deep);
  border: 1px solid var(--line);
  border-left: 3px solid var(--glass-blue);
  border-radius: 2px;
  padding: 1.2rem 1.4rem;
  margin: 1.8rem 0;
}
.fact-box p { margin-bottom: 0.6rem; }
.fact-box p:last-child { margin-bottom: 0; }
.fact-box strong { color: var(--deep); }

.colour-table { width: 100%; border-collapse: collapse; margin: 1.6rem 0; font-size: 0.93rem; }
.colour-table th, .colour-table td { text-align: left; padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.colour-table th {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}
.colour-table td:first-child { white-space: nowrap; font-weight: 500; color: var(--deep); }
.table-scroll { overflow-x: auto; }

@media (max-width: 760px) {
  .process { grid-template-columns: 1fr; gap: 1.6rem; }
  .colour-table { min-width: 520px; }
}
