/* We Do Blinds — gold-halo theme
   Dark teal / navy painterly ground, cream type, muted gold.
   Static site for Afrihost public_html. */

:root {
  --navy: #0a171c;
  --navy-2: #0e242b;
  --teal: #14343c;
  --teal-mid: #1c4a54;
  --ink: #1a1612;
  --cream: #f3e6c8;
  --cream-dim: #d8c9a8;
  --gold: #c9a44a;
  --gold-2: #e0c275;
  --gold-deep: #8c6a28;
  --line: rgba(201, 164, 74, 0.35);
  --line-strong: rgba(201, 164, 74, 0.7);
  --danger: #e8b4a0;
  --radius: 4px;
  --header-h: 4.5rem;
  --max: 72rem;
  --serif: "Cormorant Garamond", "Liberation Serif", Georgia, serif;
  --sans: "Source Sans 3", "Liberation Sans", "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--cream);
  background-color: var(--navy);
  background-image:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(201,164,74,0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 10%, rgba(28,74,84,0.5), transparent 50%),
    url("../images/texture-paint.jpg");
  background-size: auto, auto, 42rem;
  background-attachment: fixed;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--cream); }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gold);
  color: var(--ink);
  padding: 0.5rem 1rem;
  z-index: 100;
  font-weight: 600;
}
.skip:focus { top: 0.75rem; }

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(10, 23, 28, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--cream);
  text-decoration: none;
  min-width: 0;
}
.brand:hover { color: var(--gold-2); }
.brand-mark {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--gold-deep), 0 0 0 3px var(--gold);
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--cream);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  height: 2px;
  background: var(--cream);
  content: "";
}
.nav-toggle span { top: 50%; transform: translateY(-50%); }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
}
.site-nav a {
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover,
.site-nav a.is-active {
  color: var(--cream);
  border-bottom-color: var(--gold);
}
.header-call {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--gold);
  color: var(--ink) !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  white-space: nowrap;
  border: none;
}
.header-call:hover { background: var(--gold-2); color: var(--ink) !important; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--sans);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn-gold {
  background: var(--gold);
  color: var(--ink);
}
.btn-gold:hover { background: var(--gold-2); color: var(--ink); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: min(88vh, 52rem);
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
}
.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 18% center;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,23,28,0.72) 0%, rgba(10,23,28,0.28) 48%, rgba(10,23,28,0.15) 100%),
    linear-gradient(180deg, rgba(10,23,28,0.15) 40%, rgba(10,23,28,0.88) 100%);
}
.hero-copy {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 7rem 0 3.5rem;
  max-width: 38rem;
  margin-left: max(1.25rem, calc((100% - var(--max)) / 2));
}
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 0.6rem;
}
.hero h1,
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 0.95;
  margin: 0 0 0.75rem;
  color: var(--cream);
  letter-spacing: -0.01em;
}
.lede {
  font-size: 1.15rem;
  color: var(--cream-dim);
  max-width: 34rem;
  margin: 0 0 1.5rem;
}
.gold-rule {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.4rem 0 1.1rem;
  width: min(16rem, 70%);
  color: var(--gold);
}
.gold-rule::before,
.gold-rule::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.gold-rule i {
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  display: block;
  flex-shrink: 0;
}

/* Interior page hero (shorter) */
.page-hero {
  position: relative;
  min-height: 22rem;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
}
.page-hero .hero-art { object-position: center; }
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,23,28,0.2) 0%, rgba(10,23,28,0.82) 100%);
}
.page-hero .hero-copy { padding: 6rem 0 2.4rem; }

/* ----- Sections ----- */
.section { padding: 4.5rem 0; }
.section-tight { padding: 3rem 0; }
.section-head { max-width: 40rem; margin-bottom: 2.4rem; }
.section-head h2,
.prose h2,
.prose h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--cream);
}
.section-head h2, .prose h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: 0.3rem 0 0.7rem; }
.prose h3 { font-size: 1.45rem; margin: 1.6rem 0 0.45rem; }
.muted { color: var(--cream-dim); }
.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

/* Halo cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card {
  background: linear-gradient(180deg, rgba(20,52,60,0.55), rgba(10,23,28,0.7));
  border: 1px solid var(--line);
  padding: 1.1rem 1.1rem 1.4rem;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  right: -4rem;
  top: -5rem;
  background: radial-gradient(circle, rgba(201,164,74,0.22), transparent 65%);
  pointer-events: none;
}
.card h2, .card h3 {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 600;
  margin: 0.85rem 0 0.4rem;
}
.card p { margin: 0 0 1rem; color: var(--cream-dim); }
.card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border: 1px solid var(--line);
}
.text-link {
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.1rem;
}
.text-link:hover { color: var(--cream); border-color: var(--cream); }

/* Product type chips */
.types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}
.type {
  border: 1px solid var(--line);
  padding: 1.05rem 1.1rem 1.15rem;
  background: rgba(14, 36, 43, 0.55);
  position: relative;
}
.type::after {
  content: "";
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 3px rgba(201,164,74,0.12);
  opacity: 0.7;
}
.type h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  margin: 0 0 0.3rem;
  font-weight: 600;
}
.type p { margin: 0; color: var(--cream-dim); font-size: 0.95rem; }

