/* ==========================================================================
   style-editorial.css — stil-pakke "editorial" (elegant magasin-udtryk)
   Scoped udelukkende under html[data-style="editorial"], sat af js/site.js
   ud fra SALON.style. Ændrer KUN udseende via CSS — ingen HTML/JS-afhængighed
   udover eksisterende klasser/data-attributter i index.html.
   Respekterer --c-* design-tokens fra style.css, så lys/mørkt tema (data-theme
   + prefers-color-scheme) fortsat virker. Rører ikke booking.css.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap");

/* ---------- 0. Design-tokens: gør hele skabelonen roligere & fladere ---------- */
html[data-style="editorial"] {
  --font-display: "Playfair Display", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;

  /* Fladt, håndlavet udtryk i stedet for afrundede kort/skygger */
  --radius-sm: 0px;
  --radius-md: 1px;
  --radius-lg: 1px;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: 0 24px 56px rgba(15, 12, 8, 0.16);

  /* Finere, mere diskret linjefarve end standardens border */
  --e-line: color-mix(in srgb, var(--c-text) 16%, transparent);
  --e-line-soft: color-mix(in srgb, var(--c-text) 9%, transparent);
}
@media (prefers-color-scheme: dark) {
  html[data-style="editorial"]:not([data-theme="light"]) {
    --e-line: color-mix(in srgb, var(--c-text) 22%, transparent);
    --e-line-soft: color-mix(in srgb, var(--c-text) 13%, transparent);
  }
}
html[data-style="editorial"][data-theme="dark"] {
  --e-line: color-mix(in srgb, var(--c-text) 22%, transparent);
  --e-line-soft: color-mix(in srgb, var(--c-text) 13%, transparent);
}

/* Base-rytme: lidt luftigere linjehøjde, magasin-agtig læsning */
html[data-style="editorial"] body {
  line-height: 1.68;
  letter-spacing: 0.01em;
}
html[data-style="editorial"] h1,
html[data-style="editorial"] h2,
html[data-style="editorial"] h3,
html[data-style="editorial"] h4 {
  font-weight: 600;
  letter-spacing: 0.003em;
}
html[data-style="editorial"] .section-head p,
html[data-style="editorial"] .about-text p,
html[data-style="editorial"] .service-desc,
html[data-style="editorial"] .team-bio,
html[data-style="editorial"] .review-text {
  font-family: var(--font-body);
}

/* ---------- 1. Eyebrow / sektions-labels: versaler + generøs tracking ---------- */
html[data-style="editorial"] .eyebrow,
html[data-style="editorial"] .hero-eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  gap: 0.85em;
}
html[data-style="editorial"] .eyebrow::before {
  width: 2.4em;
  height: 1px;
  background: var(--c-primary);
}
html[data-style="editorial"] .section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-style: italic;
  font-weight: 600;
}
html[data-style="editorial"] .section-head {
  max-width: 700px;
}

/* ---------- 2. Knapper: rektangulære, tracked, tilbageholdne ---------- */
html[data-style="editorial"] .btn {
  border-radius: 0;
  padding: 0.95em 1.9em;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}
html[data-style="editorial"] .btn-primary {
  background: var(--c-primary);
  color: var(--c-on-primary);
  box-shadow: none;
}
html[data-style="editorial"] .btn-primary:hover {
  box-shadow: none;
  filter: none;
  opacity: 0.86;
}
html[data-style="editorial"] .btn-outline {
  border-color: var(--e-line);
}
html[data-style="editorial"] .btn-outline:hover {
  background: var(--c-surface-alt);
  border-color: var(--c-text);
}
html[data-style="editorial"] .btn-on-dark {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: none;
}
html[data-style="editorial"] .btn-on-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

