/*
  The Pasta Rig — Static Site Styles
  - Mobile-first
  - CSS variables for palette/spacing/breakpoints
  - No framework, no build step
*/

:root {
  /* Palette (from provided logo image) */
  --color-bg: #0f0901;
  --color-surface: #1a1209;
  --color-text: #f2efe8;
  --color-muted: #bfb9ad;
  --color-accent: #e45a1d;
  --color-accent-2: #f07a3a;
  --color-border: rgba(242, 239, 232, 0.14);
  --color-cream: #f2efe8;
  --color-ink: #141414;

  /* Typography */
  --font-sans: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  --font-display: "PastaRigDisplay", var(--font-sans);
  --font-condensed: "PastaRigCondensed", var(--font-sans);
  --font-script: "PastaRigScript", ui-serif, "Times New Roman", Times, serif;

  /* Layout */
  --container: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 18px;

  /* Safe area insets (iOS notch) */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);

  /* Fluid spacing scale */
  --space-1: clamp(8px, 1.4vw, 12px);
  --space-2: clamp(12px, 2vw, 16px);
  --space-3: clamp(16px, 2.6vw, 24px);
  --space-4: clamp(24px, 4vw, 40px);
  --space-5: clamp(32px, 6vw, 64px);

  /* Breakpoints (for reference) */
  --bp-sm: 600px;
  --bp-md: 900px;
  --bp-lg: 1200px;

  /* Shadows */
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.55);
  --shadow-accent: 0 16px 40px rgba(228, 90, 29, 0.14);

  /* Sticky header height (used to size the homepage hero to the viewport) */
  --site-header-h: calc(68px + var(--safe-top));

  /* iOS viewport height fix (JS updates --vh) */
  --vh: 1vh;

  /* Theme transitions */
  --theme-dur: 260ms;
  --theme-ease: ease;

  color-scheme: dark;

  /* Scrollbars */
  --scrollbar-track: var(--color-bg);
  --scrollbar-thumb: var(--color-border);
  --scrollbar-thumb-hover: var(--color-muted);
}

/* Scrollbar theming (best-effort across browsers) */

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}

::-webkit-scrollbar-thumb {
  background-color: var(--scrollbar-thumb);
  border-radius: 999px;
  border: 3px solid var(--scrollbar-track);
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--scrollbar-thumb-hover);
}

/* Smooth theme transition (kept intentionally minimal and opt-out via reduced motion) */
html,
body,
.site-header,
.site-nav,
.home-hero__copy,
.home-dark,
.site-footer,
.btn,
.icon-btn,
.badge,
.panel,
.card,
.gallery-tile,
.hero-card,
.home-hero__frame,
.home-note,
.home-card,
.home-cta__inner,
.field input,
.field textarea,
.field select,
.footer-links a {
  transition:
    background-color var(--theme-dur) var(--theme-ease),
    color var(--theme-dur) var(--theme-ease),
    border-color var(--theme-dur) var(--theme-ease),
    box-shadow var(--theme-dur) var(--theme-ease),
    background var(--theme-dur) var(--theme-ease);
}

.card,
.home-note,
.home-card,
.hero-card,
.gallery-tile,
.about-photo,
.home-hero__frame,
.home-cta__inner {
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
  background-clip: padding-box;
}

html[data-theme="light"] {
  --color-bg: #F6F2EA;
  --color-surface: #ffffff;
  --color-text: var(--color-ink);
  --color-muted: rgba(20, 20, 20, 0.72);
  --color-border: rgba(20, 20, 20, 0.14);

  --shadow-soft: 0 18px 40px rgba(20, 20, 20, 0.12);
  --shadow-accent: 0 16px 40px rgba(228, 90, 29, 0.14);

  color-scheme: light;
}


