:root {
  --navy: #06264b;
  --navy-deep: #031a36;
  --navy-soft: #0b376a;
  --gold: #f7b83f;
  --gold-deep: #d79419;
  --gold-soft: #ffe7b2;
  --paper: #f6f8fb;
  --white: #ffffff;
  --ink: #142033;
  --muted: #5e6b7d;
  --line: #dfe6f1;
  --success: #107a4d;
  --error: #b42318;
  --shadow: 0 22px 60px rgba(5, 26, 54, 0.16);
  --shadow-soft: 0 12px 32px rgba(5, 26, 54, 0.1);
  --radius-lg: 8px;
  --radius-md: 8px;
  --radius-sm: 8px;
  --max-width: 1180px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  padding: 10px 16px;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(6, 38, 75, 0.08);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: var(--header-height);
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--navy);
  color: var(--gold);
  box-shadow: inset 0 0 0 2px rgba(247, 184, 63, 0.42);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  border-radius: 999px;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 750;
  padding: 10px 14px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  background: rgba(247, 184, 63, 0.2);
  outline: none;
}

.nav-links .nav-cta {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(215, 148, 25, 0.24);
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible {
  background: var(--navy);
  color: var(--white);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  gap: 5px;
  border: 0;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-of-type(2) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-of-type(3) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-of-type(4) {
  transform: translateY(-7px) rotate(-45deg);
}

.section,
.hero,
.reviews-hero,
.reviews-preview,
.review-cta {
  padding: 96px 20px;
}

.section-dark {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 15%, rgba(247, 184, 63, 0.14), transparent 28%),
    linear-gradient(135deg, var(--navy-deep), var(--navy) 54%, var(--navy-soft));
  color: var(--white);
}

.section-dark::before,
.section-dark::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  border: 2px solid rgba(247, 184, 63, 0.24);
}

.section-dark::before {
  width: 520px;
  height: 520px;
  top: -300px;
  left: -170px;
}

.section-dark::after {
  width: 420px;
  height: 420px;
  right: -180px;
  bottom: -220px;
}

.section-light {
  background:
    radial-gradient(circle at 100% 0%, rgba(11, 55, 106, 0.08), transparent 26%),
    var(--white);
}

.section-soft {
  background: #edf3fa;
  padding: 86px 20px;
}

.hero-shell,
.section-heading,
.subject-group,
.why-grid,
.info-grid,
.enquiry-layout,
.reviews-hero-inner,
.review-grid,
.review-cta-inner,
.footer-grid,
.footer-bottom,
.trust-strip {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.82fr);
  align-items: center;
  gap: 56px;
  min-height: calc(100vh - var(--header-height));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: inherit;
  line-height: 1.05;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 5.9rem);
  font-weight: 950;
}

.hero-subtitle {
  max-width: 680px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  padding: 12px 22px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 16px 34px rgba(247, 184, 63, 0.25);
}

.button-gold:hover,
.button-gold:focus-visible {
  background: var(--gold-soft);
}

