/*
Theme Name: Newport Beach Bartenders
Theme URI: https://newportbeachbartenders.com/
Description: Custom WordPress theme for Newport Beach Bartenders.
Version: 1.0.0
Author: Robproject
*/

:root {
  --ink: #0d1624;
  --charcoal: #172433;
  --paper: #f3f0ea;
  --soft: #dce3e4;
  --white: #fffdf8;
  --muted: #5e6469;
  --line: #cbd2d3;
  --red: #8f1f34;
  --red-dark: #671625;
  --shadow: 0 26px 70px rgba(13, 22, 36, 0.16);
  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "Archivo", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

p {
  color: var(--muted);
}

h1,
h2,
h3 {
  line-height: 1.04;
  letter-spacing: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 700;
}

h1 {
  max-width: 820px;
  font-size: clamp(3rem, 6vw, 6.8rem);
}

h2 {
  font-size: clamp(2.1rem, 3.4vw, 4.3rem);
}

h3 {
  font-size: 1.35rem;
}

.container {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-red,
.header-cta {
  background: var(--red);
  color: var(--white);
}

.button-red:hover,
.header-cta:hover {
  background: var(--red-dark);
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.button-outline {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.button-outline:hover {
  background: var(--ink);
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 82px;
  padding: 14px clamp(22px, 5vw, 58px);
  border-bottom: 1px solid rgba(9, 9, 9, 0.11);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
}

.brand {
  display: grid;
  gap: 0;
  min-width: max-content;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
}

.brand small {
  color: var(--red);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-left: auto;
  font-size: 0.88rem;
  font-weight: 800;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 900;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 180ms ease;
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 82px 14px auto 14px;
  z-index: 49;
  display: none;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.mobile-menu a {
  display: block;
  padding: 15px 8px;
  border-bottom: 1px solid var(--soft);
  font-weight: 900;
}

.mobile-menu.is-open {
  display: block;
}

.home-hero {
  display: grid;
  grid-template-areas:
    "panel photo"
    "spec photo";
  grid-template-columns: minmax(0, 1.02fr) minmax(410px, 0.98fr);
  gap: 24px;
  align-items: stretch;
  padding: 34px clamp(22px, 5vw, 58px) 38px;
  background: var(--white);
}

.hero-panel {
  grid-area: panel;
  align-self: end;
  padding: clamp(28px, 3.6vw, 46px);
  border: 1px solid var(--line);
  border-left: 10px solid var(--red);
  background: var(--white);
  box-shadow: var(--shadow);
}

.home-hero h1 {
  font-size: clamp(2.85rem, 4.7vw, 5.35rem);
}

.hero-panel p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 22px;
  font-size: 1.02rem;
}

.hero-photo {
  grid-area: photo;
  min-height: 520px;
  border: 10px solid var(--ink);
  background-image: url("realphoto/image%20%28142%29.png");
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.hero-spec {
  grid-area: spec;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
}

.hero-spec span {
  min-height: 72px;
  padding: 18px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-command {
  padding: 64px 0;
  background: var(--paper);
}

.command-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.2fr 0.88fr;
  gap: 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.command-grid > * {
  min-height: 220px;
  padding: 34px;
  border-right: 1px solid var(--line);
}

.command-grid > *:last-child {
  border-right: 0;
}

.command-label span {
  display: block;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 900;
}

.command-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.4rem);
}

.command-note {
  display: flex;
  align-items: flex-end;
}

.wedding-brief {
  padding: 72px 0;
  background: var(--white);
}

.brief-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.1fr;
  grid-template-areas:
    "copy photo"
    "list photo";
  gap: 22px;
}

.brief-copy {
  grid-area: copy;
  padding: 38px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.brief-copy p:last-child {
  margin-bottom: 0;
}

.brief-photo {
  grid-area: photo;
  min-height: 100%;
}

.brief-photo img {
  height: 100%;
  min-height: 610px;
  object-fit: cover;
}

.brief-list {
  grid-area: list;
  display: grid;
  gap: 10px;
}

.brief-list article {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
  background: var(--ink);
  color: var(--white);
}

.brief-list span {
  color: rgba(255, 255, 255, 0.74);
}

.logistics-board {
  padding: 72px 0;
  background: var(--charcoal);
  color: var(--white);
}

.logistics-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 34px;
}

.logistics-layout .eyebrow {
  padding-top: 18px;
}

.logistics-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.logistics-cards article {
  min-height: 360px;
  padding: 26px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.logistics-cards article:last-child {
  border-right: 0;
}

.logistics-cards span {
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.logistics-cards h3 {
  color: var(--white);
}

.logistics-cards p,
.trust-copy p,
.rating-left p,
.rating-right p {
  color: rgba(255, 255, 255, 0.72);
}

.supply-ledger {
  padding: 80px 0;
  background: var(--paper);
}

.ledger-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  align-items: start;
}

.ledger-title {
  position: sticky;
  top: 112px;
}

.ledger-table {
  border-top: 2px solid var(--ink);
}

.ledger-table article {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 22px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.event-types {
  padding: 74px 0 84px;
  background: var(--white);
}

.event-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
  align-items: start;
}

.event-head {
  padding: 34px;
  border-left: 8px solid var(--red);
  background: var(--paper);
}

.event-stack {
  display: grid;
  gap: 18px;
}

.event-stack article {
  display: grid;
  grid-template-columns: 170px 170px 1fr;
  gap: 20px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 12px 12px 0 var(--soft);
}

.event-stack img {
  height: 130px;
  object-fit: cover;
}

.event-stack b {
  font-family: var(--serif);
  font-size: 1.3rem;
}

.event-stack p {
  margin-bottom: 0;
}

.trust-bar {
  padding: 76px 0;
  background: var(--ink);
  color: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.trust-number {
  display: grid;
  place-items: center;
  min-height: 300px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.trust-number span {
  display: block;
  color: var(--red);
  font-size: clamp(5.5rem, 12vw, 10rem);
  font-weight: 900;
  line-height: 0.86;
}

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

.trust-copy a {
  color: var(--white);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}

.package-teaser {
  padding: 66px 0;
  background: var(--red);
  color: var(--white);
}

.teaser-grid {
  display: grid;
  grid-template-columns: 190px 1fr auto;
  gap: 28px;
  align-items: center;
}

.package-teaser .eyebrow,
.package-teaser h2 {
  margin: 0;
  color: var(--white);
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: 36px;
  align-items: stretch;
  padding: 82px clamp(22px, 5vw, 58px);
}

.quote-home {
  background: var(--paper);
}

.quote-light {
  background: var(--white);
}

.quote-copy {
  padding: 34px;
  border-left: 8px solid var(--red);
  background: var(--ink);
  color: var(--white);
}

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

.quote-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0;
  outline: none;
  padding: 14px 14px;
  text-transform: none;
}

.quote-form input:focus,
.quote-form textarea:focus {
  border-color: var(--red);
  background: var(--white);
}

.quote-form .full {
  grid-column: 1 / -1;
}

.site-footer {
  padding: 64px 0 30px;
  background: var(--ink);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.7fr 1fr;
  gap: 44px;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.66);
}

.brand-footer {
  margin-bottom: 18px;
  color: var(--white);
}

.site-footer nav {
  display: grid;
  gap: 10px;
}

.site-footer nav a {
  color: var(--white);
  font-weight: 900;
}

.copyright {
  width: min(1180px, calc(100% - 44px));
  margin: 46px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.86rem;
}

.page-black {
  padding: 92px 0 72px;
  background: var(--ink);
  color: var(--white);
}

.page-black p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.7);
}

.page-white {
  padding: 78px 0;
  background: var(--white);
}

.price-directory {
  padding: 72px 0;
  background: var(--paper);
}

.price-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 20px;
}

.price-card {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 10px 10px 0 var(--soft);
}

.price-card.feature {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
  box-shadow: 10px 10px 0 var(--red);
}

.price-card span {
  color: var(--red);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price-card strong {
  display: block;
  margin: 24px 0 18px;
  font-family: var(--serif);
  font-size: 2.2rem;
}

.price-card.feature p,
.price-card.feature li {
  color: rgba(255, 255, 255, 0.72);
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 30px;
  padding-left: 18px;
  color: var(--muted);
}

.price-card .button {
  margin-top: auto;
}

.quote-math {
  padding: 70px 0;
  background: var(--white);
}

.math-grid {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: 36px;
}

.math-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}

.math-list article {
  min-height: 190px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.math-list article:nth-child(2n) {
  border-right: 0;
}

.math-list article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.bar-options {
  padding: 76px 0;
  background: var(--charcoal);
  color: var(--white);
}

.option-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 42px;
  align-items: center;
}

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

.option-photos {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}

.option-photos figure {
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.option-photos figure:nth-child(2) {
  transform: translateY(32px);
}

.option-photos img {
  height: 320px;
  object-fit: cover;
}

.option-photos figcaption {
  padding: 12px 4px 4px;
  color: var(--white);
  font-weight: 900;
}

.addons-grid {
  padding: 70px 0;
  background: var(--red);
  color: var(--white);
}

.addons-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.addons-layout article {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: var(--red);
}

.addons-layout span {
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.addons-layout p {
  color: rgba(255, 255, 255, 0.78);
}

.package-questions {
  padding: 72px 0;
  background: var(--paper);
}

.questions-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 36px;
  align-items: start;
}

.question-list {
  display: grid;
  gap: 12px;
}

.question-list article {
  padding: 22px 26px;
  border-left: 6px solid var(--red);
  background: var(--white);
}

.question-list p {
  margin-bottom: 0;
}

.review-hero-grid {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 38px;
  align-items: center;
}

.review-hero {
  padding: 46px 0;
}

.review-hero h1 {
  font-size: clamp(2.8rem, 4.55vw, 5.05rem);
}

.review-hero p:not(.eyebrow) {
  max-width: 650px;
}

.review-box {
  position: relative;
  min-height: 340px;
  padding: 24px;
  border: 10px solid var(--ink);
  background: var(--paper);
}

.slide {
  display: none;
}

.slide.is-active {
  display: block;
}

.slide img {
  width: 64px;
  height: 64px;
  margin-bottom: 14px;
  border-radius: 999px;
  object-fit: cover;
}

.slide span {
  color: var(--red);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

blockquote {
  margin: 14px 0 18px;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.8vw, 1.75rem);
  line-height: 1.3;
}

.slider-controls {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: flex;
  gap: 8px;
}

.slider-controls button {
  min-height: 38px;
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
}

.review-reasons {
  padding: 72px 0;
  background: var(--charcoal);
  color: var(--white);
}

.reasons-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.reasons-grid > * {
  min-height: 250px;
  padding: 24px;
  background: var(--charcoal);
}

.reasons-grid h2 {
  color: var(--white);
}

.reasons-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.rating-slab {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ink);
  color: var(--white);
}

.rating-slab > div {
  min-height: 260px;
  padding: clamp(34px, 6vw, 72px);
}

.rating-left {
  background: var(--red);
}

.rating-left span,
.rating-right span {
  display: block;
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 1;
}

.review-gallery {
  padding: 76px 0;
  background: var(--paper);
}

.gallery-wall {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-template-areas:
    "a b c"
    "a d d";
  gap: 16px;
  margin-top: 30px;
}

.gallery-wall img {
  min-height: 250px;
  object-fit: cover;
}

.gallery-wall img:first-child {
  grid-area: a;
  height: 520px;
}

.gallery-wall img:nth-child(2) {
  grid-area: b;
}

.gallery-wall img:nth-child(3) {
  grid-area: c;
}

.gallery-wall img:nth-child(4) {
  grid-area: d;
}

.about-hero {
  padding: 46px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 30px;
  align-items: center;
}

.about-hero h1 {
  font-size: clamp(2.8rem, 4.6vw, 5.15rem);
}

.about-grid img {
  height: 430px;
  border: 10px solid var(--ink);
  object-fit: cover;
}

.story-panel {
  padding: 72px 0;
  background: var(--paper);
}

.story-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 46px;
  border-top: 2px solid var(--ink);
  padding-top: 34px;
}