/* Custom fonts (provided) */
@font-face {
  font-family: "PastaRigDisplay";
  src: url("../assets/fonts/CheddarGothicRough-Italic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "PastaRigDisplay";
  src: url("../assets/fonts/CheddarGothicRough-Italic.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PastaRigCondensed";
  src: url("../assets/fonts/Rift-Bold-Italic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "PastaRigCondensed";
  src: url("../assets/fonts/Rift-Bold-Italic.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PastaRigScript";
  src: url("../assets/fonts/santeliaroughbold-webfont.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  touch-action: manipulation;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: radial-gradient(1200px 600px at 20% -10%, rgba(228, 90, 29, 0.18), transparent 55%),
    radial-gradient(900px 500px at 110% 0%, rgba(240, 122, 58, 0.10), transparent 60%),
    var(--color-bg);
  color: var(--color-text);
  line-height: 1.55;
  padding-bottom: var(--safe-bottom);
  overflow-x: clip;
  overscroll-behavior-x: none;
}

/* Respect the built-in `hidden` attribute even when class rules set display. */
[hidden] {
  display: none !important;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

html[data-theme="light"] body {
  background: radial-gradient(1200px 600px at 20% -10%, rgba(228, 90, 29, 0.10), transparent 55%),
    radial-gradient(900px 500px at 110% 0%, rgba(240, 122, 58, 0.06), transparent 60%),
    var(--color-bg);
}

.page-section {
  scroll-margin-top: calc(var(--site-header-h) + 16px);
  position: relative;
}

.page-section + .page-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 5px;
  background: linear-gradient(90deg, transparent, rgba(242, 239, 232, 0.12), transparent);
  opacity: 0.28;
  filter: blur(2px);
  pointer-events: none;
}



.page-section + .page-section.page-section--no-divider::before {
  content: none;
}

.page-section:nth-of-type(even) {
  background:
    radial-gradient(1100px 640px at 15% 0%, rgba(228, 90, 29, 0.08), transparent 70%),
    radial-gradient(1100px 640px at 110% 0%, rgba(240, 122, 58, 0.06), transparent 70%);
}

.page-section.page-section--no-bg {
  background: transparent;
}

html[data-theme="light"] .page-section + .page-section::before {
  background: linear-gradient(90deg, transparent, rgba(20, 20, 20, 0.06), transparent);
}

html[data-theme="light"] .page-section:nth-of-type(even) {
  background:
    radial-gradient(1100px 640px at 15% 0%, rgba(228, 90, 29, 0.06), transparent 72%),
    radial-gradient(1100px 640px at 110% 0%, rgba(240, 122, 58, 0.04), transparent 72%);
}

html[data-theme="light"] .page-section.page-section--no-bg {
  background: transparent;
}

/* Homepage (WP-style) layout helpers */
.site-header--bar {
  background: transparent !important;
  border-bottom: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.topbar {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}

.topbar-logo {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
}

.topbar-logo img {
  height: 34px;
  width: auto;
}

.topbar-logo .logo-light {
  display: none;
}

html[data-theme="light"] .topbar-logo .logo-dark {
  display: none;
}

html[data-theme="light"] .topbar-logo .logo-light {
  display: inline;
}

.site-nav--bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
}

.nav-list--bar a {
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-family: var(--font-condensed);
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.topbar-social {
  justify-self: end;
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(242, 239, 232, 0.18);
  background: rgba(16, 16, 16, 0.45);
  color: rgba(242, 239, 232, 0.92);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.icon-btn:hover {
  transform: translateY(-1px);
  background: rgba(242, 239, 232, 0.06);
  border-color: rgba(242, 239, 232, 0.24);
  box-shadow: var(--shadow-accent);
}

.icon-btn:active {
  transform: scale(0.92);
  transition-duration: 60ms;
}

.icon-btn:focus-visible {
  outline: 2px solid rgba(228, 90, 29, 0.55);
  outline-offset: 3px;
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.card .icon-btn {
  line-height: 0;
  place-items: center;
}

.card .icon-btn svg {
  display: block;
}

.icon-btn--cream {
  border-color: rgba(20, 20, 20, 0.16);
  background: rgba(20, 20, 20, 0.06);
  color: rgba(20, 20, 20, 0.92);
}

.icon-btn--cream:hover {
  background: rgba(20, 20, 20, 0.10);
}

@media (min-width: 900px) {
  .topbar {
    grid-template-columns: 1fr auto 1fr;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav--bar {
    position: static;
    background: transparent;
    border: 0;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list--bar {
    padding: 0;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
  }


  .nav-list--bar a {
    padding: 12px 10px;
    border-bottom: 0;
    border-radius: 0;
  }

  .nav-list--bar a[aria-current="page"] {
    color: var(--color-text);
    text-decoration: underline;
    text-decoration-color: rgba(242, 239, 232, 0.9);
    text-underline-offset: 10px;
    text-decoration-thickness: 2px;
    background: transparent;
    border: 0;
  }
}

/* Hero banner */
.hero-banner {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--site-header-h));
  min-height: calc(100svh - var(--site-header-h));
  min-height: calc(100dvh - var(--site-header-h));
  min-height: calc(var(--vh) * 100 - var(--site-header-h));
  padding: 0;
}

/* Homepage redesign (editorial / photo-forward) */
.home-hero {
  padding: var(--space-3) 0 var(--space-5);
}

.home-hero__frame {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  border-radius: calc(var(--radius) + 18px);
  overflow: hidden;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
  transform: translateZ(0);
  border: 1px solid rgba(242, 239, 232, 0.16);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  background: rgba(10, 10, 10, 0.65);
}

.home-hero__media {
  grid-area: 1 / 1;
  position: relative;
  min-height: min(64vh, 600px);
  overflow: hidden;
  border-radius: inherit;
  transform: translateZ(0);
  background:
    radial-gradient(900px 520px at 18% 10%, rgba(228, 90, 29, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.50), rgba(10, 10, 10, 0.88));
}

@media (max-width: 899px) {
  .home-hero__media {
    min-height: calc(100vh - var(--site-header-h) - 24px);
    min-height: calc(100svh - var(--site-header-h) - 24px);
    min-height: calc(100dvh - var(--site-header-h) - 24px);
    min-height: calc(var(--vh) * 100 - var(--site-header-h) - 24px);
  }
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  border-radius: inherit;
  background:
    radial-gradient(120% 90% at 50% 45%, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.78) 74%, rgba(0, 0, 0, 0.92)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.30) 58%, rgba(0, 0, 0, 0.05)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.70));
}

html[data-theme="light"] .home-hero__overlay {
  background: transparent;
}

html[data-theme="light"] .home-hero__copy {
  background: linear-gradient(90deg, rgba(15, 9, 1, 0.28), rgba(15, 9, 1, 0.12) 60%, rgba(15, 9, 1, 0));
  border-radius: calc(var(--radius) + 6px);
}

.home-hero__slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  overflow: hidden;
  transform: translateZ(0);
}

.home-hero__slideshow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transform: translateZ(0);
}

.home-hero__logo {
  display: none;
}

.home-hero__copy {
  grid-area: 1 / 1;
  position: relative;
  z-index: 3;
  padding: clamp(22px, 4.6vw, 56px);
  max-width: 720px;
  color: rgba(242, 239, 232, 0.98);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
}

html[data-theme="light"] .home-hero__copy {
  color: rgba(242, 239, 232, 0.96);
}

.home-hero__eyebrow {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 7.2vw, 4.6rem);
  color: rgba(228, 90, 29, 0.98);
  text-shadow: 0 20px 36px rgba(0, 0, 0, 0.72);
  line-height: 1.02;
}

html[data-theme="light"] .home-hero__eyebrow {
  color: rgba(228, 90, 29, 0.92);
}

.home-hero__title {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7.2vw, 4.6rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(242, 239, 232, 0.98);
  text-shadow: 0 20px 36px rgba(0, 0, 0, 0.72);
}

html[data-theme="light"] .home-hero__title {
  color: rgba(242, 239, 232, 0.98);
}

.home-hero__lede {
  margin-top: 14px;
  max-width: 60ch;
  font-family: var(--font-condensed);
  font-size: clamp(1.05rem, 2.5vw, 1.4rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(228, 90, 29, 0.96);
  text-shadow: 0 14px 26px rgba(0, 0, 0, 0.55);
}

html[data-theme="light"] .home-hero__lede {
  color: rgba(228, 90, 29, 0.96);
}

.home-hero__sub {
  margin-top: 10px;
  max-width: 60ch;
  font-size: clamp(0.98rem, 2.1vw, 1.2rem);
  color: rgba(242, 239, 232, 0.92);
  text-shadow: 0 12px 22px rgba(0, 0, 0, 0.55);
}

html[data-theme="light"] .home-hero__sub {
  color: rgba(242, 239, 232, 0.92);
}

.home-hero__actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
}

.home-hero__actions .btn {
  white-space: nowrap;
  padding: 10px 14px;
  font-size: 0.92rem;
}

html[data-theme="light"] .home-hero__actions .btn {
  border-color: rgba(242, 239, 232, 0.14);
  background: rgba(16, 16, 16, 0.5);
  color: rgba(242, 239, 232, 0.98);
}

html[data-theme="light"] .home-hero__actions .btn:hover {
  border-color: rgba(242, 239, 232, 0.24);
}

html[data-theme="light"] .home-hero__actions .btn-primary {
  background: #D94115;
  color: rgba(242, 239, 232, 0.96);
  border-color: #D94115;
  box-shadow: var(--shadow-accent);
}

html[data-theme="light"] .home-hero__actions .btn-primary:hover {
  transform: translateY(-2px);
  background: #c53a13;
  border-color: #c53a13;
}

.home-hero__badges {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-hero__copy .badge {
  background: rgba(16, 16, 16, 0.55);
  border-color: rgba(242, 239, 232, 0.14);
  color: rgba(242, 239, 232, 0.92);
}

html[data-theme="light"] .home-hero__copy .badge {
  background: rgba(16, 16, 16, 0.55);
  border-color: rgba(242, 239, 232, 0.14);
  color: rgba(242, 239, 232, 0.92);
}

.home-hero__copy .btn-ghost {
  background: rgba(16, 16, 16, 0.48);
  border-color: rgba(242, 239, 232, 0.16);
  color: rgba(242, 239, 232, 0.94);
}

html[data-theme="light"] .home-hero__copy .btn-ghost {
  background: rgba(16, 16, 16, 0.48);
  border-color: rgba(242, 239, 232, 0.16);
  color: rgba(242, 239, 232, 0.94);
}

.home-hero__copy .btn-ghost:hover {
  border-color: rgba(242, 239, 232, 0.24);
  background: rgba(242, 239, 232, 0.06);
}

html[data-theme="light"] .home-hero__copy .btn-ghost:hover {
  border-color: rgba(242, 239, 232, 0.24);
  background: rgba(242, 239, 232, 0.06);
}

@media (max-width: 600px) {
  .home-hero {
    margin-top: calc(-1 * var(--site-header-h));
    padding-top: var(--site-header-h);
    padding-bottom: 0;
  }

  .home-hero__frame {
    margin-top: 0;
    min-height: calc(100vh - var(--site-header-h));
    min-height: calc(100svh - var(--site-header-h));
    min-height: calc(100dvh - var(--site-header-h));
    min-height: calc(var(--vh) * 100 - var(--site-header-h));
  }

  .home-hero__copy {
    padding: clamp(18px, 5vw, 36px);
    padding-top: calc(clamp(18px, 5vw, 36px) + var(--safe-top));
    padding-bottom: calc(24px + var(--safe-bottom));
    justify-content: flex-end;
  }

  .home-hero__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    overflow-x: visible;
  }

  .home-hero__actions .btn {
    min-width: 0;
    width: 100%;
    justify-content: center;
    padding: 9px 12px;
    font-size: 0.85rem;
  }

  .home-hero__actions .btn:last-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .home-hero {
    padding-top: 14px;
  }

  .home-hero__frame {
    min-height: calc(100vh - var(--site-header-h) - 40px);
    min-height: calc(100svh - var(--site-header-h) - 40px);
    min-height: calc(100dvh - var(--site-header-h) - 40px);
    min-height: calc(var(--vh) * 100 - var(--site-header-h) - 40px);
  }

  .home-hero__media {
    min-height: 0;
  }

  .home-hero__copy {
    padding: clamp(30px, 5vw, 70px);
  }
}

/* Dark editorial homepage sections (Blue Ribbon lean) */
.home-dark {
  background:
    radial-gradient(1100px 620px at 12% -10%, rgba(228, 90, 29, 0.16), transparent 60%),
    radial-gradient(900px 520px at 110% 0%, rgba(240, 122, 58, 0.10), transparent 60%),
    var(--color-bg);
  color: var(--color-text);
}

.home-dark p {
  color: rgba(242, 239, 232, 0.86);
}

.home-dark .kicker {
  color: rgba(242, 239, 232, 0.82);
}

.home-dark .kicker::before {
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-2));
}

