/* Global styles */

:root {
  --bg: #050507;
  --bg-elevated: #101014;
  --bg-soft: #181821;
  --text: #f7f7f7;
  --muted: #a0a0b0;
  --accent: #dd0000;
  --accent-soft: rgba(221, 0, 0, 0.16);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --radius-lg: 18px;
  --radius-pill: 999px;
  --margin-pill: 0.25rem;
  --max-width: 1120px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  background:
    url("../assets/tex-noise-dark-512.png"),
    var(--bg);
  background-size: 512px 512px, auto;
  background-repeat: repeat, no-repeat;
  background-attachment: fixed;
  color: var(--text);
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
}

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

.page {
  min-height: 100vh;
}

/* Header */

/* Header layout */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: #000000;
}

.logo-lockup {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-wordmark {
  font-size: 1.2rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  font-weight: 600;
}

.logo-ring {
  display: inline-block;
  color: var(--accent);
}

.logo-tagline {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Actual logo image in header */
.logo-image {
  display: block;
  height: 28px;
  width: auto;
}

/* Slightly larger logo on bigger screens */
@media (min-width: 900px) {
  .logo-image {
    height: 32px;
  }
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.9rem;
}

.main-nav a {
  position: relative;
  display: inline-block;
  padding: 4px 0;
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

/* thin red underline */
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--accent); /* #DD0000 from :root */
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease-out;
}

/* hover / focus state */
.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
  opacity: 1;
}

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

/* Book Consultation = pill button */
.nav-cta {
  padding: 9px 26px;          /* more breathing room left/right */
  margin: 0.25rem;
  background: var(--accent);
  color: #ffffff;
  border-radius: 999px;       /* make sure it’s a true pill */
  font-size: 0.85rem;         /* keeps it compact but readable */
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45);
}

.nav-cta:hover {
  background: #000000;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
}

/* Hero */

.hero {
  position: relative;
  padding: 96px 16px 72px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(3, 6, 11, 0.28), transparent 55%),
    radial-gradient(circle at bottom right, rgba(3, 6, 11, 0.18), transparent 60%);
  opacity: 0.66;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 32px 56px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(8, 8, 14, 0.96), rgba(10, 10, 18, 0.98)),
    url("../assets/texture-noise.png");
  background-blend-mode: overlay;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.02);
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}

.hero-inner h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.05;
  margin: 0 0 16px;
}

.hero-copy {
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 540px;
  color: var(--muted);
  margin: 0 0 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.18s ease-out, color 0.18s ease-out, border-color 0.18s ease-out,
    transform 0.12s ease-out, box-shadow 0.12s ease-out;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 35px rgba(200, 50, 50, 0.36);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(200, 50, 50, 0.5);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(10, 10, 18, 0.7);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: rgba(200, 50, 50, 0.06);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* Sections */

.section {
  padding: 72px 16px 72px;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  font-size: 0.76rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.section h2 {
  font-size: 1.8rem;
  margin: 0 0 16px;
}

.section p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--muted);
}

/* About */

.section-about p {
  max-width: 640px;
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.pill {
  padding: 18px 18px 18px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(3, 6, 11, 0.16), transparent 55%),
    rgba(10, 10, 16, 0.96);
  border: 1px solid var(--border-subtle);
}

.pill h3 {
  font-size: 1rem;
  margin: 0 0 6px;
}

.pill p {
  font-size: 0.9rem;
}

/* Brands */

