/* ==========================================================================
   Hos Ali — frisør i Næstved
   Design tokens lifted 1:1 from the design canvas (Hos Ali.dc.html)
   ========================================================================== */

:root {
  /* Surfaces */
  --bg:            oklch(0.14 0.008 60);
  --bg-deep:       oklch(0.13 0.008 60);
  --bg-header:     oklch(0.12 0.008 60 / 0.96);
  --surface:       oklch(0.18 0.015 70);
  --surface-alt:   oklch(0.19 0.015 70);
  --surface-sunk:  oklch(0.09 0.006 60);
  --glow:          oklch(0.2 0.02 70);

  /* Accent */
  --gold:          oklch(0.78 0.14 85);
  --gold-bright:   oklch(0.85 0.14 85);
  --gold-dim:      oklch(0.6 0.12 85 / 0.6);
  --on-gold:       oklch(0.14 0.01 60);

  /* Text */
  --text:          oklch(0.93 0.01 85);
  --text-strong:   oklch(0.96 0.01 85);
  --text-soft:     oklch(0.8 0.01 85);
  --text-muted:    oklch(0.75 0.01 85);
  --text-dim:      oklch(0.65 0.01 85);
  --text-faint:    oklch(0.6 0.01 85);
  --text-nav:      oklch(0.85 0.01 85);

  /* Lines */
  --line:          oklch(0.3 0.02 85 / 0.3);
  --line-soft:     oklch(0.3 0.02 85 / 0.25);
  --line-faint:    oklch(0.3 0.02 85 / 0.12);
  --line-ghost:    oklch(0.5 0.02 85);

  /* Type */
  --display: 'Bricolage Grotesque', 'Trebuchet MS', sans-serif;
  --body:    'Manrope', 'Segoe UI', system-ui, sans-serif;

  /* Layout */
  --gutter: 40px;
  --radius: 10px;
}

/* --------------------------------------------------------------- reset -- */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p { margin: 0; }

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover { color: var(--gold-bright); }

::selection {
  background: var(--gold);
  color: var(--on-gold);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------------------------------------------------------- primitives -- */

.eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow--lg {
  font-size: 14px;
  letter-spacing: 0.25em;
}

.section-title {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-strong);
}

.centered { text-align: center; }

.btn {
  display: inline-block;
  border: none;
  border-radius: 3px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  padding: 12px 26px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn--gold {
  background: var(--gold);
  color: var(--on-gold);
}

.btn--gold:hover {
  background: var(--gold-bright);
  color: var(--on-gold);
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--line-ghost);
  color: var(--text);
  font-weight: 600;
}

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

.btn--md { font-size: 16px; padding: 14px 32px; }
.btn--lg { font-size: 17px; padding: 16px 36px; }
.btn--xl { font-size: 17px; padding: 16px 40px; }

.btn-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Circular icon medallion used on Priser + Om Ali */
.medallion {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
  background: var(--surface-sunk);
}

.medallion--lg {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
}

/* ------------------------------------------------------------- header -- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px var(--gutter);
  background: var(--bg-header);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: inherit;
}

.brand:hover { color: inherit; }

.brand-name {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text-strong);
}

.brand-accent { color: var(--gold); }

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-nav);
  border-bottom: 2px solid transparent;
}

.nav-link:hover { color: var(--gold-bright); }

.nav-link[aria-current='page'] {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* --------------------------------------------------------------- main -- */

main { flex: 1; }

.shell {
  max-width: 1100px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.shell--wide { max-width: 1180px; }
.shell--mid  { max-width: 1000px; }
.shell--narrow { max-width: 900px; }

/* Page banner (Priser / Kontakt) */
.banner {
  padding: 80px var(--gutter) 60px;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, var(--glow) 0%, var(--bg-deep) 60%);
  border-bottom: 1px solid var(--line-soft);
}

.banner h1 {
  max-width: 20ch;
  margin: 10px auto 0;
  font-family: var(--display);
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-strong);
}

/* Egen klasse — ikke `.banner p`, da den ville slå `.eyebrow` ud på specificitet */
.banner-lede {
  max-width: 62ch;
  margin: 18px auto 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ------------------------------------------------------- image slots -- */

.shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background:
    repeating-linear-gradient(
      135deg,
      oklch(0.2 0.015 70) 0 12px,
      oklch(0.18 0.012 70) 12px 24px
    );
  box-shadow: inset 0 0 0 1px var(--line-soft);
}

.shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.shot figcaption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.shot.is-empty img { display: none; }

.shot--r10 { border-radius: var(--radius); }

/* -------------------------------------------------------------- hero -- */

.hero {
  padding: 90px var(--gutter) 100px;
  background: radial-gradient(circle at 20% 0%, var(--glow) 0%, var(--bg-deep) 60%);
  border-bottom: 1px solid var(--line-soft);
}

.hero-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) 1fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  margin: 20px 0 24px;
  font-family: var(--display);
  font-size: 56px;
  font-weight: 800;
  line-height: 1.08;
  color: var(--text-strong);
}

.hero-lede {
  margin-bottom: 40px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-soft);
}

/* Underrubrik inde i en H1 — holder søgeordet i overskriften uden at
   ødelægge den visuelle vægt af selve navnet. */
.h1-sub {
  display: block;
  margin-top: 10px;
  font-family: var(--body);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--gold);
}

/* ---------------------------------------------------------- carousel -- */

.carousel { position: relative; }

.carousel-frame {
  position: relative;
  height: 420px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -20px oklch(0 0 0 / 0.5);
}

.carousel-frame .shot {
  position: absolute;
  inset: 0;
  border-radius: 0;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease;
}

.carousel-frame .shot.is-active {
  opacity: 1;
  visibility: visible;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: oklch(0.1 0.01 60 / 0.55);
  color: oklch(0.95 0.01 85);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background 0.15s ease;
}

.carousel-arrow:hover { background: oklch(0.1 0.01 60 / 0.8); }

.carousel-arrow--prev { left: 14px; }
.carousel-arrow--next { right: 14px; }

.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: oklch(0.5 0.01 85 / 0.5);
  cursor: pointer;
  transition: background 0.2s ease;
}

.carousel-dot[aria-selected='true'] { background: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carousel-frame .shot { transition: none; }
}

/* -------------------------------------------------------------- stats -- */

.stats {
  max-width: 1100px;
  margin: 0 auto;
  padding: 70px var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.stat {
  padding: 20px;
  text-align: center;
}

.stat + .stat { border-left: 1px solid var(--line-soft); }

.stat-value {
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  color: var(--gold);
}

.stat-label {
  font-size: 15px;
  color: var(--text-muted);
}

/* -------------------------------------------------------- split block -- */

.split {
  display: grid;
  gap: 56px;
  align-items: center;
}

.split--about {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px var(--gutter) 100px;
  grid-template-columns: 1.1fr 1fr;
}

.split h2 {
  margin: 14px 0 18px;
  font-family: var(--display);
  font-size: 34px;
  font-weight: 700;
  color: var(--text-strong);
}

.split p {
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-soft);
}

/* ----------------------------------------------------------- services -- */

.services {
  padding: 0 var(--gutter) 90px;
  max-width: 1100px;
  margin: 0 auto;
}

.services .section-title { margin: 12px 0 44px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  padding: 28px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-card h3 {
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  color: var(--text-strong);
}

.service-card .duration {
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--text-dim);
}

.service-card .price {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
}

.services-more { margin-top: 36px; }

/* ------------------------------------------------------------ gallery -- */

.gallery {
  padding: 0 var(--gutter) 90px;
  max-width: 1180px;
  margin: 0 auto;
}

.gallery .section-title { margin: 12px 0 40px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-grid .shot { height: 200px; }

/* ---------------------------------------------------------- cta band -- */

.cta-band {
  padding: 70px var(--gutter);
  text-align: center;
  background: var(--surface-alt);
}

.cta-band h2 {
  margin-bottom: 14px;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  color: var(--text-strong);
}

.cta-band p {
  margin-bottom: 30px;
  font-size: 16px;
  color: var(--text-soft);
}

.cta-card {
  margin-top: 30px;
  padding: 40px;
  text-align: center;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cta-card h2 {
  margin-bottom: 12px;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-strong);
}

.cta-card p {
  margin-bottom: 26px;
  font-size: 15px;
  color: var(--text-soft);
}

/* ---------------------------------------------------------- pricelist -- */

.pricelist { padding: 60px var(--gutter) 100px; }

.price-group { margin-bottom: 44px; }

.price-group-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.price-group-head h2 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-faint);
}