.home-dark h2,
.home-dark h3 {
  color: rgba(242, 239, 232, 0.96);
}

.home-dark .btn {
  background: rgba(16, 16, 16, 0.50);
  border-color: rgba(242, 239, 232, 0.16);
  color: rgba(242, 239, 232, 0.94);
}

.home-dark .btn:hover {
  border-color: rgba(242, 239, 232, 0.24);
  background: rgba(242, 239, 232, 0.06);
}

.home-dark .btn-primary {
  background: #D94115;
  color: #fff;
  border-color: #D94115;
}

.home-dark .btn-primary:hover {
  transform: translateY(-2px);
  background: #c53a13;
  border-color: #c53a13;
}

.home-statement {
  padding: var(--space-5) 0;
}

.home-statement__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  align-items: start;
}

.home-statement__title {
  margin: 0;
}

.home-statement__sub {
  margin: 0 0 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  color: rgba(228, 90, 29, 0.92);
}

.home-dark .home-statement__sub.kicker {
  color: var(--color-accent-2);
}

html[data-theme="light"] .home-dark .home-statement__sub.kicker {
  color: var(--color-accent-2);
}

.home-statement__body {
  margin-top: 14px;
  max-width: 70ch;
}

.home-statement__body p {
  margin: 0;
}

.home-statement__body p + p {
  margin-top: 12px;
}