/* ---------- 3. Topbar: rolig masthead ---------- */
html[data-style="editorial"] .topbar {
  border-bottom: 1px solid var(--e-line);
  background: color-mix(in srgb, var(--c-surface) 94%, transparent);
}
html[data-style="editorial"] .brand {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
html[data-style="editorial"] .brand-mark {
  width: 30px;
  height: 30px;
}
html[data-style="editorial"] .brand-text-city {
  font-weight: 500;
  letter-spacing: 0.22em;
  font-family: Georgia, serif;
  font-style: italic;
  text-transform: none;
}
html[data-style="editorial"] .site-nav a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
html[data-style="editorial"] .nav-toggle,
html[data-style="editorial"] .theme-toggle {
  border-color: var(--e-line);
}
@media (min-width: 900px) {
  html[data-style="editorial"] .site-nav ul {
    gap: 2.1rem;
  }
  html[data-style="editorial"] .site-nav a[aria-current="true"] {
    border-color: var(--c-primary);
  }
}

/* ---------- 4. Hero: stort, roligt magasin-forside-udtryk ---------- */
html[data-style="editorial"] .hero {
  background: linear-gradient(180deg, color-mix(in srgb, var(--c-accent) 92%, black) 0%, var(--c-accent) 100%) !important;
  text-align: center;
}
html[data-style="editorial"] .hero[data-style="warm"],
html[data-style="editorial"] .hero[data-style="cool"] {
  background: linear-gradient(180deg, color-mix(in srgb, var(--c-accent) 92%, black) 0%, var(--c-accent) 100%) !important;
}
html[data-style="editorial"] .hero-deco {
  opacity: 0.12;
  mix-blend-mode: overlay;
}
html[data-style="editorial"] .hero-inner {
  max-width: 780px;
  margin-inline: auto;
  justify-items: center;
  padding-block: clamp(5rem, 13vw, 9rem) clamp(4rem, 10vw, 7rem);
  gap: 1.6rem;
}
html[data-style="editorial"] .hero-eyebrow {
  color: color-mix(in srgb, var(--c-on-accent) 78%, var(--c-primary) 22%);
}
html[data-style="editorial"] .hero-eyebrow svg {
  display: none;
}
html[data-style="editorial"] .hero h1 {
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2.7rem, 7vw, 5rem);
  position: relative;
  padding-bottom: 0.5em;
}
html[data-style="editorial"] .hero h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 1px;
  background: color-mix(in srgb, var(--c-on-accent) 40%, transparent);
}
html[data-style="editorial"] .hero .tagline {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 40ch;
  margin-inline: auto;
}
html[data-style="editorial"] .hero-actions {
  justify-content: center;
}
html[data-style="editorial"] .hero-status {
  border-radius: 0;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  font-family: var(--font-body);
  letter-spacing: 0.06em;
  font-weight: 500;
}
html[data-style="editorial"] .hero-meta {
  justify-content: center;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  width: 100%;
}
html[data-style="editorial"] .hero-meta > div {
  padding-inline: 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}
html[data-style="editorial"] .hero-meta > div:first-child {
  border-left: none;
}
html[data-style="editorial"] .hero-meta strong {
  font-style: italic;
  font-size: 1.5rem;
}

/* ---------- 5. Ydelser ---------- */
html[data-style="editorial"] .service-group h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-muted);
  border-bottom: 1px solid var(--e-line);
}
html[data-style="editorial"] .service-card {
  background: transparent;
  border: none;
  border-top: 1px solid var(--e-line);
  border-radius: 0;
  box-shadow: none;
  padding: 1.6rem 0.1rem;
  transition: opacity 0.2s ease;
}
html[data-style="editorial"] .service-card:hover {
  transform: none;
  box-shadow: none;
  opacity: 0.75;
}
html[data-style="editorial"] .service-card h4 {
  font-size: 1.2rem;
  font-style: italic;
}
html[data-style="editorial"] .service-price {
  font-weight: 600;
}

/* ---------- 6. Om os: drop-cap & rammet figur ---------- */
html[data-style="editorial"] .about-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-style: italic;
}
html[data-style="editorial"] .about-text p::first-letter {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 3.4em;
  float: left;
  line-height: 0.8;
  padding: 0.05em 0.1em 0 0;
  color: var(--c-primary);
}
html[data-style="editorial"] .about-figure {
  background: transparent;
  border: 1px solid var(--e-line);
  border-radius: 0;
}
html[data-style="editorial"] .about-established {
  border-radius: 0;
  border-color: var(--e-line);
  font-family: var(--font-body);
  font-style: italic;
}

/* ---------- 7. Galleri ---------- */
html[data-style="editorial"] .gallery-item {
  border-radius: 0;
  border-color: var(--e-line);
}
html[data-style="editorial"] .gallery-item .gallery-caption {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
}
html[data-style="editorial"] .lightbox-content {
  border-radius: 0;
}

