/* ==========================================================================
   Brick & Rise Property — brickandriseproperty.co.uk
   Palette, type and voice per BrickRise Brand Guidelines v1.0
   ========================================================================== */

:root {
  --terracotta: #8B3A2A;
  --terracotta-light: #A84832;
  --terracotta-pale: #F5EBE8;
  --copper: #B87333;
  --copper-light: #D4956A;
  --copper-bright: #C9854A;
  --cream: #F5F0E8;
  --cream-dark: #EDE5D8;
  --white: #FDFAF6;
  --ink: #1C1410;
  --ink-mid: #3D2B1F;
  --ink-soft: #6B5548;
  --rule: #C9854A;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-mid);
  background: var(--cream);
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { color: var(--ink-soft); }

a { color: var(--terracotta); }

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

em { font-style: italic; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  max-width: 780px;
}

section {
  padding: 72px 0;
}

/* --- Eyebrow labels (Jost — Labels style) ------------------------------- */

.eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 14px;
}

.section-head {
  max-width: 680px;
  margin-bottom: 44px;
}

.section-head h2 { margin-bottom: 14px; }

.section-head.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* --- Buttons ------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 3px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  border: 1px solid var(--terracotta);
}

.btn-primary:hover {
  background: var(--terracotta-light);
  border-color: var(--terracotta-light);
}

.btn-outline {
  background: transparent;
  color: var(--terracotta);
  border: 1px solid var(--terracotta);
}

.btn-outline:hover {
  background: var(--terracotta-pale);
}

.btn-light {
  background: var(--cream);
  color: var(--terracotta);
  border: 1px solid var(--cream);
}

.btn-light:hover {
  background: var(--white);
}

.btn-outline-light {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--copper-light);
}

.btn-outline-light:hover {
  background: rgba(212, 149, 106, 0.15);
}

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

/* --- Header --------------------------------------------------------------- */

.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--cream-dark);
  padding: 18px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
}

.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
}

.brand-name span {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--copper);
}

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

.site-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: var(--ink-mid);
}

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

.site-nav a.active {
  color: var(--terracotta);
  border-bottom: 2px solid var(--copper-bright);
  padding-bottom: 2px;
}

.site-nav .btn {
  padding: 10px 22px;
  color: var(--white);
}

/* --- Hero ------------------------------------------------------------------ */

.hero {
  background: var(--ink);
  padding: 96px 0;
}

.hero .eyebrow { color: var(--copper-light); }

.hero h1 {
  color: var(--cream);
  max-width: 760px;
  margin-bottom: 22px;
}

.hero h1 em {
  color: var(--copper-light);
}

.hero p.lede {
  color: var(--cream-dark);
  font-size: 1.15rem;
  max-width: 640px;
  margin-bottom: 36px;
}

.hero-cream {
  background: var(--cream);
  border-bottom: 1px solid var(--cream-dark);
}

.hero-cream h1 { color: var(--ink); }
.hero-cream h1 em { color: var(--terracotta); }
.hero-cream .eyebrow { color: var(--copper); }
.hero-cream p.lede { color: var(--ink-soft); }

/* --- Cards ------------------------------------------------------------------ */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-top: 3px solid var(--copper-bright);
  border-radius: 4px;
  padding: 36px 32px;
}

.card h3 {
  color: var(--terracotta);
  margin-bottom: 12px;
}

.card p { margin-bottom: 18px; }

.card .card-link {
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
}

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

/* --- Steps ------------------------------------------------------------------ */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  counter-reset: step;
}

.step {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 4px;
  padding: 36px 32px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--copper-bright);
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--terracotta);
  margin-bottom: 18px;
}

.step h3 { margin-bottom: 10px; }

/* --- Comparison (two ways) --------------------------------------------------- */

.compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.compare-col {
  border-radius: 4px;
  padding: 36px 32px;
}

.compare-col h3 { margin-bottom: 18px; }

.compare-col ul {
  list-style: none;
}

.compare-col li {
  padding: 10px 0 10px 30px;
  position: relative;
  color: var(--ink-soft);
  border-bottom: 1px solid rgba(107, 85, 72, 0.12);
}

.compare-col li:last-child { border-bottom: none; }

.compare-col li::before {
  position: absolute;
  left: 0;
  font-weight: 600;
}

.compare-old {
  background: var(--cream-dark);
}

.compare-old h3 { color: var(--ink-soft); }

.compare-old li::before {
  content: '✕';
  color: var(--ink-soft);
}

.compare-new {
  background: var(--terracotta-pale);
  border: 1px solid var(--copper-light);
}

.compare-new h3 { color: var(--terracotta); }

.compare-new li::before {
  content: '✓';
  color: var(--terracotta);
}