.home-statement__body p.tight {
  margin-top: 4px;
}

.home-statement__body p.loose {
  margin-top: 20px;
}

.home-statement__actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-statement__side {
  display: grid;
  gap: 14px;
}

.home-note {
  border-radius: 18px;
  border: 1px solid rgba(242, 239, 232, 0.12);
  background: rgba(16, 16, 16, 0.40);
  padding: 16px;
}

.about-photo {
  border-radius: 20px;
  overflow: hidden;
  background: rgba(16, 16, 16, 0.35);
  box-shadow: var(--shadow-soft);
  min-height: 260px;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-note__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: #fff;
  margin-bottom: 10px;
}

.home-dark .home-note__title {
  color: #f2efe8;
}

html[data-theme="light"] .home-note__title,
html[data-theme="light"] .home-dark .home-note__title {
  color: rgba(20, 20, 20, 0.92);
}

.home-note__body {
  margin-top: 0;
  color: rgba(242, 239, 232, 0.80);
}

.home-social {
  display: inline-flex;
  gap: 10px;
}

.home-section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--space-3);
}

.home-link {
  font-family: var(--font-condensed);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 900;
  color: rgba(242, 239, 232, 0.86);
  width: fit-content;
  border-bottom: 1px solid rgba(242, 239, 232, 0.28);
  padding-bottom: 4px;
}

.home-link:hover {
  border-bottom-color: rgba(228, 90, 29, 0.68);
}

.home-mosaic {
  padding: var(--space-5) 0;
}

.home-mosaic__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.home-mosaic__item {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(242, 239, 232, 0.12);
  background: rgba(16, 16, 16, 0.35);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
  aspect-ratio: 16 / 11;
}

.home-mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 900px) {
  .home-statement__grid {
    grid-template-columns: 1.35fr 0.65fr;
    gap: var(--space-5);
  }

  .home-statement--services .home-statement__grid {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .home-mosaic__grid {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 74px;
  }

  .home-mosaic__item {
    aspect-ratio: auto;
  }

  .home-mosaic__item--a {
    grid-column: 1 / span 7;
    grid-row: 1 / span 6;
  }

  .home-mosaic__item--b {
    grid-column: 8 / span 5;
    grid-row: 1 / span 4;
  }

  .home-mosaic__item--c {
    grid-column: 8 / span 5;
    grid-row: 5 / span 5;
  }

  .home-mosaic__item--d {
    grid-column: 1 / span 4;
    grid-row: 7 / span 5;
  }

  .home-mosaic__item--e {
    grid-column: 5 / span 4;
    grid-row: 7 / span 5;
  }

  .home-mosaic__item--f {
    grid-column: 9 / span 4;
    grid-row: 10 / span 2;
  }
}

.home-occasions {
  padding: var(--space-5) 0;
}

.home-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.home-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(242, 239, 232, 0.12);
  background: rgba(16, 16, 16, 0.42);
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease;
}

.home-card:hover {
  transform: translateY(-2px);
  background: rgba(242, 239, 232, 0.06);
  border-color: rgba(242, 239, 232, 0.18);
}

.home-card__kicker {
  font-family: var(--font-condensed);
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(228, 90, 29, 0.92);
}

.home-card__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(242, 239, 232, 0.94);
}

html[data-theme="light"] .home-card__title {
  color: rgba(20, 20, 20, 0.92);
}

.home-card__body {
  color: rgba(242, 239, 232, 0.80);
}

html[data-theme="light"] .home-card__body {
  color: rgba(20, 20, 20, 0.72);
}

@media (min-width: 900px) {
  .home-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.home-cta {
  padding: var(--space-5) 0;
  background:
    radial-gradient(900px 480px at 15% 10%, rgba(228, 90, 29, 0.22), transparent 60%),
    radial-gradient(900px 480px at 110% 0%, rgba(240, 122, 58, 0.12), transparent 60%),
    var(--color-bg);
}

.home-cta__inner {
  border-radius: calc(var(--radius) + 14px);
  border: 1px solid rgba(242, 239, 232, 0.12);
  background: rgba(16, 16, 16, 0.46);
  box-shadow: var(--shadow-soft);
  padding: clamp(22px, 5vw, 50px);
  text-align: center;
}

.home-cta__inner p {
  margin-top: 12px;
  max-width: 72ch;
  margin-inline: auto;
}

.home-cta__actions {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-banner__media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(228, 90, 29, 0.24), transparent 55%),
    radial-gradient(900px 500px at 110% 0%, rgba(240, 122, 58, 0.14), transparent 60%),
    #0b0b0b;
}

.hero-banner__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.10;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transform: scale(1.02);
  will-change: opacity, transform;
}

.hero-slideshow img[data-hero-first-frame] {
  opacity: 1;
  transform: none;
}

.hero-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-banner__tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 45%, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.68) 72%, rgba(0, 0, 0, 0.82)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.50), rgba(0, 0, 0, 0.12) 40%, rgba(0, 0, 0, 0.62));
}

.hero-banner__content {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: inherit;
  display: grid;
  place-items: center;
  padding: var(--space-5) var(--gutter);
  gap: 16px;
}

.hero-banner__actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.logo-lockup {
  position: relative;
  text-align: center;
  color: var(--color-cream);
  text-shadow: 0 16px 34px rgba(0, 0, 0, 0.65);
  filter: saturate(1.02);
}

.logo-lockup__img {
  width: min(720px, 86vw);
  height: auto;
  display: block;
}

