/* A&L Trusted Companions
   Premium, warm, accessible. Designed for older readers on mobile.
*/

:root {
  --navy: #0B1F3A;
  --navy-soft: #1A3158;
  --sage: #6B7A55;
  --sage-light: #E8EBE0;
  --cream: #FAF8F4;
  --cream-warm: #F3EFE6;
  --ink: #1F242C;
  --ink-soft: #4A525C;
  --line: #DDD7CB;
  --white: #FFFFFF;
  --rose: #B65C5C;
  --maxw: 1140px;
  --gutter: clamp(20px, 4vw, 40px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  font-feature-settings: "ss01" on, "cv11" on;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 720px) {
  body { font-size: 19px; }
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.18;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-top: 1.2em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); margin-top: 1em; }

p { margin: 0 0 1em; }

a {
  color: var(--navy);
  text-decoration-color: var(--sage);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
a:hover { color: var(--sage); }

strong { font-weight: 600; color: var(--navy); }

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

/* --- Skip link (a11y) --- */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 12px 18px;
  z-index: 1000;
}
.skip:focus { left: 8px; top: 8px; }

/* --- Header --- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
  gap: 16px;
}
.brand {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: 4px;
}
.nav {
  display: none;
}
@media (min-width: 920px) {
  .nav { display: flex; gap: 28px; align-items: center; }
}
.nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 16px;
}
.nav a:hover { color: var(--navy); }
.nav a.is-current { color: var(--navy); border-bottom: 2px solid var(--sage); padding-bottom: 4px; }

.header-cta {
  display: none;
  background: var(--navy);
  color: var(--white);
  padding: 11px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
@media (min-width: 720px) {
  .header-cta { display: inline-block; }
}
.header-cta:hover { background: var(--sage); color: var(--white); }

/* Mobile menu toggle */
.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 14px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}
@media (min-width: 920px) { .menu-btn { display: none; } }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--cream);
  padding: 16px var(--gutter);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 12px 0;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:last-child { border-bottom: 0; }

/* --- Hero --- */
.hero {
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
@media (min-width: 880px) {
  .hero-grid { grid-template-columns: 1.2fr 1fr; }
}
.hero h1 { margin-top: 0; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 18px;
}
.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 32em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid transparent;
  transition: all .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover { background: var(--sage); border-color: var(--sage); color: var(--white); }
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: var(--white); }

.hero-img {
  aspect-ratio: 4/3;
  background: var(--cream-warm);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(11, 31, 58, .25);
}
.hero-img::after {
  content: 'Photo of Alison & Louise to be added';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 14px;
  font-style: italic;
}
.hero-img.has-image::after { display: none; }
.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* --- Section base --- */
.section {
  padding: clamp(56px, 9vw, 104px) 0;
}
.section-alt { background: var(--cream); }
.section-deep { background: var(--navy); color: var(--cream); }
.section-deep h1, .section-deep h2, .section-deep h3 { color: var(--white); }
.section-deep a { color: var(--cream); }
.section-deep .lede { color: var(--cream-warm); }

.section-head {
  max-width: 38em;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head .eyebrow { display: block; margin-bottom: 14px; }

.section-head.left { text-align: left; margin-left: 0; }

/* --- Three-up promise grid --- */
.promise-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 720px) {
  .promise-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}
.promise-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px;
}
.section-alt .promise-card { background: var(--white); }
.promise-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sage-light);
  color: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
}
.promise-card h3 { margin-top: 0; }

/* --- Two-column bio --- */
.bio {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}
.bio:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 760px) {
  .bio { grid-template-columns: 280px 1fr; gap: 48px; }
}
.bio.flip { direction: rtl; }
.bio.flip > * { direction: ltr; }
.bio-photo {
  aspect-ratio: 4/5;
  background: var(--cream-warm);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}
.bio-photo::after {
  content: attr(data-name);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 13px;
  font-style: italic;
  text-align: center;
  padding: 16px;
}
.bio-photo.has-image::after { display: none; }
.bio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bio h2 { margin-top: 0; }
.bio-meta {
  display: inline-block;
  background: var(--sage-light);
  color: var(--sage);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.bio blockquote {
  border-left: 3px solid var(--sage);
  margin: 24px 0 16px;
  padding: 8px 0 8px 20px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--navy);
}
.bio blockquote cite {
  display: block;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 12px;
}

