
/* =========================
   Signature Sweets main styles
   Premium black + gold layout.
   Update colours in :root if the brand evolves later.
   ========================= */

:root {
  --bg: #0b0a0a;
  --bg-soft: #131111;
  --bg-card: rgba(255,255,255,0.06);
  --bg-card-strong: rgba(255,255,255,0.1);
  --text: #f4ede6;
  --text-soft: #d8cdc3;
  --muted: #b8aa9c;
  --gold: #c89a4b;
  --gold-light: #e4c17c;
  --gold-dark: #8f6528;
  --border: rgba(200,154,75,0.34);
  --shadow: 0 24px 50px rgba(0, 0, 0, 0.42);
  --radius: 22px;
  --radius-sm: 14px;
  --container: min(1180px, 92vw);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Poppins", Arial, sans-serif;
  --script: "Great Vibes", cursive;
}

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

html {
  scroll-behaviour: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(200,154,75,0.10), transparent 28%),
    radial-gradient(circle at bottom left, rgba(200,154,75,0.08), transparent 22%),
    linear-gradient(180deg, #090808, #0b0a0a 20%, #090808);
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: #fff;
  color: #000;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(7, 6, 6, 0.7);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner,
.section-inner,
.footer-inner,
.hero-inner,
.page-hero-inner,
.content-grid,
.contact-grid {
  width: var(--container);
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 86px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  min-width: 0;
}

.brand img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(200,154,75,0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.85rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav a {
  position: relative;
  color: var(--text-soft);
  font-size: 1rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
}

.site-nav a[aria-current="page"]::after,
.site-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: #fff;
  font-size: 1.2rem;
}

/* Hero sections */
.hero,
.page-hero {
  min-height: 480px;
  background:
    linear-gradient(90deg, rgba(10,8,8,0.86) 0%, rgba(10,8,8,0.64) 42%, rgba(10,8,8,0.22) 100%),
    url("../images/hero-bg.jpg") center/cover no-repeat;
}

.hero {
  min-height: calc(100vh - 86px);
  background:
    linear-gradient(90deg, rgba(10, 8, 8, 0.78) 0%, rgba(10,8,8,0.56) 44%, rgba(10,8,8,0.18) 100%),
    url("../images/hero-bg.jpg") center/cover no-repeat;
}

.page-hero {
  min-height: 480px;
  background:
    linear-gradient(90deg, rgba(10,8,8,0.86) 0%, rgba(10,8,8,0.64) 42%, rgba(10,8,8,0.22) 100%),
    url("../images/hero-bg.jpg") center/cover no-repeat;
}

.hero-inner,
.page-hero-inner {
  display: grid;
  align-items: center;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(2rem, 5vw, 4rem);
  min-height: inherit;
  padding: 3.3rem 0 4rem;
}

.hero-copy,
.page-hero-copy {
  max-width: 620px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gold-light);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 1.15rem;
}

.eyebrow::before {
  content: "";
  width: 54px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light));
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  line-height: 1.08;
  font-weight: 600;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(3.15rem, 6vw, 5rem);
  text-wrap: balance;
  letter-spacing: -0.02em;
}

.hero-copy p,
.page-hero-copy p {
  max-width: 33rem;
  color: var(--text-soft);
  font-size: 1.06rem;
  margin: 0 0 2rem;
}

.hero-visual,
.page-hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-visual-card {
  width: min(520px, 100%);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid var(--border);
  border-radius: 36px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero-visual-card .caption {
  padding: 1rem 1.25rem 1.35rem;
  color: var(--text-soft);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button,
.button-secondary,
.button-card,
.filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  cursor: pointer;
}

.button {
  min-height: 54px;
  padding: 0.85rem 1.6rem;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  color: #100c07;
  font-weight: 600;
  box-shadow: 0 14px 26px rgba(200,154,75,0.20);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 28px rgba(200,154,75,0.24);
}

.button-secondary {
  min-height: 54px;
  padding: 0.85rem 1.4rem;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: #fff;
}

.button-secondary:hover,
.button-card:hover,
.filter-button:hover {
  background: rgba(255,255,255,0.08);
}

.button-card {
  min-height: 46px;
  padding: 0.7rem 1.2rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: #161313;
  color: var(--gold-light);
  font-size: 0.95rem;
}

main section {
  position: relative;
}

.section {
  padding: clamp(4rem, 7vw, 7rem) 0;
}

.section-title {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2.5rem;
}

.section-title h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.section-title p {
  margin: 0;
  color: var(--text-soft);
}

.section-title.section-title-left {
  text-align: left;
  margin: 0 0 2rem;
}

.decorative-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1rem auto 0;
  color: var(--gold-light);
  opacity: 0.9;
}

.decorative-line::before,
.decorative-line::after {
  content: "";
  width: 140px;
  max-width: 26vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(228,193,124,0.9), transparent);
}

.cards-grid,
.gallery-grid,
.info-grid,
.values-grid,
.testimonial-grid {
  display: grid;
  gap: 1.5rem;
}

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

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

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

.cake-card,
.gallery-card,
.info-card,
.value-card,
.testimonial-card,
.contact-card,
.story-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.cake-card:hover,
.gallery-card:hover,
.contact-card:hover,
.story-card:hover {
  transform: translateY(-4px);
}

.cake-card-image,
.gallery-card-image {
  padding: 0.5rem;
}

.cake-card-image img,
.gallery-card-image img {
  width: 100%;
  aspect-ratio: 4 / 4.8;
  object-fit: cover;
  border-radius: calc(var(--radius) - 8px);
}

.cake-card-body,
.gallery-card-body {
  padding: 0 1.25rem 1.35rem;
  text-align: center;
}

.cake-card h3,
.gallery-card h3 {
  font-size: 1.65rem;
  margin-top: 0.25rem;
}

.gallery-card-body p {
  margin: -0.2rem 0 0;
  color: var(--muted);
}

.info-card,
.value-card,
.testimonial-card,
.story-card,
.contact-card {
  padding: 1.45rem;
}

.info-card strong,
.value-card strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.65rem;
  color: var(--gold-light);
}

.testimonial-card p {
  margin-top: 0;
  color: var(--text-soft);
}

.testimonial-card strong {
  color: var(--gold-light);
}