.logo-lockup__est {
  position: absolute;
  right: -10px;
  top: -14px;
  font-weight: 900;
  letter-spacing: 0.14em;
  font-size: clamp(0.72rem, 1.4vw, 0.92rem);
  opacity: 0.92;
}

.logo-lockup__the {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.24em;
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  margin-bottom: 6px;
}

.logo-lockup__pasta {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.08em;
  font-size: clamp(3.2rem, 10vw, 6.2rem);
  line-height: 0.95;
}

.logo-lockup__rig {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.22em;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  margin-top: 10px;
  text-align: right;
}

/* Cream intro section */
.section-cream {
  background: var(--color-cream);
  color: var(--color-ink);
}

.section-cream p {
  color: rgba(20, 20, 20, 0.86);
}

.intro {
  padding: clamp(34px, 6vw, 70px) 0;
  text-align: center;
}

.intro-title {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.35;
  margin: 0;
  color: rgba(20, 20, 20, 0.88);
}

/* Generic CSS-only placeholders for tiles */
.tile-placeholder {
  background:
    radial-gradient(420px 220px at 20% 20%, rgba(242, 239, 232, 0.16), transparent 60%),
    radial-gradient(420px 220px at 90% 30%, rgba(0, 0, 0, 0.22), transparent 65%),
    linear-gradient(135deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.38));
}

.intro-sub {
  margin-top: 18px;
  font-weight: 900;
  color: var(--color-accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.92rem;
}

.intro-body {
  margin-top: 18px;
  max-width: 78ch;
  margin-inline: auto;
}

.intro-follow {
  margin-top: 22px;
  font-weight: 900;
  color: var(--color-accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.intro-icons {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* Orange photo strip */
.section-accent {
  background: var(--color-accent);
  padding: var(--space-4) 0;
}

.photo-strip {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.photo-strip__tile {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background-color: rgba(0, 0, 0, 0.14);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  position: relative;
}

.photo-strip__tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 30% 20%, rgba(242, 239, 232, 0.10), transparent 55%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.30));
}

.photo-strip__tile:nth-child(1) {
  background-image: url("../assets/images/image00006.webp");
}

.photo-strip__tile:nth-child(2) {
  background-image: url("../assets/images/image00002.webp");
}

.photo-strip__tile:nth-child(3) {
  background-image: url("../assets/images/image00009.webp");
}

.photo-strip__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

/* Proof block (homepage) */
.proof {
  margin-top: 28px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(20, 20, 20, 0.12);
  background: rgba(20, 20, 20, 0.04);
}

.proof-title {
  margin: 0;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(20, 20, 20, 0.86);
  font-size: 0.92rem;
}

.proof-badges {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.section-cream .badge {
  background: rgba(20, 20, 20, 0.06);
  border-color: rgba(20, 20, 20, 0.12);
  color: rgba(20, 20, 20, 0.86);
}

@media (min-width: 900px) {
  .photo-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(228, 90, 29, 0.9);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(var(--container), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: 10px;
  transform: translateY(-140%);
  background: var(--color-accent);
  color: #0b0b0b;
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 9999;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 11, 0.68);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(242, 239, 232, 0.10);
  padding-top: var(--safe-top);
}

html[data-theme="light"] .site-header {
  background: rgba(246, 242, 234, 0.78);
  border-bottom-color: rgba(20, 20, 20, 0.10);
}

/* Homepage header: keep nav text, remove the bar */
.site-header.site-header--bar {
  background: transparent !important;
  border-bottom: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: 14px 0;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.header-actions .icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(242, 239, 232, 0.16);
  background: rgba(16, 16, 16, 0.6);
  color: var(--color-text);
}

html[data-theme="light"] .header-actions .icon-btn {
  border-color: rgba(20, 20, 20, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: rgba(20, 20, 20, 0.92);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(242, 239, 232, 0.12);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.98rem;
}

.brand-text span {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(242, 239, 232, 0.16);
  background: rgba(16, 16, 16, 0.6);
  color: var(--color-text);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.site-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: rgba(11, 11, 11, 0.92);
  border-bottom: 1px solid rgba(242, 239, 232, 0.10);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
}

html[data-theme="light"] .site-nav {
  background: rgba(246, 242, 234, 0.96);
  border-bottom-color: rgba(20, 20, 20, 0.10);
}

.site-nav[data-open="true"] {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 600px) {
  .site-nav--bar {
    left: var(--gutter);
    right: var(--gutter);
    border-radius: 16px;
  }
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 14px 0;
  display: grid;
  gap: 6px;
}

.nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(242, 239, 232, 0.08);
  color: var(--color-text);
  font-weight: 600;
  letter-spacing: 0.02em;
}

html[data-theme="light"] .nav-list a {
  border-bottom-color: rgba(20, 20, 20, 0.08);
}

.nav-list a[aria-current="page"] {
  color: var(--color-accent-2);
}

.nav-list--bar a[aria-current="page"] {
  background: transparent;
  border: 0;
  color: var(--color-text);
}

.nav-list a small {
  font-weight: 500;
  color: var(--color-muted);
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    background: transparent;
    border: 0;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    transition: none;
  }

  html[data-theme="light"] .site-nav {
    background: transparent;
    border: 0;
  }

  .nav-list {
    padding: 0;
    display: flex;
    gap: 18px;
    align-items: center;
  }

  .nav-list a {
    padding: 10px 12px;
    border-bottom: 0;
    border-radius: 12px;
    background: transparent;
    transition: background 200ms ease, transform 200ms ease;
  }

  .nav-list a:hover {
    background: rgba(242, 239, 232, 0.06);
    transform: translateY(-1px);
  }

  .nav-list a[aria-current="page"] {
    background: rgba(228, 90, 29, 0.14);
    border: 1px solid rgba(228, 90, 29, 0.24);
  }

  .nav-list--bar a:hover,
  .nav-list--bar a[aria-current="page"] {
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: none;
  }

  .nav-list a small {
    display: none;
  }
}

/* Forms */
.form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field--select {
  position: relative;
}

.field label {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(242, 239, 232, 0.14);
  background: rgba(16, 16, 16, 0.45);
  color: var(--color-text);
  padding: 12px 14px;
  font: inherit;
}

.field select option {
  background: var(--color-surface);
  color: var(--color-text);
}

.field select option:hover {
  background: var(--color-accent);
  color: #fff;
}

.custom-select {
  display: none;
  position: relative;
}

.custom-select__trigger {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(242, 239, 232, 0.14);
  background: rgba(16, 16, 16, 0.45);
  color: var(--color-text);
  padding: 12px 44px 12px 14px;
  font: inherit;
  text-align: left;
  cursor: pointer;
  position: relative;
}

.custom-select__trigger::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23f2efe8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.custom-select__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  border-radius: 16px;
  border: 1px solid rgba(242, 239, 232, 0.16);
  background: rgba(12, 12, 12, 0.95);
  padding: 6px;
  box-shadow: var(--shadow-soft);
  display: none;
  z-index: 20;
  max-height: none;
  overflow: hidden;
}

.custom-select__option {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--color-text);
  padding: 10px 12px;
  text-align: left;
  border-radius: 12px;
  font: inherit;
  cursor: pointer;
}