.button-light {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.button-light:hover,
.button-light:focus-visible {
  background: var(--white);
  color: var(--navy);
}

.button-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.button-navy:hover,
.button-navy:focus-visible {
  background: var(--navy-soft);
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(247, 184, 63, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
  padding: 10px 16px;
}

.availability-icon {
  color: var(--gold);
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.hero-card {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-card-main {
  position: absolute;
  inset: 32px 24px 34px 18px;
  min-height: 480px;
  overflow: hidden;
  padding: 24px;
}

.hero-card-main::before {
  content: "";
  position: absolute;
  inset: 70px -50px auto auto;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(247, 184, 63, 0.16);
}

.hero-card-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mini-badge {
  display: inline-flex;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 900;
  padding: 8px 12px;
  text-transform: uppercase;
}

.spark {
  color: var(--gold);
  font-size: 1.8rem;
}

.flyer-preview-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.flyer-preview {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 5 / 4;
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
  object-fit: cover;
  object-position: center;
}

.visual-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  gap: 4px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy);
  padding: 18px;
}

.visual-caption strong {
  color: var(--navy);
  font-size: 1.18rem;
}

.visual-caption span {
  color: var(--muted);
}

.flyer-preview-card .visual-caption {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  margin-top: auto;
}

.trust-strip {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: -44px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.trust-item {
  background: var(--white);
  padding: 24px;
}

.trust-item span {
  display: block;
  color: var(--gold-deep);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trust-item strong {
  display: block;
  margin-top: 6px;
  color: var(--navy);
  font-size: 1rem;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
  text-align: center;
}

.section-heading h2,
.enquiry-copy h2,
.review-cta h2 {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 950;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading.on-dark h2,
.section-heading.on-dark p {
  color: var(--white);
}

.section-heading.on-dark p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.subject-group + .subject-group {
  margin-top: 44px;
}

.level-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.level-heading h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.35rem;
}

.level-heading span {
  border-radius: 999px;
  background: var(--navy);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  padding: 8px 12px;
  text-transform: uppercase;
}

.subject-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.subject-grid-gcse {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.subject-card {
  position: relative;
  min-height: 210px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 80% 0%, rgba(247, 184, 63, 0.14), transparent 28%),
    linear-gradient(180deg, var(--navy), var(--navy-deep));
  color: var(--white);
  box-shadow: 0 18px 38px rgba(6, 38, 75, 0.18);
  padding: 28px 18px 24px;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.subject-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 42px rgba(6, 38, 75, 0.24);
}

.subject-card svg {
  width: 74px;
  height: 74px;
  color: var(--gold);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.subject-card h4 {
  margin: 0;
  font-size: 1.42rem;
  font-weight: 950;
  text-transform: uppercase;
}

.level-badge {
  min-width: 130px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1;
  padding: 9px 16px;
  text-transform: uppercase;
}

.new-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  min-width: 92px;
  transform: translateX(-50%);
  border-radius: 9px;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1;
  padding: 9px 14px;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(215, 148, 25, 0.28);
}

.why-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.why-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  padding: 22px;
}

.why-card-wide {
  grid-column: 1 / -1;
}

.why-icon {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 900;
}

.why-card h3 {
  margin-bottom: 7px;
  color: var(--white);
  font-size: 1.18rem;
}

.why-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  padding: 24px;
}

.info-card-wide {
  grid-column: span 2;
}

.info-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--gold-soft);
  color: var(--navy);
  font-size: 1.35rem;
}

.info-card h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.12rem;
}

.info-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.preview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-grid {
  display: grid;
  gap: 20px;
}

.review-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  padding: 26px;
}

.stars {
  margin-bottom: 14px;
  color: var(--gold-deep);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
}

.review-card p {
  color: var(--ink);
  font-size: 1.02rem;
}

.reviewer {
  display: grid;
  gap: 2px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.reviewer strong {
  color: var(--navy);
}

.reviewer span {
  color: var(--muted);
  font-size: 0.9rem;
}

.center-action {
  margin-top: 32px;
  text-align: center;
}

.enquiry-section {
  background:
    linear-gradient(90deg, rgba(6, 38, 75, 0.95) 0 40%, transparent 40%),
    var(--white);
}

.enquiry-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 34px;
  align-items: start;
}

.enquiry-copy {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  color: var(--white);
  padding: 34px 24px 34px 0;
}

.enquiry-copy h2 {
  color: var(--white);
}

.enquiry-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-panel {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-panel a {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  padding: 14px;
}

.contact-panel span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
}

.enquiry-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

label {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  padding: 12px 14px;
  transition: border 180ms ease, box-shadow 180ms ease;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 4px rgba(247, 184, 63, 0.22);
  outline: none;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea,
.checkbox-field.has-error {
  border-color: var(--error);
}

.error {
  min-height: 18px;
  color: var(--error);
  font-size: 0.82rem;
  font-weight: 750;
}

.checkbox-field {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 6px;
}

.checkbox-field input {
  width: 20px;
  min-height: 20px;
  margin-top: 2px;
  accent-color: var(--navy);
}

.checkbox-field .error {
  grid-column: 2;
}

.form-submit {
  width: 100%;
  margin-top: 22px;
  border: 0;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-status {
  display: none;
  margin-bottom: 18px;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-weight: 850;
}

.form-status.success {
  display: block;
  background: rgba(16, 122, 77, 0.12);
  color: var(--success);
}

.form-status.error {
  display: block;
  background: rgba(180, 35, 24, 0.1);
  color: var(--error);
}

.reviews-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 0;
}

.reviews-hero h1 {
  font-size: clamp(2.7rem, 6vw, 5rem);
}

.reviews-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
}

.reviews-page-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: var(--white);
  padding: 34px;
  box-shadow: var(--shadow);
}

