/*
Theme Name: RAISE Agency
Theme URI: https://raiseagency.dk
Author: RAISE Agency
Author URI: https://raiseagency.dk
Description: Skræddersyet WordPress-tema udviklet af RAISE Agency til Plantegning3D ApS — interaktiv 3D-visualisering af boliger for ejendomsmæglere og mæglerkæder. Premium, minimalistisk og bygget uden sidebelastende plugins.
Version: 0.1.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.0
License: Proprietært — alle rettigheder tilhører RAISE Agency
Text Domain: raise-agency
Tags: block-theme, full-site-editing, one-page, business
*/

:root {
  --r-ink: #14161A;
  --r-graphite: #3A3F47;
  --r-muted: #6E737B;
  --r-bone: #F6F4F0;
  --r-white: #FFFFFF;
  --r-hairline: #E2DED7;
  --r-accent: #9A7B4F;
  --r-accent-dark: #7E6340;
  --r-serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --r-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  background: var(--r-bone);
  color: var(--r-ink);
  font-family: var(--r-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Header ---------- */
.r-header {
  border-bottom: 1px solid var(--r-hairline);
  padding-block: 1.25rem;
  background: var(--r-bone);
}
.r-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.r-wordmark {
  font-family: var(--r-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--r-ink);
  text-decoration: none;
  white-space: nowrap;
}
.r-wordmark em { font-style: normal; color: var(--r-accent); }
.r-nav { display: flex; align-items: center; gap: 2rem; }
.r-nav a {
  font-size: 0.875rem;
  color: var(--r-graphite);
  text-decoration: none;
  letter-spacing: 0.005em;
  transition: color .18s ease;
}
.r-nav a:hover { color: var(--r-ink); }
.r-nav .r-nav__cta {
  background: var(--r-ink);
  color: var(--r-white);
  padding: 0.625rem 1.125rem;
  border-radius: 2px;
  font-weight: 500;
}
.r-nav .r-nav__cta:hover { background: var(--r-accent); color: var(--r-white); }
@media (max-width: 860px) {
  .r-nav__links { display: none; }
}

/* ---------- Hero ---------- */
.r-hero {
  padding-block: clamp(3.5rem, 8vw, 7.5rem) 0;
}
.r-hero .wp-block-columns { gap: clamp(2.5rem, 5vw, 5.5rem) !important; }

.r-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--r-muted);
  margin-bottom: 1.75rem;
}
.r-eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: var(--r-accent);
  flex: none;
}

.r-hero__title {
  font-family: var(--r-serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 5.2vw, 4.5rem);
  line-height: 1.03;
  letter-spacing: -0.021em;
  color: var(--r-ink);
  margin: 0 0 1.5rem;
  text-wrap: balance;
}
.r-hero__lead {
  font-size: clamp(1.0625rem, 1.25vw, 1.1875rem);
  line-height: 1.68;
  color: var(--r-graphite);
  max-width: 44ch;
  margin: 0 0 2.25rem;
}

.r-hero__cta { margin-bottom: 1rem; }
.r-hero__cta.wp-block-buttons { gap: 0.75rem; align-items: center; }
.r-hero__cta .wp-block-button__link {
  font-family: var(--r-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  padding: 1rem 1.75rem;
  border-radius: 2px;
  background: var(--r-accent);
  color: var(--r-white);
  border: 1px solid var(--r-accent);
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.r-hero__cta .wp-block-button__link:hover {
  background: var(--r-accent-dark);
  border-color: var(--r-accent-dark);
}
.r-hero__cta .is-style-outline .wp-block-button__link,
.r-hero__cta .wp-block-button.is-style-outline > .wp-block-button__link {
  background: transparent;
  color: var(--r-ink);
  border: 1px solid var(--r-hairline);
}
.r-hero__cta .is-style-outline .wp-block-button__link:hover {
  border-color: var(--r-ink);
  background: transparent;
  color: var(--r-ink);
}

.r-hero__note {
  font-size: 0.8125rem;
  color: var(--r-muted);
  margin: 0;
}

/* ---------- Visual card ---------- */
.r-visual {
  position: relative;
  background: var(--r-white);
  border: 1px solid var(--r-hairline);
  border-radius: 3px;
  padding: 0.75rem;
  box-shadow: 0 1px 2px rgba(20,22,26,.03), 0 18px 48px -28px rgba(20,22,26,.18);
}
.r-visual__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #FCFBF9;
  border: 1px solid #EFEBE4;
  border-radius: 2px;
  overflow: hidden;
}
.r-visual__frame svg { display: block; width: 100%; height: 100%; }
.r-visual__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 0.5rem 0.375rem;
}
.r-visual__label {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--r-muted);
}
.r-visual__open {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--r-accent);
  text-decoration: none;
}
.r-visual__open svg { width: 1rem; height: 1rem; }
.r-visual__tag {
  position: absolute;
  left: 0.875rem;
  bottom: 0.875rem;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(4px);
  border: 1px solid var(--r-hairline);
  border-radius: 2px;
  padding: 0.3125rem 0.625rem;
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: var(--r-graphite);
}

/* ---------- Proof band ---------- */
.r-proof {
  margin-top: clamp(3rem, 6vw, 5.5rem);
  border-top: 1px solid var(--r-hairline);
  border-bottom: 1px solid var(--r-hairline);
}
.r-proof__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.r-proof__item {
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1rem, 2.5vw, 2.25rem);
  border-left: 1px solid var(--r-hairline);
}
.r-proof__item:first-child { border-left: 0; padding-left: 0; }
.r-proof__num {
  font-family: var(--r-serif);
  font-size: 0.8125rem;
  color: var(--r-accent);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.75rem;
}
.r-proof__title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 0 0 0.4375rem;
  color: var(--r-ink);
}
.r-proof__text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--r-graphite);
  margin: 0;
  max-width: 34ch;
}
@media (max-width: 860px) {
  .r-proof__grid { grid-template-columns: 1fr; }
  .r-proof__item { border-left: 0; border-top: 1px solid var(--r-hairline); padding-left: 0; }
  .r-proof__item:first-child { border-top: 0; }
}

/* ---------- Footer stub ---------- */
.r-footer {
  padding-block: 2.5rem 3rem;
  font-size: 0.8125rem;
  color: var(--r-muted);
}
.r-footer a { color: var(--r-muted); }

/* tabular figures wherever prices appear */
.r-nums, .r-proof__title, table { font-variant-numeric: tabular-nums; }

/* ---------- Mobil ---------- */
@media (max-width: 600px) {
  .r-eyebrow {
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.5;
  }
  .r-eyebrow::before {
    width: 1.75rem;
    margin-top: 0.62em;
  }
  .r-hero { padding-block: clamp(2.5rem, 9vw, 3.5rem) 0; }
  .r-hero__title { font-size: clamp(2.25rem, 10vw, 2.75rem); }
  .r-hero__lead { font-size: 1rem; line-height: 1.6; }
  .r-hero__cta.wp-block-buttons { gap: 0.625rem; }
  .r-hero__cta .wp-block-button { width: 100%; }
  .r-hero__cta .wp-block-button__link {
    display: block;
    width: 100%;
    text-align: center;
  }
}