/* Brands */
.section-brands {
  position: relative; /* <-- add this line */
  background: radial-gradient(circle at top, rgba(3, 6, 11, 0.18), transparent 55%),
    linear-gradient(to bottom, #050607, #090910);
}
/* Brands watermark */
.section-brands::before {
  content: "";
  position: absolute;
  left: -140px;      /* nudge further in/out as you like */
  bottom: -160px;    /* move up/down as needed */
  width: 520px;
  height: 520px;
  background: url("../assets/mirrohaus-bg-watermark-transparent.png") no-repeat center/contain;
  opacity: 0.08;     /* control strength of watermark */
  pointer-events: none;
  z-index: 0;
}

/* keep the actual content above the watermark */
.section-brands .section-inner {
  position: relative;
  z-index: 1;
}
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.brand-card {
  padding: 18px 18px 20px;
  border-radius: var(--radius-lg);
  background: rgba(8, 8, 12, 0.96);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.brand-card h3 {
  margin: 0;
  font-size: 1.02rem;
}

.brand-card p {
  font-size: 0.9rem;
  margin: 0 0 4px;
}

.brand-link {
  font-size: 0.85rem;
  color: var(--accent);
  margin-top: 4px;
}

.brand-link.disabled {
  color: var(--muted);
  cursor: default;
}

.brand-link:not(.disabled):hover {
  text-decoration: underline;
}

.section-footnote {
  margin-top: 18px;
  font-size: 0.86rem;
}

/* Work */

.section-work {
  background: linear-gradient(to bottom, #050507, #050507);
}

.work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 18px;
  margin-top: 24px;
}

@media (max-width: 840px) {
  .work-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.work-card {
  padding: 18px 18px 18px;
  border-radius: var(--radius-lg);
  background: rgba(10, 10, 16, 0.96);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.work-card h3 {
  margin: 0;
  font-size: 1rem;
}

.work-card p {
  margin: 0 0 4px;
  font-size: 0.9rem;
}

.work-link {
  font-size: 0.85rem;
  color: var(--accent);
  margin-top: 4px;
}

.work-link:hover {
  text-decoration: underline;
}

.work-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.78rem;
  color: var(--muted);
}

/* Founder */

.section-founder {
  background: radial-gradient(circle at top right, rgba(3, 6, 11, 0.15), transparent 55%),
    linear-gradient(to bottom, #050507, #050507);
}

.founder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 24px;
}

@media (max-width: 840px) {
  .founder-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.founder-bio p {
  max-width: 640px;
}

.founder-title {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: -4px;
}

.founder-card {
  padding: 18px 18px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: rgba(10, 10, 16, 0.96);
}

.founder-card .founder-tag {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.founder-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.founder-card li {
  padding-left: 14px;
  position: relative;
  margin-bottom: 8px;
}

.founder-card li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Contact */

.section-contact {
  position: relative; /* <-- add */
  /* existing padding/background/etc stays as-is */
}
/* Contact/footer watermark */
.section-contact::before {
  content: "";
  position: absolute;
  left: -160px;      /* tuck into bottom-left corner */
  bottom: -220px;
  width: 620px;
  height: 620px;
  background: url("../assets/mirrohaus-bg-watermark-transparent.png") no-repeat center/contain;
  opacity: 0.08;     /* match or tweak vs brands */
  pointer-events: none;
  z-index: 0;
}

.section-contact .section-inner {
  position: relative;
  z-index: 1;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: center;
}

@media (max-width: 840px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.contact-card {
  padding: 18px 18px 18px;
  border-radius: var(--radius-lg);
  background: rgba(10, 10, 16, 0.96);
  border: 1px solid var(--border-subtle);
}

.contact-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.9rem;
  margin: 0 0 8px;
}

.contact-line span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
}

.contact-line a {
  color: var(--text);
}

.contact-line a:hover {
  color: var(--accent);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 24px 28px;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

/* Responsive tweaks */

@media (max-width: 720px) {
  .site-header {
    padding-inline: 18px;
  }

  .main-nav {
    display: none;
  }

  .hero-inner {
    padding: 28px 22px 32px;
  }

  .section {
    padding-inline: 18px;
  }
}
/* =========================
   Hero background video
   ========================= */

.hero {
  position: relative;
  padding: 80px 24px 64px;
  overflow: hidden;
}

/* video container */
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* actual video */
.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* grade the footage so the red button + text stay clean */
  filter: saturate(1.2) contrast(1.1) brightness(0.45);
}

/* content card on top of video */
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  background: rgba(8, 8, 16, 0.88);             /* dark glass over video */
  border-radius: var(--radius-lg);
  padding: 40px 40px 32px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.9);
  border: 1px solid var(--border-subtle);
}

/* eyebrow label */
.hero-inner .eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

/* headline */
.hero-inner h1 {
  font-size: 2.6rem;
  line-height: 1.1;
  margin: 0 0 16px;
}

/* body copy */
.hero-copy {
  max-width: 540px;
  color: var(--muted);
  margin: 0 0 24px;
}

/* button row */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* keep main CTA loud */
.hero-actions .btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow:
    0 20px 55px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hero-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.98),
    0 0 0 1px rgba(255, 255, 255, 0.16);
}

.hero-actions .btn-ghost {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.9);
}

/* mobile tweaks */
@media (max-width: 768px) {
  .hero {
    padding: 72px 16px 48px;
  }

  .hero-inner {
    padding: 28px 22px 24px;
  }

  .hero-inner h1 {
    font-size: 2.1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* === Hero background video === */

.hero {
  position: relative;
  padding: 80px 24px 64px;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.2) contrast(1.1) brightness(0.45);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  background: rgba(8, 8, 16, 0.88);
  border-radius: var(--radius-lg);
  padding: 40px 40px 32px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.9);
  border: 1px solid var(--border-subtle);
}