/* Portrait halo — team-theme frame for the real job photo */
.halo-portrait {
  display: grid;
  place-items: center;
  padding: 2rem 0;
}
.halo-ring {
  width: min(26rem, 86vw);
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 0.7rem;
  background:
    conic-gradient(from 210deg, #6b4f1a, #e8d5a3, #c9a44a, #8c6a28, #f3e6c8, #6b4f1a);
  box-shadow:
    0 0 0 1px rgba(201,164,74,0.4),
    0 0 80px rgba(201,164,74,0.18),
    0 20px 50px rgba(0,0,0,0.45);
}
.halo-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 7px solid var(--navy);
}
.caption {
  text-align: center;
  margin: 1.1rem 0 0;
  color: var(--cream-dim);
  font-size: 0.95rem;
}
.caption strong { color: var(--cream); font-weight: 600; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}
.split img.frame {
  width: 100%;
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 0 8px rgba(201,164,74,0.08), 0 24px 50px rgba(0,0,0,0.35);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}
.step {
  border-top: 1px solid var(--gold);
  padding-top: 1.1rem;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.35rem;
}
.step h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin: 0 0 0.35rem;
}
.step p { margin: 0; color: var(--cream-dim); }

.cta-band {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: radial-gradient(circle at 85% 50%, rgba(201,164,74,0.18), transparent 42%),
              rgba(14, 36, 43, 0.75);
  padding: 3.5rem 0;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  border: 10px solid rgba(201,164,74,0.15);
  right: -4rem;
  top: -6rem;
  pointer-events: none;
}
.cta-band h2 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); margin: 0.2rem 0 0.6rem; }
.contact-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 0.5rem;
}
.contact-pills a { color: var(--cream); font-weight: 600; text-decoration: none; }
.contact-pills a:hover { color: var(--gold-2); }

/* Forms */
.form {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}
.field { display: grid; gap: 0.3rem; }
.field label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--cream);
  background: rgba(10,23,28,0.7);
  border: 1px solid var(--line);
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius);
  width: 100%;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  outline: none;
}
.form-note { font-size: 0.9rem; color: var(--cream-dim); margin: 0; }
.form-status[hidden] { display: none; }
.form-status { color: var(--gold-2); }

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.contact-list li { margin: 0 0 0.85rem; }
.contact-list span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.contact-list a, .contact-list b {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--cream);
  text-decoration: none;
}
.contact-list a:hover { color: var(--gold-2); }

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}
@media (min-width: 720px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}
.gallery figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--navy-2);
  aspect-ratio: 4 / 5;
}
.gallery figure.wide {
  aspect-ratio: 16 / 9;
}
@media (min-width: 720px) {
  .gallery figure.wide {
    grid-column: span 2;
    aspect-ratio: 21 / 9;
  }
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 0;
  border: 0;
  transition: transform 0.45s var(--ease);
}
.gallery a:hover img,
.gallery figure:hover img {
  transform: scale(1.03);
}
.gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.55rem 0.7rem;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--cream);
  background: linear-gradient(transparent, rgba(10,23,28,0.85));
}
.logo-hero {
  width: min(28rem, 100%);
  margin: 0 auto 2rem;
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--gold-deep), 0 0 0 8px rgba(201,164,74,0.25), 0 0 70px rgba(201,164,74,0.2);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.4rem 0 1.6rem;
  background: rgba(8, 16, 20, 0.7);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.site-footer h2 {
  font-family: var(--serif);
  font-size: 1.15rem;
  margin: 0 0 0.7rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 0.35rem; }
.site-footer a { color: var(--cream-dim); text-decoration: none; }
.site-footer a:hover { color: var(--cream); }
.legal {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  font-size: 0.88rem;
  color: var(--cream-dim);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.prose { max-width: 40rem; }
.prose p { color: var(--cream-dim); }
.prose strong { color: var(--cream); font-weight: 600; }

.notice {
  border: 1px solid var(--line);
  padding: 1rem 1.1rem;
  color: var(--cream-dim);
  background: rgba(14,36,43,0.4);
}

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 4rem 1rem; }
.notfound h1 { font-family: var(--serif); font-size: clamp(3rem, 8vw, 6rem); margin: 0; color: var(--gold); }

@media (max-width: 900px) {
  .cards, .types, .steps, .split, .footer-grid, .gallery {
    grid-template-columns: 1fr;
  }
  .types { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(10, 23, 28, 0.97);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { margin-left: auto; }
  .header-call { display: inline-flex; font-size: 0.8rem; padding: 0.48rem 0.8rem; }
  .hero { min-height: 78vh; }
  .hero-art { object-position: 8% center; }
  .hero-copy { max-width: none; margin-left: auto; padding-top: 8rem; }
}

@media (max-width: 560px) {
  .types { grid-template-columns: 1fr; }
  .brand-text { display: none; }
  .header-call { font-size: 0.78rem; padding: 0.45rem 0.7rem; }
  .wrap { width: min(var(--max), calc(100% - 1.5rem)); }
}
