/*
Theme Name: House of Valentin
Theme URI: https://houseofvalentin.dk
Author: House of Valentin
Description: Et let, redaktionelt bloktema til Trine Valentin – dans, coaching, koreografi og events.
Version: 1.0.1
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: house-of-valentin
*/

:root {
  --hov-ivory: #f5f0e8;
  --hov-paper: #fffdf8;
  --hov-ink: #171412;
  --hov-wine: #6f2434;
  --hov-wine-dark: #4b1722;
  --hov-taupe: #9f8d7e;
  --hov-line: rgba(23, 20, 18, 0.14);
  --hov-serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --hov-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
body.admin-bar .hov-site-header { top: 32px; }

::selection { background: var(--hov-wine); color: #fff; }

.hov-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  margin: 0 !important;
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--hov-ivory) 86%, transparent);
  backdrop-filter: blur(18px);
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}

.hov-site-header.is-scrolled {
  border-color: var(--hov-line);
  box-shadow: 0 10px 35px rgba(31, 21, 17, .06);
  background: color-mix(in srgb, var(--hov-ivory) 96%, transparent);
}

.hov-header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.hov-brand {
  display: inline-flex;
  align-items: center;
  color: var(--hov-ink);
  text-decoration: none;
}

.hov-brand img {
  display: block;
  width: 104px;
  height: 92px;
  object-fit: contain;
}