.hero-inner .eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.hero-inner h1 {
  font-size: 2.6rem;
  line-height: 1.1;
  margin: 0 0 16px;
}

.hero-copy {
  max-width: 540px;
  color: var(--muted);
  margin: 0 0 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions .btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow:
    0 20px 55px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hero-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.98),
    0 0 0 1px rgba(255, 255, 255, 0.16);
}

.hero-actions .btn-ghost {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.9);
}

@media (max-width: 768px) {
  .hero {
    padding: 72px 16px 48px;
  }

  .hero-inner {
    padding: 28px 22px 24px;
  }

  .hero-inner h1 {
    font-size: 2.1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

.contact-logo {
  text-align: center;
  padding: 40px 0 10px;
}

.contact-logo img {
  max-width: 720px;
  width: 80%;
  height: auto;
}

/* Thin red dividers between sections */
.section + .section {
  border-top: 1px solid #DD0000;  /* your red */
}
/* Watermark background on all sections under hero */
.section:not(.hero) {
  position: relative;
  overflow: hidden;
}

.section:not(.hero)::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/mirrohaus-bg-watermark.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 480px auto; /* bump up/down for size */
  opacity: 0.04;               /* 0.04–0.08 is a good range */
  pointer-events: none;
  z-index: 0;
}

/* Make sure real content sits above the watermark */
.section-inner {
  position: relative;
  z-index: 1;
}
/* === MIRROHAUS ACCENT COLOR OVERRIDES === */
:root {
  --mh-red: #DD0000;
}

/* General text links */
main a,
.section a {
  color: var(--mh-red);
}

main a:hover,
.section a:hover {
  color: #ff4040;
}

/* Primary buttons (like Book Consultation) */
.btn-primary {
  background: var(--mh-red);
  border-color: var(--mh-red);
  color: #ffffff;
}

.btn-primary:hover {
  background: #ff4040;
  border-color: #ff4040;
  box-shadow: 0 0 24px rgba(221, 0, 0, 0.45);
}

/* Outline / ghost-style buttons */
.btn-outline,
.btn-ghost,
.hero-actions .btn-ghost {
  background: transparent;
  border-color: var(--mh-red);
  color: var(--mh-red);
}

.btn-outline:hover,
.btn-ghost:hover,
.hero-actions .btn-ghost:hover {
  background: rgba(221, 0, 0, 0.12);
  color: #ffffff;
  border-color: var(--mh-red);
}
/* Force white text on primary buttons */
.btn-primary,
.btn-primary:link,
.btn-primary:visited {
  color: #ffffff !important;
}
/* Header CTA pill – match main primary button */
.site-nav .header-cta {
  background: var(--mh-red);
  border-color: var(--mh-red);
  color: #ffffff !important;
  border-radius: 999px;
  padding: 0.7rem 2.1rem;
  box-shadow: 0 0 24px rgba(221, 0, 0, 0.45);
}

.site-nav .header-cta:hover {
  background: #ff4040;
  border-color: #ff4040;
  box-shadow: 0 0 32px rgba(221, 0, 0, 0.7);
}
/* Header nav links – clean hover, no pill bg */
.site-nav a {
  position: relative;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease-out;
}

/* underline animation */
.site-nav a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--mh-red);
  transition: width 0.2s ease-out;
}

/* Don't add underline decoration to the CTA pill */
.site-nav .header-cta::before {
  content: none;
}

.site-nav a:hover {
  color: var(--mh-red);
}

.site-nav a:hover::before {
  width: 100%;
}

/* Header CTA pill – give it room to breathe */
.nav-cta {
  padding: 0.6rem 2.1rem;   /* more vertical + horizontal space */
  margin: 0.25em;
  border-radius: 999px;     /* keep the pill shape nice and round */
  line-height: 1.2;
  font-weight: 600;
}

/* Contact card text styling */
.contact-card {
  color: #f5f5f7; /* soft white for default text */
}

/* Each line: Email / Phone / Web */
.contact-card .contact-line {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

/* The labels: "Email", "Phone", "Web" */
.contact-card .contact-line span {
  display: inline-block;
  min-width: 3.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: #8b8b8f; /* subtle grey label, not screaming red */
}

/* The actual values / links */
.contact-card .contact-line a {
  color: #ffffff;           /* white link text */
  text-decoration: none;
}

.contact-card .contact-line a:hover {
  color: #dd0000;           /* brand red only on hover */
}
