/* =========================================================================
   Homes for Heroes UK - hand-coded marketing site
   Solemn, dignified, premium. Navy base, Remembrance-poppy accent, muted gold.
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Core palette */
  --navy:        #13233F;   /* deep navy base */
  --navy-deep:   #0E1B2E;   /* darker navy (headers, footer) */
  --navy-ink:    #0A1521;   /* near-black navy (phone, footer bottom) */
  --crimson:     #2B1518;   /* deep oxblood for dark editorial bands */

  /* Poppy accent - Remembrance red, AA on navy and on white */
  --poppy:       #C5402F;
  --poppy-bright:#D24A38;
  --poppy-dark:  #9E2F22;

  /* Gold / bronze secondary */
  --gold:        #C2A04A;
  --gold-soft:   #D9B95C;
  --gold-deep:   #9A7C2E;   /* AA on cream */

  /* Paper / cream surfaces */
  --paper:       #F6F2EA;
  --paper-card:  #FBF8F2;
  --paper-line:  #E4DCCB;
  --cream:       #F1EDE2;
  --cream-soft:  #D7D2C6;

  /* Ink (text on light) */
  --ink:         #1B2738;
  --ink-soft:    #44505F;
  --ink-muted:   #7A8290;

  /* Type */
  --font-display: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(20px, 6vw, 80px);
  --radius: 16px;
  --radius-sm: 11px;
  --header-h: 76px;

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Shadows */
  --shadow-soft: 0 18px 44px rgba(13, 27, 46, .14);
  --shadow-card: 0 22px 60px rgba(0, 0, 0, .4);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); }

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

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--gold-soft);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.text-white  { color: #fff; }
.text-poppy  { color: var(--poppy-bright); }
.text-gold   { color: var(--gold-soft); }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  background: var(--poppy);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font: 600 14px/1 var(--font-body);
  text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 14px; }

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  --btn-pad-y: 15px;
  --btn-pad-x: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: 700 15px/1 var(--font-body);
  letter-spacing: .03em;
  text-decoration: none;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: 9px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), background .18s var(--ease),
              box-shadow .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease);
}
.btn-lg { --btn-pad-y: 18px; --btn-pad-x: 32px; }
.btn-block { width: 100%; }

.btn-poppy {
  background: var(--poppy);
  color: #fff;
  box-shadow: 0 8px 20px rgba(158, 47, 34, .28);
}
.btn-poppy:hover { background: var(--poppy-bright); transform: translateY(-2px); }
.btn-poppy:active { transform: translateY(0); }

.btn-ghost-gold {
  color: var(--gold-soft);
  border-color: rgba(217, 185, 92, .55);
  background: transparent;
}
.btn-ghost-gold:hover {
  background: rgba(217, 185, 92, .12);
  border-color: var(--gold-soft);
  transform: translateY(-2px);
}

/* =========================================================================
   Header / nav
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 27, 46, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(217, 185, 92, .26);
  transition: background .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(13, 23, 40, .97);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .3);
}

.nav-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--poppy);
  text-decoration: none;
  padding: 12px 0;
}
.brand-mark { display: inline-flex; line-height: 0; }
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font: 700 19px/1 var(--font-display);
  color: #fff;
  letter-spacing: .01em;
  white-space: nowrap;
}
.brand-sub {
  font: 700 10px/1 var(--font-body);
  letter-spacing: .3em;
  color: var(--gold-soft);
  margin-top: 5px;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 30px);
}
.nav-link {
  font: 600 13px/1 var(--font-body);
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(234, 230, 218, .72);
  text-decoration: none;
  padding: 6px 0;
  transition: color .2s var(--ease);
}
.nav-link:hover { color: #fff; }
.nav-link.is-active { color: var(--gold-soft); }
.nav-cta { padding: 13px 22px; letter-spacing: .1em; text-transform: uppercase; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(217, 185, 92, .35);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle-bar {
  width: 22px; height: 2px;
  background: var(--cream);
  margin-inline: auto;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================================
   Eyebrows / section heads
   ========================================================================= */