.cta-banner {
  width: var(--container);
  margin: 0 auto;
  padding: clamp(1.75rem, 5vw, 2.8rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04)),
    radial-gradient(circle at top right, rgba(200,154,75,0.22), transparent 35%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 0.6rem;
}

.cta-banner p {
  margin: 0;
  color: var(--text-soft);
}

/* Gallery page */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.filter-button {
  min-height: 44px;
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text-soft);
}

.filter-button.is-active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #120d08;
  border-color: transparent;
}

/* About page */
.content-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.08fr);
  gap: 2rem;
  align-items: stretch;
}

.about-image-panel,
.contact-image-panel {
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.about-image-panel img,
.contact-image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.story-card ul,
.value-card ul {
  margin: 0.75rem 0 0 1.2rem;
  padding: 0;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-stack {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-group label {
  color: var(--text-soft);
}

.input,
.textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  padding: 0.95rem 1rem;
}

.input:focus,
.textarea:focus {
  outline: 2px solid rgba(228,193,124,0.35);
  border-color: var(--gold);
}

.textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-list {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-list a,
.contact-list span {
  display: block;
  color: var(--text-soft);
}

.form-feedback {
  margin-top: 0.9rem;
  font-size: 0.95rem;
}

.form-feedback.error {
  color: #ffb7b7;
}

.form-feedback.success {
  color: #dcefc4;
}

.privacy-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(5,5,5,0.72);
}

.footer-inner {
  padding: 2.5rem 0;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
}

.footer-note {
  color: var(--muted);
  margin: 0.5rem 0 0;
}

.social-links a:hover,
.footer-links a:hover {
  color: var(--gold-light);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@media (max-width: 980px) {
  .hero-inner,
  .page-hero-inner,
  .content-grid,
  .contact-grid,
  .cards-grid,
  .gallery-grid,
  .info-grid,
  .values-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner,
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .story-cards {
    grid-template-columns: 1fr;
  }

  .page-hero {
  min-height: 480px;
  background:
    linear-gradient(90deg, rgba(10,8,8,0.86) 0%, rgba(10,8,8,0.64) 42%, rgba(10,8,8,0.22) 100%),
    url("../images/hero-bg.jpg") center/cover no-repeat;
}
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 78px;
  }

  .brand-text span {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    right: 4vw;
    top: calc(100% + 0.5rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    min-width: 220px;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(12, 11, 11, 0.96);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 0.3rem 0;
  }

  .hero,
  .page-hero {
  min-height: 480px;
  background:
    linear-gradient(90deg, rgba(10,8,8,0.86) 0%, rgba(10,8,8,0.64) 42%, rgba(10,8,8,0.22) 100%),
    url("../images/hero-bg.jpg") center/cover no-repeat;
}

  .hero-inner,
  .page-hero-inner {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .decorative-line::before,
  .decorative-line::after {
    width: 70px;
  }
}

/* Version 10 refinements */
.section-title h2,
.cta-banner h2 {
  font-family: var(--script);
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
}

.section-title.section-title-left h2,
.contact-card .section-title h2,
.story-card .section-title h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3.1rem);
  font-weight: 600;
}

.brand-text strong {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 700;
}

.site-nav a {
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(3.4rem, 6vw, 5.5rem);
  line-height: 1;
  font-weight: 600;
}

.hero-copy p {
  max-width: 29rem;
}

.hero-visual-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  border-radius: 38px;
}

.hero-visual-card .caption {
  font-size: 0.95rem;
  line-height: 1.55;
}

.page-hero-inner {
  min-height: 480px;
}

.page-hero-copy {
  max-width: 40rem;
}

.page-hero-visual {
  justify-content: flex-end;
}

.page-hero-visual::before {
  content: "";
  display: block;
  width: min(480px, 100%);
  aspect-ratio: 4 / 4.8;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(10,8,8,0.08), rgba(10,8,8,0.08)),
    var(--page-hero-image) center/cover no-repeat;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.page-hero h1 {
  font-size: clamp(2.9rem, 5vw, 4.7rem);
  line-height: 1.02;
}

.page-hero .eyebrow {
  margin-bottom: 0.9rem;
}

.page-hero-copy p {
  max-width: 31rem;
}

.filter-bar {
  justify-content: center;
}

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

.cake-card,
.gallery-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.05));
}

.cake-card h3,
.gallery-card h3 {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 600;
}

.button-card {
  min-height: 44px;
  padding: 0.65rem 1.15rem;
}

.cta-banner {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04)),
    url("../images/hero-bg.jpg") center/cover no-repeat;
  border: 1px solid rgba(255,255,255,0.08);
}

.testimonial-card strong {
  font-family: var(--serif);
  font-size: 1.3rem;
}

.footer-note,
.footer-links a,
.social-links a {
  color: var(--text-soft);
}

@media (max-width: 980px) {
  .hero-inner,
  .page-hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

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

  .page-hero-visual::before {
    width: 100%;
    max-width: 520px;
    margin-left: auto;
  }

  .section-title h2,
  .cta-banner h2 {
    font-size: clamp(2.4rem, 8vw, 3.8rem);
  }
}

/* Version 11 updates */
.section-title h2,
.cta-banner h2 {
  font-family: var(--script);
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero h1,
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.page-hero {
  min-height: 430px;
}

.page-hero-inner {
  grid-template-columns: 0.95fr 1.05fr;
  padding: 2.75rem 0 3rem;
}

.page-hero-copy {
  max-width: 34rem;
}

.page-hero-visual::before {
  width: min(520px, 100%);
  aspect-ratio: 4 / 4.2;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(10,8,8,0.10), rgba(10,8,8,0.10)),
    var(--page-hero-image) center/cover no-repeat;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.filter-button {
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text-soft);
}

.filter-button.is-active,
.filter-button:hover,
.filter-button:focus-visible {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  color: #100c07;
  box-shadow: 0 12px 22px rgba(200,154,75,0.20);
}

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

.gallery-card-body p,
.cake-card-body p {
  color: var(--muted);
}

@media (max-width: 980px) {
  .page-hero-inner {
    grid-template-columns: 1fr;
  }

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

  .page-hero-visual::before {
    width: 100%;
    max-width: 560px;
    margin-left: auto;
  }
}

.testimonial-card strong {
  font-family: var(--script);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--gold-light);
}

/* ===== Version 14 colour-system refinement ===== */
.site-header {
  background: rgba(7, 6, 6, 0.82);
}