.review-cta h2 {
  color: var(--white);
}

.review-cta p {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.footer {
  background: var(--navy-deep);
  color: var(--white);
  padding: 58px 20px 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 40px;
}

.footer-brand {
  color: var(--white);
}

.footer p {
  max-width: 420px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer h2 {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 1rem;
}

.footer ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer a {
  color: rgba(255, 255, 255, 0.78);
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--gold);
  outline: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

.footer-credit {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.78rem;
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.56);
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: rgba(247, 184, 63, 0.82);
}

@media (max-width: 1060px) {
  .hero-shell,
  .enquiry-layout {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    gap: 30px;
    min-height: auto;
    padding: 24px 0;
  }

  .hero-visual {
    min-height: 520px;
  }

  .subject-grid,
  .subject-grid-gcse,
  .reviews-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .enquiry-section {
    background: var(--white);
  }

  .enquiry-copy {
    position: static;
    border-radius: var(--radius-lg);
    background: var(--navy);
    padding: 28px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 68px;
  }

  .nav {
    width: min(100% - 28px, var(--max-width));
  }

  .menu-toggle {
    display: grid;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 12px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    text-align: center;
  }

  .section,
  .hero,
  .reviews-hero,
  .reviews-preview,
  .review-cta {
    padding: 72px 14px;
  }

  .hero-shell,
  .section-heading,
  .subject-group,
  .why-grid,
  .info-grid,
  .enquiry-layout,
  .reviews-hero-inner,
  .review-grid,
  .review-cta-inner,
  .footer-grid,
  .footer-bottom,
  .trust-strip {
    width: min(100%, var(--max-width));
  }

  h1 {
    font-size: clamp(2.55rem, 12vw, 4.5rem);
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .trust-strip,
  .why-grid,
  .preview-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    margin-top: 0;
    border-radius: 0;
  }

  .why-card-wide {
    grid-column: auto;
  }

  .review-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .brand {
    font-size: 0.94rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero-actions,
  .button,
  .availability {
    width: 100%;
  }

  .hero-visual {
    min-height: 470px;
  }

  .hero-card-main {
    inset: 22px 0 26px;
    min-height: 420px;
  }

  .flyer-preview {
    aspect-ratio: 4 / 3;
    object-position: top center;
  }

  .subject-grid,
  .subject-grid-gcse,
  .info-grid,
  .reviews-page-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .info-card-wide,
  .field-full {
    grid-column: auto;
  }

  .level-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .enquiry-form,
  .enquiry-copy {
    padding: 22px;
  }
}

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

/* Round 2 refinements: Economics-led brand, cleaner hero, reviews carousel and form UX. */
[id],
.form-status {
  scroll-margin-top: calc(var(--header-height) + 28px);
}

[hidden] {
  display: none !important;
}

code {
  border-radius: 6px;
  background: rgba(6, 38, 75, 0.08);
  color: var(--navy);
  font-size: 0.92em;
  padding: 2px 6px;
}

.brand-mark {
  width: 46px;
  min-width: 46px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
}

.hero-copy {
  animation: hero-fade-up 700ms ease-out both;
}

.hero-visual {
  display: grid;
  gap: 18px;
  min-height: auto;
  animation: hero-fade-up 820ms ease-out 120ms both;
}

.hero-card-main {
  position: relative;
  inset: auto;
  min-height: 0;
  padding: 22px;
}

.hero-card-main::before {
  inset: -90px -90px auto auto;
}

.flyer-preview-card {
  gap: 16px;
}

.flyer-preview {
  aspect-ratio: 16 / 10;
  max-height: 360px;
  object-fit: contain;
  object-position: center;
}

.flyer-preview-card .visual-caption {
  margin-top: 0;
}

.hero-support-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-support-panel div {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 16px;
  box-shadow: 0 12px 28px rgba(3, 26, 54, 0.16);
}

.hero-support-panel span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.hero-support-panel strong {
  color: var(--white);
  font-size: 0.98rem;
  line-height: 1.25;
}

.subject-card-featured {
  border-color: rgba(247, 184, 63, 0.8);
  background:
    radial-gradient(circle at 80% 0%, rgba(247, 184, 63, 0.24), transparent 34%),
    linear-gradient(180deg, var(--navy-soft), var(--navy-deep));
  box-shadow: 0 24px 54px rgba(6, 38, 75, 0.28);
  transform: translateY(-6px);
}

.subject-card-featured:hover {
  transform: translateY(-10px);
}

.specialism-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  min-width: 148px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  line-height: 1;
  padding: 9px 14px;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(215, 148, 25, 0.28);
}

.review-carousel {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.review-track {
  display: flex;
  width: max-content;
  gap: 20px;
  animation: review-scroll 48s linear infinite;
}

.review-carousel:hover .review-track,
.review-carousel:focus-within .review-track {
  animation-play-state: paused;
}

.review-carousel .review-card {
  flex: 0 0 clamp(280px, 34vw, 380px);
}

.review-card {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(5, 26, 54, 0.14);
}

.review-card p {
  min-height: 92px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.other-subject-field {
  border-radius: var(--radius-sm);
  animation: field-reveal 220ms ease both;
}

.form-status {
  outline: none;
}

.form-status:focus-visible,
.form-status:focus {
  box-shadow: 0 0 0 4px rgba(247, 184, 63, 0.26);
}

.form-success-inline {
  display: none;
  margin: 18px 0 0;
  border-radius: var(--radius-sm);
  background: rgba(16, 122, 77, 0.1);
  color: var(--success);
  font-weight: 850;
  padding: 12px 14px;
}

.form-success-inline.is-visible {
  display: block;
}

.privacy-note {
  margin: 0;
  border: 1px solid rgba(6, 38, 75, 0.1);
  border-radius: var(--radius-sm);
  background: rgba(6, 38, 75, 0.04);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  padding: 12px 14px;
}

.privacy-note a {
  color: var(--navy);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-content {
  width: min(100% - 40px, 900px);
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.privacy-updated {
  margin: 0;
  color: var(--muted);
}

.privacy-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  padding: clamp(22px, 4vw, 34px);
}

.privacy-card h2 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.privacy-card p {
  color: var(--ink);
}

.privacy-card p:last-child,
.privacy-card ul:last-child {
  margin-bottom: 0;
}

.privacy-card ul {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--ink);
}

.privacy-card li + li {
  margin-top: 7px;
}

/* Theme Packs page. */
.theme-hero {
  padding: 82px 20px;
}

.theme-hero-inner,
.theme-feature-grid,
.theme-inside-inner,
.theme-gallery {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
}

.theme-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.78fr);
  align-items: center;
  gap: 56px;
}

.theme-hero h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 6vw, 5.2rem);
}

