:root {
  --bg: #070707;
  --bg-soft: #111111;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --card: rgba(22, 24, 22, 0.9);
  --text: #f5f0e8;
  --muted: #bfb7a9;
  --accent: #b3bea6;
  --accent-deep: #909b83;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
  --radius-xl: 38px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --container: 1180px;
}

body.theme-dark,
body.theme-portfolio,
body.theme-portal,
body.theme-dashboard {
  --bg: #f8f5f0;
  --bg-soft: #f1ece4;
  --surface: rgba(255, 253, 249, 0.82);
  --surface-strong: rgba(255, 253, 249, 0.96);
  --card: rgba(255, 253, 249, 0.94);
  --text: #2f2a26;
  --muted: #6e6258;
  --accent: #a8b5a2;
  --accent-deep: #8f9d89;
  --line: rgba(47, 42, 38, 0.08);
  --shadow: 0 24px 60px rgba(84, 67, 52, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(168, 181, 162, 0.18), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(216, 199, 184, 0.18), transparent 22%),
    linear-gradient(180deg, #f9f6f1 0%, #f5efe6 42%, #efe8dd 100%);
  color: var(--text);
  font-family: "Plus Jakarta Sans", sans-serif;
}

body.theme-portfolio {
  background:
    radial-gradient(circle at 15% 0%, rgba(168, 181, 162, 0.2), transparent 24%),
    radial-gradient(circle at 85% 10%, rgba(216, 199, 184, 0.18), transparent 20%),
    linear-gradient(180deg, #fbf8f3 0%, #f3ede5 100%);
}

body.theme-portal,
body.theme-dashboard {
  background:
    radial-gradient(circle at 10% 0%, rgba(168, 181, 162, 0.2), transparent 24%),
    radial-gradient(circle at 90% 10%, rgba(216, 199, 184, 0.16), transparent 22%),
    linear-gradient(180deg, #f6f1ea 0%, #efe8de 100%);
}

.site-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(47, 42, 38, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 42, 38, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent);
}

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

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

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 1rem 0;
  backdrop-filter: blur(18px);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 251, 246, 0.76);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  height: 3rem;
  width: auto;
  border-radius: 0.75rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--accent);
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--text);
}

.nav-toggle {
  display: none;
  padding: 0;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.9);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.2rem;
  height: 2px;
  margin: 0.28rem auto;
  background: var(--text);
}

.hero {
  padding: 5.2rem 0 3.8rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  min-height: calc(100vh - 8rem);
}

.eyebrow,
.experience-number,
.featured-copy span,
.card-label,
.portfolio-meta,
.portfolio-tag,
.archive-intro span {
  color: var(--accent);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  line-height: 0.96;
  font-weight: 400;
}

h1 {
  margin-top: 0.8rem;
  font-size: clamp(4rem, 9vw, 7rem);
  max-width: 9ch;
  line-height: 0.99;
}

h1 em {
  font-style: italic;
  color: var(--accent);
}

h2 {
  font-size: clamp(2.5rem, 4.8vw, 4.4rem);
  max-width: 12ch;
  line-height: 1.02;
}

h3 {
  font-size: 2rem;
  margin-bottom: 0.9rem;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.hero-text,
.section-copy,
.contact-copy {
  max-width: 38rem;
  margin-top: 1.5rem;
  font-size: 1.06rem;
}

.button-row,
.contact-links,
.portfolio-actions,
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

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

.button-primary {
  background: var(--accent);
  color: var(--text);
  box-shadow: 0 12px 30px rgba(168, 181, 162, 0.26);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #b8c4b1;
}

.button-ghost {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.button-filter {
  border-color: var(--line);
  background: transparent;
  color: var(--muted);
}

.button-filter.is-selected {
  background: var(--accent);
  color: #101010;
  border-color: transparent;
}

.dashboard-top-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.hero-visual {
  position: relative;
  min-height: 42rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(47, 42, 38, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(47, 42, 38, 0.34)),
    url("https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=1200&q=80")
      center/cover;
  box-shadow: var(--shadow);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(168, 181, 162, 0.22), transparent 22%),
    linear-gradient(180deg, transparent 34%, rgba(47, 42, 38, 0.34));
}

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

.floating-card {
  position: absolute;
  max-width: 22rem;
  padding: 1.25rem 1.3rem;
  border: 1px solid rgba(255, 253, 249, 0.75);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.floating-card-main {
  right: 1.5rem;
  bottom: 1.5rem;
  background: rgba(255, 251, 246, 0.78);
}

.floating-card-accent {
  left: 1.25rem;
  top: 1.25rem;
  background: rgba(244, 238, 230, 0.72);
}

.card-label {
  display: block;
  margin-bottom: 0.85rem;
}

.showcase,
.section {
  padding: 3.1rem 0 4rem;
}

.showcase-grid,
.split-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.4rem;
  align-items: stretch;
}

.showcase-grid {
  grid-template-columns: 0.72fr 1.28fr;
  grid-template-areas: "copy slider";
}

.showcase-panel,
.featured-image,
.portfolio-card-image,
.archive-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background-size: cover;
  background-position: center;
}

.showcase-panel::after,
.featured-image::after,
.portfolio-card-image::after,
.archive-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(47, 42, 38, 0.24));
}

.showcase-panel span {
  position: absolute;
  left: 1.3rem;
  bottom: 1.2rem;
  z-index: 1;
  font-size: 1rem;
  font-weight: 700;
}

.showcase-panel-tall {
  grid-area: tall;
  min-height: 35rem;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.42)),
    url("https://images.unsplash.com/photo-1522673607200-164d1b6ce486?auto=format&fit=crop&w=1200&q=80");
}

.showcase-panel-small {
  grid-area: small;
  min-height: 17rem;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.42)),
    url("https://images.unsplash.com/photo-1515886657613-9f3515b0c78f?auto=format&fit=crop&w=1200&q=80");
}

.showcase-slider {
  display: grid;
  gap: 1rem;
}

.showcase-slider-stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.showcase-slider-main {
  min-height: 29rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.42)),
    url("https://images.unsplash.com/photo-1516035069371-29a1b244cc32?auto=format&fit=crop&w=1400&q=80")
      center/cover;
  box-shadow: var(--shadow);
}

.showcase-slider-nav {
  min-width: 5.2rem;
}

.showcase-slider-copy {
  display: grid;
  gap: 0.7rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.showcase-copy,
.glass-panel,
.contact-panel,
.archive-intro,
.upload-notes {
  padding: 2.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.96), rgba(248, 243, 237, 0.92));
  box-shadow: var(--shadow);
}

.section-heading {
  margin-bottom: 2.2rem;
}

.glass-panel p + p {
  margin-top: 1rem;
}

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

.experience-card,
.featured-item,
.portfolio-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.experience-card:hover,
.featured-item:hover,
.portfolio-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 181, 162, 0.34);
  box-shadow: 0 28px 70px rgba(84, 67, 52, 0.14);
}

.experience-card {
  padding: 1.5rem;
}

.experience-number {
  display: inline-block;
  margin-bottom: 1rem;
}

.featured-image,
.portfolio-card-image {
  min-height: 24rem;
}

.featured-image-one {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.42)),
    url("https://images.unsplash.com/photo-1519225421980-715cb0215aed?auto=format&fit=crop&w=1000&q=80");
}

.featured-image-two {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.42)),
    url("https://images.unsplash.com/photo-1516589178581-6cd7833ae3b2?auto=format&fit=crop&w=1000&q=80");
}

.featured-image-three {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.42)),
    url("https://images.unsplash.com/photo-1483985988355-763728e1935b?auto=format&fit=crop&w=1000&q=80");
}

.featured-copy,
.portfolio-card-copy {
  padding: 1.25rem 1.25rem 1.4rem;
}

.centered-action {
  display: flex;
  justify-content: center;
  margin-top: 1.8rem;
}

.contact-panel {
  text-align: center;
}

.booking-preview {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(168, 181, 162, 0.18), rgba(255, 253, 249, 0.9));
  box-shadow: var(--shadow);
}

.contact-panel h2,
.contact-panel p {
  margin-left: auto;
  margin-right: auto;
}

.contact-links {
  justify-content: center;
  margin-top: 1.6rem;
}