.brand-text span,
.footer-note,
.footer-links a,
.social-links a,
.gallery-card-body p,
.contact-list a,
.contact-list span,
.privacy-note {
  color: var(--muted);
}

.site-nav a {
  color: var(--text-soft);
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--gold-light);
}

.eyebrow,
.info-card strong,
.value-card strong,
.testimonial-card strong {
  color: var(--gold-light);
}

.eyebrow::before {
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.button {
  color: #17120d;
}

.button-secondary,
.button-card,
.filter-button {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--text-soft);
}

.button-secondary:hover,
.button-card:hover,
.filter-button:hover,
.filter-button.is-active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  color: #17120d;
  box-shadow: 0 12px 22px rgba(200,154,75,0.18);
}

.hero-visual-card,
.cake-card,
.gallery-card,
.info-card,
.value-card,
.testimonial-card,
.contact-card,
.story-card,
.about-image-panel,
.cta-banner {
  border-color: rgba(200,154,75,0.16);
}

.decorative-line,
.decorative-line::before,
.decorative-line::after {
  color: var(--gold-light);
}

.decorative-line::before,
.decorative-line::after {
  background: linear-gradient(90deg, transparent, rgba(228,193,124,0.9), transparent);
}

.footer-links a:hover,
.social-links a:hover,
.contact-list a:hover {
  color: var(--gold-light);
}

.testimonial-card strong {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.28rem;
}

@media (max-width: 760px) {
  .footer-top {
    gap: 1rem;
  }
}

/* Version 17: legal/footer pages */
.legal-content {
  width: var(--container);
  margin: 0 auto;
}

.legal-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(200,154,75,0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.legal-card + .legal-card {
  margin-top: 1.5rem;
}

.legal-card h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 0.6rem;
}

.legal-card h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  margin: 1.35rem 0 0.5rem;
}

.legal-card p,
.legal-card li {
  color: var(--text-soft);
}

.legal-card ul {
  padding-left: 1.2rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

/* Version 18: styled Facebook footer section */
.footer-top {
  display: grid;
  grid-template-columns: 1fr auto minmax(280px, 360px);
  align-items: start;
  gap: 2rem;
}

.facebook-panel {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03)),
    url("../images/hero-bg.jpg") center/cover no-repeat;
  border: 1px solid rgba(200,154,75,0.16);
  border-radius: 20px;
  padding: 1.15rem 1.2rem 1.25rem;
  box-shadow: var(--shadow);
}

.facebook-kicker {
  margin: 0 0 0.35rem;
  color: var(--gold-light);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.facebook-panel h3 {
  margin: 0 0 0.45rem;
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.05;
}

.facebook-copy {
  margin: 0 0 1rem;
  color: var(--text-soft);
  font-size: 0.96rem;
}

.facebook-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  color: #17120d;
  font-weight: 600;
  box-shadow: 0 12px 22px rgba(200,154,75,0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.facebook-button:hover,
.facebook-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 26px rgba(200,154,75,0.24);
}

.footer-links {
  align-self: center;
}

@media (max-width: 980px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .footer-links {
    order: 2;
  }

  .facebook-panel {
    order: 3;
    max-width: 100%;
  }
}

/* Version 28: rebuilt boutique footer from version 27 */
.site-footer {
  background: linear-gradient(180deg, rgba(6,6,6,0.96), rgba(3,3,3,0.98));
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 3.25rem 0 2.5rem;
}

.footer-shell {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) minmax(120px, 0.45fr) minmax(330px, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.footer-brand h3,
.facebook-panel h3 {
  margin: 0 0 0.65rem;
  font-family: var(--serif);
  line-height: 1.05;
}

.footer-brand h3 {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
}

.footer-location {
  margin: 0 0 1rem;
  color: var(--text);
  font-weight: 700;
}

.footer-tagline {
  margin: 0;
  max-width: 34rem;
  color: var(--text-soft);
  line-height: 1.72;
}

.footer-contact-inline {
  margin-top: 2rem;
  color: var(--muted);
  line-height: 1.7;
}

.footer-contact-inline p {
  margin: 0 0 0.45rem;
}

.footer-contact-inline a {
  color: inherit;
}

.footer-contact-inline a:hover,
.footer-contact-inline a:focus-visible {
  color: var(--gold-light);
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-self: center;
  gap: 0.9rem;
  padding-top: 0.2rem;
}

.footer-links a {
  color: var(--text-soft);
  font-size: 1.08rem;
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold-light);
  transform: translateX(2px);
}

.facebook-panel {
  justify-self: end;
  width: min(100%, 390px);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02)),
    radial-gradient(circle at top right, rgba(200,154,75,0.16), transparent 34%);
  border: 1px solid rgba(200,154,75,0.18);
  border-radius: 22px;
  padding: 1.4rem 1.55rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.facebook-panel:hover,
.facebook-panel:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 22px 34px rgba(0,0,0,0.36);
  border-color: rgba(200,154,75,0.30);
}

.facebook-panel h3 {
  font-size: clamp(1.65rem, 2.3vw, 2.15rem);
}

.facebook-copy {
  margin: 0 0 1.1rem;
  color: var(--text-soft);
  line-height: 1.65;
}

.facebook-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  color: #17120d;
  font-weight: 800;
  box-shadow: 0 12px 22px rgba(200,154,75,0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.facebook-button:hover,
.facebook-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 26px rgba(200,154,75,0.30);
  filter: brightness(1.04);
}

@media (max-width: 980px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .footer-links {
    justify-self: start;
  }

  .facebook-panel {
    justify-self: start;
    width: min(100%, 440px);
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 2.6rem 0 2rem;
  }

  .footer-contact-inline {
    margin-top: 1.4rem;
  }

  .footer-links {
    gap: 0.7rem;
  }

  .facebook-panel {
    padding: 1.2rem;
  }
}

/* Version 31: mock-up matched logo/header */
.header-inner {
  min-height: 104px;
}

.brand {
  gap: 1.35rem;
}

.brand img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  border-radius: 50%;
  border: none;
  box-shadow:
    0 0 0 1px rgba(200,154,75,0.18),
    0 0 20px rgba(200,154,75,0.12);
}

.brand-text {
  position: relative;
  padding-bottom: 0.62rem;
}