.custom-select__option:hover,
.custom-select__option:focus-visible {
  background: var(--color-accent);
  color: #fff;
}

.custom-select__option[aria-selected="true"] {
  background: rgba(228, 90, 29, 0.25);
  color: #fff;
}

.custom-select.is-open .custom-select__panel {
  display: block;
}

.custom-select.is-open .custom-select__trigger {
  border-color: rgba(228, 90, 29, 0.55);
  box-shadow: 0 0 0 2px rgba(228, 90, 29, 0.18);
}

@media (min-width: 900px) {
  .custom-select {
    display: block;
  }

  .field--select select {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.hint {
  color: rgba(242, 239, 232, 0.68);
  font-size: 0.95rem;
}

html[data-theme="light"] .hint {
  color: rgba(20, 20, 20, 0.72);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(242, 239, 232, 0.14);
  background: rgba(16, 16, 16, 0.5);
  color: var(--color-text);
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(242, 239, 232, 0.24);
  box-shadow: var(--shadow-accent);
}

.btn:focus-visible {
  outline: 2px solid rgba(228, 90, 29, 0.55);
  outline-offset: 3px;
}

.btn-primary {
  background: #D94115;
  color: #fff;
  border-color: #D94115;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #c53a13;
  border-color: #c53a13;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(242, 239, 232, 0.22);
}

html[data-theme="light"] .btn {
  border-color: rgba(20, 20, 20, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: rgba(20, 20, 20, 0.92);
}

html[data-theme="light"] .btn:hover {
  border-color: rgba(20, 20, 20, 0.22);
}

html[data-theme="light"] .btn-ghost {
  background: transparent;
  border-color: rgba(20, 20, 20, 0.22);
}

html[data-theme="light"] .field input,
html[data-theme="light"] .field textarea,
html[data-theme="light"] .field select {
  border-color: rgba(20, 20, 20, 0.14);
  background: rgba(255, 255, 255, 0.82);
  color: rgba(20, 20, 20, 0.92);
}

html[data-theme="light"] .custom-select__trigger {
  border-color: rgba(20, 20, 20, 0.14);
  background: rgba(255, 255, 255, 0.82);
  color: rgba(20, 20, 20, 0.92);
}

html[data-theme="light"] .custom-select__trigger::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23141414' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

html[data-theme="light"] .custom-select__panel {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(20, 20, 20, 0.12);
}

html[data-theme="light"] .custom-select__option {
  color: rgba(20, 20, 20, 0.92);
}

html[data-theme="light"] .field select option {
  background: #ffffff;
  color: #141414;
}

.btn svg {
  width: 16px;
  height: 16px;
}

.back-to-top {
  position: fixed;
  right: clamp(16px, 2.6vw, 28px);
  bottom: calc(clamp(16px, 3vw, 32px) + var(--safe-bottom));
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(242, 239, 232, 0.18);
  background: rgba(16, 16, 16, 0.7);
  color: var(--color-text);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease, background 200ms ease, border-color 200ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Cookie consent */
.cookie-banner {
  position: fixed;
  left: var(--gutter);
  right: var(--gutter);
  bottom: calc(14px + var(--safe-bottom));
  z-index: 70;
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.cookie-banner__title {
  margin: 0;
  font-family: var(--font-condensed);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 900;
  color: var(--color-accent);
}

.cookie-banner__text {
  margin: 8px 0 0;
  color: var(--color-muted);
  max-width: 72ch;
}

.cookie-banner__text a {
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}

.cookie-banner__text a:hover {
  border-bottom-color: rgba(228, 90, 29, 0.68);
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

@media (min-width: 700px) {
  .cookie-banner {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 18px;
  }

  .cookie-banner__actions {
    justify-content: flex-end;
  }
}

.back-to-top:hover {
  border-color: rgba(242, 239, 232, 0.34);
  background: rgba(24, 24, 24, 0.85);
}

.back-to-top:focus-visible {
  outline: 2px solid rgba(228, 90, 29, 0.55);
  outline-offset: 3px;
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

html[data-theme="light"] .back-to-top {
  border-color: rgba(20, 20, 20, 0.2);
  background: rgba(255, 255, 255, 0.82);
  color: rgba(20, 20, 20, 0.9);
}

/* Sections */
section {
  padding: var(--space-5) 0;
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: var(--space-3);
}

.menu-meta {
  margin-top: 0;
  display: grid;
  gap: 10px;
}

@media (max-width: 700px) {
  .menu-meta {
    margin-top: calc(var(--space-4) + 6px);
  }
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-accent-2);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
}

.kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-2));
  border-radius: 999px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  font-family: var(--font-display);
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  letter-spacing: 0.01em;
}

h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
}

h3 {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
}

p {
  margin: 0;
  color: rgba(242, 239, 232, 0.88);
}

html[data-theme="light"] p {
  color: rgba(20, 20, 20, 0.88);
}

html[data-theme="light"] .brand-text span {
  color: rgba(20, 20, 20, 0.62);
}

html[data-theme="light"] .nav-list a small {
  color: rgba(20, 20, 20, 0.62);
}

/* Hero */
.hero {
  padding-top: var(--space-4);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  align-items: center;
}

.hero-card {
  position: relative;
  border-radius: calc(var(--radius) + 10px);
  overflow: hidden;
  border: 1px solid rgba(242, 239, 232, 0.12);
  background:
    linear-gradient(120deg, rgba(217, 65, 21, 0.22), rgba(0, 85, 103, 0.18) 55%, rgba(16, 16, 16, 0.46));
  box-shadow: var(--shadow-soft);
}

.hero-card--compact {
  min-height: 0;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 480px at 20% 15%, rgba(217, 65, 21, 0.22), rgba(0, 85, 103, 0.18) 55%, transparent 70%),
    linear-gradient(180deg, rgba(16, 16, 16, 0.76), rgba(11, 11, 11, 0.86));
  filter: saturate(1.05) contrast(1.03);
  opacity: 0.95;
}

html[data-theme="light"] .hero-media {
  background:
    radial-gradient(700px 480px at 20% 15%, rgba(217, 65, 21, 0.10), rgba(0, 85, 103, 0.08) 55%, transparent 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 242, 234, 0.78));
  opacity: 1;
  filter: saturate(1.02) contrast(1.01);
}

