/* ==========================================================================
   Luca The Kitchen Guy — styles.css
   Mobile-first. Warm, quiet, premium.
   ========================================================================== */

:root {
  /* Color */
  --bg: #f2f0e9;
  --bg-cream: #f2f0e9;
  --bg-white: #ffffff;
  --bg-soft: #f2f0e9;
  --bg-card: #ffffff;
  --bg-card-alt: #faf9f6;
  --bg-dark: #1a1815;
  --ink: #1a1815;
  --ink-soft: #4a4640;
  --muted: #807a70;
  --accent: #b08a4a;
  --accent-soft: #d6c099;
  --line: rgba(26, 24, 21, 0.08);
  --line-strong: rgba(26, 24, 21, 0.14);
  --line-light: rgba(246, 244, 239, 0.18);
  --on-dark: #f2f0e9;
  --on-dark-soft: rgba(246, 244, 239, 0.72);

  /* Facebook reviews band */
  --fb-review-band: #ffffff;
  --fb-review-card: #ebe8e3;
  --fb-review-badge: #b87a8f;
  --fb-review-link: #4a6fa5;

  /* Spacing — 8px scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 16px;
  --s-4: 24px;
  --s-5: 32px;
  --s-6: 48px;
  --s-7: 64px;
  --s-8: 96px;

  /* Radius */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 999px;

  /* Shadow — restrained */
  --shadow-sm: 0 1px 2px rgba(26, 24, 21, 0.04);
  --shadow-md: 0 8px 24px rgba(26, 24, 21, 0.06);
  --shadow-lg: 0 24px 60px rgba(26, 24, 21, 0.18);

  /* Type */
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1200px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --dur: 200ms;
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(16px, 1.6vw, 17px);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

a:hover {
  color: var(--accent);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0;
}

h1 {
  font-size: clamp(2.25rem, 5.6vw, 4rem);
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.625rem);
  line-height: 1.15;
}

h3 {
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  line-height: 1.25;
}

p {
  margin: 0 0 var(--s-3);
  color: var(--ink-soft);
  max-width: 62ch;
}

p:last-child {
  margin-bottom: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--bg-dark);
  color: var(--on-dark);
  padding: var(--s-2) var(--s-3);
  z-index: 1000;
}

.skip-link:focus {
  left: var(--s-3);
  top: var(--s-3);
  outline: 2px solid var(--accent);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- Layout helpers ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.section {
  padding-block: clamp(56px, 9vw, 112px);
}

/* Alternate cream (#F2F0E9) and white down the page (after hero) */
.section-services {
  background: var(--bg-cream);
}

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

.section-work {
  background: var(--bg-cream);
}

.section-testimonials.section-testimonials-fb {
  background: var(--fb-review-band);
  color: var(--ink);
  border-block: 1px solid var(--line);
}

.section-area {
  padding-block: clamp(56px, 9vw, 96px);
  background: var(--bg-cream);
}

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

.section-head {
  max-width: 720px;
  margin: 0 auto var(--s-6);
  text-align: center;
}

.section-head-row {
  text-align: left;
  margin-inline: 0;
  max-width: 720px;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 var(--s-3);
}

.eyebrow-light {
  color: rgba(246, 244, 239, 0.78);
}

.section-title {
  margin-bottom: var(--s-3);
}

.section-lede {
  color: var(--ink-soft);
  font-size: clamp(15px, 1.6vw, 17px);
  margin-inline: auto;
}

.lede {
  font-size: clamp(16px, 1.7vw, 18px);
  color: var(--ink-soft);
  margin-bottom: var(--s-4);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 14px 22px;
  min-height: 48px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  border-radius: var(--r-sm);
  transition:
    background-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease);
  white-space: nowrap;
}

.btn-pill {
  border-radius: var(--r-pill);
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--ink);
  color: var(--on-dark);
}