.social-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.social-strip span,
.social-strip a {
  padding: 0.65rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.social-strip a:hover,
.social-strip a:focus-visible {
  color: var(--text);
  border-color: rgba(179, 190, 166, 0.4);
}

.page-hero {
  padding: 4.2rem 0 2.5rem;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.2rem;
  align-items: stretch;
}

.booking-hero-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.archive-banner {
  min-height: 29rem;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.48)),
    url("https://images.unsplash.com/photo-1515934751635-c81c6bc9a2d8?auto=format&fit=crop&w=1200&q=80");
}

.archive-intro h1 {
  max-width: 11ch;
  font-size: clamp(3.3rem, 8vw, 6.4rem);
}

.portfolio-layout {
  padding: 1rem 0 4rem;
}

.portfolio-header {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

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

.portfolio-card-copy p {
  margin-top: 0.8rem;
}

.portfolio-meta {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.portfolio-actions {
  margin-top: 1rem;
}

.portfolio-link {
  color: var(--accent);
  font-weight: 700;
}

.portfolio-link:hover,
.portfolio-link:focus-visible {
  color: #d9e4cb;
}

.portfolio-tag {
  display: inline-flex;
  margin-top: 1rem;
}

.upload-notes {
  margin-top: 2rem;
}

.upload-notes ol {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.8;
}

.empty-state {
  padding: 2rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius-xl);
  color: var(--muted);
  text-align: center;
  background: rgba(255, 253, 249, 0.6);
}

.booking-side-panel,
.booking-form-panel,
.booking-summary-panel {
  padding: 2.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.96), rgba(248, 243, 237, 0.9));
  box-shadow: var(--shadow);
}

.timeline-list,
.package-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.8;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.package-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(244, 238, 230, 0.92)),
    rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
}

.package-card-featured {
  background:
    radial-gradient(circle at top right, rgba(168, 181, 162, 0.24), transparent 40%),
    linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(241, 236, 228, 0.94));
}

.package-card-header p {
  margin-top: 0.8rem;
}

.package-price {
  font-family: "Instrument Serif", serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--text);
}

.package-choose {
  margin-top: auto;
}

.booking-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.4rem;
}

.booking-form {
  margin-top: 1.5rem;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 253, 249, 0.82);
}

.field span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 1.02rem;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9a8f84;
}

.field select {
  appearance: none;
  cursor: pointer;
}

.field textarea {
  resize: vertical;
  min-height: 10rem;
}

.field-full {
  grid-column: 1 / -1;
}

.booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  margin-top: 1.2rem;
}

.booking-status {
  min-height: 1.5rem;
  margin-top: 1rem;
  color: var(--accent);
}

.contact-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.booking-visual {
  position: relative;
  min-height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(47, 42, 38, 0.28)),
    url("https://images.unsplash.com/photo-1511285560929-80b456fea0bc?auto=format&fit=crop&w=1200&q=80")
      center/cover;
}

.booking-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 25%, rgba(168, 181, 162, 0.18), transparent 26%),
    linear-gradient(180deg, transparent 30%, rgba(47, 42, 38, 0.34));
}

.booking-visual-card {
  position: absolute;
  z-index: 1;
  max-width: 22rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(255, 253, 249, 0.72);
  border-radius: 24px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.booking-visual-main {
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  max-width: none;
  background: rgba(255, 251, 246, 0.8);
}

.booking-visual-note {
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 251, 246, 0.72);
}

.booking-panel-heading {
  max-width: 44rem;
}

.booking-form-panel {
  background:
    radial-gradient(circle at top left, rgba(179, 190, 166, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
}

.booking-summary-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.4rem;
}

.timeline-list li + li {
  margin-top: 0.9rem;
}

.mini-note {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 253, 249, 0.82);
}

.mini-note strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--text);
}

.booking-terms-note {
  gap: 0.7rem;
}

.booking-terms-note p {
  margin: 0;
  color: var(--muted);
}

.portal-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.portal-login {
  width: min(100%, 42rem);
}

.portal-login-card {
  padding: 2.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top left, rgba(168, 181, 162, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 253, 249, 0.96), rgba(245, 239, 231, 0.92));
  box-shadow: var(--shadow);
}

.portal-brand {
  margin-bottom: 1.2rem;
}

.portal-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
  margin-bottom: 1.6rem;
}

.portal-credentials span {
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.82);
  color: var(--muted);
  font-size: 0.92rem;
}

.portal-form {
  display: grid;
  gap: 1rem;
}

.portal-support-grid,
.dashboard-body-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.portal-support-card,
.dashboard-story-panel {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.96), rgba(245, 239, 231, 0.92));
  box-shadow: var(--shadow);
}

.portal-bullet-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.8;
}

.dashboard-body-section {
  padding-top: 0;
}

.dashboard-main {
  padding-bottom: 4rem;
}

.theme-crm {
  --container: 1320px;
}

.theme-crm .container {
  width: min(calc(100% - 1.5rem), var(--container));
}

.theme-crm .site-header {
  padding: 0.7rem 0;
}

.theme-crm .header-row {
  gap: 0.8rem;
  padding: 0.8rem 0.95rem;
  border-radius: 28px;
}

.theme-crm .brand-logo {
  height: 2.4rem;
}

.theme-crm .site-nav {
  gap: 1rem;
  font-size: 0.92rem;
}

.theme-crm .button {
  min-height: 2.9rem;
  padding: 0.85rem 1.2rem;
}

.theme-crm h1 {
  margin-top: 0.35rem;
  max-width: 14ch;
  font-size: clamp(2.8rem, 4vw, 4.8rem);
  line-height: 0.92;
}

.theme-crm h2 {
  max-width: none;
  font-size: clamp(1.7rem, 2.5vw, 2.6rem);
  line-height: 1;
}

.theme-crm h3 {
  font-size: 1.28rem;
  margin-bottom: 0.5rem;
}

.theme-crm .section,
.theme-crm .showcase {
  padding: 1rem 0 1.35rem;
}

.theme-crm .section-copy,
.theme-crm .contact-copy {
  margin-top: 0.8rem;
  max-width: 44rem;
  font-size: 0.97rem;
  line-height: 1.65;
}

.dashboard-nav {
  flex: 1;
  justify-content: center;
}

.dashboard-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.4rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(168, 181, 162, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(255, 253, 249, 0.96), rgba(244, 238, 230, 0.9));
  box-shadow: var(--shadow);
}

.theme-crm .dashboard-main {
  padding-bottom: 2rem;
}

.theme-crm .dashboard-hero {
  grid-template-columns: minmax(0, 1.35fr) minmax(19rem, 0.65fr);
  gap: 1rem;
  padding: 1.35rem;
  border-radius: 28px;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-self: start;
}

.theme-crm .dashboard-stats {
  gap: 0.75rem;
  align-self: start;
}

.dashboard-stat-card,
.calendar-card,
.booking-row,
.invoice-preview-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 253, 249, 0.88);
  box-shadow: var(--shadow);
}

.dashboard-stat-card {
  padding: 1.25rem;
  min-height: 0;
}

.theme-crm .dashboard-stat-card {
  padding: 1rem;
  border-radius: 20px;
}

.dashboard-stat-card strong {
  display: block;
  margin-bottom: 0.4rem;
  font-family: "Instrument Serif", serif;
  font-size: 2.3rem;
  font-weight: 400;
}

.theme-crm .dashboard-stat-card strong {
  margin-bottom: 0.25rem;
  font-size: 1.8rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.4rem;
}

.theme-crm .dashboard-grid,
.theme-crm .invoice-builder-grid {
  gap: 1rem;
}

.dashboard-overview-grid {
  align-items: start;
}

.dashboard-side-stack {
  display: grid;
  gap: 1.4rem;
}

.theme-crm .dashboard-side-stack,
.theme-crm .dashboard-body-grid {
  gap: 1rem;
}

.dashboard-panel {
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.96), rgba(245, 239, 231, 0.92));
  box-shadow: var(--shadow);
}

.theme-crm .dashboard-panel,
.theme-crm .portfolio-studio,
.theme-crm .portfolio-owner-note {
  padding: 1.15rem;
  border-radius: 24px;
}