.brand-text strong {
  font-family: var(--script);
  font-size: clamp(2.15rem, 3.1vw, 3.25rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0;
  color: #fffaf1;
  text-shadow: 0 0 10px rgba(255,255,255,0.05);
}

.brand-text span {
  margin-top: 0.52rem;
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: clamp(0.78rem, 0.98vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-text::after {
  content: "";
  display: block;
  width: 165px;
  height: 1px;
  margin-top: 0.55rem;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(228,193,124,0.95),
    transparent
  );
}

.site-nav a {
  letter-spacing: 0.03em;
  font-weight: 500;
}

.site-nav a[aria-current="page"]::after,
.site-nav a:hover::after {
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

@media (max-width: 860px) {
  .header-inner {
    min-height: 88px;
  }

  .brand {
    gap: 0.85rem;
  }

  .brand img {
    width: 58px;
    height: 58px;
  }

  .brand-text strong {
    font-size: 1.95rem;
  }

  .brand-text span {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .brand-text::after {
    width: 110px;
    margin-top: 0.38rem;
  }
}

@media (max-width: 520px) {
  .brand-text strong {
    font-size: 1.55rem;
  }

  .brand-text span {
    font-size: 0.58rem;
    letter-spacing: 0.04em;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }
}

/* Version 32: corrected logo crest ring */
.brand img {
  border: none !important;
  box-shadow: none !important;
  background: transparent;
  object-fit: contain;
}

@media (min-width: 861px) {
  .brand img {
    width: 82px;
    height: 82px;
  }
}

/* Version 33 final luxury logo polish */
.brand{gap:1.05rem !important;}
.brand-text strong{
 transform:scale(.94);
 transform-origin:left center;
 display:inline-block;
}
.brand-text span{
 font-size:0.92em !important;
 letter-spacing:0.24em !important;
}
.brand-text::after{
 width:132px !important;
 height:1px !important;
 opacity:.82;
}

/* Version 34 refined centred lockup rollback */
.brand{
 gap:.75rem !important;
 align-items:flex-start !important;
}
.brand img{
 transform:translate(6px,-6px) scale(.97);
}
.brand-text strong{
 transform:scale(1.01) !important;
 letter-spacing:-0.01em;
}
.brand-text{
 padding-top:2px;
}
.brand-text span{
 display:block;
 text-align:center;
 font-size:1em !important;
 letter-spacing:.20em !important;
}
.brand-text::after{
 width:175px !important;
 margin-left:auto;
 margin-right:auto;
 opacity:.88;
}

/* Version 36 rollback from over-styled v35 */
.brand{
 gap:.62rem !important;
 align-items:center !important;
}
.brand img{
 transform:translate(7px,-7px) scale(.98) !important;
 width:74px !important;
 height:74px !important;
 box-shadow:none !important;
}
.brand-text{
 transform:translateX(-4px) !important;
}
.brand-text strong{
 transform:none !important;
 font-size:clamp(2.5rem,3.45vw,3.6rem) !important;
 letter-spacing:-0.005em !important;
 text-align:center !important;
}
.brand-text span{
 text-align:center !important;
 letter-spacing:.18em !important;
 margin-top:.42rem !important;
}

/* remove ornament idea, restore refined simple underline */
.brand-text::after{
 content:"" !important;
 width:156px !important;
 height:1px !important;
 display:block !important;
 margin:.45rem auto 0 !important;
 background:linear-gradient(90deg,transparent,rgba(220,185,105,.95),transparent) !important;
 opacity:.82 !important;
}

/* Version 37: footer order, enquiry wording and policies page */
.footer-top {
  grid-template-columns: minmax(300px, 0.95fr) minmax(120px, 0.4fr) minmax(320px, 1.1fr) !important;
  align-items: start !important;
}

.footer-top .facebook-panel {
  order: 1 !important;
  justify-self: start !important;
  width: min(100%, 390px) !important;
}

.footer-top .footer-links {
  order: 2 !important;
  justify-self: center !important;
}

.footer-top .footer-brand {
  order: 3 !important;
  justify-self: end !important;
  max-width: 440px;
}

.footer-links a {
  font-size: 1.05rem !important;
}

.legal-content {
  width: min(960px, 92vw);
  margin: 0 auto;
}

.legal-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025));
  border: 1px solid rgba(200,154,75,0.18);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  box-shadow: var(--shadow);
  margin-bottom: 1.4rem;
}

.legal-card h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 0.8rem;
}

.legal-card h3 {
  font-family: var(--serif);
  font-size: 1.28rem;
  margin: 1.25rem 0 0.35rem;
  color: var(--gold-light);
}

.legal-card p {
  color: var(--text-soft);
}

.legal-card a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media (max-width: 980px) {
  .footer-top {
    grid-template-columns: 1fr !important;
  }

  .footer-top .facebook-panel,
  .footer-top .footer-links,
  .footer-top .footer-brand {
    justify-self: start !important;
  }
}

/* Version 38: data-powered gallery and category pages */
.gallery-system-hero .page-hero-visual img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(200,154,75,0.18);
  box-shadow: var(--shadow);
}

.gallery-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 1.5rem 0 2rem;
}

.filter-pill {
  border: 1px solid rgba(200,154,75,0.26);
  background: rgba(255,255,255,0.035);
  color: var(--text-soft);
  border-radius: 999px;
  padding: 0.72rem 1.05rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.filter-pill:hover,
.filter-pill:focus-visible,
.filter-pill.is-active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  color: #17120d;
  border-color: transparent;
  transform: translateY(-2px);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.portfolio-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 330px);
  gap: 1.25rem;
  overflow-x: auto;
  padding: 0.25rem 0 1rem;
  scroll-snap-type: x mandatory;
}

.portfolio-carousel .portfolio-card {
  scroll-snap-align: start;
}

.portfolio-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025));
  border: 1px solid rgba(200,154,75,0.16);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.portfolio-card-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.portfolio-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.portfolio-card-body {
  padding: 1rem 1rem 1.15rem;
}

