/*
Theme Name: Tyne Reef Aquatics 2026
Theme URI: https://tynereefaquatics.co.uk
Author: Tyne Reef Aquatics
Author URI: https://tynereefaquatics.co.uk
Description: Aquacultured corals, care guides, reef accessories and North East aquarium support.
Version: 2.2.2
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: tyne-reef-aquatics
Tags: e-commerce, custom-logo, custom-menu, featured-images
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --ink: #061a24;
  --ink-soft: #0c2834;
  --cream: #eef3f5;
  --paper: #e4ecef;
  --teal: #17d6c8;
  --teal-deep: #087987;
  --coral: #ef7159;
  --muted: #4a5f68;
  --line: #cfd8dc;
  --font: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: var(--paper);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, .button { font: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; margin: 0; }
p { text-wrap: pretty; }
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--cream);
  padding: 0.5rem 1rem;
  border-radius: 999px;
}
.skip:focus { top: 1rem; z-index: 80; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ink);
  color: var(--cream);
  border-bottom: 1px solid rgba(245, 240, 231, 0.1);
}
body.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
.header-bar, .wrap, .band-inner { width: min(72rem, calc(100% - 2.5rem)); margin: 0 auto; }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 5rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; color: var(--cream); }
.brand-mark {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid rgba(245, 240, 231, 0.35);
  border-radius: 50%;
  color: var(--coral);
  overflow: visible;
  flex: 0 0 2.75rem;
}
.brand-mark:has(.brand-logo) {
  width: 3.4rem;
  height: 3.4rem;
  flex-basis: 3.4rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
.brand-mark .brand-logo {
  width: 3.4rem;
  height: 3.4rem;
  max-width: none;
  object-fit: contain;
  padding: 0;
}
.brand-name strong, .brand-name small { display: block; text-transform: uppercase; }
.brand-name strong { font-family: var(--display); font-weight: 500; letter-spacing: 0.22em; color: var(--coral); font-size: 0.875rem; }
.brand-name small { margin-top: 0.15rem; letter-spacing: 0.18em; color: var(--teal); font-size: 0.75rem; }
.desktop-nav { display: none; }
.desktop-nav .menu, .mobile-nav .menu, .footer-menu {
  display: flex;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.desktop-nav a { color: rgba(245, 240, 231, 0.88); font-size: 0.95rem; }
.desktop-nav .current-menu-item a, .desktop-nav a:hover { color: var(--teal); }
.list-link, .nav-toggle, .button, .interest-form button, .enquiry-item button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border-radius: 999px;
}
.list-link { gap: 0.5rem; padding: 0 1rem; border: 1px solid rgba(245, 240, 231, 0.25); color: var(--cream); }
.list-count { min-width: 1.5rem; padding: 0 0.35rem; border-radius: 999px; background: var(--teal); color: var(--ink); font-size: 0.75rem; font-weight: 700; text-align: center; }
.nav-toggle { width: 2.75rem; border: 1px solid rgba(245, 240, 231, 0.25); background: transparent; }
.nav-toggle span { display: block; width: 1rem; height: 1px; margin: 3px 0; background: var(--cream); }
.header-tools { display: flex; align-items: center; gap: 0.5rem; }
.mobile-nav { background: var(--ink); padding: 0.5rem 1.25rem 1rem; }
.mobile-nav .menu { flex-direction: column; gap: 0; }
.mobile-nav a { display: flex; min-height: 3rem; align-items: center; border-bottom: 1px solid rgba(245, 240, 231, 0.1); font-size: 1.1rem; }
.list-label { display: none; }

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 0;
  overflow: hidden;
  color: var(--cream);
  background: var(--ink);
}
body.is-home .hero {
  margin-top: 0;
  min-height: 34vh;
  padding-top: 0;
}
.hero img.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 26, 36, 0.55), rgba(6, 26, 36, 0.22) 48%, rgba(6, 26, 36, 0.08)),
    linear-gradient(to top, rgba(6, 26, 36, 0.45), rgba(6, 26, 36, 0.12) 55%, rgba(6, 26, 36, 0.18));
}
.hero-copy { position: relative; z-index: 1; width: min(72rem, calc(100% - 2.5rem)); margin: 0 auto; }
.section, .band-inner { position: relative; z-index: 1; }
.hero-copy { padding: 1.25rem 0 1.75rem; max-width: 38rem; }
body.is-home .hero-copy {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}
body.is-home .hero h1 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  color: #fff;
}
body.is-home .hero .kicker-light { color: #fff; }
body.is-home .hero .lede {
  margin: 0.8rem 0 0;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.94);
}
body.is-home .hero .text-link { color: #fff; }
body.is-home .hero .trust { margin-top: 1.1rem; }
body.is-home .hero .trust span { color: rgba(255, 255, 255, 0.92); }
body.is-home .hero .dot {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
body.is-home .hero .actions { margin-top: 1.1rem; }
.kicker { display: flex; align-items: center; gap: 0.75rem; margin: 0 0 1.25rem; color: var(--teal-deep); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.kicker span { width: 2rem; height: 1px; background: var(--coral); }
.kicker-light { color: var(--teal); }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
.lede, .muted { color: var(--muted); }
.hero .lede { color: rgba(245, 240, 231, 0.8); font-size: 1.125rem; max-width: 36rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.75rem; }
.button { padding: 0 1.4rem; background: var(--teal); color: var(--ink); font-weight: 650; font-size: 0.95rem; }
.button-dark { background: var(--ink); color: var(--cream); }
.text-link { display: inline-flex; min-height: 2.75rem; align-items: center; gap: 0.4rem; font-weight: 550; }
.trust { display: grid; gap: 0.8rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.trust li { display: flex; gap: 0.75rem; align-items: center; font-size: 0.95rem; }
.trust strong { display: block; }
.trust span { color: rgba(245, 240, 231, 0.7); }
.dot { display: grid; width: 2.25rem; height: 2.25rem; place-items: center; border: 1px solid rgba(245, 240, 231, 0.25); border-radius: 50%; color: var(--teal); }

.section { padding: 4.5rem 0; }
.center { text-align: center; }
.center .kicker, .center h2 { justify-content: center; }
.center .kicker { display: inline-flex; }
.narrow { max-width: 42rem; margin-left: auto; margin-right: auto; }
.split { display: grid; gap: 1.5rem; align-items: end; }
.cards, .guide-grid, .step-grid, .material-grid { display: grid; gap: 1rem; }
.coral-card, .guide-card, .step, .panel, .interest-form, .form-done, .enquiry-item {
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--cream);
}
.coral-card { position: relative; display: flex; min-height: 16rem; flex-direction: column; justify-content: space-between; padding: 1.5rem; overflow: hidden; background: var(--ink); color: var(--cream); }
.coral-card-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.coral-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 26, 36, 0.92), rgba(6, 26, 36, 0.42) 55%, rgba(6, 26, 36, 0.2));
  pointer-events: none;
}
.coral-card .num,
.coral-card > span { position: relative; z-index: 1; }
.coral-card .num, .num { font-family: var(--display); color: rgba(245, 240, 231, 0.28); font-size: 2.5rem; }
.coral-card p, .eyebrow { margin: 0; color: var(--teal); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.coral-card h3 { font-size: 2.2rem; margin-top: 0.4rem; }
.coral-card small { color: rgba(245, 240, 231, 0.7); }
.note { color: var(--muted); text-align: center; }

.band { background: var(--ink); color: var(--cream); }
.band .muted, .band p { color: rgba(245, 240, 231, 0.75); }
.band-inner { padding: 4.5rem 0; }
.steps { display: grid; gap: 1.25rem; }
.step-line { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding-top: 1rem; border-top: 1px solid rgba(245, 240, 231, 0.15); }
.step-line .num { color: var(--coral); font-size: 1.25rem; }
.promise-media {
  display: block;
  width: 100%;
  margin: 2rem 0 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: 1.5rem;
}
.support-photo, .hero-side img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  object-position: center 28%;
}
.access-hero img {
  width: 100%;
  height: 22rem;
  object-fit: cover;
  object-position: center;
  background: var(--ink);
}
.promise-copy, .pad { padding: 3rem 1.25rem; }
.stats { display: grid; gap: 1rem; margin-top: 1.5rem; }
.stats strong { font-family: var(--display); font-size: 1.3rem; font-weight: 500; }
.guide-card { display: flex; min-height: 16rem; flex-direction: column; justify-content: space-between; padding: 1.5rem; }
.guide-soon {
  margin: 1.75rem 0 0;
  max-width: 46rem;
  padding: 1.5rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--cream);
}
.guide-soon h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 0.6rem; }
.guide-card h3 { font-size: 1.8rem; margin: 0.6rem 0; }
.checks { margin: 1.25rem 0 0; padding: 0; list-style: none; }
.checks li { display: flex; gap: 0.7rem; align-items: center; margin-top: 0.6rem; }
.tick { display: grid; width: 1.5rem; height: 1.5rem; place-items: center; border-radius: 50%; background: var(--teal); color: var(--ink); font-size: 0.75rem; }
.support-card { position: relative; min-height: 24rem; overflow: hidden; border-radius: 1.5rem; color: var(--cream); }
.support-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.support-card div { position: relative; display: flex; min-height: 24rem; flex-direction: column; justify-content: flex-end; padding: 1.5rem; background: linear-gradient(to top, rgba(6,26,36,0.92), rgba(6,26,36,0.25)); }
.final { text-align: center; }
.final .actions { justify-content: center; }

.page { padding: 3rem 0 4rem; }
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.pills li, .filters button { border: 1px solid rgba(245, 240, 231, 0.25); border-radius: 999px; padding: 0.45rem 0.8rem; font-size: 0.8rem; }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filters button { min-height: 2.75rem; background: var(--cream); color: var(--ink); border-color: var(--line); }
.filters button.is-active { background: var(--ink); color: var(--cream); }
.search { min-height: 2.75rem; border: 1px solid var(--line); border-radius: 999px; background: var(--cream); padding: 0 1rem; }
.row { display: grid; gap: 1.5rem; padding: 1.5rem; }
.row h2 { font-size: 2rem; }
.wait { min-height: 2.75rem; padding: 0 1.2rem; border: 0; border-radius: 999px; background: var(--ink); color: var(--cream); }

.screening { display: grid; gap: 1.5rem; align-items: center; width: min(72rem, calc(100% - 2.5rem)); margin: 0 auto; padding: 3rem 0 4.5rem; }
.screening img {
  width: min(22rem, 100%);
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 1.5rem;
}
.screen-list { margin: 1rem 0 0; padding: 0; list-style: none; }
.screen-list li { padding-top: 0.75rem; margin-top: 0.75rem; border-top: 1px solid var(--line); }

.approach-hero { display: grid; background: var(--ink); color: var(--cream); }
.approach-hero .copy { padding: 4rem 1.25rem 3rem; }
.approach-hero img {
  width: 100%;
  height: 18rem;
  object-fit: cover;
  object-position: center;
}
.step { padding: 1.25rem; background: var(--paper); }
.step .num, .ink-num { color: var(--coral); font-family: var(--display); font-size: 1.25rem; }
.cream { background: var(--cream); }
.access-hero { display: grid; background: var(--ink); color: var(--cream); }
.access-hero .copy { padding: 4rem 1.25rem 3rem; }
.access-hero img { width: 100%; height: 22rem; object-fit: cover; object-position: center; background: var(--ink); }
.interest-form, .form-done { display: grid; gap: 0.9rem; padding: 1.5rem; }
.interest-form label { display: grid; gap: 0.4rem; font-size: 0.95rem; font-weight: 600; }
.interest-form input, .interest-form textarea, .search {
  font: inherit;
  color: var(--ink);
}
.interest-form input, .interest-form textarea {
  min-height: 3rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--paper);
  padding: 0.7rem 0.9rem;
  font-weight: 400;
}
.interest-form textarea { min-height: 8rem; }
.interest-form button { border: 0; background: var(--ink); color: var(--cream); }
.form-error { color: var(--coral); margin: 0; }
.guide-layout { display: grid; gap: 1.5rem; }
.snapshot { padding: 1.25rem; }
.snapshot dl { margin: 1rem 0 0; }
.snapshot dt { color: var(--muted); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.snapshot dd { margin: 0.2rem 0 0.8rem; }
.level { display: inline-flex; margin-top: 1rem; border-radius: 999px; background: var(--ink); color: var(--cream); padding: 0.4rem 0.9rem; }
.ask { border-radius: 1.5rem; background: var(--ink); color: var(--cream); padding: 1.5rem; }
.ask .button { border: 0; }
.policy h2 { margin-top: 2rem; font-size: 1.8rem; }
.policy p { color: var(--muted); }
.enquiry-item { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.1rem 1.2rem; }
.enquiry-item button, .button-ghost { border: 1px solid var(--line); background: transparent; color: var(--ink); padding: 0 1rem; }
.empty { border: 1px dashed var(--line); border-radius: 1.5rem; padding: 1.5rem; background: var(--cream); }

.site-footer { background: var(--ink); color: var(--cream); padding: 3rem 1.25rem; text-align: center; }
.footer-intro { display: grid; justify-items: center; gap: 1rem; max-width: 40rem; margin: 0 auto 1.5rem; }
.footer-intro p { margin: 0; color: rgba(245, 240, 231, 0.6); font-size: 0.95rem; }
.footer-menu { flex-wrap: wrap; justify-content: center; }
.footer-menu a { color: rgba(245, 240, 231, 0.75); }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem 1.2rem; margin-top: 1rem; color: rgba(245, 240, 231, 0.45); font-size: 0.8rem; }

@media (min-width: 700px) {
  .trust, .stats, .cards, .guide-grid { grid-template-columns: 1fr 1fr; }
  .list-label { display: inline; }
  .screening img { width: 18rem; }
}
@media (min-width: 980px) {
  .desktop-nav { display: block; }
  .nav-toggle, .mobile-nav { display: none; }
  .split, .two, .guide-layout, .access-hero, .approach-hero { grid-template-columns: 1fr 1fr; align-items: center; }
  .approach-hero .copy, .access-hero .copy { padding: 4.5rem 3rem; }
  .access-hero img { height: 100%; min-height: 28rem; object-fit: cover; }
  .approach-hero { align-items: stretch; }
  .approach-hero img {
    height: 100%;
    max-height: 24rem;
    min-height: 0;
    object-fit: cover;
    object-position: center;
    align-self: center;
  }
  .cards.four, .step-grid, .material-grid, .guide-grid.three { grid-template-columns: 1fr 1fr 1fr; }
  .cards.four { grid-template-columns: 1fr 1fr; }
  .trust { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .screening { grid-template-columns: auto 1fr; gap: 3rem; }
  .screening img { width: 20rem; height: auto; }
  .row { grid-template-columns: 1fr auto; align-items: center; }
  .home-support, .home-access { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .footer-intro { grid-template-columns: auto 1fr; text-align: left; align-items: center; }
  .site-footer { text-align: left; }
  .footer-links, .footer-meta { display: flex; justify-content: center; }
}
@media (max-width: 782px) {
  body.admin-bar .site-header,
  body.admin-bar.is-home .site-header { top: var(--wp-admin--admin-bar--height, 46px); }
}
@media (max-width: 699px) {
  h1 { font-size: clamp(2.15rem, 11vw, 3rem); }
  .hero { align-items: flex-start; }
  body.is-home .hero { min-height: 0; }
  body.is-home .hero h1 { font-size: clamp(1.85rem, 9vw, 2.5rem); }
  .hero-copy { padding: 0.75rem 0 1.4rem; }
  .trust { margin-top: 1rem; gap: 0.55rem; }
}
.launch {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--cream);
  background: var(--ink);
  overflow: hidden;
}
.launch-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: right center;
}
.launch-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 26, 36, 0.96), rgba(6, 26, 36, 0.78) 46%, rgba(6, 26, 36, 0.2));
}
.launch-panel {
  position: relative;
  z-index: 1;
  width: min(36rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 3.5rem 0;
}
.launch-brand { margin: 0 0 1.5rem; }
.launch .lede { color: rgba(245, 240, 231, 0.8); }
.launch-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 1.75rem;
  padding: 0;
  list-style: none;
}
.launch-pills li {
  border: 1px solid rgba(245, 240, 231, 0.25);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.form-done[hidden],
.launch-done[hidden],
.launch-form[hidden],
.form-error[hidden] {
  display: none !important;
}
.launch-form, .launch-done {
  display: grid;
  gap: 0.8rem;
  padding: 1.25rem;
  border: 1px solid rgba(245, 240, 231, 0.16);
  border-radius: 1.5rem;
  background: rgba(6, 26, 36, 0.55);
}
.launch-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.launch-form input, .launch-form select, .launch-form textarea {
  font: inherit;
  color: var(--ink);
  min-height: 2.75rem;
  border: 0;
  border-radius: 0.8rem;
  padding: 0.6rem 0.8rem;
  background: var(--cream);
}
.launch-form textarea { min-height: 5.5rem; resize: vertical; }
.launch-form button {
  min-height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: var(--teal);
  color: var(--ink);
  font-weight: 650;
}
.launch-note, .launch-meta { color: rgba(245, 240, 231, 0.62); font-size: 0.85rem; }
.launch-meta { display: flex; flex-wrap: wrap; gap: 0.8rem 1.2rem; margin: 1.25rem 0 0; }
.launch .form-error { margin: 0; color: #ffb4a4; }
.launch .hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
body.is-coming-soon { background: var(--ink); margin: 0; }
body.is-coming-soon .site-header,
body.is-coming-soon .site-footer { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