.dashboard-panel-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.theme-crm .dashboard-panel-header {
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.theme-crm .mini-stat-card,
.theme-crm .breakdown-row,
.theme-crm .activity-row,
.theme-crm .pipeline-row,
.theme-crm .task-row,
.theme-crm .lead-row,
.theme-crm .booking-row,
.theme-crm .invoice-preview-card,
.theme-crm .invoice-items-panel,
.theme-crm .invoice-line-row,
.theme-crm .invoice-total-row,
.theme-crm .portfolio-card {
  border-radius: 18px;
}

.theme-crm .mini-stat-card,
.theme-crm .breakdown-row,
.theme-crm .activity-row,
.theme-crm .pipeline-row {
  padding: 0.85rem;
}

.theme-crm .field {
  gap: 0.45rem;
  padding: 0.8rem 0.9rem;
  border-radius: 18px;
}

.theme-crm .field span {
  font-size: 0.72rem;
}

.theme-crm .booking-actions {
  gap: 0.7rem;
  margin-top: 0.9rem;
}

.theme-crm .portfolio-studio {
  margin-bottom: 1rem;
  gap: 1rem;
}

.theme-crm .portfolio-header {
  margin-bottom: 1rem;
}

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

.theme-crm .portfolio-card-image {
  min-height: 13rem;
}

.theme-crm .portfolio-card-copy {
  gap: 0.65rem;
  padding: 1rem;
}

.booking-list,
.calendar-grid {
  display: grid;
  gap: 1rem;
}

.mini-stat-grid,
.activity-feed,
.pipeline-list,
.quick-action-list,
.lead-sources,
.task-list,
.revenue-chart {
  display: grid;
  gap: 0.9rem;
}

.mini-stat-card,
.breakdown-row,
.activity-row,
.pipeline-row {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.84);
}

.mini-stat-card span,
.breakdown-row span,
.activity-row span {
  color: var(--muted);
  font-size: 0.86rem;
}

.mini-stat-card strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--text);
  font-family: "Instrument Serif", serif;
  font-size: 2rem;
  font-weight: 400;
}

.package-breakdown {
  display: grid;
  gap: 0.9rem;
}

.breakdown-row {
  display: grid;
  gap: 0.8rem;
}

.breakdown-row strong {
  display: block;
  color: var(--text);
}

.breakdown-bar {
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.breakdown-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #dbe4d0);
}

.activity-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
}

.activity-row strong,
.pipeline-row strong {
  color: var(--text);
}

.activity-dot {
  width: 0.8rem;
  height: 0.8rem;
  margin-top: 0.3rem;
  border-radius: 50%;
  background: var(--accent);
}

.activity-row p {
  margin: 0.2rem 0 0.35rem;
}

.pipeline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.quick-action-list .button {
  justify-content: flex-start;
}

.revenue-bar-row,
.lead-row,
.task-row {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.84);
}

.revenue-bar-copy,
.task-row-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.revenue-bar-copy strong,
.lead-row strong,
.task-row strong {
  color: var(--text);
}

.revenue-bar-copy span,
.lead-row span,
.task-row-main span {
  color: var(--muted);
  font-size: 0.86rem;
}

.revenue-bar-track {
  height: 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.revenue-bar-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #dbe4d0);
}

.lead-row {
  align-items: center;
}