.eyebrow {
  font: 600 14px/1 var(--font-body);
  letter-spacing: .24em;
  text-transform: uppercase;
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow-rule { width: 44px; height: 2px; background: var(--gold); flex: 0 0 auto; }
.eyebrow-gold      { color: var(--gold-soft); }
.eyebrow-gold-soft { color: var(--gold-soft); }
.eyebrow-deep      { color: var(--gold-deep); }
.eyebrow-center    { justify-content: center; }

.section-head { max-width: 820px; margin-bottom: clamp(40px, 5vw, 60px); }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head-center .eyebrow { justify-content: center; }

.section-title {
  font: 800 clamp(32px, 4.6vw, 54px)/1.06 var(--font-display);
  letter-spacing: -.015em;
  color: var(--ink);
  margin: 0 0 18px;
}
.section-subtitle {
  font: 800 clamp(26px, 3.2vw, 38px)/1.1 var(--font-display);
  letter-spacing: -.01em;
  margin: 18px 0 14px;
}
.section-lede {
  font: 400 clamp(17px, 1.9vw, 21px)/1.6 var(--font-body);
  color: var(--ink-soft);
  margin: 0;
}
.section-lede-soft { color: var(--cream-soft); }

.prose {
  font: 400 clamp(17px, 1.9vw, 20px)/1.62 var(--font-body);
  color: var(--ink-soft);
  margin: 0 0 18px;
  max-width: 56ch;
}
.prose b { color: var(--ink); font-weight: 700; }

/* =========================================================================
   Section frames
   ========================================================================= */
.section { padding-block: clamp(64px, 9vw, 118px); }
.section-paper   { background: var(--paper); }
.section-white   { background: #fff; }
.section-crimson { background: var(--navy-deep); color: var(--cream); }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: clamp(40px, 5vw, 72px);
}
.split-center { align-items: center; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  color: var(--cream);
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(197, 64, 47, .14), transparent 55%),
    linear-gradient(102deg, var(--navy-deep) 0%, var(--navy) 52%, #1a3050 100%);
  overflow: hidden;
}
.hero::after {
  /* subtle topographic texture for distinctiveness */
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(217, 185, 92, .05) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .5;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
  padding-block: clamp(72px, 11vw, 140px);
}
.hero-title {
  font: 900 clamp(46px, 7.4vw, 88px)/.96 var(--font-display);
  color: #fff;
  margin: 0;
  letter-spacing: -.02em;
}
.hero-lede {
  font: 400 clamp(17px, 2vw, 21px)/1.65 var(--font-body);
  color: var(--cream-soft);
  margin: 30px 0 0;
  max-width: 560px;
}
.hero-stat {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
  padding: 20px 24px;
  background: rgba(217, 185, 92, .1);
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  max-width: 560px;
}
.hero-stat-num {
  font: 800 clamp(36px, 5vw, 48px)/1 var(--font-display);
  color: var(--gold-soft);
  white-space: nowrap;
}
.hero-stat-label {
  font: 400 15px/1.5 var(--font-body);
  color: var(--cream-soft);
}
.hero-actions { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }

/* Commitments card */
.commitments {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(217, 185, 92, .3);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 40px);
  backdrop-filter: blur(4px);
}
.commitments-title { font: 800 clamp(22px, 2.4vw, 26px)/1.1 var(--font-display); color: #fff; margin: 0; }
.commitments-kicker {
  font: 700 12px/1 var(--font-body);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 10px 0 0;
}
.commitments-list { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.commitments-list li { display: flex; gap: 15px; align-items: flex-start; font: 400 16px/1.45 var(--font-body); color: var(--cream); }
.commitments-list b { color: #fff; font-weight: 700; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--poppy); flex: 0 0 auto; margin-top: 8px; }

/* =========================================================================
   STAT BAND
   ========================================================================= */
.stat-band {
  background:
    linear-gradient(180deg, var(--navy-deep), #15263f);
  color: #fff;
  padding-block: clamp(48px, 6vw, 72px);
  border-top: 1px solid rgba(217, 185, 92, .15);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(28px, 3vw, 12px);
}
.stat { padding-inline: clamp(16px, 2vw, 34px); border-left: 1px solid rgba(217, 185, 92, .32); }
.stat-num { font: 800 clamp(34px, 4vw, 46px)/1 var(--font-display); color: var(--gold-soft); }
.stat-label {
  font: 600 13px/1.3 var(--font-body);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(234, 230, 218, .8);
  margin-top: 14px;
}
.stat-source {
  max-width: var(--maxw);
  margin: clamp(28px, 3vw, 36px) auto 0;
  padding-inline: var(--gutter);
  font: 400 12.5px/1.5 var(--font-body);
  color: rgba(215, 210, 198, .6);
}

/* =========================================================================
   PILLAR CARDS (mission)
   ========================================================================= */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 26px;
}
.pillar-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: clamp(32px, 3vw, 46px) clamp(28px, 2.6vw, 38px);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: var(--gold); }
.pillar-numeral {
  position: absolute; top: 18px; right: 26px;
  font: 800 80px/1 var(--font-display);
  color: rgba(28, 66, 110, .08);
}
.pillar-icon {
  width: 54px; height: 54px;
  border-radius: 12px;
  background: var(--poppy);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
}
.pillar-icon svg, .feature-icon svg, .app-card-icon svg,
.journey-icon svg, .net-zero-icon svg, .check svg,
.app-feature-icon svg, .form-thanks-icon svg { width: 28px; height: 28px; }
.pillar-name { font: 700 clamp(22px, 2.2vw, 26px)/1.1 var(--font-display); margin: 26px 0 6px; color: var(--ink); }
.pillar-tag { font: 700 12px/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); margin: 0; }
.pillar-text { font: 400 16px/1.55 var(--font-body); color: var(--ink-soft); margin: 18px 0 0; }

/* =========================================================================
   VETERAN JOURNEY
   ========================================================================= */
.journey-grid {
  list-style: none;
  margin: clamp(46px, 5vw, 64px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  counter-reset: none;
}
.journey-step {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(217, 185, 92, .28);
  border-radius: var(--radius);
  padding: 34px 28px;
}
.journey-step-gold { background: var(--gold); color: var(--crimson); border: none; }
.journey-step-head { display: flex; align-items: center; justify-content: space-between; }
.journey-num { font: 700 13px/1 var(--font-body); letter-spacing: .14em; color: var(--gold-soft); }
.journey-num-dark { color: var(--navy-deep); }
.journey-icon { color: var(--gold-soft); display: inline-flex; }
.journey-icon svg { width: 30px; height: 30px; }
.journey-icon-dark { color: var(--navy-deep); }
.journey-step-title { font: 700 clamp(20px, 2.2vw, 24px)/1.15 var(--font-display); color: #fff; margin: 24px 0 10px; }
.journey-step-title em { font-style: italic; font-weight: 700; }
.journey-step-title-dark { color: var(--navy-deep); }
.journey-step-text { font: 400 15px/1.5 var(--font-body); color: var(--cream-soft); margin: 0; }
.journey-step-text-dark { color: rgba(19, 35, 63, .82); font-weight: 500; }

/* =========================================================================
   HOUSING - edge cards + price compare
   ========================================================================= */
.split-copy .btn { margin-top: 12px; }
.housing-cards { display: flex; flex-direction: column; gap: 18px; }
.edge-card {
  background: #fff;
  border-left: 4px solid var(--poppy);
  border-radius: 12px;
  padding: 26px 30px;
  box-shadow: 0 6px 18px rgba(13, 27, 46, .05);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.edge-card:hover { transform: translateX(4px); box-shadow: var(--shadow-soft); }
.edge-card-tag { font: 700 11px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); margin: 0; }
.edge-card-title { font: 700 22px/1.15 var(--font-display); color: var(--ink); margin: 10px 0 8px; }
.edge-card-text { font: 400 16px/1.5 var(--font-body); color: var(--ink-soft); margin: 0; }

/* Communities banner */
.banner-figure {
  margin: clamp(40px, 5vw, 56px) 0 0;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.banner-caption {
  position: absolute; inset: auto 0 0 0;
  padding: clamp(48px, 6vw, 72px) clamp(28px, 4vw, 44px) clamp(24px, 3vw, 32px);
  background: linear-gradient(transparent, rgba(13, 27, 46, .85));
  color: #fff;
}
.banner-caption-title { display: block; font: 700 clamp(20px, 2.4vw, 30px)/1.15 var(--font-display); }
.banner-caption-text { display: block; font: 400 clamp(15px, 1.7vw, 18px)/1.45 var(--font-body); color: var(--cream-soft); margin-top: 8px; max-width: 640px; }

/* Opportunity (crimson) */
.opportunity { background: var(--navy-deep); color: var(--cream); margin-top: clamp(48px, 6vw, 72px); padding-block: clamp(52px, 7vw, 90px); }
.opp-lede { max-width: 540px; }
.opp-lede b { color: #fff; }
.price-compare { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 34px; }
.price-box { flex: 1 1 200px; border: 1px solid rgba(217, 185, 92, .3); border-radius: 14px; padding: 24px 28px; }
.price-box-feature { background: rgba(217, 185, 92, .12); border-color: var(--gold); }
.price-label { font: 600 13px/1 var(--font-body); color: var(--cream-soft); margin: 0 0 12px; }
.price-label-gold { color: var(--gold-soft); }
.price-num { font: 800 clamp(30px, 3.4vw, 40px)/1 var(--font-display); margin: 0; color: var(--cream-soft); }
.price-strike { text-decoration: line-through; text-decoration-color: rgba(191, 198, 208, .6); }
.opp-photo { position: relative; }
.img-pin {
  position: absolute; left: 22px; bottom: 22px;
  background: var(--poppy); color: #fff;
  padding: 12px 20px;
  border-left: 4px solid var(--gold);
  font: 600 14px/1.2 var(--font-body);
}
.opp-thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: clamp(24px, 3vw, 30px); }
.opp-thumb { margin: 0; position: relative; border-radius: 14px; overflow: hidden; border: 1px solid rgba(217, 185, 92, .25); }
.opp-thumb-cap {
  position: absolute; left: 18px; bottom: 16px;
  font: 600 14px/1.2 var(--font-body); color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .6);
}

/* =========================================================================
   SUSTAINABILITY
   ========================================================================= */
.sustainability-photo, .training-photo { position: relative; }
.net-zero-chip {
  display: inline-flex; align-items: center; gap: 14px;
  background: #fff;
  border-left: 4px solid var(--poppy);
  border-radius: 12px;
  padding: 18px 24px;
  margin-top: 12px;
}
.net-zero-icon { color: var(--poppy); display: inline-flex; }
.net-zero-icon svg { width: 30px; height: 30px; }
.net-zero-title { display: block; font: 700 18px/1.1 var(--font-display); color: var(--ink); }
.net-zero-sub { display: block; font: 400 14px/1.3 var(--font-body); color: var(--ink-soft); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
  margin-top: clamp(40px, 5vw, 58px);
}
.feature-card {
  background: #fff;
  border-top: 3px solid var(--gold);
  border-radius: 14px;
  padding: 30px 26px;
  box-shadow: 0 6px 18px rgba(13, 27, 46, .04);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.feature-icon { color: var(--poppy); display: inline-flex; }
.feature-icon svg { width: 32px; height: 32px; }
.feature-title { font: 700 18px/1.2 var(--font-display); color: var(--ink); margin: 18px 0 8px; }
.feature-text { font: 400 15px/1.5 var(--font-body); color: var(--ink-soft); margin: 0; }

/* In development (crimson) */
.in-development { background: var(--navy-deep); color: var(--cream); margin-top: clamp(48px, 6vw, 72px); padding-block: clamp(52px, 7vw, 90px); }
.dev-photo { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(217, 185, 92, .3); box-shadow: var(--shadow-card); }
.img-caption-overlay {
  position: absolute; left: 20px; bottom: 18px;
  font: 600 14px/1.2 var(--font-body); color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .6);
}
.pill {
  display: inline-block;
  font: 700 11px/1 var(--font-body);
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
}
.pill-gold { color: var(--navy-deep); background: var(--gold-soft); }
.spec-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.spec { border: 1px solid rgba(217, 185, 92, .3); border-radius: 12px; padding: 16px 22px; }
.spec-num { display: block; font: 800 clamp(22px, 2.6vw, 30px)/1 var(--font-display); color: #fff; }
.spec-label { display: block; font: 400 13px/1.2 var(--font-body); color: var(--cream-soft); margin-top: 6px; }

/* =========================================================================
   TRAINING
   ========================================================================= */
.section-training {
  background:
    linear-gradient(rgba(244, 241, 234, .955), rgba(244, 241, 234, .975)),
    repeating-linear-gradient(135deg, rgba(28, 66, 110, .05) 0 2px, transparent 2px 14px),
    var(--paper);
}
.check-list { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-direction: column; gap: 15px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; font: 400 16px/1.45 var(--font-body); color: var(--ink); }
.check { color: var(--poppy); flex: 0 0 auto; margin-top: 2px; display: inline-flex; }
.check svg { width: 22px; height: 22px; }
.retrain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-top: clamp(40px, 5vw, 58px);
}
.retrain-card {
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: 14px;
  padding: 30px 26px;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.retrain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: var(--gold); }

/* =========================================================================
   APP (Pillar III)
   ========================================================================= */
.app-feature-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 24px; }
.app-feature { display: flex; gap: 18px; align-items: flex-start; }
.app-feature-icon {
  width: 46px; height: 46px; flex: 0 0 auto;
  border-radius: 11px;
  border: 1px solid rgba(217, 185, 92, .4);
  background: rgba(217, 185, 92, .12);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold-soft);
}
.app-feature-icon svg { width: 24px; height: 24px; }
.app-feature-title { display: block; font: 600 17px/1.2 var(--font-body); color: #fff; }
.app-feature-text { display: block; font: 400 15px/1.45 var(--font-body); color: var(--cream-soft); margin-top: 4px; }
.ai-note {
  margin: 26px 0 0;
  font: 400 13.5px/1.5 var(--font-body);
  color: var(--cream-soft);
  padding-left: 14px;
  border-left: 2px solid rgba(217, 185, 92, .45);
}
.app-actions { display: flex; gap: 16px; margin-top: 26px; flex-wrap: wrap; }

/* Phone mockup */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  width: 300px; max-width: 100%;
  background: var(--navy-ink);
  border: 10px solid var(--navy-ink);
  border-radius: 42px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.phone-screen { background: var(--navy-deep); padding: 26px 22px 30px; border-radius: 32px; }
.phone-statusbar { display: flex; justify-content: space-between; align-items: center; font: 600 12px/1 var(--font-body); color: var(--cream-soft); }
.phone-status-icons { display: inline-flex; gap: 6px; align-items: center; }
.ico-sm { width: 16px; height: 16px; }
.ico-xs { width: 13px; height: 13px; }
.phone-date { font: 600 13px/1 var(--font-body); letter-spacing: .04em; color: var(--gold-soft); margin: 26px 0 0; }
.phone-greeting { font: 800 24px/1.15 var(--font-display); color: #fff; margin: 6px 0 0; }
.phone-streak {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px;
  background: rgba(217, 185, 92, .16);
  color: var(--gold-soft);
  font: 600 12px/1 var(--font-body);
  padding: 7px 12px;
  border-radius: 999px;
}
.phone-card { background: #fff; border-radius: var(--radius); padding: 20px; margin-top: 22px; }
.phone-card-q { font: 600 15px/1.3 var(--font-body); color: var(--ink); margin: 0; }
.phone-card-q2 { font: 500 13px/1.4 var(--font-body); color: var(--ink-muted); margin: 16px 0 0; }
.phone-chips { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.phone-chip { font: 600 12px/1 var(--font-body); color: var(--ink-soft); background: #F2EFE8; padding: 9px 13px; border-radius: 999px; }
.phone-chip-on { color: #fff; background: var(--poppy); }
.phone-yesno { display: flex; gap: 8px; margin-top: 10px; }
.phone-toggle { flex: 1; text-align: center; font: 600 13px/1 var(--font-body); color: var(--ink); border: 1px solid var(--paper-line); padding: 11px; border-radius: 9px; }
.phone-help {
  display: flex; align-items: center; gap: 10px;
  background: var(--poppy); color: #fff;
  border-radius: 14px; padding: 14px 16px; margin-top: 14px;
  font: 700 14px/1.1 var(--font-body);
}

/* One app, every kind of support */
.rule-head { display: flex; align-items: center; gap: 18px; margin: clamp(56px, 7vw, 90px) 0 34px; }
.rule-head-label { font: 600 13px/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); white-space: nowrap; }
.rule-line { flex: 1; height: 1px; background: rgba(217, 185, 92, .3); }
.app-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); gap: 18px; }
.app-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(217, 185, 92, .28);
  border-radius: 14px;
  padding: 28px 26px;
  transition: transform .22s var(--ease), background .22s var(--ease);
}
.app-card:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .08); }
.app-card-icon { color: var(--gold-soft); display: inline-flex; }
.app-card-title { font: 600 17px/1.25 var(--font-body); color: #fff; margin: 16px 0 7px; }
.app-card-text { font: 400 14px/1.5 var(--font-body); color: var(--cream-soft); margin: 0; }

/* =========================================================================
   PARTNERS
   ========================================================================= */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: clamp(40px, 5vw, 56px);
}
.feature-card .feature-icon svg { width: 30px; height: 30px; }
.partners-grid .feature-title { font-size: 19px; }
.logo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.logo-slot {
  height: 74px;
  border: 1px dashed var(--paper-line);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font: 600 12px/1 var(--font-body);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* =========================================================================
   GET INVOLVED
   ========================================================================= */
.section-involved {
  background:
    radial-gradient(110% 80% at 50% 0%, rgba(197, 64, 47, .16), transparent 60%),
    linear-gradient(180deg, rgba(15, 27, 46, .96), rgba(13, 23, 40, .98)),
    var(--navy-deep);
  color: var(--cream);
}
.involved-inner { max-width: 980px; text-align: center; }
.involved-lede { margin-inline: auto; max-width: 620px; margin-bottom: 38px; }
.involved-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  text-align: left;
}
.involved-card {
  display: flex; flex-direction: column; gap: 7px;
  padding: 26px 26px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(217, 185, 92, .3);
  border-radius: 14px;
  text-decoration: none;
  transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.involved-card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .09); border-color: var(--gold-soft); }