.portfolio-kicker {
  margin: 0 0 0.4rem;
  color: var(--gold-light);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.portfolio-card h3,
.gallery-modal-copy h2 {
  margin: 0 0 0.45rem;
  font-family: var(--serif);
  line-height: 1.05;
}

.portfolio-card h3 {
  font-size: 1.55rem;
}

.portfolio-card p {
  color: var(--text-soft);
  margin: 0 0 0.8rem;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.portfolio-tags span {
  border: 1px solid rgba(200,154,75,0.18);
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.gallery-empty {
  text-align: center;
  color: var(--text-soft);
  margin-top: 2rem;
}

.gallery-modal {
  display: none;
}

.gallery-modal.is-open {
  display: block;
}

.modal-open {
  overflow: hidden;
}

.gallery-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(6px);
  z-index: 1000;
}

.gallery-modal-panel {
  position: fixed;
  inset: 5vh 50%;
  transform: translateX(-50%);
  width: min(1100px, 92vw);
  max-height: 90vh;
  overflow: auto;
  background: #090807;
  border: 1px solid rgba(200,154,75,0.22);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 1001;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1.2rem;
  padding: 1.2rem;
}

.gallery-modal-close {
  position: absolute;
  top: 0.8rem;
  right: 1rem;
  z-index: 2;
  border: 1px solid rgba(200,154,75,0.25);
  background: rgba(0,0,0,0.65);
  color: var(--text);
  border-radius: 999px;
  width: 42px;
  height: 42px;
  font-size: 1.6rem;
  cursor: pointer;
}

.gallery-modal-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.gallery-modal-images img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.gallery-modal-copy {
  padding: 1rem;
  align-self: center;
}

.gallery-modal-copy h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.gallery-modal-copy p {
  color: var(--text-soft);
}

.section-soft {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(200,154,75,0.035));
}

@media (max-width: 980px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-modal-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .gallery-modal-images {
    grid-template-columns: 1fr;
  }

  .filter-pill {
    padding: 0.62rem 0.85rem;
  }
}

/* Version 41: repaired gallery rendering and category layout */
.gallery-system-hero .page-hero-copy h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
}

.gallery-system-hero .page-hero-visual img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(200,154,75,0.18);
  box-shadow: var(--shadow);
}

.gallery-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 1.5rem auto 2.2rem;
  max-width: 1180px;
}

.filter-pill {
  border: 1px solid rgba(200,154,75,0.26);
  background: rgba(255,255,255,0.035);
  color: var(--text-soft);
  border-radius: 999px;
  padding: 0.72rem 1.05rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.filter-pill:hover,
.filter-pill:focus-visible,
.filter-pill.is-active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  color: #17120d;
  border-color: transparent;
}

.portfolio-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  min-height: 1px;
}

.portfolio-carousel {
  display: grid !important;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 330px);
  gap: 1.25rem;
  overflow-x: auto;
  padding: 0.25rem 0 1rem;
  scroll-snap-type: x mandatory;
}

.portfolio-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025));
  border: 1px solid rgba(200,154,75,0.16);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.portfolio-card-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.portfolio-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.portfolio-card-body {
  padding: 1rem 1rem 1.15rem;
}

.portfolio-kicker {
  margin: 0 0 0.4rem;
  color: var(--gold-light);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.portfolio-card h3,
.gallery-modal-copy h2 {
  margin: 0 0 0.45rem;
  font-family: var(--serif);
  line-height: 1.05;
}

.portfolio-card h3 {
  font-size: 1.55rem;
}

.portfolio-card p,
.gallery-modal-copy p {
  color: var(--text-soft);
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.portfolio-tags span {
  border: 1px solid rgba(200,154,75,0.18);
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.gallery-empty {
  text-align: center;
  color: var(--text-soft);
  margin-top: 2rem;
}

.gallery-modal {
  display: none;
}

.gallery-modal.is-open {
  display: block;
}

.modal-open {
  overflow: hidden;
}

.gallery-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(6px);
  z-index: 1000;
}

.gallery-modal-panel {
  position: fixed;
  inset: 5vh 50%;
  transform: translateX(-50%);
  width: min(1100px, 92vw);
  max-height: 90vh;
  overflow: auto;
  background: #090807;
  border: 1px solid rgba(200,154,75,0.22);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 1001;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1.2rem;
  padding: 1.2rem;
}

.gallery-modal-close {
  position: absolute;
  top: 0.8rem;
  right: 1rem;
  z-index: 2;
  border: 1px solid rgba(200,154,75,0.25);
  background: rgba(0,0,0,0.65);
  color: var(--text);
  border-radius: 999px;
  width: 42px;
  height: 42px;
  font-size: 1.6rem;
  cursor: pointer;
}

.gallery-modal-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.gallery-modal-images img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.gallery-modal-copy {
  padding: 1rem;
  align-self: center;
}

.gallery-modal-copy h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-soft {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(200,154,75,0.035));
}

@media (max-width: 980px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery-modal-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .gallery-modal-images {
    grid-template-columns: 1fr;
  }
}

/* Version 42: secondary filters, detail pages, enquiry links and image lightbox */
.gallery-filter-group {
  margin-bottom: 1rem;
}

.filter-label {
  text-align: center;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 700;
  margin: 0 0 0.55rem;
}

.gallery-filter-bar.primary,
.gallery-filter-bar.secondary {
  margin: 0 auto 1.2rem;
}

.filter-pill.secondary {
  padding: 0.55rem 0.85rem;
  font-size: 0.9rem;
}

.portfolio-actions,
.modal-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-top: 1rem;
}

.text-link-button {
  border: 0;
  background: transparent;
  color: var(--gold-light);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.mini-enquire-button,
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-weight: 800;
}

.mini-enquire-button,
.button-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  color: #17120d;
}

.button-ghost {
  border: 1px solid rgba(200,154,75,0.25);
  color: var(--text);
  background: rgba(255,255,255,0.035);
}

.gallery-image-button,
.detail-image-button {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-image-button img,
.detail-image-button img {
  transition: transform 0.25s ease, filter 0.25s ease;
}

.gallery-image-button:hover img,
.detail-image-button:hover img {
  transform: scale(1.015);
  filter: brightness(1.04);
}

.image-lightbox {
  display: none;
}

.image-lightbox.is-open {
  display: block;
}

.image-lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.86);
  backdrop-filter: blur(7px);
}