.task-row {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.task-priority {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.task-priority-high {
  background: rgba(222, 125, 104, 0.18);
  color: #f1b0a1;
}

.task-priority-medium {
  background: rgba(179, 190, 166, 0.16);
  color: var(--accent);
}

.task-priority-low {
  background: rgba(138, 169, 214, 0.16);
  color: #b7cbee;
}

.calendar-toolbar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.calendar-month-label {
  min-width: 10rem;
  color: var(--text);
  text-align: center;
  font-weight: 700;
}

.booking-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1.25rem;
}

.booking-row-top,
.booking-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.booking-row-meta {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.booking-row-note {
  margin-top: 0.9rem;
}

.booking-row-side {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.booking-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(179, 190, 166, 0.13);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 0.7rem;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calendar-weekdays span {
  display: flex;
  justify-content: center;
  padding: 0.45rem 0;
}

.calendar-month-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.7rem;
}

.calendar-day {
  min-height: 10rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.calendar-day-empty {
  min-height: 10rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.015);
}

.calendar-day-today {
  border-color: rgba(179, 190, 166, 0.45);
  background: rgba(179, 190, 166, 0.08);
}

.calendar-day-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.calendar-day-header strong {
  color: var(--text);
  font-size: 1rem;
}

.calendar-day-header span {
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.calendar-day-events {
  display: grid;
  gap: 0.5rem;
}

.calendar-chip {
  display: grid;
  gap: 0.12rem;
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(179, 190, 166, 0.18);
  border-radius: 14px;
  background: rgba(179, 190, 166, 0.12);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
}

.calendar-chip span {
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calendar-chip strong {
  display: block;
  font-size: 0.84rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.calendar-chip.is-selected {
  border-color: rgba(179, 190, 166, 0.45);
  background: rgba(179, 190, 166, 0.2);
}

.calendar-empty-copy {
  color: #8f877c;
  font-size: 0.82rem;
}

.calendar-detail-card {
  margin-top: 1rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.calendar-detail-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

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

.calendar-detail-grid span {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calendar-detail-grid strong {
  color: var(--text);
}

.calendar-detail-note {
  margin-top: 1rem;
}

.calendar-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

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

.invoice-builder-grid {
  grid-template-columns: 1.05fr 0.95fr;
}

.invoice-form,
.invoice-items-panel {
  display: grid;
  gap: 1rem;
}

.invoice-items-header {
  margin-bottom: 0;
}

.invoice-base-prices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.invoice-base-price-card {
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
}

.invoice-base-price-card strong {
  color: var(--text);
}

.invoice-base-price-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.invoice-remove-base-price {
  justify-self: start;
}

.invoice-items {
  display: grid;
  gap: 0.9rem;
}

.invoice-item-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 0.65fr 0.85fr auto;
  gap: 0.85rem;
  align-items: end;
}

.invoice-remove-button {
  height: 100%;
}

.invoice-line-total {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.025);
}

.invoice-line-total span {
  display: block;
  margin-bottom: 0.5rem;
  color: #f3ede3;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.invoice-line-total strong {
  color: var(--text);
  font-size: 1rem;
}

.invoice-preview {
  min-height: 24rem;
}

.invoice-send-panel {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.invoice-preview-card {
  padding: 1.35rem;
}

.invoice-preview-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.invoice-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.invoice-preview-grid span,
.invoice-preview-note span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.invoice-preview-grid strong {
  color: var(--text);
}

.invoice-preview-note {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.invoice-preview-lines,
.invoice-preview-totals {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.invoice-line-row,
.invoice-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.invoice-line-copy {
  display: grid;
  gap: 0.15rem;
}

.invoice-line-copy span {
  color: var(--muted);
  font-size: 0.92rem;
}

.invoice-total-row strong {
  color: var(--text);
}

.invoice-total-row.is-grand-total {
  border-color: rgba(179, 190, 166, 0.22);
  background: rgba(179, 190, 166, 0.08);
}

.portfolio-studio {
  display: grid;
  gap: 1.4rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(179, 190, 166, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
}

.portfolio-studio-copy {
  max-width: 42rem;
}

.portfolio-owner-note {
  margin-bottom: 2rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.025);
}

.portfolio-upload-form {
  display: grid;
  gap: 1rem;
}

.portfolio-layout {
  padding-bottom: 4rem;
}

.portfolio-header {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

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

.portfolio-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
}

.portfolio-card-image {
  min-height: 19rem;
  background-position: center;
  background-size: cover;
}

.portfolio-card-copy {
  display: grid;
  gap: 0.9rem;
  padding: 1.3rem;
}

.portfolio-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.portfolio-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.portfolio-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.portfolio-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.portfolio-group {
  display: grid;
  gap: 1rem;
}

.portfolio-group + .portfolio-group {
  margin-top: 1.6rem;
}

.portfolio-group-header {
  display: grid;
  gap: 0.45rem;
}

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

.portfolio-photo-count {
  color: var(--muted);
  font-size: 0.92rem;
}

.upload-notes {
  margin-top: 2rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.025);
}

.upload-notes ol {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.8;
}

.archive-banner {
  min-height: 24rem;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.45)),
    url("https://images.unsplash.com/photo-1516035069371-29a1b244cc32?auto=format&fit=crop&w=1400&q=80")
      center/cover;
  box-shadow: var(--shadow);
}

.empty-state {
  padding: 1.4rem;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  color: var(--muted);
}

.portfolio-gallery-modal[hidden] {
  display: none;
}

.portfolio-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.portfolio-gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
}

.portfolio-gallery-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 76rem);
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(10, 10, 10, 0.92);
  box-shadow: var(--shadow);
}

.portfolio-gallery-close {
  justify-self: end;
}

.portfolio-gallery-header {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.portfolio-gallery-stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.portfolio-gallery-main {
  min-height: min(70vh, 42rem);
  border-radius: 26px;
  background-position: center;
  background-size: cover;
}

.portfolio-gallery-nav {
  min-width: 5rem;
}

.portfolio-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(5.5rem, 1fr));
  gap: 0.75rem;
}

.portfolio-gallery-thumb {
  min-height: 5.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background-position: center;
  background-size: cover;
  opacity: 0.72;
}

.portfolio-gallery-thumb.is-active {
  opacity: 1;
  border-color: rgba(179, 190, 166, 0.6);
}

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

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

@media (max-width: 980px) {
  .hero-grid,
  .showcase-grid,
  .split-layout,
  .page-hero-grid,
  .booking-layout,
  .package-grid,
  .dashboard-hero,
  .dashboard-grid,
  .invoice-grid,
  .invoice-builder-grid,
  .portal-support-grid,
  .dashboard-body-grid,
  .experience-grid,
  .featured-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-stats {
    grid-template-columns: 1fr;
  }

  .invoice-item-row {
    grid-template-columns: 1fr;
  }

  .invoice-base-prices {
    grid-template-columns: 1fr;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "slider";
  }

  .showcase-slider-stage {
    grid-template-columns: 1fr;
  }

  .showcase-slider-main {
    min-height: 22rem;
  }

  .portfolio-group-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.2rem;
  }

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

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 1rem), var(--container));
  }

  .header-row {
    flex-wrap: wrap;
    border-radius: 28px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.9rem 0 0.2rem;
  }

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

  .brand-logo {
    height: 2.45rem;
  }

  .hero-visual,
  .archive-banner,
  .booking-visual {
    min-height: 24rem;
  }

  .dashboard-top-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .calendar-toolbar {
    width: 100%;
    justify-content: space-between;
  }

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

  .floating-card {
    position: absolute;
    max-width: calc(100% - 2rem);
  }

  .booking-visual-note {
    left: 1.25rem;
    right: auto;
    max-width: calc(100% - 2.5rem);
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  h2 {
    max-width: 100%;
  }

  .showcase-copy,
  .glass-panel,
  .contact-panel,
  .archive-intro,
  .booking-side-panel,
  .booking-form-panel,
  .booking-summary-panel,
  .booking-preview {
    padding: 1.5rem;
  }

  .booking-row,
  .invoice-preview-grid,
  .calendar-detail-grid {
    grid-template-columns: 1fr;
  }

  .calendar-weekdays,
  .calendar-month-grid {
    grid-template-columns: 1fr;
  }

  .calendar-day,
  .calendar-day-empty {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

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

/* Fijn Foto editorial refresh */
body.theme-dark,
body.theme-portfolio {
  --bg: #030303;
  --bg-soft: #0a0a0a;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-strong: rgba(255, 255, 255, 0.055);
  --card: #090909;
  --text: #f7f4ee;
  --muted: #a8a39b;
  --accent: #aeb9a2;
  --accent-deep: #87937b;
  --line: rgba(255, 255, 255, 0.18);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.58);
  --radius-xl: 8px;
  --radius-lg: 8px;
  --radius-md: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(180deg, #030303 0%, #070707 46%, #020202 100%);
  background-size: 88px 88px, auto;
}

body.theme-dark .site-noise,
body.theme-portfolio .site-noise {
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 72%);
}

body.theme-dark .site-header,
body.theme-portfolio .site-header {
  padding: 1.35rem 0 0.8rem;
  background: linear-gradient(180deg, rgba(3, 3, 3, 0.92), rgba(3, 3, 3, 0));
}

body.theme-dark .header-row,
body.theme-portfolio .header-row {
  position: relative;
  min-height: 5rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.theme-dark .brand,
body.theme-portfolio .brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

body.theme-dark .brand-logo,
body.theme-portfolio .brand-logo {
  height: 4.2rem;
  width: 15.5rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: #000;
  object-fit: cover;
}

body.theme-dark .site-nav,
body.theme-portfolio .site-nav {
  margin-left: auto;
  gap: 2.1rem;
  color: #e9e4dd;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.theme-dark .site-nav a::after,
body.theme-portfolio .site-nav a::after {
  bottom: -0.55rem;
  background: #fff;
}

body.theme-dark .nav-toggle,
body.theme-portfolio .nav-toggle {
  margin-left: auto;
  border-radius: 0;
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
}

body.theme-dark .nav-toggle span,
body.theme-portfolio .nav-toggle span {
  background: #fff;
}

body.theme-dark .hero {
  position: relative;
  min-height: min(760px, calc(100vh - 6.5rem));
  padding: 1rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

body.theme-dark .hero::before,
body.theme-dark .hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 5.6rem;
  height: 5.6rem;
  pointer-events: none;
}

body.theme-dark .hero::before {
  left: 2.1rem;
  top: 1.5rem;
  border-left: 2px solid rgba(255, 255, 255, 0.9);
  border-top: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px 0 0;
}

body.theme-dark .hero::after {
  right: 2.1rem;
  bottom: 1.8rem;
  border-right: 2px solid rgba(255, 255, 255, 0.9);
  border-bottom: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 0 0 8px;
}

body.theme-dark .hero-grid {
  position: relative;
  grid-template-columns: 0.82fr 1.18fr;
  min-height: min(700px, calc(100vh - 7.5rem));
  gap: 0;
  align-items: stretch;
}

body.theme-dark .hero-copy {
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.6rem 2.2rem 4rem 0;
}

body.theme-dark h1,
body.theme-portfolio .archive-intro h1 {
  max-width: 10ch;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(4.6rem, 8vw, 8.3rem);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: 0;
  text-transform: lowercase;
}

body.theme-dark h1 em {
  display: block;
  color: var(--text);
  font-style: normal;
}

body.theme-dark h1::after,
body.theme-portfolio .archive-intro h1::after,
body.theme-dark .section-heading h2::after,
body.theme-dark .showcase-copy h2::after,
body.theme-dark .booking-preview h2::after {
  content: "";
  display: block;
  width: 6rem;
  height: 2px;
  margin-top: 1.4rem;
  background: var(--accent);
}

body.theme-dark h2,
body.theme-portfolio h2 {
  max-width: 15ch;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2rem, 3.5vw, 4rem);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.08;
  text-transform: lowercase;
}

body.theme-dark h3,
body.theme-portfolio h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

body.theme-dark .hero-text {
  max-width: 30rem;
  margin-top: 1.7rem;
  color: #ddd7ce;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.9;
  text-transform: uppercase;
}

body.theme-dark .button-row {
  margin-top: 2rem;
}

body.theme-dark .button,
body.theme-portfolio .button {
  min-height: 3.2rem;
  min-width: 10.8rem;
  border-radius: 0;
  padding: 0.9rem 1.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.theme-dark .button::after,
body.theme-portfolio .button::after {
  content: "->";
  margin-left: 1.1rem;
  font-weight: 600;
}

body.theme-dark .button-primary,
body.theme-portfolio .button-primary {
  background: var(--accent);
  color: #111;
  box-shadow: none;
}

body.theme-dark .button-primary:hover,
body.theme-dark .button-primary:focus-visible,
body.theme-portfolio .button-primary:hover,
body.theme-portfolio .button-primary:focus-visible {
  background: #d8dfce;
}

body.theme-dark .button-ghost,
body.theme-portfolio .button-ghost {
  border-color: rgba(255, 255, 255, 0.36);
  background: transparent;
  color: var(--text);
}

body.theme-dark .hero-visual {
  min-height: auto;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(3, 3, 3, 0.72) 0%, rgba(3, 3, 3, 0.16) 38%, rgba(3, 3, 3, 0.58) 100%),
    url("https://images.unsplash.com/photo-1512316609839-ce289d3eba0a?auto=format&fit=crop&w=1500&q=82")
      center/cover;
  box-shadow: none;
}

body.theme-dark .hero-visual::after {
  background:
    linear-gradient(180deg, rgba(3, 3, 3, 0) 55%, rgba(3, 3, 3, 0.96) 100%),
    radial-gradient(circle at 72% 42%, rgba(255, 255, 255, 0.08), transparent 24%);
}

body.theme-dark .hero-stack::before,
body.theme-dark .hero-stack::after {
  content: "";
  position: absolute;
  width: 4.5rem;
  height: 4.5rem;
  border-color: rgba(255, 255, 255, 0.86);
  pointer-events: none;
}

body.theme-dark .hero-stack::before {
  top: 1rem;
  right: 1rem;
  border-top: 2px solid;
  border-right: 2px solid;
  border-radius: 0 8px 0 0;
}

body.theme-dark .hero-stack::after {
  left: 1rem;
  bottom: 1rem;
  border-left: 2px solid;
  border-bottom: 2px solid;
  border-radius: 0 0 0 8px;
}

body.theme-dark .showcase {
  padding: 0 0 4.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

body.theme-dark .reveal,
body.theme-portfolio .reveal {
  opacity: 1;
  transform: none;
}

.showcase-filmstrip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(10rem, 1fr));
  gap: 4px;
  padding: 1.25rem 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background:
    repeating-linear-gradient(90deg, #050505 0 12px, transparent 12px 26px),
    #020202;
  overflow: hidden;
}

.showcase-filmstrip::before,
.showcase-filmstrip::after {
  content: "FF 400";
  position: absolute;
  top: 0.18rem;
  color: rgba(255, 255, 255, 0.62);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
}

.showcase-filmstrip::before {
  left: 3rem;
}

.showcase-filmstrip::after {
  right: 3rem;
}

.film-frame {
  min-height: 8.2rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background-position: center;
  background-size: cover;
  filter: saturate(0.72) contrast(1.08);
}

.film-frame-one {
  background-image: url("https://images.unsplash.com/photo-1509967419530-da38b4704bc6?auto=format&fit=crop&w=700&q=80");
}

.film-frame-two {
  background-image: url("https://images.unsplash.com/photo-1516589178581-6cd7833ae3b2?auto=format&fit=crop&w=700&q=80");
}

.film-frame-three {
  background-image: url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=700&q=80");
}

.film-frame-four {
  background-image: url("https://images.unsplash.com/photo-1487412720507-e7ab37603c6f?auto=format&fit=crop&w=700&q=80");
}

.film-frame-five {
  background-image: url("https://images.unsplash.com/photo-1522673607200-164d1b6ce486?auto=format&fit=crop&w=700&q=80");
}

.film-frame-six {
  background-image: url("https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=700&q=80");
}

body.theme-dark .showcase-grid {
  grid-template-columns: 0.76fr 1.24fr;
  gap: 3rem;
  padding-top: 3.1rem;
}

body.theme-dark .showcase-copy,
body.theme-dark .glass-panel,
body.theme-dark .contact-panel,
body.theme-dark .booking-preview,
body.theme-portfolio .archive-intro,
body.theme-portfolio .booking-side-panel,
body.theme-portfolio .booking-form-panel,
body.theme-portfolio .booking-summary-panel,
body.theme-portfolio .package-card,
body.theme-portfolio .portfolio-card,
body.theme-portfolio .portfolio-gallery-panel {
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.072), rgba(255, 255, 255, 0.026)),
    #060606;
  box-shadow: none;
}