.involved-card-poppy { background: var(--poppy); border-color: var(--poppy); }
.involved-card-poppy:hover { background: var(--poppy-bright); border-color: var(--poppy-bright); }
.involved-card-title { font: 700 19px/1.2 var(--font-display); color: #fff; }
.involved-card-text { font: 400 14.5px/1.5 var(--font-body); color: var(--cream-soft); }
.involved-card-poppy .involved-card-text { color: rgba(255, 255, 255, .9); }

/* =========================================================================
   CONTACT
   ========================================================================= */
.contact-grid { align-items: start; }
.contact-email { font: 700 clamp(18px, 2vw, 22px)/1.3 var(--font-display); color: var(--poppy); text-decoration: none; }
.contact-email:hover { text-decoration: underline; }
.contact-domains { font: 600 14px/1.7 var(--font-body); color: var(--gold-deep); margin: 14px 0 0; letter-spacing: .02em; }

.contact-form {
  background: var(--paper-card);
  border: 1px solid var(--paper-line);
  border-radius: 18px;
  padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font: 600 13px/1 var(--font-body); letter-spacing: .04em; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font: 400 16px/1.4 var(--font-body);
  color: var(--ink);
  padding: 14px 16px;
  border: 1px solid var(--paper-line);
  border-radius: 9px;
  background: #fff;
  width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--poppy);
  box-shadow: 0 0 0 3px rgba(197, 64, 47, .15);
}
.form-note { font: 400 12.5px/1.5 var(--font-body); color: var(--ink-muted); margin: 0; }