/* ---------- 8. Team ---------- */
html[data-style="editorial"] .team-card {
  background: transparent;
  border: none;
  border-top: 1px solid var(--e-line);
  border-radius: 0;
  box-shadow: none;
  padding: 2rem 1.25rem 0.5rem;
}
html[data-style="editorial"] .avatar {
  border-radius: 50%;
  box-shadow: none;
  font-style: italic;
}
html[data-style="editorial"] .team-card h3 {
  font-size: 1.3rem;
  font-style: italic;
}
html[data-style="editorial"] .team-role {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
}
html[data-style="editorial"] .tag {
  border-radius: 0;
  background: transparent;
  border-color: var(--e-line);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.66rem;
}

/* ---------- 9. Anmeldelser ---------- */
html[data-style="editorial"] .review-card {
  background: transparent;
  border: none;
  border-top: 1px solid var(--e-line);
  border-radius: 0;
  box-shadow: none;
  padding: 1.75rem 0.1rem;
}
html[data-style="editorial"] .review-text {
  font-style: italic;
  font-size: 1.08rem;
}
html[data-style="editorial"] .review-text::before,
html[data-style="editorial"] .review-text::after {
  color: var(--c-primary);
  font-family: var(--font-display);
}
html[data-style="editorial"] .review-meta {
  border-top-color: var(--e-line);
  font-family: var(--font-body);
}
html[data-style="editorial"] .review-meta strong {
  font-style: italic;
}

/* ---------- 10. Åbningstider ---------- */
html[data-style="editorial"] .hours-table {
  background: transparent;
  border: none;
  border-radius: 0;
}
html[data-style="editorial"] .hours-table td {
  border-bottom-color: var(--e-line-soft);
  font-family: var(--font-body);
}
html[data-style="editorial"] .hours-table .day-name {
  font-weight: 500;
  letter-spacing: 0.04em;
}
html[data-style="editorial"] .hours-table tr[data-today="true"] {
  background: transparent;
  border-left: 2px solid var(--c-primary);
}
html[data-style="editorial"] .hours-table tr[data-today="true"] td:first-child {
  padding-left: calc(1.1rem - 2px);
}
html[data-style="editorial"] .today-badge {
  border-radius: 0;
  letter-spacing: 0.1em;
}

/* ---------- 11. Kontakt ---------- */
html[data-style="editorial"] .contact-card {
  background: transparent;
  border: none;
  border-top: 1px solid var(--e-line);
  border-radius: 0;
  box-shadow: none;
  padding: 1.75rem 0.1rem;
}
html[data-style="editorial"] .contact-card h3 {
  font-family: var(--font-body);
  letter-spacing: 0.2em;
  font-weight: 600;
}
html[data-style="editorial"] .contact-icon {
  border-radius: 0;
  background: transparent;
  border: 1px solid var(--e-line);
}
html[data-style="editorial"] .contact-card a.contact-link {
  font-style: italic;
  font-size: 1.3rem;
}
html[data-style="editorial"] .social-links a {
  border-radius: 0;
  border-color: var(--e-line);
}
html[data-style="editorial"] .map-link {
  letter-spacing: 0.06em;
}

/* ---------- 12. CTA-bånd ---------- */
html[data-style="editorial"] .cta-band {
  background: var(--c-accent);
  border-radius: 0;
  border: 1px solid var(--e-line);
}
html[data-style="editorial"] .cta-band h2 {
  font-style: italic;
  font-weight: 600;
}

/* ---------- 13. Footer ---------- */
html[data-style="editorial"] .site-footer {
  border-top-color: var(--e-line);
}
html[data-style="editorial"] .footer-brand {
  font-style: italic;
  font-size: 1.2rem;
  letter-spacing: 0.03em;
}
html[data-style="editorial"] .footer-credit {
  letter-spacing: 0.03em;
}

/* ---------- 14. Mobil-justeringer ---------- */
@media (max-width: 640px) {
  html[data-style="editorial"] .hero-meta {
    gap: 1.25rem 0;
  }
  html[data-style="editorial"] .hero-meta > div {
    border-left: none;
    padding-inline: 0.75rem;
  }
}