body.theme-dark .showcase-copy,
body.theme-dark .glass-panel,
body.theme-dark .contact-panel {
  padding: 2.2rem;
}

body.theme-dark .showcase-slider {
  gap: 1.2rem;
}

body.theme-dark .showcase-slider-main,
body.theme-portfolio .archive-banner,
body.theme-portfolio .booking-visual,
body.theme-dark .featured-image,
body.theme-portfolio .portfolio-card-image {
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: none;
  filter: saturate(0.78) contrast(1.06);
}

body.theme-dark .showcase-slider-main {
  min-height: 34rem;
}

body.theme-dark .showcase-slider-copy {
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
}

body.theme-dark .section {
  padding: 4.4rem 0;
}

body.theme-dark .section-heading {
  margin-bottom: 2.5rem;
}

body.theme-dark .eyebrow,
body.theme-dark .experience-number,
body.theme-dark .featured-copy span,
body.theme-portfolio .eyebrow,
body.theme-portfolio .archive-intro span,
body.theme-portfolio .portfolio-meta,
body.theme-portfolio .portfolio-tag {
  color: #d9d4cc;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
}

body.theme-dark .experience-grid,
body.theme-dark .featured-grid {
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.16);
}

body.theme-dark .experience-card,
body.theme-dark .featured-item {
  border: 0;
  border-radius: 0;
  background: #050505;
  box-shadow: none;
}

body.theme-dark .experience-card:hover,
body.theme-dark .featured-item:hover,
body.theme-portfolio .portfolio-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: none;
}

body.theme-dark .featured-copy,
body.theme-portfolio .portfolio-card-copy {
  background: #050505;
}

body.theme-dark .booking-preview {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(3, 3, 3, 0.44), rgba(3, 3, 3, 0.85)),
    url("https://images.unsplash.com/photo-1502920917128-1aa500764cbd?auto=format&fit=crop&w=1500&q=82")
      center/cover;
}

body.theme-dark .contact-panel {
  position: relative;
  overflow: hidden;
}

body.theme-dark .contact-panel::before,
body.theme-dark .contact-panel::after {
  content: "";
  position: absolute;
  width: 4rem;
  height: 4rem;
  pointer-events: none;
}

body.theme-dark .contact-panel::before {
  left: 1rem;
  top: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.7);
}

body.theme-dark .contact-panel::after {
  right: 1rem;
  bottom: 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}

body.theme-dark .social-strip span,
body.theme-dark .social-strip a,
body.theme-portfolio .mini-note,
body.theme-portfolio .field {
  border-color: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

body.theme-portfolio .page-hero {
  padding: 3rem 0 2.5rem;
}

body.theme-portfolio .archive-intro h1 {
  font-size: clamp(3.1rem, 6vw, 5.9rem);
}

body.theme-portfolio .archive-banner {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.62)),
    url("https://images.unsplash.com/photo-1516035069371-29a1b244cc32?auto=format&fit=crop&w=1400&q=80");
}

body.theme-portfolio .booking-visual {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.62)),
    url("https://images.unsplash.com/photo-1502920917128-1aa500764cbd?auto=format&fit=crop&w=1400&q=80");
}

body.theme-portfolio .booking-visual-card {
  border-radius: 8px;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(5, 5, 5, 0.76);
  box-shadow: none;
}

body.theme-portfolio .package-grid {
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.16);
}

body.theme-portfolio .package-card {
  border: 0;
  border-radius: 0;
}

body.theme-portfolio .package-card-featured {
  background:
    linear-gradient(180deg, rgba(174, 185, 162, 0.14), rgba(255, 255, 255, 0.03)),
    #070707;
}

body.theme-portfolio .field input,
body.theme-portfolio .field select,
body.theme-portfolio .field textarea {
  color: var(--text);
}

body.theme-portfolio .field input::placeholder,
body.theme-portfolio .field textarea::placeholder {
  color: #716d66;
}

body.theme-portfolio .portfolio-grid {
  grid-template-columns: 1fr;
  gap: 3rem;
}

body.theme-portfolio .portfolio-group {
  gap: 1.2rem;
}

body.theme-portfolio .portfolio-group-grid {
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1rem;
}

body.theme-portfolio .portfolio-card {
  display: flex;
  flex-direction: column;
}

body.theme-portfolio .portfolio-card-image {
  min-height: 22rem;
}

body.theme-portfolio .portfolio-meta {
  flex-wrap: wrap;
  justify-content: flex-start;
}

body.theme-portfolio .portfolio-actions .button {
  width: 100%;
}

body.theme-portfolio .portfolio-link {
  color: #d8dfce;
}

body.theme-portfolio .portfolio-gallery-backdrop {
  background: rgba(0, 0, 0, 0.84);
}

@media (max-width: 980px) {
  body.theme-dark .brand,
  body.theme-portfolio .brand {
    position: static;
    transform: none;
  }

  body.theme-dark .header-row,
  body.theme-portfolio .header-row {
    min-height: auto;
  }

  body.theme-dark .hero-grid,
  body.theme-dark .showcase-grid {
    grid-template-columns: 1fr;
  }

  body.theme-dark .hero-copy {
    min-height: 56vh;
    padding: 4rem 0 3rem;
  }

  body.theme-dark .hero-visual {
    min-height: 34rem;
  }

  .showcase-filmstrip {
    grid-template-columns: repeat(6, 14rem);
    overflow-x: auto;
  }
}