.form-thanks {
  background: var(--navy-deep); color: var(--cream);
  border-radius: 18px;
  padding: clamp(32px, 3vw, 44px);
  text-align: center;
}
.form-thanks-icon { color: var(--gold-soft); display: inline-flex; }
.form-thanks-icon svg { width: 46px; height: 46px; }
.form-thanks-title { font: 700 clamp(22px, 2.4vw, 28px)/1.2 var(--font-display); color: #fff; margin: 16px 0 0; }
.form-thanks-text { font: 400 16px/1.5 var(--font-body); color: var(--cream-soft); margin: 10px 0 0; }

/* =========================================================================
   IMAGE SLOTS (placeholders for bespoke photography)
   ========================================================================= */
.img-slot {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 25% 15%, rgba(217, 185, 92, .14), transparent 55%),
    linear-gradient(150deg, #1c3556 0%, var(--navy) 45%, var(--navy-deep) 100%);
  display: flex; align-items: center; justify-content: center;
}
.img-slot::before {
  /* faint poppy emblem watermark */
  content: "";
  position: absolute;
  width: 46%; aspect-ratio: 1;
  background:
    radial-gradient(circle at 50% 40%, rgba(217, 185, 92, .14), transparent 60%);
  filter: blur(6px);
}
.img-slot::after {
  /* fine grain texture */
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 18px 18px;
}
.img-slot-tag {
  position: relative;
  z-index: 1;
  font: 600 12px/1.3 var(--font-body);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(217, 185, 92, .85);
  text-align: center;
  padding: 8px 16px;
  border: 1px solid rgba(217, 185, 92, .35);
  border-radius: 999px;
  background: rgba(10, 21, 33, .4);
}
.img-slot-wide    { aspect-ratio: 16 / 7; }
.img-slot-tall    { aspect-ratio: 4 / 5; min-height: 280px; }
.img-slot-mid     { aspect-ratio: 4 / 3; }
.img-slot-thumb   { aspect-ratio: 5 / 4; border-radius: 14px; }
.img-slot-contact { aspect-ratio: 16 / 9; margin-top: 30px; box-shadow: 0 16px 38px rgba(13, 27, 46, .14); }

/* When a real photo is dropped into a slot, make the <img> cover the slot box
   (the base .img-slot is a flex placeholder for the gradient + label). */
img.img-slot { display: block; width: 100%; object-fit: cover; background: var(--navy); }

/* =========================================================================
   HONOUR BAR + FOOTER
   ========================================================================= */
.honour-bar {
  background: var(--gold);
  color: var(--navy-deep);
  text-align: center;
  padding: 18px 20px;
  font: 700 clamp(14px, 1.6vw, 17px)/1.4 var(--font-body);
  letter-spacing: .08em;
}
.site-footer { background: var(--navy-ink); color: var(--cream-soft); }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  padding-block: clamp(48px, 6vw, 72px);
}
.footer-logo { display: flex; align-items: center; gap: 13px; color: var(--poppy); }
.footer-brand-name { font: 700 19px/1 var(--font-display); color: #fff; }
.footer-tagline { font: 400 15px/1.6 var(--font-body); color: var(--cream-soft); margin: 18px 0 0; max-width: 320px; }
.footer-domains { font: 600 14px/1.8 var(--font-body); color: var(--gold-soft); margin: 18px 0 0; }
.footer-reg { font: 400 13px/1.5 var(--font-body); color: var(--ink-muted); margin: 6px 0 0; }
.footer-col { display: flex; flex-direction: column; gap: 13px; }
.footer-col-title { font: 700 12px/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); margin: 0 0 5px; }
.footer-col a { font: 500 15px/1.3 var(--font-body); color: var(--cream-soft); text-decoration: none; transition: color .2s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-email { font: 600 16px/1.4 var(--font-body); color: #fff !important; }
.footer-note { font: 400 14px/1.6 var(--font-body); color: var(--cream-soft); margin: 8px 0 0; }
.footer-bottom { border-top: 1px solid rgba(217, 185, 92, .15); }
.footer-bottom-inner {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding-block: 22px;
  font: 400 13px/1.4 var(--font-body);
  color: var(--ink-muted);
}
.footer-strapline { color: var(--gold-soft); font-weight: 600; }

/* =========================================================================
   Scroll reveal (JS toggles .is-visible)
   ========================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-deep);
    border-bottom: 1px solid rgba(217, 185, 92, .26);
    padding: 8px var(--gutter) 24px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .25s var(--ease), opacity .25s var(--ease), visibility .25s;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-link { padding: 16px 0; border-bottom: 1px solid rgba(217, 185, 92, .12); }
  .nav-cta { margin-top: 16px; text-align: center; }
}

@media (max-width: 560px) {
  .hero-stat { flex-direction: column; align-items: flex-start; gap: 10px; }
  .stat { border-left: none; padding-left: 0; }
  .price-compare { flex-direction: column; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
}

/* =========================================================================
   Reduced motion
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* =========================================================================
   Print
   ========================================================================= */
@media print {
  .site-header, .nav-toggle, .skip-link, .phone-wrap { display: none; }
  body { color: #000; background: #fff; }
  .section { padding-block: 24px; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