.image-lightbox img {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  z-index: 2001;
  max-width: min(92vw, 1300px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.image-lightbox-close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 2002;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(200,154,75,0.35);
  background: rgba(0,0,0,0.7);
  color: var(--text);
  font-size: 1.8rem;
  cursor: pointer;
}

.detail-hero {
  padding: clamp(3rem, 7vw, 6rem) 0;
  background:
    linear-gradient(90deg, rgba(4,4,4,0.94), rgba(4,4,4,0.72)),
    url("../images/hero-bg.jpg") center/cover;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.detail-hero-inner {
  width: min(1180px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.detail-copy h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.92;
  margin: 0.6rem 0 1rem;
}

.detail-copy p {
  color: var(--text-soft);
  max-width: 58ch;
}

.detail-main-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(200,154,75,0.20);
  box-shadow: var(--shadow);
}

.detail-image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.detail-image-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(200,154,75,0.16);
}

@media (max-width: 900px) {
  .detail-hero-inner {
    grid-template-columns: 1fr;
  }
  .detail-image-grid {
    grid-template-columns: 1fr;
  }
}

/* Version 43: organised detail pages and fuller design layout */
.modal-actions .button-ghost::after {
  content: "";
}

.improved-detail-hero .detail-main-image img {
  max-height: 720px;
}

.detail-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.detail-info-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025));
  border: 1px solid rgba(200,154,75,0.18);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 2vw, 1.8rem);
  box-shadow: var(--shadow);
}

.detail-info-card h2 {
  margin: 0.35rem 0 0.8rem;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.detail-info-card ul {
  padding-left: 1.1rem;
  color: var(--text-soft);
}

.detail-info-card li + li {
  margin-top: 0.5rem;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background:
    linear-gradient(135deg, rgba(200,154,75,0.14), rgba(255,255,255,0.035)),
    rgba(255,255,255,0.025);
  border: 1px solid rgba(200,154,75,0.22);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: var(--shadow);
}

.cta-band h2 {
  margin: 0.35rem 0 0.45rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
}

.cta-band p {
  color: var(--text-soft);
  max-width: 62ch;
  margin: 0;
}

.gallery-modal .button-ghost {
  font-size: 0;
}

.gallery-modal .button-ghost::before {
  content: "View full details";
  font-size: 1rem;
}

@media (max-width: 900px) {
  .detail-overview-grid {
    grid-template-columns: 1fr;
  }

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

/* Version 45: enquiry reference preview */
.enquiry-reference-box {
  background: linear-gradient(180deg, rgba(200,154,75,0.12), rgba(255,255,255,0.035));
  border: 1px solid rgba(200,154,75,0.22);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin-bottom: 1.1rem;
}

.enquiry-reference-box h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  margin: 0.3rem 0 0.3rem;
}

.enquiry-reference-box p {
  margin: 0.25rem 0;
  color: var(--text-soft);
}

.enquiry-reference-box a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

/* Version 46: working PHP contact form */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

.form-error-box {
  background: rgba(180, 50, 40, 0.16);
  border: 1px solid rgba(255, 120, 100, 0.35);
  border-radius: var(--radius-sm);
  color: #ffd8d2;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
}

/* Version 64 - Business card image refinement */
.contact-card-image img,
.contact-side-card img,
.contact-info-image img,
img[src$="business-card.jpg"] {
  width: 100%;
  display: block;
  border-radius: 1.1rem;
  border: 1px solid rgba(212, 168, 79, 0.34);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.34);
}


/* Version 86 fixes */
.pricing-page .page-hero,
.pricing-page .product-page-hero {
  min-height: auto !important;
  padding: clamp(4rem, 7vw, 7rem) 0 clamp(2.5rem, 5vw, 4.5rem) !important;
}

.pricing-page .page-hero .section-inner,
.pricing-page .product-page-hero .section-inner {
  display: block !important;
  max-width: 1100px !important;
  text-align: center !important;
  margin: 0 auto !important;
}

.pricing-page .page-hero .hero-image-card,
.pricing-page .product-page-hero .hero-image-card,
.pricing-page .page-hero img,
.pricing-page .product-page-hero img {
  display: none !important;
}

.pricing-page .page-hero .eyebrow,
.pricing-page .product-page-hero .eyebrow {
  justify-content: center !important;
}

.pricing-page .page-hero h1,
.pricing-page .product-page-hero h1 {
  text-align: center !important;
}

.pricing-page .page-hero p,
.pricing-page .product-page-hero p {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 950px !important;
}

.cakes-hero-restored {
  padding: clamp(4rem, 7vw, 7rem) 0 clamp(3rem, 5vw, 5rem);
}

.cakes-hero-restored .two-column-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(340px, 0.75fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.cakes-hero-restored .hero-image-card img {
  width: 100%;
  display: block;
  border-radius: 1.6rem;
  object-fit: cover;
}

.page-facebook-cta {
  padding-top: clamp(2rem, 4vw, 4rem);
}

.page-facebook-cta .facebook-card {
  max-width: 620px;
  margin: 0 auto;
  padding: clamp(1.7rem, 3vw, 2.4rem);
  border: 1px solid rgba(212,164,78,.28);
  border-radius: 1.4rem;
  background: linear-gradient(135deg, rgba(255,255,255,.05), rgba(212,164,78,.06));
}


/* Version 87: clean Gallery-style heroes for Pricing, FAQ and Policies */
.clean-page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 7vw, 7.5rem) 0 clamp(3.2rem, 5vw, 5.5rem);
  background:
    linear-gradient(90deg, rgba(5,4,4,0.94) 0%, rgba(5,4,4,0.80) 46%, rgba(5,4,4,0.42) 100%),
    url("../images/hero-bg.jpg") center/cover no-repeat;
  border-bottom: 1px solid rgba(212, 164, 78, 0.14);
}

.clean-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 76% 46%, rgba(212,164,78,0.20), transparent 28%),
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.26));
}

.clean-page-hero-inner {
  position: relative;
  z-index: 1;
  width: min(92vw, 1420px);
  margin: 0 auto;
  display: grid;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5.5rem);
}

.clean-page-hero-inner.has-image {
  grid-template-columns: minmax(420px, 0.92fr) minmax(420px, 0.78fr);
}

.clean-page-hero-inner.text-only {
  grid-template-columns: minmax(320px, 760px) 1fr;
}

.clean-page-hero-copy {
  max-width: 780px;
}