@media (max-width: 760px) {
  body.theme-dark .site-header,
  body.theme-portfolio .site-header {
    padding-top: 0.75rem;
  }

  body.theme-dark .header-row,
  body.theme-portfolio .header-row {
    padding: 0.8rem 0;
  }

  body.theme-dark .brand-logo,
  body.theme-portfolio .brand-logo {
    height: 3rem;
    width: 11.5rem;
  }

  body.theme-dark .site-nav,
  body.theme-portfolio .site-nav {
    gap: 1rem;
    padding: 1rem 0;
  }

  body.theme-dark h1,
  body.theme-portfolio .archive-intro h1 {
    font-size: clamp(3.25rem, 17vw, 4.8rem);
  }

  body.theme-dark h2,
  body.theme-portfolio h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  body.theme-dark .hero::before,
  body.theme-dark .hero::after {
    width: 3.2rem;
    height: 3.2rem;
  }

  body.theme-dark .hero::before {
    left: 1rem;
    top: 0.8rem;
  }

  body.theme-dark .hero::after {
    right: 1rem;
    bottom: 1rem;
  }

  body.theme-dark .hero-copy {
    padding: 3.2rem 0 2rem;
  }

  body.theme-dark .hero-text {
    font-size: 0.78rem;
  }

  body.theme-dark .hero-visual {
    min-height: 27rem;
  }

  body.theme-dark .button,
  body.theme-portfolio .button {
    width: 100%;
  }

  .showcase-filmstrip {
    grid-template-columns: repeat(6, 11.5rem);
    padding: 1rem 0.75rem;
  }

  .film-frame {
    min-height: 7.4rem;
  }
}

/* Exact concept homepage */
.concept-home {
  --concept-black: #020202;
  --concept-white: #f3f1ec;
  --concept-muted: #aaa6a0;
  --concept-line: rgba(255, 255, 255, 0.22);
  --concept-soft-line: rgba(255, 255, 255, 0.1);
  --concept-sage: #aeb9a2;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 52% -10%, rgba(255, 255, 255, 0.045), transparent 24rem),
    linear-gradient(180deg, #030303 0%, #000 100%);
  color: var(--concept-white);
  font-family: "Inter", "Plus Jakarta Sans", Arial, sans-serif;
}

.concept-home .site-noise {
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 70%);
}

.concept-header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  column-gap: 4.5rem;
  align-items: center;
  min-height: 6.35rem;
  padding: 0 2.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  background: rgba(2, 2, 2, 0.9);
  backdrop-filter: blur(18px);
}

.concept-nav {
  display: flex;
  align-items: center;
  gap: 2.65rem;
}

.concept-nav-right {
  justify-content: flex-end;
  padding-left: 1rem;
}

.concept-nav a,
.concept-menu {
  color: var(--concept-white);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.concept-logo {
  position: relative;
  display: grid;
  place-items: center;
  width: 13.7rem;
  height: 3.38rem;
  color: var(--concept-white);
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  background: #030303;
}

.concept-logo span {
  font-size: 1.36rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  transform: translateX(0.12em);
}

.concept-logo::before,
.concept-logo::after {
  content: "";
  position: absolute;
  top: -0.28rem;
  width: 0.38rem;
  height: 0.38rem;
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 2px;
  background: #050505;
}

.concept-logo::before {
  left: 2.55rem;
}

.concept-logo::after {
  right: 2.55rem;
}

.concept-menu {
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.concept-menu span {
  display: block;
  width: 1.15rem;
  height: 1px;
  margin: 0;
  background: #fff;
}

.concept-menu span + span {
  margin-top: 0.32rem;
}

.concept-mobile-nav {
  display: none;
}

.concept-hero {
  position: relative;
  display: grid;
  grid-template-columns: 49% 51%;
  min-height: 30.8rem;
  padding: 0 2.15rem 1.45rem;
  overflow: hidden;
}

.concept-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 7.4rem 7.4rem;
  opacity: 0.4;
}

.concept-corner {
  position: absolute;
  z-index: 4;
  width: 5.65rem;
  height: 5.65rem;
  pointer-events: none;
}

.concept-corner-top-left {
  left: 2.2rem;
  top: 0.35rem;
  border-left: 1.5px solid #fff;
  border-top: 1.5px solid #fff;
  border-radius: 10px 0 0;
}

.concept-corner-top-right {
  right: 2.2rem;
  top: 0.35rem;
  border-right: 1.5px solid #fff;
  border-top: 1.5px solid #fff;
  border-radius: 0 10px 0 0;
}

.concept-corner-bottom-left {
  left: 2.2rem;
  bottom: 1.55rem;
  border-left: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  border-radius: 0 0 0 10px;
}

.concept-corner-bottom-right {
  right: 2.2rem;
  bottom: 1.55rem;
  border-right: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  border-radius: 0 0 10px;
}

.concept-hero-copy {
  position: relative;
  z-index: 5;
  align-self: center;
  width: min(100%, 52rem);
  margin-left: 8.85rem;
  padding-top: 0.2rem;
}

.concept-home .concept-hero-copy h1 {
  max-width: none;
  margin: 0;
  color: var(--concept-white);
  font-family: "Inter", "Plus Jakarta Sans", Arial, sans-serif;
  font-size: clamp(3.5rem, 4.18vw, 4rem);
  font-weight: 300;
  letter-spacing: 0.13em;
  line-height: 1.34;
  text-transform: lowercase;
}

.concept-home .concept-hero-copy h1::after {
  content: none;
}

.concept-home .concept-hero-copy h1 span {
  display: block;
  white-space: nowrap;
}

.concept-rule {
  width: 6.05rem;
  height: 2px;
  margin: 1.65rem 0 1.75rem;
  background: var(--concept-sage);
}

.concept-hero-copy p {
  max-width: 27rem;
  color: #c8c4bd;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.75;
  text-transform: uppercase;
}

.concept-actions {
  display: flex;
  gap: 1.35rem;
  margin-top: 1.9rem;
}

.concept-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 12.7rem;
  min-height: 2.55rem;
  padding: 0 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--concept-white);
  background: rgba(255, 255, 255, 0.015);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.concept-button::after {
  content: "->";
  margin-left: 1.4rem;
  font-size: 0.86rem;
  letter-spacing: 0;
}

.concept-button-primary {
  border-color: transparent;
  color: #151713;
  background: var(--concept-sage);
}

.concept-hero-image {
  position: relative;
  z-index: 2;
  align-self: stretch;
  min-height: 30.2rem;
  margin-left: 7.35rem;
  margin-right: 8.8rem;
  background:
    linear-gradient(90deg, rgba(2, 2, 2, 0.68) 0%, rgba(2, 2, 2, 0.02) 28%, rgba(2, 2, 2, 0.38) 100%),
    linear-gradient(180deg, rgba(2, 2, 2, 0) 54%, rgba(2, 2, 2, 0.72) 100%),
    url("https://images.unsplash.com/photo-1524504388940-b1c1722653e1?auto=format&fit=crop&w=1200&q=86")
      center 30% / cover;
}

.concept-film {
  position: relative;
  height: 15rem;
  padding: 1.1rem 1.22rem 1.05rem;
  border-top: 1px solid var(--concept-soft-line);
  border-bottom: 1px solid var(--concept-soft-line);
  background:
    repeating-linear-gradient(90deg, transparent 0 1.05rem, rgba(255, 255, 255, 0.09) 1.05rem 1.12rem, transparent 1.12rem 1.75rem),
    linear-gradient(180deg, #060606 0%, #010101 100%);
  overflow: hidden;
}

.concept-film::before,
.concept-film::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 0.62rem;
  background:
    repeating-linear-gradient(90deg, transparent 0 1rem, rgba(255, 255, 255, 0.12) 1rem 1.08rem, transparent 1.08rem 1.75rem);
}

.concept-film::before {
  top: 0.16rem;
}

.concept-film::after {
  bottom: 0.16rem;
}

.film-code {
  position: absolute;
  z-index: 3;
  top: 0.2rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
}

.film-code-left {
  left: 3.3rem;
}

.film-code-right {
  right: 3.3rem;
}

.concept-film-track {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 4px;
  width: max-content;
  min-width: 100%;
  height: 100%;
  animation: filmstrip-drift 72s linear infinite;
  will-change: transform;
}