.hero-media--soft {
  opacity: 0.55;
}

.section-actions {
  margin-top: var(--space-3);
}

@media (max-width: 700px) {
  .section-actions {
    margin-top: calc(var(--space-4) + 6px);
  }
}

/* Instagram embed */
.instagram-embed {
  position: relative;
  margin-top: var(--space-2);
  border-radius: calc(var(--radius) + 10px);
  overflow: hidden;
  border: 1px solid rgba(242, 239, 232, 0.14);
  background: rgba(16, 16, 16, 0.22);
  box-shadow: var(--shadow-soft);
}

.instagram-embed::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-2));
  pointer-events: none;
  z-index: 1;
}

.instagram-embed iframe {
  width: 100%;
  min-height: 560px;
  border: 0;
  border-radius: calc(var(--radius) + 10px);
  background: transparent;
  display: block;
}

.instagram-embed behold-widget {
  display: block;
  width: 100%;
}

html[data-theme="light"] .instagram-embed {
  border-color: rgba(20, 20, 20, 0.14);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

@media (max-width: 700px) {
  .instagram-embed iframe {
    min-height: 460px;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 480px at 20% 15%, rgba(228, 90, 29, 0.35), transparent 60%),
    linear-gradient(0deg, rgba(11, 11, 11, 0.86), rgba(11, 11, 11, 0.18));
}

html[data-theme="light"] .hero-overlay {
  background:
    radial-gradient(700px 480px at 20% 15%, rgba(228, 90, 29, 0.14), transparent 62%),
    linear-gradient(0deg, rgba(246, 242, 234, 0.92), rgba(246, 242, 234, 0.18));
}

.hero-content {
  position: relative;
  padding: clamp(22px, 5vw, 46px);
}

.hero-lede {
  font-size: clamp(1.05rem, 2.1vw, 1.22rem);
  color: rgba(242, 239, 232, 0.86);
  max-width: 62ch;
  margin-top: var(--space-2);
}

html[data-theme="light"] .hero-lede {
  color: rgba(20, 20, 20, 0.78);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--space-3);
}

.hero-badges {
  margin-top: var(--space-3);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(16, 16, 16, 0.55);
  border: 1px solid rgba(242, 239, 232, 0.12);
  color: rgba(242, 239, 232, 0.9);
  font-weight: 650;
  font-size: 0.92rem;
}

.badge svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent-2);
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-side {
  display: grid;
  gap: var(--space-3);
}

.panel {
  border-radius: var(--radius);
  border: 1px solid rgba(242, 239, 232, 0.12);
  background: rgba(16, 16, 16, 0.42);
  padding: var(--space-3);
}

/* Long-form page content */
.prose {
  max-width: 70ch;
}

.panel h3 {
  margin-bottom: 10px;
}

.panel p {
  color: rgba(242, 239, 232, 0.80);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.card .social-row {
  margin-top: 12px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(242, 239, 232, 0.12);
  background: rgba(16, 16, 16, 0.35);
  transition: transform 200ms ease, background 200ms ease;
}

.social-link:hover {
  transform: translateY(-1px);
  background: rgba(242, 239, 232, 0.06);
}

/* Cards grid */
.cards {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: 1fr;
  align-items: stretch;
  grid-auto-rows: 1fr;
  margin-bottom: var(--space-3);
}

@media (min-width: 600px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  border-radius: var(--radius);
  border: 1px solid rgba(242, 239, 232, 0.12);
  background:
    linear-gradient(140deg, rgba(217, 65, 21, 0.12), rgba(0, 85, 103, 0.10) 55%, rgba(16, 16, 16, 0.38));
  padding: var(--space-3);
  min-height: 150px;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.card::before {
  content: "";
  position: absolute;
  box-shadow: var(--shadow-accent);
  inset: -80px -80px auto auto;

html[data-theme="light"] .home-card:hover {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(20, 20, 20, 0.18);
  box-shadow: var(--shadow-soft);
}
  box-shadow: var(--shadow-accent);
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at 30% 30%, rgba(217, 65, 21, 0.20), rgba(0, 85, 103, 0.12) 45%, transparent 70%);
  filter: blur(14px);
  opacity: 0.9;
  transform: translate(0, 0);
}

html[data-theme="light"] .card::before {
  background: radial-gradient(circle at 30% 30%, rgba(217, 65, 21, 0.12), rgba(0, 85, 103, 0.08) 45%, transparent 78%);
  opacity: 0.75;
}

html[data-theme="light"] .card {
  background:
    linear-gradient(140deg, rgba(217, 65, 21, 0.08), rgba(0, 85, 103, 0.08) 55%, rgba(255, 255, 255, 0.86));
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: rgba(242, 239, 232, 0.80);
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(242, 239, 232, 0.18);
  background: rgba(242, 239, 232, 0.04);
  box-shadow: var(--shadow-soft);
}

html[data-theme="light"] .card:hover {
  border-color: rgba(20, 20, 20, 0.18);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.card a:not(.icon-btn) {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--color-accent-2);
}

/* Gallery preview */
.gallery-scroller {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.gallery-scroller__btn {
  position: static;
  transform: none;
  display: grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
}

.gallery-scroller__btn:disabled {
  opacity: 0.4;
  transform: none;
  cursor: default;
  box-shadow: none;
}

.gallery-grid {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, 1fr);
  grid-auto-columns: clamp(160px, 22vw, 260px);
  gap: 10px;

  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;

  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  -ms-overflow-style: none;
}

.gallery-grid::-webkit-scrollbar {
  display: none;
}

.gallery-tile {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(242, 239, 232, 0.12);
  background: rgba(16, 16, 16, 0.35);
  aspect-ratio: 1 / 1;
  position: relative;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
  scroll-snap-align: start;
}

.gallery-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(242, 239, 232, 0.18);
  box-shadow: var(--shadow-soft);
}

