/* ==========================================================================
   Lukas Peters Media — design system
   Rebuilt from Tilda export. Tokens verified against original source.
   ========================================================================== */

/* ----- Self-hosted fonts (no third-party calls) ----- */
@font-face {
  font-family: "Roboto";
  src: url("../fonts/roboto-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  /* Ultra-thin display fallback for non-Apple devices (Helvetica Neue UltraLight substitute) */
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 200 400;
  font-style: normal;
  font-display: swap;
}

/* ----- Design tokens ----- */
:root {
  /* palette (verified from source) */
  --accent: #d7aa91;
  --accent-hover: #d8a48e;
  --accent-tint: #ffb096;
  --ink: #111111;
  --ink-soft: #414141;
  --black: #000000;
  --white: #ffffff;
  --bg: #ffffff;
  --bg-muted: #eeeeee;
  --bg-muted-2: #efefef;
  --dark: #0f0f0f;
  --dark-2: #111111;
  --link-blue: #2f6df6;

  /* type */
  --font-body: "Roboto", Arial, sans-serif;
  --font-display: "Helvetica Neue", Helvetica, "Inter", Arial, sans-serif;

  /* layout */
  --container: 1200px;
  --container-narrow: 900px;
  --gutter: 20px;
  --nav-h: 100px;

  /* motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ----- Reset / base ----- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }

/* accessible focus */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--ink); color: #fff; padding: 12px 18px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ----- Typography scale ----- */
.display {
  font-family: var(--font-display);
  font-weight: 200;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
.h-hero { font-size: clamp(1.8rem, 4.2vw, 3.4rem); }
.h-section {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  text-align: center;
  line-height: 1.15;
}
.h-bold {
  font-weight: 700;
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  line-height: 1.15;
}
.lead { font-size: clamp(1rem, 1.6vw, 1.25rem); color: var(--ink-soft); }

/* ----- Layout primitives ----- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: clamp(56px, 9vw, 120px); }
.section--muted { background: var(--bg-muted); }
.section--muted-2 { background: var(--bg-muted-2); }
.section--dark { background: var(--dark); color: #fff; }
.text-center { text-align: center; }
.stack > * + * { margin-top: 1rem; }

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  padding: 15px 34px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1rem;
  text-transform: lowercase;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 0;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover, .btn:focus-visible { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn--dark { background: var(--ink); border-color: var(--ink); color: #fff; text-transform: none; font-weight: 500; }
.btn--dark:hover { background: #000; }
.btn--blue { background: var(--link-blue); border-color: var(--link-blue); text-transform: none; font-weight: 600; }
.btn--outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); text-transform: none; font-weight: 600; }
.btn--outline:hover { background: var(--ink); color: #fff; }

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
}
.site-header__inner {
  width: 100%; max-width: var(--container); margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
}
/* light nav (used on every page) */
.site-header--light { background: rgba(255,255,255,0.85); backdrop-filter: saturate(120%) blur(6px); border-bottom: 1px solid rgba(0,0,0,0.06); }
.site-header--light .nav-link, .site-header--light .brand { color: var(--ink); }
/* home nav has no text brand (hero image carries the title) — single nav row, centered */
.site-header__inner--navonly { display: flex; align-items: center; justify-content: center; }
.site-header__inner--navonly .nav--full { gap: 30px; }
@media (max-width: 980px) {
  .site-header__inner--navonly { justify-content: flex-end; }
}
/* dark nav (inner pages) */
.site-header--dark { background: #3a3a3a; }
.site-header--dark .nav-link, .site-header--dark .brand { color: #fff; }

.brand { font-family: var(--font-display); font-weight: 300; text-transform: uppercase; letter-spacing: 0.08em; font-size: 1rem; text-align: center; }
.brand img { height: 56px; width: auto; margin-inline: auto; }

.nav { display: flex; gap: 26px; align-items: center; }
.nav--left { justify-self: start; }
.nav--right { justify-self: end; }
.nav-link {
  font-family: var(--font-display); font-weight: 300; text-transform: uppercase;
  font-size: 0.82rem; letter-spacing: 0.05em; white-space: nowrap;
  transition: opacity 0.25s var(--ease);
}
.nav-link:hover { opacity: 0.6; }
.nav-link[aria-current="page"] { opacity: 0.5; }

/* hamburger */
.nav-toggle { display: none; width: 30px; height: 22px; position: relative; background: none; border: 0; padding: 0; justify-self: end; }
.nav-toggle span { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 20px; }
.site-header--light .nav-toggle { color: var(--ink); }
.site-header--dark .nav-toggle { color: #fff; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

@media (max-width: 980px) {
  .site-header__inner { grid-template-columns: auto 1fr auto; }
  .brand { justify-self: start; text-align: left; grid-column: 1; }
  .nav-toggle { display: block; grid-column: 3; }
  .nav {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; gap: 0;
    background: #3a3a3a; color: #fff;
    padding: 8px 0; transform: translateY(-120%); transition: transform 0.35s var(--ease);
    max-height: calc(100vh - var(--nav-h)); overflow: auto;
  }
  .nav--left, .nav--right { justify-self: stretch; }
  .nav.is-open { transform: translateY(0); }
  .nav-link { color: #fff; width: 100%; padding: 16px 24px; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 0.95rem; }
  .site-header--light .nav .nav-link { color: #fff; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--dark); color: #fff; }
.site-footer__inner {
  max-width: var(--container); margin-inline: auto; padding: 26px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.site-footer a { font-weight: 700; font-size: 0.9rem; }
.site-footer .foot-nav { display: flex; gap: 26px; }
.site-footer__copy { font-weight: 700; font-size: 0.9rem; }

/* ==========================================================================
   Contact block ("Let's get in touch")
   ========================================================================== */
.contact-block { text-align: center; }
.contact-block__avatar { width: 130px; height: 130px; border-radius: 50%; object-fit: cover; margin: 0 auto 18px; }
.contact-block__name { font-weight: 700; font-size: 1.15rem; }
.contact-block__role { color: var(--ink-soft); font-size: 0.95rem; margin-top: 4px; }
.contact-block__detail { font-weight: 700; margin-top: 22px; line-height: 1.8; }

/* ----- Scroll reveal (progressive enhancement; visible without JS) ----- */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Home page components
   ========================================================================== */

/* ----- Hero (cinematic full-bleed) ----- */
.hero { position: relative; min-height: 640px; height: 92vh; display: flex; align-items: flex-end; background: #100c09; overflow: hidden; }
.hero__media { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(16,12,9,0.82) 0%, rgba(16,12,9,0.5) 38%, rgba(16,12,9,0.08) 70%, rgba(16,12,9,0) 100%),
    linear-gradient(to top, rgba(16,12,9,0.62) 0%, rgba(16,12,9,0) 44%),
    linear-gradient(to bottom, rgba(16,12,9,0.4) 0%, rgba(16,12,9,0) 22%);
}
.hero__inner { position: relative; z-index: 2; color: #fff; padding-bottom: clamp(44px, 7vw, 82px); padding-top: var(--nav-h); }
.hero__kicker { color: var(--accent); font-family: var(--font-display); font-weight: 500; font-size: 0.8rem; letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 22px; }
.hero__title { font-weight: 200; line-height: 1.04; letter-spacing: -0.01em; font-size: clamp(2.5rem, 6.4vw, 5.2rem); color: #fff; text-wrap: balance; }
.hero__sub { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.05rem, 1.8vw, 1.45rem); color: rgba(255,255,255,0.82); margin-top: 20px; }
.hero__actions { display: flex; align-items: center; gap: 30px; margin-top: 40px; flex-wrap: wrap; }
.hero__cta { display: inline-flex; align-items: center; gap: 10px; text-transform: none; font-weight: 500; font-family: var(--font-body); background: var(--accent); border-color: var(--accent); border-radius: 3px; padding: 15px 30px; }
.hero__cta:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-2px); }
.hero__ghost { color: #fff; font-size: 0.86rem; letter-spacing: 0.16em; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,0.6); padding-bottom: 3px; transition: border-color 0.25s var(--ease); }
.hero__ghost:hover { border-color: #fff; }

/* home nav overlays the hero (transparent) until scrolled */
.site-header--overlay:not(.is-solid) { background: transparent; backdrop-filter: none; border-bottom-color: transparent; }
.site-header--overlay:not(.is-solid) .nav-link,
.site-header--overlay:not(.is-solid) .nav-toggle { color: #fff; }
.site-header--overlay.is-solid { background: rgba(255,255,255,0.9); backdrop-filter: saturate(120%) blur(6px); }

/* ----- About ----- */
.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.about__photo img { width: 100%; filter: grayscale(1); object-fit: cover; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } .about__photo { max-width: 360px; margin-inline: auto; } .h-section { } }

/* ----- Services grid ----- */
.services-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service-tile {
  position: relative; aspect-ratio: 1 / 1; background-size: cover; background-position: center;
  display: flex; align-items: flex-end; padding: 18px; color: #fff; overflow: hidden;
}
.service-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.55) 100%); transition: background 0.3s var(--ease); }
.service-tile:hover::after { background: rgba(0,0,0,0.45); }
.service-tile span { position: relative; z-index: 2; font-family: var(--font-display); font-weight: 300; font-size: 1.05rem; letter-spacing: 0.02em; }
/* first tile spans 2 cols like the original hero-tile emphasis */
.service-tile:nth-child(1) { grid-column: span 2; aspect-ratio: 2 / 1; }
.service-tile:nth-child(2) { grid-column: span 2; aspect-ratio: 2 / 1; }
@media (max-width: 820px) { .services-grid { grid-template-columns: repeat(2, 1fr); } .service-tile:nth-child(1), .service-tile:nth-child(2) { grid-column: span 1; aspect-ratio: 1 / 1; } }

/* ----- Portfolio grid + lightbox ----- */
.portfolio-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.portfolio-cell { border: 0; padding: 0; background: none; display: block; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; }
.portfolio-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease), opacity 0.3s; }
.portfolio-cell:hover img { transform: scale(1.05); }
@media (max-width: 900px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
.lightbox::backdrop { background: rgba(0,0,0,0.92); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox__img { max-width: 92vw; max-height: 88vh; object-fit: contain; box-shadow: 0 10px 60px rgba(0,0,0,0.6); }
.lightbox__close { position: fixed; top: 18px; right: 22px; background: none; border: 0; color: #fff; font-size: 2.6rem; line-height: 1; }
.lightbox__nav { position: fixed; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; font-size: 3.4rem; padding: 0 20px; opacity: 0.75; }
.lightbox__nav:hover { opacity: 1; }
.lightbox__prev { left: 8px; } .lightbox__next { right: 8px; }
@media (max-width: 600px) { .lightbox__nav { font-size: 2.4rem; padding: 0 10px; } }

/* ----- Cinematography video grid (YouTube facades) ----- */
.video-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.yt { position: relative; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; background-size: cover; background-position: center; background-color: #000; overflow: hidden; }
.yt::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.15); transition: background 0.3s; }
.yt:hover::after { background: rgba(0,0,0,0); }
/* once the video is loaded, stop the button/overlay from intercepting clicks so
   YouTube's own controls (pause, seek, fullscreen) work */
.yt.is-loaded::after { content: none; }
.yt.is-loaded { pointer-events: none; cursor: default; }
.yt.is-loaded iframe { pointer-events: auto; }
.yt__play { position: absolute; inset: 0; margin: auto; width: 68px; height: 48px; background: rgba(0,0,0,0.65); border-radius: 12px; z-index: 2; transition: background 0.2s; }
.yt__play::before { content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; }
.yt:hover .yt__play { background: var(--accent); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 700px) { .video-grid { grid-template-columns: 1fr; } }

/* ----- 3D Tours & Floor Plans ----- */
.tours { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.tours__media { position: relative; min-height: 360px; }
.tours__img { position: absolute; box-shadow: 0 14px 40px rgba(0,0,0,0.18); border-radius: 4px; }
.tours__img--a { width: 62%; top: 0; left: 0; z-index: 3; }
.tours__img--b { width: 46%; top: 34%; right: 4%; z-index: 2; }
.tours__img--c { width: 40%; bottom: 0; left: 12%; z-index: 4; background: #fff; }
.tours__title { font-weight: 200; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.1; }
@media (max-width: 820px) { .tours { grid-template-columns: 1fr; } .tours__media { min-height: 300px; } }

/* ----- Before / After slider ----- */
.ba { position: relative; width: 100%; max-width: 900px; margin-inline: auto; aspect-ratio: 3 / 2; overflow: hidden; user-select: none; touch-action: pan-y; }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
.ba__before-wrap { position: absolute; inset: 0; width: 50%; overflow: hidden; }
.ba__before-wrap .ba__img { width: auto; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; transform: translateX(-1px); z-index: 3; box-shadow: 0 0 0 1px rgba(0,0,0,0.15); }
.ba__handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 42px; height: 42px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.ba__handle span::before, .ba__handle span::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border-style: solid; }
.ba__handle span::before { left: 9px; transform: translateY(-50%); border-width: 6px 8px 6px 0; border-color: transparent #333 transparent transparent; }
.ba__handle span::after { right: 9px; transform: translateY(-50%); border-width: 6px 0 6px 8px; border-color: transparent transparent transparent #333; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; }

/* ----- Brochures ----- */
.brochure-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: start; }
.brochure-grid img { width: 100%; box-shadow: 0 8px 26px rgba(0,0,0,0.12); border-radius: 3px; }
@media (max-width: 820px) { .brochure-grid { grid-template-columns: repeat(2, 1fr); } }

/* ----- Coverage map ----- */
.coverage-map img { width: 100%; max-width: 760px; margin-inline: auto; border-radius: 6px; box-shadow: 0 10px 30px rgba(0,0,0,0.12); }

/* ==========================================================================
   Prices page
   ========================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.notice { background: var(--accent); color: #3a2b23; padding-block: clamp(40px, 6vw, 70px); }
.notice__title { font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.35rem); text-transform: uppercase; letter-spacing: 0.02em; text-decoration: underline; text-underline-offset: 4px; margin-bottom: 22px; }
.notice p { margin-top: 14px; max-width: 70ch; }

.pricing-eyebrow { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.3rem, 2.6vw, 1.9rem); color: var(--ink); margin-bottom: 20px; }

.pricing-wide { max-width: 1360px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 8px; box-shadow: 0 6px 24px rgba(0,0,0,0.08); }
.pricing-table { border-collapse: collapse; width: 100%; min-width: 900px; font-size: 0.9rem; background: #fff; }
.pricing-table th, .pricing-table td { padding: 12px 12px; text-align: right; white-space: nowrap; border-bottom: 1px solid #ececec; }
.pricing-table thead th { background: var(--ink); color: #fff; font-weight: 500; text-align: right; font-size: 0.85rem; position: sticky; top: 0; }
.pricing-table thead th.pricing-table__rowhead, .pricing-table tbody th { text-align: left; }
.pricing-table tbody th { background: #f6f6f6; font-weight: 700; position: sticky; left: 0; z-index: 1; box-shadow: 1px 0 0 #ececec; }
.pricing-table tbody tr:hover td, .pricing-table tbody tr:hover th { background: #faf1ec; }
.pricing-table td { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.pricing-table tbody tr:nth-child(even) td { background: #fbfbfb; }
.pricing-table--add { min-width: 360px; max-width: 460px; }
.pricing-table--add td { font-weight: 600; color: var(--ink); }
@media (max-width: 600px) { .pricing-table { font-size: 0.85rem; } .pricing-table th, .pricing-table td { padding: 10px 12px; } }

/* ----- Login choices ----- */
.login-choices { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 44px; }
.login-choices .btn { padding: 18px 30px; }
@media (max-width: 560px) { .login-choices { flex-direction: column; } .login-choices .btn { width: 100%; } }

/* ----- Privacy notice (non-blocking) ----- */
.lpm-notice {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  max-width: 640px; margin-inline: auto;
  background: var(--dark); color: #eee; padding: 14px 18px; border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3); font-size: 0.88rem;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center;
}
.lpm-notice a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.lpm-notice__x { background: var(--accent); color: #fff; border: 0; padding: 8px 16px; border-radius: 5px; font-weight: 600; }
.lpm-notice__x:hover { background: var(--accent-hover); }

/* ----- Legal / privacy page ----- */
.legal h2 { font-size: 1.15rem; font-weight: 700; margin-top: 34px; margin-bottom: 8px; }
.legal p { max-width: 68ch; }

/* ----- Pricing section (PDF price list) ----- */
.price-doc {
  display: inline-block; position: relative; width: 100%; max-width: 680px;
  border-radius: 6px; overflow: hidden; background: #fff;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.price-doc img { width: 100%; display: block; }
.price-doc:hover, .price-doc:focus-visible { transform: translateY(-4px); box-shadow: 0 18px 52px rgba(0,0,0,0.24); }
.price-doc__badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--accent); color: #fff; padding: 8px 15px; border-radius: 5px;
  font-weight: 600; font-size: 0.85rem; box-shadow: 0 3px 12px rgba(0,0,0,0.25);
}

/* ----- Anchor scroll offset (account for fixed header, fixes short-scroll) ----- */
main section[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }

/* ----- Order CTA (red button in nav) ----- */
.nav-cta {
  font-family: var(--font-display); font-weight: 500; text-transform: uppercase;
  font-size: 0.8rem; letter-spacing: 0.05em; white-space: nowrap;
  background: #e02424; color: #fff !important; padding: 10px 22px; border-radius: 4px;
  transition: background-color 0.2s var(--ease);
}
.nav-cta:hover, .nav-cta:focus-visible { background: #c01c1c; opacity: 1; }
@media (max-width: 980px) {
  .nav-cta { margin: 12px 24px; text-align: center; border-radius: 4px; }
}

/* ----- Order page (booking iframe) ----- */
.order-embed { width: 100%; max-width: 1000px; margin: 0 auto; }
.order-embed iframe { width: 100%; min-height: 480px; border: 0; display: block; background: transparent; transition: height 0.2s ease; }

/* ==========================================================================
   Customer portal login (multi-state card)
   ========================================================================== */
.portal-wrap { display: flex; justify-content: center; }
.portal-card {
  width: 100%; max-width: 560px; background: #fff; border: 1px solid #ececec;
  border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  padding: clamp(28px, 5vw, 48px); text-align: center;
}
.portal-avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 22px; display: block; }
.portal-title { font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.15; color: #1f2430; }
.portal-sub { color: var(--ink-soft); font-size: 1rem; margin: 14px auto 0; max-width: 42ch; }

.portal-state { display: none; }
.portal-state.is-active { display: block; }

/* chooser options */
.portal-options { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; text-align: left; }
.portal-option {
  display: flex; align-items: center; gap: 18px; width: 100%;
  padding: 20px 22px; border: 1px solid #e6e6e6; border-radius: 12px;
  background: #fbfbfb; cursor: pointer; transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
  font: inherit; color: inherit; text-align: left;
}
.portal-option:hover { border-color: #cfcfcf; background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.portal-option__icon { flex-shrink: 0; width: 30px; height: 30px; color: #1f2430; }
.portal-option > span:not(.portal-option__icon) { display: block; }
.portal-option__title { display: block; font-weight: 700; font-size: 1.05rem; color: #1f2430; }
.portal-option__desc { display: block; color: var(--ink-soft); font-size: 0.92rem; margin-top: 3px; }

/* back link */
.portal-back { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: var(--ink-soft); font-size: 0.9rem; cursor: pointer; margin-bottom: 20px; padding: 4px 0; }
.portal-back:hover { color: var(--ink); }

/* sign-in view */
.portal-google {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px; background: #26221e; color: #fff; border: 0; border-radius: 10px;
  font-size: 1.05rem; font-weight: 600; cursor: pointer; transition: background 0.2s var(--ease);
}
.portal-google:hover { background: #000; }
.portal-google svg { width: 22px; height: 22px; }
.portal-divider { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: #9a938b; font-size: 0.9rem; }
.portal-divider::before, .portal-divider::after { content: ""; flex: 1; height: 1px; background: #e6e2dc; }
.portal-magic { display: flex; gap: 12px; }
.portal-magic input {
  flex: 1; padding: 16px; border: 1px solid #e0dcd5; border-radius: 10px; font-size: 1rem;
  color: var(--ink); background: #fff;
}
.portal-magic input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.portal-magic button {
  display: flex; align-items: center; gap: 8px; padding: 12px 22px; border: 0; border-radius: 10px;
  background: #ddd7cf; color: #6b6459; font-weight: 600; font-size: 1rem; cursor: pointer; white-space: nowrap;
}
.portal-magic button:hover { background: #d4cec5; }
.portal-hint { color: #9a938b; font-size: 0.9rem; margin-top: 12px; text-align: left; }
.portal-pw { margin-top: 26px; padding-top: 22px; border-top: 1px solid #efeae3; text-align: left; }
.portal-pw a { color: #6b6459; font-size: 0.95rem; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 560px) { .portal-magic { flex-direction: column; } }