/* --- Chips (areas) ------------------------------------------------------------ */

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip {
  background: var(--white);
  border: 1px solid var(--copper-light);
  border-radius: 999px;
  padding: 8px 22px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-mid);
}

/* --- Values strip --------------------------------------------------------------- */

.dark-section {
  background: var(--ink);
}

.dark-section .eyebrow { color: var(--copper-light); }
.dark-section h2 { color: var(--cream); }
.dark-section p { color: var(--cream-dark); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 20px;
}

.value {
  border-top: 2px solid var(--copper-bright);
  padding-top: 18px;
}

.value .value-letter {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--copper-light);
  display: block;
  margin-bottom: 6px;
}

.value h3 {
  color: var(--cream);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.value p {
  font-size: 0.95rem;
  color: var(--cream-dark);
}

/* --- Stats / market snapshots --------------------------------------------------- */

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}

.stat {
  border-left: 3px solid var(--copper-bright);
  padding-left: 20px;
}

.stat .stat-figure {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--terracotta);
  display: block;
}

.stat p { font-size: 0.95rem; }

.snapshot-note {
  margin-top: 28px;
  font-size: 0.95rem;
  font-style: italic;
}

/* --- FAQ ---------------------------------------------------------------------------- */

.faq details {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 4px;
  margin-bottom: 12px;
  padding: 0 28px;
}

.faq summary {
  font-family: 'Jost', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 36px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--copper);
}

.faq details[open] summary::after { content: '–'; }

.faq details p {
  padding-bottom: 22px;
}

/* --- Audience before/after --------------------------------------------------------------- */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.audience {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 4px;
  padding: 32px;
}

.audience h3 {
  color: var(--terracotta);
  margin-bottom: 16px;
}

.audience .ba-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
  display: block;
  margin-top: 14px;
  margin-bottom: 4px;
}

.audience p { font-size: 0.98rem; }

/* --- Pull quote ------------------------------------------------------------------------------ */

.pull-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
  border-left: 3px solid var(--copper-bright);
  padding-left: 28px;
  max-width: 720px;
  margin: 40px auto;
}

/* --- CTA band ----------------------------------------------------------------------------------- */

.cta-band {
  background: var(--terracotta);
  padding: 72px 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--cream);
  margin-bottom: 14px;
}

.cta-band p {
  color: var(--terracotta-pale);
  max-width: 560px;
  margin: 0 auto 32px;
}

.cta-band .btn-row { justify-content: center; }

/* --- Notice / disclaimer ---------------------------------------------------------------------------- */

.notice {
  background: var(--cream-dark);
  border-left: 3px solid var(--copper);
  border-radius: 0 4px 4px 0;
  padding: 24px 28px;
  font-size: 0.92rem;
}

.notice p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.notice p + p { margin-top: 10px; }

/* --- Contact cards ------------------------------------------------------------------------------------- */

.contact-card {
  text-align: center;
  padding: 44px 32px;
}

.contact-card .contact-icon {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 14px;
}

.contact-card .btn { margin-top: 8px; }

/* --- Legal pages ------------------------------------------------------------------------------------------ */

.legal h1 { margin-bottom: 8px; }

.legal .updated {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 36px;
}

.legal h2 {
  font-size: 1.4rem;
  margin: 36px 0 12px;
}

.legal p + p { margin-top: 14px; }

.legal ul {
  margin: 14px 0 14px 22px;
  color: var(--ink-soft);
}

.legal li { margin-bottom: 10px; }

/* --- Company details block ----------------------------------------------------------------------------------- */

.company-details {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 4px;
  padding: 32px;
  font-size: 0.98rem;
}

.company-details h3 { margin-bottom: 10px; }

.compliance-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.badge {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  background: var(--terracotta-pale);
  border: 1px solid var(--copper-light);
  border-radius: 3px;
  padding: 6px 14px;
}

/* --- Footer --------------------------------------------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  padding: 56px 0 28px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(212, 149, 106, 0.25);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img { width: 44px; height: 44px; }

.footer-brand .brand-name { color: var(--cream); }

.footer-tagline {
  color: var(--cream-dark);
  font-size: 0.95rem;
  max-width: 420px;
  margin-top: 14px;
}

.footer-links {
  display: flex;
  gap: 26px;
}

.footer-links a {
  color: var(--copper-light);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.footer-links a:hover { color: var(--cream); }

.footer-legal {
  padding-top: 24px;
  text-align: center;
}

.footer-legal p {
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.55);
}

/* --- Responsive ---------------------------------------------------------------------------------------------------- */

@media (max-width: 720px) {
  section { padding: 56px 0; }

  .hero { padding: 64px 0; }

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

  .site-nav { gap: 18px; }

  .footer-top { flex-direction: column; }
}