.clean-page-hero-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: clamp(1rem, 1.5vw, 1.4rem);
  color: var(--gold-light);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.clean-page-hero-copy .eyebrow::after {
  content: "";
  display: inline-block;
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.clean-page-hero-copy h1 {
  margin: 0 0 clamp(1rem, 1.8vw, 1.5rem);
  font-family: var(--serif);
  color: var(--text);
  font-size: clamp(4.2rem, 6.4vw, 7rem);
  line-height: 0.96;
  letter-spacing: -0.052em;
}

.clean-page-hero-copy p {
  margin: 0;
  max-width: 760px;
  color: var(--text-soft);
  font-size: clamp(1.08rem, 1.25vw, 1.28rem);
  line-height: 1.7;
}

.clean-hero-visual {
  justify-self: end;
  width: min(100%, 600px);
  overflow: hidden;
  border-radius: 1.8rem;
  border: 1px solid rgba(212,164,78,0.28);
  box-shadow: 0 26px 90px rgba(0,0,0,0.46);
  background: rgba(0,0,0,0.32);
}

.clean-hero-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.pricing-page-v87 .page-hero .hero-image-card,
.pricing-page-v87 .product-page-hero .hero-image-card,
.faq-page-v87 .page-hero .hero-image-card,
.faq-page-v87 .product-page-hero .hero-image-card,
.policies-page-v87 .page-hero .hero-image-card,
.policies-page-v87 .product-page-hero .hero-image-card {
  display: none !important;
}

.pricing-page-v87 .clean-page-hero + section,
.faq-page-v87 .clean-page-hero + section,
.policies-page-v87 .clean-page-hero + section {
  padding-top: clamp(2.8rem, 5vw, 4.5rem) !important;
}

@media (max-width: 980px) {
  .clean-page-hero-inner.has-image,
  .clean-page-hero-inner.text-only {
    grid-template-columns: 1fr;
  }

  .clean-hero-visual {
    justify-self: start;
    width: min(100%, 560px);
  }

  .clean-page-hero-copy h1 {
    font-size: clamp(3.2rem, 12vw, 5.2rem);
  }
}

@media (max-width: 620px) {
  .clean-page-hero {
    padding-top: 3rem;
    padding-bottom: 3.2rem;
  }

  .clean-page-hero-copy .eyebrow {
    letter-spacing: 0.2em;
  }

  .clean-page-hero-copy h1 {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }
}


/* Version 89: homepage category card wording and spacing polish */
.category-card-description,
.feature-card p,
.featured-card p,
.collection-card p,
.home-category-card p {
  min-height: 4.6em;
  margin: 0.9rem auto 1.35rem;
  max-width: 360px;
  color: var(--text-soft);
  line-height: 1.65;
}

.feature-card,
.featured-card,
.collection-card,
.home-category-card {
  display: flex;
  flex-direction: column;
}

.feature-card .button,
.featured-card .button,
.collection-card .button,
.home-category-card .button,
.feature-card a[class*="button"],
.featured-card a[class*="button"],
.collection-card a[class*="button"],
.home-category-card a[class*="button"] {
  margin-top: auto;
}

@media (max-width: 760px) {
  .category-card-description,
  .feature-card p,
  .featured-card p,
  .collection-card p,
  .home-category-card p {
    min-height: auto;
  }
}


/* Version 89 final: homepage category gateway cards */
.cake-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cake-card-body .category-card-description {
  min-height: 5.2em;
  margin: 0.65rem auto 1.25rem;
  max-width: 340px;
  color: var(--text-soft);
  text-align: center;
  line-height: 1.65;
}

.cake-card-body .button-card {
  margin-top: auto;
}

@media (max-width: 760px) {
  .cake-card-body .category-card-description {
    min-height: auto;
  }
}


/* Version 90: restore premium Cakes page hero */
.product-hero.cakes-product-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.8rem, 7vw, 7.8rem) 0 clamp(4rem, 6vw, 6.2rem);
  background:
    linear-gradient(90deg, rgba(5,4,4,0.94) 0%, rgba(5,4,4,0.78) 48%, rgba(5,4,4,0.40) 100%),
    url("../images/hero-bg.jpg") center/cover no-repeat;
  border-bottom: 1px solid rgba(212, 164, 78, 0.14);
}

.product-hero.cakes-product-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 76% 46%, rgba(212,164,78,0.18), transparent 30%),
    linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.26));
}

.cakes-product-hero .product-hero-inner {
  position: relative;
  z-index: 1;
  width: min(92vw, 1420px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(420px, 0.78fr);
  align-items: center;
  gap: clamp(2.8rem, 5vw, 5.8rem);
}

.cakes-product-hero .product-hero-copy {
  max-width: 760px;
}

.cakes-product-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: clamp(1rem, 1.5vw, 1.4rem);
  color: var(--gold-light);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.cakes-product-hero .eyebrow::before {
  content: "";
  display: inline-block;
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.cakes-product-hero h1 {
  margin: 0 0 clamp(1rem, 1.8vw, 1.5rem);
  font-family: var(--serif);
  color: var(--text);
  font-size: clamp(4.2rem, 6.2vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: -0.052em;
}

.cakes-product-hero p {
  margin: 0;
  max-width: 680px;
  color: var(--text-soft);
  font-size: clamp(1.08rem, 1.25vw, 1.28rem);
  line-height: 1.7;
}

.cakes-product-hero .product-hero-visual {
  justify-self: end;
  width: min(100%, 600px);
  overflow: hidden;
  border-radius: 1.8rem;
  border: 1px solid rgba(212,164,78,0.28);
  box-shadow: 0 26px 90px rgba(0,0,0,0.46);
  background: rgba(0,0,0,0.32);
}

.cakes-product-hero .product-hero-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.cakes-product-hero + .section {
  padding-top: clamp(3rem, 5vw, 5rem);
}

@media (max-width: 980px) {
  .cakes-product-hero .product-hero-inner {
    grid-template-columns: 1fr;
  }

  .cakes-product-hero .product-hero-visual {
    justify-self: start;
    width: min(100%, 560px);
  }

  .cakes-product-hero h1 {
    font-size: clamp(3.2rem, 12vw, 5.2rem);
  }
}

@media (max-width: 620px) {
  .product-hero.cakes-product-hero {
    padding-top: 3rem;
    padding-bottom: 3.4rem;
  }

  .cakes-product-hero .eyebrow {
    letter-spacing: 0.2em;
  }

  .cakes-product-hero h1 {
    font-size: clamp(2.75rem, 13vw, 4.2rem);
  }
}


/* Version 92: visible Cakes page hero restored */
.cakes-hero-v92 {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative;
  overflow: hidden;
  min-height: auto !important;
  padding: clamp(4.8rem, 7vw, 7.8rem) 0 clamp(4rem, 6vw, 6.2rem) !important;
  background:
    linear-gradient(90deg, rgba(5,4,4,0.94) 0%, rgba(5,4,4,0.78) 48%, rgba(5,4,4,0.40) 100%),
    url("../images/hero-bg.jpg") center/cover no-repeat !important;
  border-bottom: 1px solid rgba(212, 164, 78, 0.14);
}

.cakes-hero-v92::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 76% 46%, rgba(212,164,78,0.18), transparent 30%),
    linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.26));
}