/* --- Service list --- */
.svc-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (min-width: 600px) {
  .svc-list { grid-template-columns: repeat(2, 1fr); gap: 16px 32px; }
}
.svc-list li {
  position: relative;
  padding-left: 32px;
  line-height: 1.5;
}
.svc-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--sage-light) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='%236B7A55' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3 8.5l3.2 3.2L13 5'/></svg>") center/14px no-repeat;
}

.svc-not li::before {
  background: #F4DDDD url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='%23B65C5C' stroke-width='2.4' stroke-linecap='round' d='M4 4l8 8M12 4l-8 8'/></svg>") center/12px no-repeat;
}

/* --- Pricing card --- */
.price-band {
  background: var(--cream);
  border-radius: 8px;
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
@media (min-width: 760px) {
  .price-band { grid-template-columns: 2fr 1fr; gap: 48px; }
}
.price-band h2 { margin-top: 0; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.price-table th,
.price-table td {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: baseline;
  font-size: 17px;
  line-height: 1.4;
}
.price-table th {
  text-align: left;
  font-weight: 500;
  color: var(--ink);
  padding-right: 16px;
  width: 65%;
}
.price-table td {
  text-align: right;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  width: 35%;
}
.price-table tr:last-child th,
.price-table tr:last-child td { border-bottom: 0; }

/* --- Areas --- */
.areas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 760px) {
  .areas-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
}
.area-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 36px;
}
.area-card h3 { margin-top: 0; }
.area-card .who {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--navy);
  margin: 0 0 6px;
}
.area-card .where {
  color: var(--sage);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 22px;
}
.area-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 24px;
}
.area-card li {
  padding: 6px 0;
  break-inside: avoid;
}

/* --- Contact form --- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 700px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
}
.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 15px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 17px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  transition: border-color .15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11,31,58,.1);
}
.field textarea { min-height: 140px; resize: vertical; }
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink-soft);
}
.consent input { margin-top: 4px; }
.form-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.form-submit button {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

/* --- Contact details panel --- */
.contact-panel {
  background: var(--navy);
  color: var(--cream);
  border-radius: 8px;
  padding: 36px;
}
.contact-panel h2 { color: var(--white); }
.contact-panel .detail {
  margin-bottom: 24px;
}
.contact-panel .detail-label {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: 4px;
}
.contact-panel .detail-value {
  font-size: 19px;
  font-weight: 500;
}
.contact-panel a { color: var(--cream); text-decoration-color: rgba(255,255,255,.5); }
.contact-panel a:hover { color: var(--white); }

/* --- Final CTA band --- */
.final-cta {
  text-align: center;
  background: var(--cream);
  padding: clamp(56px, 8vw, 96px) 0;
}
.final-cta h2 { margin-top: 0; }
.final-cta .lede { margin: 0 auto 28px; }

/* --- Footer --- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.78);
  padding: 56px 0 40px;
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.site-footer h4 {
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.site-footer a { color: rgba(255,255,255,.78); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer .brand-line {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--white);
  margin: 0 0 14px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 4px 0; }
.legal {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 24px;
  font-size: 13.5px;
  color: rgba(255,255,255,.6);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* --- Page intro (subpages) --- */
.page-intro {
  padding: clamp(64px, 8vw, 100px) 0 clamp(40px, 5vw, 60px);
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--line);
}
.page-intro h1 { max-width: 18ch; }
.page-intro .lede { max-width: 36em; }

/* --- Step list --- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 32px;
}
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}
.step {
  border-top: 3px solid var(--sage);
  padding-top: 18px;
}
.step .num {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--sage);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.step h3 { margin: 6px 0 8px; font-size: 1.2rem; }
.step p { color: var(--ink-soft); font-size: 16px; margin: 0; }

/* --- Boundary block --- */
.boundary-block {
  background: var(--cream);
  border-left: 4px solid var(--rose);
  padding: 32px clamp(24px, 3vw, 36px);
  border-radius: 0 6px 6px 0;
  margin-top: 24px;
}
.boundary-block h3 { margin-top: 0; color: var(--rose); }

/* --- Generic prose constraint --- */
.prose {
  max-width: 38em;
}
.prose.wide { max-width: 48em; }

/* --- Honeypot (hidden anti-spam) --- */
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