.hov-main-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.hov-main-nav a {
  color: var(--hov-ink);
  text-decoration: none;
  font-family: var(--hov-sans);
  font-size: .73rem;
  font-weight: 650;
  letter-spacing: .075em;
  text-transform: uppercase;
  position: relative;
}
.hov-main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: var(--hov-wine);
  transition: right .25s ease;
}
.hov-main-nav a:hover::after,
.hov-main-nav a:focus-visible::after { right: 0; }
.hov-main-nav .hov-nav-cta {
  padding: 13px 20px;
  border: 1px solid var(--hov-ink);
}
.hov-main-nav .hov-nav-cta::after { display: none; }
.hov-main-nav .hov-nav-cta:hover { background: var(--hov-ink); color: #fff; }
.hov-menu-toggle { display: none; }

.hov-hero {
  min-height: min(800px, calc(100vh - 88px)) !important;
  margin-top: 0 !important;
  background-color: #2b201c;
}
.hov-hero .wp-block-cover__background {
  background: linear-gradient(90deg, rgba(20, 15, 13, .72) 0%, rgba(20, 15, 13, .35) 48%, rgba(20, 15, 13, .08) 100%) !important;
  opacity: 1 !important;
}
.hov-hero .wp-block-cover__inner-container { width: 100%; }
.hov-hero-copy { max-width: 760px; padding: clamp(72px, 10vw, 150px) 0; }
.hov-eyebrow {
  font-family: var(--hov-sans);
  font-size: .72rem !important;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.hov-eyebrow::before { content: ""; display: inline-block; width: 42px; height: 1px; margin: 0 14px 4px 0; background: currentColor; }
.hov-display,
.hov-display.wp-block-heading {
  max-width: 900px;
  margin-top: .4em;
  margin-bottom: .45em;
  font-family: var(--hov-serif);
  font-size: clamp(4rem, 10.3vw, 9.2rem) !important;
  font-weight: 400;
  line-height: .82;
  letter-spacing: -.065em;
}
.hov-display em { color: #d9b9a5; font-weight: 400; }
.hov-lead { max-width: 650px; font-size: clamp(1.05rem, 1.8vw, 1.35rem) !important; line-height: 1.6; }
.hov-actions { margin-top: 38px !important; gap: 14px !important; }

.wp-block-button__link,
.hov-button {
  border-radius: 0 !important;
  padding: 16px 25px !important;
  font-family: var(--hov-sans);
  font-size: .73rem !important;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: transform .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
}
.wp-block-button__link:hover { transform: translateY(-2px); }
.is-style-outline > .wp-block-button__link { border-width: 1px; }

.hov-section { padding-top: clamp(80px, 10vw, 150px) !important; padding-bottom: clamp(80px, 10vw, 150px) !important; }
.hov-section-tight { padding-top: clamp(58px, 7vw, 100px) !important; padding-bottom: clamp(58px, 7vw, 100px) !important; }
.hov-section-title,
.hov-section-title.wp-block-heading {
  font-family: var(--hov-serif);
  font-size: clamp(2.8rem, 6vw, 5.4rem) !important;
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.045em;
}
.hov-section-title em { color: var(--hov-wine); font-weight: 400; }
.hov-intro-grid { gap: clamp(40px, 8vw, 120px) !important; align-items: end !important; }
.hov-intro-copy { font-size: clamp(1.1rem, 2vw, 1.45rem) !important; line-height: 1.65; }

.hov-service-grid { gap: 1px !important; background: var(--hov-line); border: 1px solid var(--hov-line); }
.hov-card {
  min-height: 340px;
  margin: 0 !important;
  padding: clamp(28px, 4vw, 46px) !important;
  background: var(--hov-paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background .35s ease, color .35s ease, transform .35s ease;
}
.hov-card:hover { background: var(--hov-wine); color: #fff; transform: translateY(-8px); }
.hov-card .hov-card-number { font-family: var(--hov-sans); font-size: .7rem; letter-spacing: .16em; opacity: .62; }
.hov-card h3 { font-family: var(--hov-serif); font-size: clamp(2rem, 3vw, 3.2rem); font-weight: 400; line-height: 1; letter-spacing: -.035em; }
.hov-card p { font-size: .96rem; line-height: 1.65; }
.hov-card a { color: inherit; font-family: var(--hov-sans); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.hov-card a::after { content: "  →"; transition: margin-left .2s ease; }
.hov-card:hover a::after { margin-left: 8px; }

.hov-image-frame { position: relative; margin: 0; }
.hov-image-frame::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  z-index: -1;
  border: 1px solid var(--hov-wine);
}
.hov-image-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(.72) contrast(1.05); }
.hov-image-credit { color: #6b615a; font-size: .68rem !important; letter-spacing: .04em; }

.hov-fact-grid { gap: 1px !important; background: rgba(255,255,255,.18); }
.hov-fact { min-height: 180px; padding: 28px !important; background: rgba(255,255,255,.07); }
.hov-fact strong { display: block; margin-bottom: 14px; font-family: var(--hov-serif); font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 400; }
.hov-fact span { font-family: var(--hov-sans); font-size: .71rem; letter-spacing: .12em; text-transform: uppercase; }

.hov-quote { padding: clamp(88px, 12vw, 180px) 24px !important; }
.hov-quote blockquote { max-width: 1100px; margin: 0 auto; border: 0; }
.hov-quote blockquote p { font-family: var(--hov-serif); font-size: clamp(3rem, 7.5vw, 7.2rem); line-height: .98; letter-spacing: -.045em; }
.hov-quote blockquote cite { display: block; margin-top: 32px; font-family: var(--hov-sans); font-size: .72rem; font-style: normal; letter-spacing: .16em; text-transform: uppercase; }

.hov-step-grid { counter-reset: hov-step; gap: 1px !important; background: var(--hov-line); border-top: 1px solid var(--hov-line); border-bottom: 1px solid var(--hov-line); }
.hov-step { counter-increment: hov-step; min-height: 280px; padding: 38px !important; background: var(--hov-ivory); }
.hov-step::before { content: "0" counter(hov-step); display: block; margin-bottom: 70px; color: var(--hov-wine); font-family: var(--hov-sans); font-size: .7rem; letter-spacing: .15em; }
.hov-step h3 { font-family: var(--hov-serif); font-size: 2rem; font-weight: 400; }

.hov-page-hero { padding-top: clamp(90px, 12vw, 170px) !important; padding-bottom: clamp(65px, 9vw, 125px) !important; border-bottom: 1px solid var(--hov-line); }
.hov-page-title { max-width: 1050px; font-family: var(--hov-serif); font-size: clamp(4.2rem, 10vw, 9rem) !important; font-weight: 400; line-height: .88; letter-spacing: -.055em; }
.hov-page-title em { color: var(--hov-wine); font-weight: 400; }
.hov-page-lead { max-width: 720px; font-size: clamp(1.15rem, 2.1vw, 1.55rem) !important; line-height: 1.6; }

.hov-prose { font-size: 1.08rem; line-height: 1.8; }
.hov-prose h2 { margin-top: 2.2em; font-family: var(--hov-serif); font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 400; letter-spacing: -.035em; }
.hov-placeholder { padding: 18px 20px; border-left: 2px solid var(--hov-wine); background: rgba(111,36,52,.06); color: #5c514a; font-style: italic; }
.hov-editorial-image img { width: 100%; max-height: 780px; object-fit: cover; filter: saturate(.75); }

.hov-timeline { border-top: 1px solid var(--hov-line); }
.hov-timeline-item { display: grid; grid-template-columns: minmax(100px, .35fr) 1.65fr; gap: 30px; padding: 28px 0; border-bottom: 1px solid var(--hov-line); }
.hov-timeline-item strong { color: var(--hov-wine); font-family: var(--hov-serif); font-size: 1.55rem; font-weight: 400; }

.hov-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.hov-form .hov-field-full { grid-column: 1 / -1; }
.hov-form label { display: block; margin-bottom: 8px; font-family: var(--hov-sans); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hov-form input,
.hov-form select,
.hov-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 0;
  border-bottom: 1px solid var(--hov-ink);
  border-radius: 0;
  padding: 13px 2px;
  background: transparent;
  color: var(--hov-ink);
  font: inherit;
}
.hov-form input:focus,
.hov-form select:focus,
.hov-form textarea:focus { outline: 2px solid color-mix(in srgb, var(--hov-wine) 30%, transparent); outline-offset: 4px; }
.hov-form button { border: 1px solid var(--hov-ink); padding: 16px 25px; background: var(--hov-ink); color: #fff; cursor: pointer; font-family: var(--hov-sans); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hov-form-notice { margin-bottom: 28px; padding: 17px 20px; border: 1px solid var(--hov-wine); }
.hov-honeypot { position: absolute !important; left: -9999px !important; }

.hov-footer { margin: 0 !important; padding: 75px 0 28px !important; background: var(--hov-ink); color: #fff; }
.hov-footer a { color: #fff; text-decoration: none; }
.hov-footer-title { font-family: var(--hov-serif); font-size: clamp(3.5rem, 7vw, 7rem); line-height: .9; letter-spacing: -.055em; }
.hov-footer-grid { gap: 50px !important; align-items: end !important; }
.hov-footer-links { display: flex; flex-wrap: wrap; gap: 10px 25px; padding: 0; list-style: none; }
.hov-footer-links a { font-family: var(--hov-sans); font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; }
.hov-footer-meta { margin-top: 60px !important; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.62); font-size: .72rem; }

.hov-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.hov-reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .hov-reveal { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
  .hov-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    padding: 12px 0;
    background: transparent;
    color: var(--hov-ink);
    font-family: var(--hov-sans);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
  }
  .hov-main-nav {
    position: fixed;
    inset: 88px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 20px 24px 36px;
    border-bottom: 1px solid var(--hov-line);
    background: var(--hov-ivory);
  }
  .hov-main-nav.is-open { display: flex; }
  .hov-main-nav a { width: 100%; padding: 16px 0; border-bottom: 1px solid var(--hov-line); }
  .hov-main-nav a::after { display: none; }
  .hov-main-nav .hov-nav-cta { width: auto; margin-top: 18px; padding: 13px 20px; }
}

@media (max-width: 781px) {
  body.admin-bar .hov-site-header { top: 46px; }
  .hov-header-inner { min-height: 76px; }
  .hov-brand img { width: 72px; height: 66px; }
  .hov-main-nav { inset: 76px 0 auto 0; }
  .hov-display, .hov-display.wp-block-heading { font-size: clamp(3.5rem, 18vw, 6rem) !important; }
  .hov-hero { min-height: 720px !important; }
  .hov-service-grid { background: transparent; border: 0; gap: 12px !important; }
  .hov-card { min-height: 285px; border: 1px solid var(--hov-line); }
  .hov-image-frame::before { inset: 14px -10px -14px 10px; }
  .hov-fact-grid { gap: 1px !important; }
  .hov-step-grid { gap: 0 !important; }
  .hov-step { min-height: 230px; border-bottom: 1px solid var(--hov-line); }
  .hov-step::before { margin-bottom: 42px; }
  .hov-form { grid-template-columns: 1fr; }
  .hov-form .hov-field-full { grid-column: auto; }
  .hov-timeline-item { grid-template-columns: 1fr; gap: 8px; }
}