.btn-primary:hover {
  background: var(--accent);
  color: var(--bg-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-ghost-light {
  background: transparent;
  color: var(--on-dark);
  border: 1px solid rgba(246, 244, 239, 0.4);
}

.btn-ghost-light:hover {
  background: rgba(246, 244, 239, 0.08);
  color: var(--on-dark);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 240, 233, 0.9);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.site-header[data-scrolled="true"] {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: var(--s-3);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  object-fit: cover;
}

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

.brand-name {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.brand-sub {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  gap: var(--s-5);
  align-items: center;
}

.nav-desktop ul a {
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  position: relative;
}

.nav-desktop ul a:hover {
  color: var(--ink);
}

/* CTA is a sibling of <ul>, not inside it — keep list-link colors off the button */
.nav-desktop .btn {
  flex-shrink: 0;
  line-height: 1.3;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: var(--r-sm);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Open menu: one sheet with header bar + panel */
.site-header:has([data-nav-toggle][aria-expanded="true"]) {
  background: var(--bg-cream);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-md);
}

.nav-toggle[aria-expanded="true"] {
  border: 1px solid var(--accent-soft);
  background: var(--bg-white);
}

.nav-mobile {
  border-top: none;
  background: linear-gradient(
    180deg,
    rgba(250, 249, 246, 0.98) 0%,
    var(--bg-white) 100%
  );
  padding: 0 clamp(20px, 5vw, 40px) max(var(--s-5), env(safe-area-inset-bottom, 0px));
  box-shadow: inset 0 1px 0 rgba(176, 138, 74, 0.22);
}

.nav-mobile-inner {
  max-width: 28rem;
  margin-inline: auto;
  padding-block: var(--s-3) var(--s-4);
}

.nav-mobile-links ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.nav-mobile-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: 13px var(--s-4);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.nav-mobile-links a::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
  opacity: 0.55;
  flex-shrink: 0;
}

.nav-mobile-links li:first-child a {
  border-top-left-radius: calc(var(--r-md) - 1px);
  border-top-right-radius: calc(var(--r-md) - 1px);
}

.nav-mobile-links li:last-child a {
  border-bottom: none;
  border-bottom-left-radius: calc(var(--r-md) - 1px);
  border-bottom-right-radius: calc(var(--r-md) - 1px);
}

.nav-mobile-links a:hover,
.nav-mobile-links a:focus-visible {
  background: var(--bg-card-alt);
  color: var(--ink);
}

.nav-mobile-ctas {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  margin-top: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line-strong);
}

.nav-mobile .btn {
  margin-top: 0;
  width: 100%;
  justify-content: center;
  text-align: center;
  white-space: normal;
  line-height: 1.35;
  padding-inline: var(--s-4);
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.nav-mobile .btn + .btn {
  margin-top: 0;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  color: var(--on-dark);
  min-height: clamp(520px, 92vh, 820px);
  min-height: clamp(520px, 92dvh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: max(var(--s-4), env(safe-area-inset-bottom, 0px));
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 24, 21, 0.28) 0%,
    rgba(26, 24, 21, 0.42) 38%,
    rgba(26, 24, 21, 0.82) 100%
  );
}

.hero-inner {
  width: 100%;
  padding-block: var(--s-6) var(--s-6);
  max-width: 880px;
  text-align: center;
}

.hero-title-br {
  display: none;
}

.hero-title {
  color: var(--on-dark);
  margin-bottom: var(--s-3);
  text-wrap: balance;
  margin-inline: auto;
}

.hero-lede {
  color: rgba(246, 244, 239, 0.9);
  font-size: clamp(15px, 4.2vw, 17px);
  line-height: 1.6;
  max-width: 36ch;
  margin-inline: auto;
  margin-bottom: var(--s-5);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
  width: 100%;
  max-width: 22rem;
  margin-inline: auto;
}

.hero-actions .btn {
  width: 100%;
  justify-content: center;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-2);
  padding: var(--s-4) var(--s-2);
  border-top: none;
  border-radius: var(--r-md);
  max-width: 100%;
  background: rgba(26, 24, 21, 0.38);
  border: 1px solid rgba(246, 244, 239, 0.12);
}