.theme-hero-subtitle {
  max-width: 680px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.18rem;
}

.theme-note {
  max-width: 620px;
  margin: 0;
  border-left: 4px solid var(--gold);
  color: rgba(255, 255, 255, 0.8);
  padding-left: 16px;
}

.theme-pack-showcase {
  position: relative;
  min-height: 470px;
  display: grid;
  place-items: center;
}

.ring {
  position: absolute;
  top: 58px;
  left: 54px;
  width: 82px;
  height: 82px;
  border: 14px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 16px 36px rgba(3, 26, 54, 0.28);
  z-index: 5;
}

.ring::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: var(--navy-deep);
}

.flashcard-stack {
  position: relative;
  width: min(100%, 420px);
  min-height: 410px;
}

.flashcard {
  position: absolute;
  inset: auto;
  display: grid;
  align-content: end;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px;
}

.flashcard span {
  width: fit-content;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  padding: 8px 12px;
  text-transform: uppercase;
}

.flashcard h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.flashcard p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.flashcard-front {
  top: 18px;
  right: 0;
  width: 84%;
  min-height: 330px;
  border: 1px solid rgba(247, 184, 63, 0.56);
  background:
    radial-gradient(circle at 82% 14%, rgba(247, 184, 63, 0.24), transparent 28%),
    linear-gradient(155deg, var(--navy), var(--navy-deep));
  color: var(--white);
  z-index: 3;
}

.flashcard-front::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 66px;
  border-left: 2px dashed rgba(247, 184, 63, 0.34);
}

.flashcard-mid,
.flashcard-back {
  width: 78%;
  min-height: 240px;
  background: var(--white);
  color: var(--navy);
}

.flashcard-mid {
  right: 42px;
  bottom: 20px;
  transform: rotate(-5deg);
  z-index: 2;
}

.flashcard-back {
  left: 0;
  bottom: 0;
  transform: rotate(6deg);
  z-index: 1;
}