.cakes-hero-v92 .page-hero-inner {
  position: relative;
  z-index: 1;
  width: min(92vw, 1420px);
  margin: 0 auto;
  display: grid !important;
  grid-template-columns: minmax(420px, 0.92fr) minmax(420px, 0.78fr);
  align-items: center;
  gap: clamp(2.8rem, 5vw, 5.8rem);
  padding: 0 !important;
}

.cakes-hero-v92 .page-hero-copy {
  max-width: 760px;
}

.cakes-hero-v92 .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: clamp(1rem, 1.5vw, 1.4rem);
  color: var(--gold-light);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.cakes-hero-v92 .eyebrow::before {
  content: "";
  display: inline-block;
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.cakes-hero-v92 h1 {
  margin: 0 0 clamp(1rem, 1.8vw, 1.5rem);
  font-family: var(--serif);
  color: var(--text);
  font-size: clamp(4.2rem, 6.2vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: -0.052em;
}

.cakes-hero-v92 p {
  margin: 0;
  max-width: 680px;
  color: var(--text-soft);
  font-size: clamp(1.08rem, 1.25vw, 1.28rem);
  line-height: 1.7;
}

.cakes-hero-v92 .page-hero-visual {
  display: block !important;
  justify-self: end;
  width: min(100%, 600px);
  overflow: hidden;
  border-radius: 1.8rem;
  border: 1px solid rgba(212,164,78,0.28);
  box-shadow: 0 26px 90px rgba(0,0,0,0.46);
  background: rgba(0,0,0,0.32);
}

.cakes-hero-v92 .page-hero-visual::before {
  display: none !important;
}

.cakes-hero-v92 .page-hero-visual img {
  display: block !important;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.cakes-hero-v92 + .section {
  padding-top: clamp(3rem, 5vw, 5rem);
}

.pricing-minimum-card {
  max-width: 980px;
  margin: 0 auto;
}

.pricing-minimum-card ul {
  margin: 1rem 0 1.2rem;
  padding-left: 1.35rem;
}

.pricing-minimum-card li {
  margin: 0.6rem 0;
  color: var(--text-soft);
  line-height: 1.6;
}

@media (max-width: 980px) {
  .cakes-hero-v92 .page-hero-inner {
    grid-template-columns: 1fr;
  }

  .cakes-hero-v92 .page-hero-visual {
    justify-self: start;
    width: min(100%, 560px);
  }

  .cakes-hero-v92 h1 {
    font-size: clamp(3.2rem, 12vw, 5.2rem);
  }
}

@media (max-width: 620px) {
  .cakes-hero-v92 {
    padding-top: 3rem !important;
    padding-bottom: 3.4rem !important;
  }

  .cakes-hero-v92 .eyebrow {
    letter-spacing: 0.2em;
  }

  .cakes-hero-v92 h1 {
    font-size: clamp(2.75rem, 13vw, 4.2rem);
  }
}


/* Version 93: restore the original Cakes hero structure and neutralise the v92 rebuilt hero */
.cakes-hero-v92,
.cakes-product-hero,
.product-hero.cakes-product-hero {
  display: none !important;
}

body[data-page-type="cakes"] main > .page-hero.gallery-system-hero:first-child {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body[data-page-type="cakes"] main > .page-hero.gallery-system-hero:first-child .page-hero-inner {
  display: grid !important;
}

body[data-page-type="cakes"] main > .page-hero.gallery-system-hero:first-child .page-hero-visual {
  display: block !important;
}


/* Version 94: pricing and FAQ polish */
.pricing-page-v87 .clean-page-hero-inner.text-only,
.pricing-page .clean-page-hero-inner.text-only {
  grid-template-columns: minmax(320px, 900px) 1fr;
}

.pricing-page-v87 .clean-page-hero-copy,
.pricing-page .clean-page-hero-copy {
  max-width: 920px;
}

.pricing-page-v87 .clean-page-hero-copy h1,
.pricing-page .clean-page-hero-copy h1 {
  max-width: 900px;
}

.pricing-page-v87 .clean-page-hero-copy p,
.pricing-page .clean-page-hero-copy p {
  max-width: 860px;
}

.pricing-minimum-card a,
.legal-card a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.pricing-important-section .legal-card,
.pricing-cta-section .info-card {
  max-width: 980px;
  margin-inline: auto;
}

.pricing-cta-section .button-primary {
  margin-top: 1.2rem;
}


/* Version 100: Pricing Guide rebuild and customer-experience refresh */
.pricing-page-v100 .clean-page-hero-inner.text-only {
  grid-template-columns: minmax(320px, 980px) 1fr;
}

.pricing-page-v100 .clean-page-hero-copy {
  max-width: 980px;
}

.pricing-page-v100 .clean-page-hero-copy h1 {
  max-width: 980px;
}

.pricing-page-v100 .clean-page-hero-copy p {
  max-width: 880px;
}

.pricing-poster-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.2rem);
  align-items: start;
}

.pricing-poster-card {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(200,154,75,0.22);
  background: rgba(255,255,255,0.035);
  box-shadow: var(--shadow);
}

.pricing-poster-card img {
  display: block;
  width: 100%;
  height: auto;
}

.pricing-minimum-card,
.pricing-page-v100 .legal-card {
  max-width: 980px;
  margin-inline: auto;
}

.pricing-minimum-list {
  list-style: none;
  margin: 1.2rem 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.pricing-minimum-list li {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(200,154,75,0.18);
  border-radius: 1rem;
  background: rgba(255,255,255,0.035);
  color: var(--text-soft);
}

.pricing-minimum-list strong {
  color: var(--text);
}

.pricing-page-v100 .legal-card h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.35rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--text);
}

.pricing-page-v100 .legal-card a,
.faq-page a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (max-width: 860px) {
  .pricing-poster-grid {
    grid-template-columns: 1fr;
  }
}