.price-row .name {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

.price-row .duration {
  margin-top: 4px;
  font-size: 14px;
  color: var(--text-dim);
}

.price-row .price {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}

/* --------------------------------------------------------------- om -- */

.om {
  padding: 80px var(--gutter) 90px;
}

.om-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.om-shots {
  display: grid;
  gap: 20px;
}

.om-shots .shot:first-child { height: 340px; }
.om-shots .shot:last-child  { height: 190px; }

.om-grid h1 {
  margin: 14px 0 24px;
  font-family: var(--display);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-strong);
}

.om-grid .h1-sub { font-size: 17px; }

.om-grid p {
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-soft);
}

.om-grid p:last-of-type { margin-bottom: 32px; }

.quote-band {
  padding: 60px var(--gutter);
  background: var(--surface-alt);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.quote-band blockquote {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.quote-mark {
  display: block;
  margin-bottom: -10px;
  font-family: var(--display);
  font-size: 70px;
  line-height: 1;
  color: oklch(0.6 0.1 85 / 0.5);
}

.quote-band p {
  margin-bottom: 16px;
  font-family: var(--display);
  font-size: 24px;
  font-style: italic;
  line-height: 1.5;
  color: oklch(0.94 0.01 85);
}

.quote-band cite {
  font-family: var(--body);
  font-style: normal;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.reasons {
  max-width: 1000px;
  margin: 0 auto;
  padding: 70px var(--gutter) 100px;
}

.reasons h2 {
  margin-bottom: 40px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  color: var(--text-strong);
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.reason {
  padding: 24px;
  text-align: center;
}

.reason h3 {
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-strong);
}

.reason p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ---------------------------------------------------------- kontakt -- */

.kontakt { padding: 60px var(--gutter) 100px; }

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.kontakt-card {
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.kontakt-item { margin-bottom: 26px; }

.kontakt-item dt {
  margin-bottom: 6px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.kontakt-item dd {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.kontakt-item dd.plain {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
}

.kontakt-map {
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.kontakt-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: grayscale(0.3) contrast(1.1);
}

.kontakt-outro {
  margin-top: 50px;
  text-align: center;
}

.kontakt-outro h2 {
  margin-bottom: 12px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-strong);
}

.kontakt-outro p {
  font-size: 15px;
  color: var(--text-soft);
}

/* ------------------------------------------------------------ footer -- */

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 36px var(--gutter);
  border-top: 1px solid var(--line-soft);
}

.site-footer p {
  font-size: 14px;
  color: var(--text-faint);
}

.footer-links {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

/* ------------------------------------------------------- responsive -- */

@media (max-width: 1040px) {
  .hero-grid,
  .split--about,
  .om-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero { padding: 70px var(--gutter) 80px; }
  .hero h1 { font-size: 46px; }
}

@media (max-width: 900px) {
  .kontakt-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 12px var(--gutter);
    gap: 12px;
  }

  .site-nav {
    order: 3;
    width: 100%;
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar { display: none; }

  .nav-link { padding: 8px 12px; }
}

@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .stats {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 50px var(--gutter);
  }

  .stat + .stat {
    border-left: none;
    border-top: 1px solid var(--line-soft);
  }

  .reason-grid { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }

  .hero h1 { font-size: 38px; }
  .hero-lede { font-size: 17px; }
  .h1-sub { font-size: 17px; }
  .banner h1 { font-size: 34px; }
  .banner { padding: 56px var(--gutter) 44px; }
  .section-title { font-size: 26px; }
  .split h2 { font-size: 28px; }
  .om-grid h1 { font-size: 32px; }
  .quote-band p { font-size: 20px; }
  .cta-band h2 { font-size: 25px; }

  .service-grid { grid-template-columns: 1fr; }
  .carousel-frame { height: 300px; }
  .kontakt-card { padding: 26px; }
  .cta-card { padding: 28px 22px; }

  .btn,
  .btn--md,
  .btn--lg,
  .btn--xl {
    font-size: 16px;
    padding: 14px 28px;
  }

  .btn-row .btn { flex: 1 1 auto; text-align: center; }

  .site-footer { flex-direction: column; align-items: flex-start; }
}