.flashcard-mid p,
.flashcard-back p {
  color: var(--muted);
}

.theme-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.theme-feature-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  padding: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.theme-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(5, 26, 54, 0.14);
}

.theme-feature-card span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 950;
}

.theme-feature-card h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.16rem;
}

.theme-feature-card p {
  margin: 0;
  color: var(--muted);
}

.theme-inside-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  align-items: center;
  gap: 42px;
}

.theme-inside h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.theme-inside p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
}

.inside-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.inside-list span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-weight: 850;
  padding: 12px 16px;
}

.inside-list span:nth-child(odd) {
  border-color: rgba(247, 184, 63, 0.42);
  color: var(--gold-soft);
}

.theme-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.theme-gallery-card {
  min-height: 260px;
  display: grid;
  align-content: end;
  border: 1px solid rgba(6, 38, 75, 0.12);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, transparent 0 48%, rgba(3, 26, 54, 0.92) 48%),
    repeating-linear-gradient(0deg, rgba(247, 184, 63, 0.18) 0 2px, transparent 2px 42px),
    linear-gradient(135deg, #f8fafc, #e9eef5);
  box-shadow: var(--shadow-soft);
  color: var(--white);
  overflow: hidden;
  padding: 22px;
}

.theme-gallery-card-large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 540px;
  background:
    radial-gradient(circle at 80% 12%, rgba(247, 184, 63, 0.28), transparent 22%),
    linear-gradient(180deg, transparent 0 54%, rgba(3, 26, 54, 0.94) 54%),
    repeating-linear-gradient(90deg, rgba(6, 38, 75, 0.1) 0 2px, transparent 2px 48px),
    linear-gradient(135deg, #ffffff, #e6edf6);
}

.theme-gallery-card span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.theme-gallery-card h3 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: 1.24rem;
}

.theme-gallery-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  overflow-wrap: anywhere;
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes review-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 10px));
  }
}

@keyframes field-reveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1060px) {
  .hero-visual {
    min-height: auto;
  }

  .hero-card-main {
    min-height: 0;
  }
}

@media (max-width: 820px) {
  .review-carousel {
    width: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  }
}