.story-copy {
  columns: 2;
  column-gap: 44px;
}

.story-copy h2 {
  break-after: avoid;
  column-span: all;
}

.standards-board {
  padding: 72px 0;
  background: var(--ink);
  color: var(--white);
}

.standards-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 16px;
}

.standards-grid > * {
  min-height: 300px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.standards-grid h2 {
  color: var(--white);
}

.standards-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.coverage-band {
  padding: 70px 0;
  background: var(--red);
  color: var(--white);
}

.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.coverage-grid h2 {
  color: var(--white);
}

.coverage-grid span {
  color: var(--white);
  font-weight: 900;
}

.coverage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.coverage-tags span {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
}

.area-section {
  padding: 76px 0;
  background: var(--white);
}

.area-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 42px;
  align-items: center;
}

.area-grid img {
  height: 460px;
  object-fit: cover;
}

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

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

@media (max-width: 1180px) {
  .nav-links {
    gap: 16px;
  }

  .home-hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  }

  .logistics-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .logistics-cards article:nth-child(2n) {
    border-right: 0;
  }

  .logistics-cards article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .event-stack article {
    grid-template-columns: 150px 1fr;
  }

  .event-stack article p {
    grid-column: 1 / -1;
  }

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

@media (max-width: 900px) {
  .site-header {
    min-height: 74px;
  }

  .nav-links,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu {
    inset-top: 74px;
  }

  .home-hero {
    grid-template-areas:
      "panel"
      "photo"
      "spec";
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  .hero-photo {
    min-height: 340px;
  }

  .hero-spec {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-spec span {
    min-height: 62px;
    padding: 14px;
    font-size: 0.72rem;
  }

  .command-grid,
  .brief-grid,
  .logistics-layout,
  .ledger-grid,
  .event-layout,
  .trust-grid,
  .teaser-grid,
  .quote-section,
  .math-grid,
  .option-grid,
  .questions-grid,
  .review-hero-grid,
  .about-grid,
  .story-grid,
  .standards-grid,
  .coverage-grid,
  .area-grid {
    grid-template-columns: 1fr;
  }

  .command-grid > * {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .command-grid > *:last-child {
    border-bottom: 0;
  }

  .brief-grid {
    grid-template-areas:
      "copy"
      "photo"
      "list";
  }

  .brief-photo img,
  .about-grid img,
  .area-grid img {
    min-height: 0;
    height: 420px;
  }

  .ledger-title {
    position: static;
  }

  .price-layout,
  .math-list,
  .addons-layout {
    grid-template-columns: 1fr;
  }

  .math-list article,
  .math-list article:nth-child(2n),
  .math-list article:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .math-list article:last-child {
    border-bottom: 0;
  }

  .option-photos {
    grid-template-columns: 1fr;
  }

  .option-photos figure:nth-child(2) {
    transform: none;
  }

  .gallery-wall {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "a a"
      "b c"
      "d d";
  }

  .review-hero {
    padding: 34px 0 42px;
  }

  .review-box {
    min-height: 300px;
  }

  .story-copy {
    columns: 1;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  h1 {
    font-size: 2.6rem;
  }

  h2 {
    font-size: 2rem;
  }

  .home-hero,
  .quote-section {
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero-panel,
  .quote-copy,
  .quote-form {
    padding: 24px;
  }

  .hero-photo {
    min-height: 260px;
    border-width: 8px;
  }

  .about-grid img {
    height: 320px;
  }

  .brief-list article,
  .ledger-table article,
  .event-stack article {
    grid-template-columns: 1fr;
  }

  .logistics-cards,
  .quote-form,
  .rating-slab {
    grid-template-columns: 1fr;
  }

  .logistics-cards article,
  .logistics-cards article:nth-child(-n + 2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .logistics-cards article:last-child {
    border-bottom: 0;
  }

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

  .price-card {
    min-height: auto;
  }

  .slider-controls {
    position: static;
    margin-top: 24px;
  }

  .review-box {
    border-width: 8px;
    padding: 20px;
  }

  .gallery-wall {
    grid-template-areas:
      "a"
      "b"
      "c"
      "d";
    grid-template-columns: 1fr;
  }

  .gallery-wall img:first-child,
  .gallery-wall img {
    height: 300px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Final responsive repair: prevent hero display text from running outside cards. */
@media (max-width: 620px) {
  .home-hero,
  .quote-section {
    overflow: hidden;
  }

  .hero-panel,
  .quote-copy,
  .quote-form,
  .review-box,
  .price-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 22px;
    overflow: hidden;
  }

  .hero-panel h1,
  .packages-hero h1,
  .review-hero h1,
  .about-hero h1 {
    max-width: 100% !important;
    font-size: clamp(2.15rem, 9.7vw, 2.9rem) !important;
    line-height: 1.08;
    overflow-wrap: normal;
  }

  .hero-panel p,
  .packages-hero p,
  .review-hero p,
  .about-hero p,
  .quote-copy p {
    max-width: 100% !important;
    font-size: 0.98rem;
  }

  .button,
  .header-cta {
    max-width: 100%;
  }
}