.concept-frame {
  position: relative;
  flex: 0 0 clamp(13rem, 19vw, 19.5rem);
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-position: center;
  background-size: cover;
  filter: saturate(0.55) contrast(1.12) brightness(0.72);
}

.concept-film:hover .concept-film-track {
  animation-play-state: paused;
}

@keyframes filmstrip-drift {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 2px));
  }
}

.concept-frame-one {
  background-image: url("https://images.unsplash.com/photo-1509967419530-da38b4704bc6?auto=format&fit=crop&w=600&q=80");
}

.concept-frame-two {
  background-image: url("https://images.unsplash.com/photo-1522673607200-164d1b6ce486?auto=format&fit=crop&w=600&q=80");
}

.concept-frame-three {
  background-image: url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=600&q=80");
}

.concept-frame-four {
  background-image: url("https://images.unsplash.com/photo-1496440737103-cd596325d314?auto=format&fit=crop&w=600&q=80");
}

.concept-frame-five {
  background-image: url("https://images.unsplash.com/photo-1516589178581-6cd7833ae3b2?auto=format&fit=crop&w=600&q=80");
}

.concept-frame-six {
  background-image: url("https://images.unsplash.com/photo-1512316609839-ce289d3eba0a?auto=format&fit=crop&w=600&q=80");
}

.concept-frame-seven {
  background-image: url("https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=600&q=80");
}

.concept-frame-eight {
  background-image: url("https://images.unsplash.com/photo-1516035069371-29a1b244cc32?auto=format&fit=crop&w=600&q=80");
}

.concept-panels {
  display: grid;
  grid-template-columns: 52.8% 47.2%;
  min-height: 16.2rem;
  border-bottom: 1px solid var(--concept-soft-line);
}

.concept-panel {
  display: grid;
  min-width: 0;
  border-right: 1px solid var(--concept-soft-line);
}

.concept-portfolio-panel {
  grid-template-columns: 36% repeat(3, 1fr);
  gap: 0.28rem;
  padding: 1.9rem 1.85rem 1.4rem 2.35rem;
}

.concept-booking-panel {
  grid-template-columns: 0.95fr 1fr;
  gap: 2rem;
  padding: 1.9rem 2.1rem 1.4rem 2.7rem;
}

.concept-panel-copy {
  align-self: start;
}

.concept-label {
  margin: 0 0 1rem;
  color: #d8d4cf;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.concept-home .concept-panel h2 {
  max-width: 19rem;
  margin: 0;
  color: var(--concept-white);
  font-family: "Inter", "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 1.74rem;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.15;
  text-transform: lowercase;
}

.concept-panel-copy p:last-child,
.concept-panel-copy p:not(.concept-label) {
  max-width: 16.5rem;
  color: #928e88;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.72;
  text-transform: uppercase;
}

.concept-panel .concept-rule {
  width: 3.8rem;
  height: 1px;
  margin: 1.55rem 0 2rem;
}

.concept-mini-card {
  display: grid;
  align-content: end;
  min-height: 13.9rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: #fff;
  background: #050505;
  overflow: hidden;
}

.concept-mini-image {
  display: block;
  min-height: 10.7rem;
  background-position: center;
  background-size: cover;
  filter: saturate(0.55) contrast(1.08) brightness(0.78);
}

.concept-mini-one {
  background-image: url("https://images.unsplash.com/photo-1509967419530-da38b4704bc6?auto=format&fit=crop&w=500&q=80");
}

.concept-mini-two {
  background-image: url("https://images.unsplash.com/photo-1516589178581-6cd7833ae3b2?auto=format&fit=crop&w=500&q=80");
}

.concept-mini-three {
  background-image: url("https://images.unsplash.com/photo-1519225421980-715cb0215aed?auto=format&fit=crop&w=500&q=80");
}

.concept-mini-card > span:last-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.15rem;
  padding: 0 0.82rem;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.concept-mini-card > span:last-child::after {
  content: "->";
  font-size: 0.85rem;
  letter-spacing: 0;
}

.concept-booking-panel .concept-panel-copy p:not(.concept-label) {
  margin-bottom: 1.35rem;
}

.concept-booking-panel .concept-button {
  min-width: 10.9rem;
}

.concept-flatlay {
  min-height: 13.9rem;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.58)),
    url("https://images.unsplash.com/photo-1502920917128-1aa500764cbd?auto=format&fit=crop&w=900&q=82")
      center / cover;
  filter: grayscale(0.78) brightness(0.64) contrast(1.08);
}

@media (min-width: 1500px) {
  .concept-hero {
    min-height: 31.5vw;
  }

  .concept-hero-image {
    margin-right: 10rem;
  }
}

@media (max-width: 1120px) {
  .concept-header {
    grid-template-columns: auto 1fr auto;
  }

  .concept-nav-left,
  .concept-nav-right a {
    display: none;
  }

  .concept-logo {
    justify-self: start;
  }

  .concept-mobile-nav.is-open {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% - 0.4rem);
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--concept-line);
    background: #050505;
  }

  .concept-hero {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1rem;
  }

  .concept-hero-copy {
    margin-left: 0;
    padding: 3rem 0 1rem;
  }

  .concept-hero-image {
    min-height: 28rem;
    margin-right: 0;
  }

  .concept-panels {
    grid-template-columns: 1fr;
  }

  .concept-portfolio-panel,
  .concept-booking-panel {
    grid-template-columns: 1fr;
    padding: 1.4rem;
  }

  .concept-mini-card,
  .concept-flatlay {
    min-height: 15rem;
  }
}

@media (max-width: 760px) {
  .concept-header {
    min-height: 4.6rem;
    padding: 0 1rem;
  }

  .concept-logo {
    width: 8.6rem;
    height: 2.25rem;
    border-radius: 6px;
  }

  .concept-logo span {
    font-size: 0.84rem;
  }

  .concept-logo::before,
  .concept-logo::after {
    top: -0.2rem;
    width: 0.28rem;
    height: 0.28rem;
  }

  .concept-logo::before {
    left: 1.65rem;
  }

  .concept-logo::after {
    right: 1.65rem;
  }

  .concept-home .concept-hero-copy h1 {
    font-size: clamp(2.8rem, 12vw, 3.2rem);
    letter-spacing: 0.06em;
    line-height: 1.2;
  }

  .concept-home .concept-hero-copy h1 span {
    white-space: normal;
  }

  .concept-hero-copy p {
    font-size: 0.68rem;
  }

  .concept-actions {
    display: grid;
  }

  .concept-button {
    width: 100%;
  }

  .concept-corner {
    width: 2.8rem;
    height: 2.8rem;
  }

  .concept-corner-top-left,
  .concept-corner-bottom-left {
    left: 0.8rem;
  }

  .concept-corner-top-right,
  .concept-corner-bottom-right {
    right: 0.8rem;
  }

  .concept-hero-image {
    min-height: 24rem;
  }

  .concept-film {
    height: 12rem;
  }

  .concept-frame {
    flex-basis: 13.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .concept-film-track {
    animation: none;
  }
}

/* Owner portal: match the editorial public-site look */
body.theme-dashboard,
body.theme-portal {
  --bg: #030303;
  --bg-soft: #080808;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-strong: rgba(255, 255, 255, 0.055);
  --card: #080808;
  --text: #f4f1ec;
  --muted: #aaa59d;
  --accent: #aeb9a2;
  --accent-deep: #d2dac8;
  --line: rgba(255, 255, 255, 0.16);
  --shadow: none;
  background:
    radial-gradient(circle at 50% -14rem, rgba(255, 255, 255, 0.055), transparent 28rem),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(180deg, #030303 0%, #000 100%);
  background-size: auto, 88px 88px, auto;
  color: var(--text);
  font-family: "Inter", "Plus Jakarta Sans", Arial, sans-serif;
}

body.theme-dashboard .site-noise,
body.theme-portal .site-noise {
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 74%);
}

body.theme-dashboard .site-header {
  padding: 1rem 0;
  background: rgba(2, 2, 2, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
}

body.theme-dashboard .header-row {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.theme-dashboard .brand-logo,
body.theme-portal .brand-logo {
  width: 12.6rem;
  height: 3.1rem;
  padding: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.78);
  border-radius: 10px;
  background: #000;
  object-fit: cover;
}

body.theme-dashboard .site-nav {
  gap: 1.4rem;
  color: #d9d5cf;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.theme-dashboard .site-nav a::after {
  bottom: -0.6rem;
  background: #fff;
}

body.theme-dashboard .dashboard-top-actions {
  gap: 0.7rem;
}

body.theme-dashboard .button,
body.theme-portal .button {
  min-height: 2.9rem;
  border-radius: 0;
  padding: 0.8rem 1.05rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: none;
}

body.theme-dashboard .button::after,
body.theme-portal .button::after {
  content: "->";
  margin-left: 0.9rem;
  font-weight: 700;
}

body.theme-dashboard .button-primary,
body.theme-portal .button-primary {
  border-color: transparent;
  background: var(--accent);
  color: #111;
}

body.theme-dashboard .button-ghost,
body.theme-portal .button-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.015);
  color: var(--text);
}