.hero-trust li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  padding-inline: var(--s-1);
}

.hero-trust li:not(:first-child) {
  border-left: 1px solid rgba(246, 244, 239, 0.14);
}

.trust-figure {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 4.5vw, 1.65rem);
  line-height: 1;
  color: var(--accent-soft);
}

.trust-label {
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.05em;
  color: rgba(246, 244, 239, 0.82);
}

/* ---------- Cards ---------- */

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(24px, 3vw, 32px);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

/* Slight lift on cream bands; quiet contrast on white */
.section-services .card {
  background: var(--bg-card);
}

.card:hover {
  border-color: var(--line-strong);
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  height: 100%;
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(176, 138, 74, 0.1);
  color: var(--accent);
}

.service-icon svg {
  width: 22px;
  height: 22px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-title {
  font-family: var(--serif);
}

.card-text {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

/* ---------- Carousel (mobile-first) ---------- */

.carousel {
  position: relative;
}

.carousel-track {
  display: flex;
  gap: var(--s-3);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: clamp(20px, 5vw, 40px);
  padding: var(--s-2) clamp(20px, 5vw, 40px) var(--s-5);
  margin-inline: clamp(-20px, -5vw, -40px);
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-track > * {
  flex: 0 0 86vw;
  max-width: 420px;
  scroll-snap-align: start;
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: var(--s-2);
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: var(--r-pill);
  background: var(--line-strong);
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease), width var(--dur) var(--ease);
}

.carousel-dot[aria-current="true"] {
  background: var(--accent);
  width: 22px;
}

/* ---------- Work / albums ---------- */

.album-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
  text-align: left;
}

.album-cover {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-card-alt);
}

.album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.album-card:hover .album-cover img,
.album-card:focus-visible .album-cover img {
  transform: scale(1.03);
}

.album-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-3);
  padding: var(--s-4) clamp(20px, 3vw, 28px);
  border-top: 1px solid var(--line);
}

.album-title {
  font-family: var(--serif);
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.2;
  margin: 0 0 4px;
  color: var(--ink);
}

.album-sub {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 0;
}

.album-count {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  padding-top: 4px;
}

.work-show-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: var(--s-5);
}

.btn.work-show-more {
  min-height: 48px;
  padding-inline: var(--s-5);
  background: var(--bg-white);
  border: 1px solid var(--line-strong);
  color: var(--ink);
}

.btn.work-show-more:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--bg-white);
}

/* ---------- Facebook reviews band ---------- */

.fb-reviews-head {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 56px);
}

.fb-reviews-title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4.2vw, 2.75rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 var(--s-5);
}