@media (max-width: 620px) {
  .brand-mark {
    width: 42px;
    min-width: 42px;
    height: 38px;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-card-main {
    inset: auto;
    min-height: 0;
    padding: 16px;
  }

  .flyer-preview {
    aspect-ratio: 4 / 3;
    max-height: none;
    object-fit: contain;
    object-position: center;
  }

  .hero-support-panel {
    grid-template-columns: 1fr;
  }

  .hero-support-panel div {
    min-height: 74px;
  }

  .subject-card-featured {
    transform: none;
  }

  .subject-card-featured:hover {
    transform: translateY(-5px);
  }

  .review-carousel .review-card {
    flex-basis: min(82vw, 330px);
  }

  .review-card p {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy,
  .hero-visual,
  .review-track,
  .other-subject-field,
  .reveal {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Round 2.1 header and hero CTA polish. */
.brand {
  flex: 1 1 280px;
  gap: 14px;
  font-size: clamp(1.38rem, 2vw, 1.72rem);
}

.brand-mark {
  width: 52px;
  min-width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.nav-links {
  flex: 0 0 auto;
}

.hero-actions .button {
  min-height: 52px;
  text-align: center;
}

@media (max-width: 820px) {
  .brand {
    flex: 1 1 auto;
    min-width: 0;
    font-size: clamp(1.15rem, 5vw, 1.36rem);
  }

  .brand-mark {
    width: 44px;
    min-width: 44px;
    height: 44px;
    font-size: 0.78rem;
  }
}

@media (max-width: 420px) {
  .nav {
    width: min(100% - 20px, var(--max-width));
    gap: 12px;
  }

  .brand {
    gap: 10px;
    font-size: 1.12rem;
  }

  .brand-mark {
    width: 40px;
    min-width: 40px;
    height: 40px;
    font-size: 0.72rem;
  }
}

/* Round 2.2: lift hero CTAs into the first desktop view. */
.hero {
  padding-top: 70px;
  padding-bottom: 70px;
}

.hero-shell {
  min-height: min(680px, calc(100svh - var(--header-height) - 140px));
}

.hero h1 {
  max-width: 700px;
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 5vw, 4.25rem);
  line-height: 1.02;
}

.hero-subtitle {
  margin-bottom: 22px;
  font-size: 1.12rem;
}

.hero-actions {
  margin-bottom: 20px;
}

.hero .eyebrow {
  margin-bottom: 10px;
}

@media (max-width: 1060px) {
  .hero {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .hero-shell {
    min-height: auto;
  }
}

@media (max-width: 820px) {
  .hero {
    padding-top: 58px;
    padding-bottom: 64px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 10vw, 3.75rem);
    line-height: 1.04;
  }
}

@media (max-width: 620px) {
  .hero h1 {
    font-size: clamp(2.3rem, 11vw, 3.3rem);
  }

  .hero-subtitle {
    margin-bottom: 20px;
  }

  .hero-actions {
    gap: 12px;
    margin-bottom: 18px;
  }
}

/* Full reviews page uses long-form testimonials from the shared review data. */
.reviews-page-grid {
  width: min(100% - 40px, 920px);
  grid-template-columns: 1fr;
  align-items: start;
  gap: 24px;
}

.review-card-full {
  padding: clamp(24px, 4vw, 36px);
}

.review-text {
  display: grid;
  gap: 12px;
}

.review-text p {
  margin: 0;
}

.review-card-full .review-text {
  gap: 16px;
  margin-top: 22px;
}

.review-card-full .review-text p {
  min-height: 0;
  color: var(--ink);
  font-size: 1.03rem;
  line-height: 1.76;
}

.review-card-full .reviewer {
  margin-top: 14px;
  padding-top: 14px;
  padding-bottom: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.review-card-full .reviewer strong {
  font-size: 1.12rem;
}

.review-card-full .reviewer span {
  font-size: 0.96rem;
}

@media (max-width: 820px) {
  .reviews-page-grid {
    width: min(100%, var(--max-width));
    grid-template-columns: 1fr;
  }

  .review-card-full {
    padding: 24px;
  }
}

/* Reviews page mobile fix: keep the full review cards visible without reveal gaps. */
.reviews-list-section {
  opacity: 1;
  transform: none;
}

.reviews-page-hero .hero-actions {
  margin-bottom: 0;
}

@media (max-width: 620px) {
  .reviews-page-hero {
    padding: 46px 14px 40px;
  }

  .reviews-hero-inner {
    padding: 8px 0;
  }

  .reviews-page-hero h1 {
    margin-bottom: 14px;
    font-size: clamp(2.05rem, 10vw, 3rem);
    line-height: 1.06;
  }

  .reviews-page-hero p {
    margin-bottom: 20px;
    font-size: 1rem;
  }

  .reviews-list-section {
    padding-top: 44px;
    padding-bottom: 54px;
  }

  .reviews-list-section .section-heading {
    margin-bottom: 24px;
  }

  .reviews-list-section .section-heading h2 {
    margin-bottom: 0;
    font-size: clamp(1.9rem, 8vw, 2.45rem);
  }

  .reviews-page-grid {
    gap: 18px;
  }

  .review-card-full {
    padding: 20px;
  }

  .review-card-full .reviewer {
    margin-top: 12px;
    padding-top: 12px;
    padding-bottom: 14px;
  }

  .review-card-full .review-text {
    gap: 12px;
    margin-top: 16px;
  }

  .review-card-full .review-text p {
    font-size: 0.98rem;
    line-height: 1.68;
  }

  .reviews-page-cta {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

@media (max-width: 1060px) {
  .theme-hero-inner,
  .theme-inside-inner {
    grid-template-columns: 1fr;
  }

  .theme-pack-showcase {
    min-height: 430px;
  }

  .theme-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .theme-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .theme-hero {
    padding: 68px 14px;
  }

  .theme-hero-inner,
  .theme-feature-grid,
  .theme-inside-inner,
  .theme-gallery {
    width: min(100%, var(--max-width));
  }

  .theme-hero h1 {
    font-size: clamp(2.45rem, 10vw, 3.75rem);
  }

  .theme-inside-inner {
    gap: 24px;
  }
}

@media (max-width: 620px) {
  .theme-hero {
    padding-top: 54px;
    padding-bottom: 58px;
  }

  .theme-hero-inner {
    gap: 30px;
  }

  .theme-hero h1 {
    font-size: clamp(2.3rem, 11vw, 3.25rem);
  }

  .theme-hero-subtitle {
    font-size: 1.04rem;
  }

  .theme-pack-showcase {
    min-height: 380px;
  }

  .flashcard-stack {
    min-height: 350px;
  }

  .flashcard {
    padding: 22px;
  }

  .flashcard-front {
    width: 88%;
    min-height: 292px;
  }

  .flashcard-mid,
  .flashcard-back {
    width: 76%;
    min-height: 210px;
  }

  .ring {
    top: 44px;
    left: 22px;
    width: 68px;
    height: 68px;
    border-width: 11px;
  }

  .theme-feature-grid,
  .theme-gallery {
    grid-template-columns: 1fr;
  }

  .theme-gallery-card,
  .theme-gallery-card-large {
    grid-column: auto;
    grid-row: auto;
    min-height: 260px;
  }

  .inside-list span {
    width: 100%;
    text-align: center;
  }
}

/* Theme Packs real image layout. */
.theme-pack-showcase {
  min-height: 0;
}

.theme-image-card {
  border: 1px solid rgba(6, 38, 75, 0.12);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 10px;
}

.theme-image-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 18% 12%, rgba(247, 184, 63, 0.12), transparent 26%),
    var(--paper);
}

.theme-image-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.theme-image-card figcaption {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  padding: 12px 8px 4px;
}

.theme-hero-image {
  width: min(100%, 500px);
  justify-self: end;
}

.theme-hero-image .theme-image-frame,
.theme-benefits-image .theme-image-frame,
.theme-inside-image .theme-image-frame,
.theme-gallery-image .theme-image-frame {
  aspect-ratio: 4 / 5;
}

.theme-hero-image .theme-image-frame {
  max-height: 620px;
}

.theme-feature-showcase {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 0.44fr);
  align-items: center;
  gap: 28px;
}

.theme-benefits-image {
  min-width: 0;
}

.theme-support-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 100% 0%, rgba(247, 184, 63, 0.16), transparent 32%),
    var(--white);
  box-shadow: var(--shadow-soft);
  padding: 28px;
}

.theme-support-panel h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.theme-support-panel p {
  color: var(--muted);
}

.theme-inline-note,
.theme-gallery-note {
  border-left: 4px solid var(--gold);
  color: var(--navy);
  font-weight: 850;
  padding-left: 14px;
}

.theme-inline-note {
  margin-bottom: 0;
}

.theme-inside-image {
  min-width: 0;
}

.theme-gallery {
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.62fr);
  align-items: start;
  gap: 22px;
}

.theme-gallery .theme-gallery-card-large {
  grid-column: auto;
  grid-row: auto;
  min-height: 0;
}

.theme-shop-image .theme-image-frame {
  aspect-ratio: 9 / 16;
}

.has-enquiry-mask {
  position: relative;
}

.enquiry-image-mask {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 13%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, var(--navy-deep), var(--navy));
  color: var(--gold);
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 950;
  letter-spacing: 0.02em;
  padding: 14px 18px;
  text-align: center;
  text-transform: uppercase;
}