html[data-theme="light"] .gallery-tile:hover {
  border-color: rgba(20, 20, 20, 0.18);
}

html[data-theme="light"] .badge,
html[data-theme="light"] .panel,
html[data-theme="light"] .card,
html[data-theme="light"] .gallery-tile,
html[data-theme="light"] .hero-card,
html[data-theme="light"] .home-hero__frame,
html[data-theme="light"] .home-note,
html[data-theme="light"] .home-card,
html[data-theme="light"] .home-cta__inner {
  border-color: rgba(20, 20, 20, 0.12);
  background: rgba(255, 255, 255, 0.68);
}

html[data-theme="light"] .icon-btn {
  border-color: rgba(20, 20, 20, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: rgba(20, 20, 20, 0.92);
}

html[data-theme="light"] .icon-btn:hover {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(20, 20, 20, 0.22);
}

html[data-theme="light"] .panel p,
html[data-theme="light"] .card p,
html[data-theme="light"] .home-note__body,
html[data-theme="light"] .footer-grid p {
  color: rgba(20, 20, 20, 0.72);
}

html[data-theme="light"] .home-dark {
  background:
    radial-gradient(1100px 620px at 12% -10%, rgba(228, 90, 29, 0.10), transparent 60%),
    radial-gradient(900px 520px at 110% 0%, rgba(240, 122, 58, 0.06), transparent 60%),
    var(--color-bg);
  color: var(--color-text);
}

html[data-theme="light"] .home-dark .kicker {
  color: rgba(20, 20, 20, 0.70);
}

html[data-theme="light"] .home-dark h2,
html[data-theme="light"] .home-dark h3 {
  color: rgba(20, 20, 20, 0.92);
}

html[data-theme="light"] .home-link {
  color: rgba(20, 20, 20, 0.78);
  border-bottom-color: rgba(20, 20, 20, 0.22);
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}

@media (min-width: 900px) {
  .gallery-grid {
    grid-auto-columns: clamp(200px, 18vw, 300px);
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(242, 239, 232, 0.10);
  padding: var(--space-4) 0;
  background: rgba(11, 11, 11, 0.6);
}

html[data-theme="light"] .site-footer {
  background: rgba(246, 242, 234, 0.78);
  border-top-color: rgba(20, 20, 20, 0.10);
}

.footer-grid {
  display: grid;
  gap: var(--space-3);
}

.footer-grid p {
  color: rgba(242, 239, 232, 0.72);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
}

.footer-links a {
  color: rgba(242, 239, 232, 0.86);
  border-bottom: 1px solid transparent;
  font-weight: 700;
}

html[data-theme="light"] .footer-links a {
  color: rgba(20, 20, 20, 0.78);
}

.footer-links a:hover {
  border-bottom-color: rgba(228, 90, 29, 0.7);
}

.footer-brand {
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-desc {
  margin-top: 10px;
}

.footer-note {
  margin-top: 6px;
  color: rgba(242, 239, 232, 0.6);
}

.footer-note a,
.footer-note .footer-cookie {
  color: inherit;
  border-bottom: 1px solid transparent;
}

.footer-note a:hover,
.footer-note .footer-cookie:hover {
  border-bottom-color: rgba(228, 90, 29, 0.7);
}

.footer-note .footer-cookie {
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.3fr 0.7fr;
    align-items: center;
  }
}

/* ── Theme-hint tooltip ── */

.theme-toggle {
  position: relative;
}

.theme-hint {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: max-content;
  max-width: 200px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(228, 90, 29, 0.92);
  color: #fff;
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px) scale(0.95);
  transition: opacity 400ms ease, transform 400ms ease;
  z-index: 9000;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

/* Arrow pointing up toward the button */
.theme-hint::before {
  content: "";
  position: absolute;
  bottom: 100%;
  right: 14px;
  border: 7px solid transparent;
  border-bottom-color: rgba(228, 90, 29, 0.92);
}

/* Visible state */
.theme-hint.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Subtle glow pulse on the toggle button */
@keyframes theme-hint-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(228, 90, 29, 0); }
  50%      { box-shadow: 0 0 12px 4px rgba(228, 90, 29, 0.45); }
}

.theme-toggle--hinting {
  animation: theme-hint-glow 1.8s ease-in-out infinite;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .theme-hint {
    transition-duration: 0.01ms !important;
  }
  .theme-toggle--hinting {
    animation: none !important;
  }
}

/* ── Reduce motion ── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