.fb-reviews-summary {
  display: inline-flex;
  align-items: center;
  gap: var(--s-4);
  text-align: left;
  padding: var(--s-4) var(--s-5);
  background: var(--bg-cream);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.fb-reviews-summary-logo {
  flex-shrink: 0;
}

.fb-reviews-brand {
  margin: 0 0 4px;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.fb-reviews-rate {
  margin: 0 0 4px;
  font-size: 15px;
  color: var(--ink-soft);
}

.fb-reviews-rate strong {
  font-weight: 600;
  color: var(--ink);
}

.fb-reviews-count {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.fb-reviews-carousel-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  align-items: center;
}

.fb-carousel-btn {
  display: none;
  align-self: center;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: var(--bg-white);
  transition:
    background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.fb-carousel-btn:hover {
  background: var(--bg-cream);
  border-color: var(--ink);
}

.fb-reviews-carousel {
  min-width: 0;
}

.fb-reviews-track > .fb-review-card {
  flex: 0 0 86vw;
  max-width: 340px;
  scroll-snap-align: start;
}

.fb-review-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s-3);
  padding: var(--s-5) var(--s-4) var(--s-4);
  background: var(--fb-review-card);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  min-height: 100%;
}

.fb-review-avatar {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(145deg, #e8e4dc, #d4cfc4);
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 8px rgba(26, 24, 21, 0.08);
}

.fb-review-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fb-review-photo.is-hidden {
  display: none;
}

.fb-review-avatar-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.fb-review-avatar--fallback .fb-review-avatar-fallback {
  display: flex;
}

.fb-review-avatar--b {
  background: linear-gradient(145deg, #e4e8ec, #c9d2dc);
}

.fb-review-avatar--c {
  background: linear-gradient(145deg, #ece8e4, #dcd5cd);
}

.fb-review-avatar--d {
  background: linear-gradient(145deg, #e8ebe4, #cfd6c8);
}

.fb-review-avatar--more {
  background: var(--bg-white);
}

.fb-review-avatar--more .fb-review-photo {
  object-fit: contain;
  padding: 10px;
}

.fb-review-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fb-review-badge);
}

.fb-review-badge-icon {
  display: flex;
  color: var(--fb-review-badge);
}

.fb-review-quote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.45;
  color: var(--ink);
}

.fb-review-readmore {
  font-size: 14px;
  font-weight: 500;
  color: var(--fb-review-link);
  margin-top: var(--s-1);
}

.fb-review-readmore:hover {
  color: var(--ink);
}

.fb-review-readmore::after {
  content: ">";
  display: inline-block;
  margin-left: 6px;
  font-weight: 400;
  opacity: 0.75;
}

.fb-review-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
}

.fb-review-footer-icon {
  flex-shrink: 0;
}

.fb-review-card--more .fb-review-more-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--ink);
}

.fb-review-more-copy {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 36ch;
}

.fb-reviews-dots.carousel-dots {
  padding-top: var(--s-4);
}

.fb-reviews-dots .carousel-dot[aria-current="true"] {
  background: var(--accent);
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  gap: var(--s-6);
}

.about-points {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
}

.about-points li {
  font-size: 15px;
  color: var(--ink-soft);
}

.about-points strong {
  color: var(--ink);
  font-weight: 500;
  margin-right: 6px;
}

.about-figure {
  margin: 0;
}

.about-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}

.about-figure figcaption {
  margin-top: var(--s-2);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

/* ---------- Service area ---------- */

.area-inner {
  text-align: center;
  max-width: 920px;
  margin-inline: auto;
}

.area-head {
  text-align: center;
  margin-bottom: var(--s-6);
  padding-bottom: var(--s-6);
  border-bottom: 1px solid var(--line);
}

.area-eyebrow {
  text-align: center;
  margin-bottom: var(--s-3);
}

.area-title {
  margin-bottom: var(--s-3);
}

.area-lede {
  margin: 0 auto;
  max-width: 38ch;
  font-size: clamp(15px, 1.55vw, 17px);
  line-height: 1.6;
  color: var(--ink-soft);
}

.area-pills-panel {
  padding: var(--s-5) var(--s-4);
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--s-2) var(--s-3);
  margin: 0;
  padding: 0;
}

.area-list li {
  padding: 11px 20px;
  border: 1px solid rgba(26, 24, 21, 0.1);
  border-radius: var(--r-pill);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--ink-soft);
  background: #e6e4de;
  transition:
    border-color var(--dur) var(--ease),
    background-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.area-list li:hover {
  border-color: rgba(176, 138, 74, 0.35);
  background: #f0eee8;
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

@media (min-width: 768px) {
  .area-list {
    gap: var(--s-3);
  }

  .area-list li {
    padding: 12px 22px;
    font-size: 13px;
  }
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  gap: var(--s-6);
}

.contact-info .lede {
  margin-bottom: var(--s-5);
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
  margin-top: var(--s-4);
}

.section-contact .contact-cards .card {
  background: var(--bg-card-alt);
}

@media (min-width: 480px) {
  .contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  min-height: 100%;
}

.contact-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-cards a,
.contact-value {
  font-size: 17px;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  background: var(--bg-card-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(24px, 4vw, 36px);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-row input,
.form-row select,
.form-row textarea {
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--bg-white);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  min-height: 48px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  width: 100%;
}

.form-row textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(176, 138, 74, 0.14);
}

.form-row-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
}