.theme-gallery-note {
  width: min(100% - 40px, var(--max-width));
  margin: 22px auto 0;
}

@media (max-width: 1060px) {
  .theme-hero-image {
    justify-self: start;
  }

  .theme-feature-showcase,
  .theme-gallery {
    grid-template-columns: 1fr;
  }

  .theme-support-panel {
    order: -1;
  }
}

@media (max-width: 820px) {
  .theme-feature-showcase,
  .theme-gallery,
  .theme-gallery-note {
    width: min(100%, var(--max-width));
  }
}

@media (max-width: 620px) {
  .theme-image-card {
    padding: 8px;
  }

  .theme-image-card figcaption {
    font-size: 0.88rem;
    padding: 10px 6px 2px;
  }

  .theme-support-panel {
    padding: 22px;
  }

  .theme-hero-image,
  .theme-benefits-image,
  .theme-inside-image,
  .theme-gallery-image {
    width: calc(100% - 28px);
    max-width: calc(100% - 28px);
    justify-self: end;
    margin-right: 10px;
    margin-left: auto;
  }

  .theme-gallery-note {
    width: calc(100% - 28px);
    margin-right: 10px;
    margin-left: auto;
  }

  .theme-shop-image .theme-image-frame {
    aspect-ratio: 9 / 15.6;
  }

  .enquiry-image-mask {
    min-height: 14%;
    font-size: 0.96rem;
    padding: 12px 14px;
  }
}