body.theme-dashboard h1,
body.theme-dashboard h2,
body.theme-dashboard h3,
body.theme-portal h1,
body.theme-portal h2,
body.theme-portal h3 {
  font-family: "Inter", "Plus Jakarta Sans", Arial, sans-serif;
  letter-spacing: 0;
  text-transform: lowercase;
}

body.theme-dashboard h1,
body.theme-portal h1 {
  max-width: 15ch;
  font-size: clamp(3.1rem, 5vw, 5.4rem);
  font-weight: 300;
  line-height: 1.05;
}

body.theme-dashboard h2,
body.theme-portal h2 {
  font-size: clamp(1.8rem, 2.6vw, 3rem);
  font-weight: 300;
  line-height: 1.08;
}

body.theme-dashboard h3,
body.theme-portal h3 {
  font-size: 1.35rem;
  font-weight: 450;
  line-height: 1.16;
}

body.theme-dashboard .eyebrow,
body.theme-dashboard .portfolio-tag,
body.theme-dashboard .booking-status-pill,
body.theme-portal .eyebrow {
  color: #ddd8d1;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

body.theme-dashboard p,
body.theme-portal p,
body.theme-dashboard li,
body.theme-portal li {
  color: var(--muted);
}

body.theme-dashboard .section {
  padding: 1.2rem 0 1.5rem;
}

body.theme-dashboard .dashboard-hero,
body.theme-dashboard .dashboard-panel,
body.theme-dashboard .dashboard-stat-card,
body.theme-dashboard .calendar-card,
body.theme-dashboard .booking-row,
body.theme-dashboard .mini-stat-card,
body.theme-dashboard .breakdown-row,
body.theme-dashboard .activity-row,
body.theme-dashboard .pipeline-row,
body.theme-dashboard .task-row,
body.theme-dashboard .lead-row,
body.theme-dashboard .revenue-bar-row,
body.theme-dashboard .invoice-preview-card,
body.theme-dashboard .invoice-items-panel,
body.theme-dashboard .invoice-line-row,
body.theme-dashboard .invoice-total-row,
body.theme-dashboard .invoice-base-price-card,
body.theme-dashboard .calendar-day,
body.theme-dashboard .calendar-detail-card,
body.theme-dashboard .portfolio-studio,
body.theme-dashboard .portfolio-owner-note,
body.theme-portal .portal-login-card,
body.theme-portal .portal-support-card,
body.theme-portal .field {
  border: 1px solid var(--line);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022)),
    #050505;
  box-shadow: none;
}

body.theme-dashboard .dashboard-hero {
  position: relative;
  overflow: hidden;
  min-height: 22rem;
  padding: 2rem;
}

body.theme-dashboard .dashboard-hero::before,
body.theme-dashboard .dashboard-hero::after,
body.theme-portal .portal-login-card::before,
body.theme-portal .portal-login-card::after {
  content: "";
  position: absolute;
  width: 4.6rem;
  height: 4.6rem;
  pointer-events: none;
}

body.theme-dashboard .dashboard-hero::before,
body.theme-portal .portal-login-card::before {
  left: 1rem;
  top: 1rem;
  border-left: 1.5px solid rgba(255, 255, 255, 0.8);
  border-top: 1.5px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px 0 0;
}

body.theme-dashboard .dashboard-hero::after,
body.theme-portal .portal-login-card::after {
  right: 1rem;
  bottom: 1rem;
  border-right: 1.5px solid rgba(255, 255, 255, 0.8);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.8);
  border-radius: 0 0 8px;
}

body.theme-dashboard .dashboard-stats {
  gap: 1px;
  padding: 1px;
  background: rgba(255, 255, 255, 0.16);
}

body.theme-dashboard .dashboard-stat-card {
  display: grid;
  align-content: center;
  min-height: 8rem;
  border: 0;
}

body.theme-dashboard .dashboard-stat-card strong,
body.theme-dashboard .mini-stat-card strong {
  color: var(--text);
  font-family: "Inter", "Plus Jakarta Sans", Arial, sans-serif;
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 300;
}

body.theme-dashboard .dashboard-panel {
  padding: 1.35rem;
}

body.theme-dashboard .dashboard-panel-header {
  align-items: start;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.theme-dashboard .breakdown-bar,
body.theme-dashboard .revenue-bar-track {
  background: rgba(255, 255, 255, 0.075);
}

body.theme-dashboard .breakdown-bar span,
body.theme-dashboard .revenue-bar-track span {
  background: linear-gradient(90deg, var(--accent), #f0f3e8);
}

body.theme-dashboard .activity-dot {
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(174, 185, 162, 0.08);
}

body.theme-dashboard .booking-status-pill,
body.theme-dashboard .task-priority,
body.theme-dashboard .calendar-chip {
  border: 1px solid rgba(174, 185, 162, 0.25);
  background: rgba(174, 185, 162, 0.08);
  color: #dce5d0;
}

body.theme-dashboard .field,
body.theme-dashboard .mini-note,
body.theme-dashboard .invoice-line-total,
body.theme-portal .field {
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.035);
}

body.theme-dashboard .field input,
body.theme-dashboard .field select,
body.theme-dashboard .field textarea,
body.theme-portal .field input {
  color: var(--text);
}

body.theme-dashboard .field input::placeholder,
body.theme-dashboard .field textarea::placeholder,
body.theme-portal .field input::placeholder {
  color: #77726b;
}

body.theme-dashboard .calendar-day-empty {
  border: 1px solid rgba(255, 255, 255, 0.045);
  background: rgba(255, 255, 255, 0.012);
}

body.theme-dashboard .calendar-day-today {
  border-color: rgba(174, 185, 162, 0.55);
}

body.theme-portal .portal-shell {
  padding: 2rem 1rem;
}

body.theme-portal .portal-login {
  width: min(100%, 62rem);
}

body.theme-portal .portal-login-card {
  position: relative;
  overflow: hidden;
  padding: 2.2rem;
}

body.theme-portal .portal-brand {
  margin-bottom: 1.6rem;
}

body.theme-portal .portal-credentials span {
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.035);
  color: #dcd7d0;
}

body.theme-portal .portal-support-grid {
  gap: 1px;
  padding: 1px;
  background: rgba(255, 255, 255, 0.16);
}

body.theme-portal .portal-support-card {
  border: 0;
}

@media (max-width: 980px) {
  body.theme-dashboard .header-row {
    align-items: flex-start;
  }

  body.theme-dashboard .dashboard-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0.8rem 0 0;
  }

  body.theme-dashboard .dashboard-top-actions {
    margin-left: auto;
  }
}

@media (max-width: 760px) {
  body.theme-dashboard .brand-logo,
  body.theme-portal .brand-logo {
    width: 9.8rem;
    height: 2.55rem;
  }

  body.theme-dashboard h1,
  body.theme-portal h1 {
    font-size: clamp(2.6rem, 14vw, 4rem);
  }

  body.theme-dashboard .dashboard-hero,
  body.theme-dashboard .dashboard-panel,
  body.theme-portal .portal-login-card {
    padding: 1.2rem;
  }

  body.theme-dashboard .dashboard-hero {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  body.theme-dashboard .dashboard-stats {
    width: 100%;
    grid-template-columns: 1fr;
  }

  body.theme-dashboard .dashboard-stat-card {
    min-height: 6.2rem;
  }

  body.theme-dashboard .dashboard-panel-header {
    flex-direction: column;
    align-items: stretch;
  }

  body.theme-dashboard .calendar-toolbar {
    display: grid;
    width: 100%;
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  body.theme-dashboard .calendar-month-label {
    min-width: 0;
  }

  body.theme-dashboard .button,
  body.theme-portal .button {
    width: auto;
  }
}