.form-row-split > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-note {
  margin: 0;
  text-align: center;
  font-size: 14px;
  color: var(--accent);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bg-dark);
  color: var(--on-dark);
  padding-block: clamp(56px, 8vw, 88px) var(--s-5);
}

.footer-wrap {
  max-width: var(--container);
  margin-inline: auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6) var(--s-5);
  text-align: center;
}

.footer-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-col-brand {
  max-width: 36ch;
  margin-inline: auto;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
  text-align: center;
}

.footer-logo {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  object-fit: cover;
  border: 1px solid rgba(246, 244, 239, 0.16);
}

.footer-brand-text {
  min-width: 0;
  text-align: center;
}

.footer-name {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 500;
  margin: 0 0 4px;
  color: var(--on-dark);
}

.footer-sub {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}

.footer-tagline {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--on-dark-soft);
}

.footer-heading {
  margin: 0 0 var(--s-3);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--on-dark);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--on-dark-soft);
  transition: color var(--dur) var(--ease);
}

.footer-links a:hover {
  color: var(--on-dark);
}

.footer-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line-light);
  text-align: center;
}

.footer-copyright {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--on-dark-soft);
}

.footer-bar-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 12px;
}

.footer-bar-links a {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--on-dark-soft);
}

.footer-bar-links a:hover {
  color: var(--on-dark);
}

.footer-bar-sep {
  color: rgba(246, 244, 239, 0.35);
  user-select: none;
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 24, 21, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fade-in 200ms var(--ease);
}

.lightbox-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: clamp(20px, 4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  color: var(--on-dark);
  animation: rise-in 240ms var(--ease);
}

.lightbox-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-3);
  color: var(--on-dark);
}

.lightbox-head .eyebrow {
  color: rgba(246, 244, 239, 0.7);
}

.lightbox-title {
  color: var(--on-dark);
  font-size: clamp(20px, 2.4vw, 28px);
  margin-bottom: 4px;
}

.lightbox-sub {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(246, 244, 239, 0.7);
}

.lightbox-close {
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(246, 244, 239, 0.24);
  color: var(--on-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.lightbox-close:hover {
  background: rgba(246, 244, 239, 0.1);
  border-color: rgba(246, 244, 239, 0.6);
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
}

.lightbox-body {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.lightbox-stage {
  position: relative;
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--r-md);
  overflow: hidden;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-stage img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  background: rgba(26, 24, 21, 0.6);
  color: var(--on-dark);
  border: 1px solid rgba(246, 244, 239, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav:hover {
  background: var(--ink);
}

.lightbox-nav svg {
  width: 20px;
  height: 20px;
}

.lightbox-prev {
  left: 12px;
}

.lightbox-next {
  right: 12px;
}

.lightbox-thumbs {
  display: flex;
  gap: var(--s-2);
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.lightbox-thumbs::-webkit-scrollbar {
  height: 4px;
}

.lightbox-thumbs::-webkit-scrollbar-thumb {
  background: rgba(246, 244, 239, 0.18);
  border-radius: 4px;
}

.lightbox-thumb {
  flex: 0 0 76px;
  height: 76px;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid rgba(246, 244, 239, 0.18);
  opacity: 0.6;
  transition: opacity var(--dur) var(--ease), border-color var(--dur) var(--ease);
  padding: 0;
}

.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-thumb[aria-current="true"] {
  opacity: 1;
  border-color: var(--accent);
}

.lightbox-counter {
  margin: 0;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 244, 239, 0.7);
}

/* ---------- Reveal animation ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 480ms var(--ease), transform 480ms var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

/* ==========================================================================
   Tablet — 768px and up
   ========================================================================== */

@media (min-width: 768px) {
  .fb-reviews-carousel-wrap {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: var(--s-3);
  }

  .fb-carousel-btn {
    display: flex;
  }

  .hero {
    align-items: center;
    min-height: clamp(560px, 88vh, 820px);
    padding-bottom: 0;
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(26, 24, 21, 0.5) 0%,
      rgba(26, 24, 21, 0.35) 40%,
      rgba(26, 24, 21, 0.7) 100%
    );
  }

  .hero-inner {
    text-align: left;
    padding-block: clamp(96px, 14vw, 144px);
    max-width: 880px;
  }

  .hero-title-br {
    display: inline;
  }

  .hero-title {
    margin-inline: 0;
  }

  .hero-lede {
    font-size: clamp(16px, 1.8vw, 19px);
    max-width: 56ch;
    margin-inline: 0;
  }

  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: var(--s-3);
    max-width: none;
    margin-inline: 0;
    margin-bottom: var(--s-7);
  }

  .hero-actions .btn {
    width: auto;
    justify-content: center;
  }

  .hero-trust {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-4);
    padding: var(--s-5) 0 0;
    border-top: 1px solid rgba(246, 244, 239, 0.18);
    border-radius: 0;
    max-width: 720px;
    background: transparent;
    border-left: none;
    border-right: none;
    border-bottom: none;
  }

  .hero-trust li {
    align-items: flex-start;
    text-align: left;
    padding-inline: 0;
    border-left: none;
  }

  .hero-trust li:not(:first-child) {
    border-left: none;
  }

  .trust-figure {
    font-size: 28px;
  }

  .trust-label {
    font-size: 13px;
    letter-spacing: 0.04em;
  }

  .form-row-split {
    grid-template-columns: 1fr 1fr;
  }

  .footer-main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s-6) var(--s-5);
    text-align: left;
  }

  .footer-col {
    align-items: flex-start;
  }

  .footer-col-brand {
    grid-column: 1 / -1;
    max-width: 40rem;
    margin-inline: 0;
  }

  .footer-brand {
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
  }

  .footer-brand-text {
    text-align: left;
  }

  .footer-links {
    align-items: flex-start;
  }

  .footer-bar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

  .footer-bar-links {
    justify-content: flex-end;
  }

  .about-grid {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: var(--s-7);
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-7);
    align-items: start;
  }
}

/* ==========================================================================
   Desktop — 1024px and up
   Carousel becomes a static grid; pagination dots hidden.
   ========================================================================== */

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: var(--s-5);
  }

  .nav-toggle,
  .nav-mobile {
    display: none;
  }

  .section-services .carousel-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-4);
    overflow: visible;
    padding: 0;
    margin: 0;
    scroll-snap-type: none;
  }

  .section-services .carousel-track > * {
    flex: initial;
    max-width: none;
    scroll-snap-align: none;
  }

  .fb-reviews-track > .fb-review-card {
    flex: 0 0 calc((100% - var(--s-4) * 2) / 3);
    max-width: none;
    min-width: 0;
  }

  .work-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-4);
    overflow: visible;
    padding: 0;
    margin: 0;
    scroll-snap-type: none;
  }

  .work-track > * {
    flex: initial;
    max-width: none;
    scroll-snap-align: none;
  }

  .carousel-dots:not(.fb-reviews-dots) {
    display: none;
  }

  .hero-trust {
    grid-template-columns: repeat(3, auto);
    gap: var(--s-7);
  }

  .footer-main {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: var(--s-7);
    align-items: start;
  }

  .footer-col-brand {
    grid-column: auto;
    max-width: none;
    padding-right: var(--s-3);
  }
}
