/* Harrow & Pike Solicitors — client demo
   Warm terracotta and cream trades palette.
   Kept visually apart from the Quorum Digital marketing site (ink / stone / gold, sans UI). */

:root {
  --clay: #9a4632;
  --clay-deep: #5c2a1e;
  --clay-mid: #7a3b2a;
  --clay-soft: #c46b4e;
  --cream: #fbf3e8;
  --cream-dark: #f0e2d2;
  --paper: #fffaf4;
  --ink: #3c261e;
  --muted: #6e564b;
  --white: #fffaf4;
  --line: rgba(92, 42, 30, 0.16);
  --shadow: 0 10px 26px rgba(92, 42, 30, 0.08);
  --radius: 3px;
  --max: 1080px;
  --font: "Palatino Linotype", Palatino, "Book Antiqua", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --serif: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  /* Legacy names still used below — mapped to the trades palette */
  --navy: #5c2a1e;
  --navy-deep: #3f1c14;
  --navy-soft: #7a3b2a;
  --gold: #7a3b2a;
  --gold-soft: #f0c7b4;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--gold);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.25;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
}

h2 {
  font-size: clamp(1.45rem, 3vw, 1.95rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.lead {
  font-size: 1.15rem;
  color: var(--navy-soft);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* Header */
.site-header {
  background: var(--paper);
  border-bottom: 3px solid var(--clay);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--navy);
}

.logo:hover {
  color: var(--navy);
}

.logo-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.logo-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--clay);
  font-weight: 700;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  cursor: pointer;
  color: var(--navy);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 1rem 1.25rem;
  box-shadow: var(--shadow);
}

.site-nav.open {
  display: block;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.site-nav a {
  display: block;
  padding: 0.65rem 0.75rem;
  text-decoration: none;
  color: var(--navy);
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.98rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--cream);
  color: var(--navy);
}

.site-nav a[aria-current="page"] {
  box-shadow: inset 3px 0 0 var(--gold);
}

@media (min-width: 820px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: block;
    position: static;
    border: none;
    box-shadow: none;
    padding: 0;
    background: transparent;
  }

  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
  }

  .site-nav a {
    padding: 0.45rem 0.7rem;
  }

  .site-nav a[aria-current="page"] {
    box-shadow: none;
    background: transparent;
    color: var(--gold);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: 2px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
  font-family: var(--serif);
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-soft);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-gold {
  background: var(--clay);
  color: #fffaf4;
}

.btn-gold:hover {
  background: var(--clay-deep);
  color: #fffaf4;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Hero — cream shopfront, terracotta fascia (not a dark studio banner) */
.hero {
  position: relative;
  padding: 2.35rem 0 2.6rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 80% at 100% 0%, rgba(196, 107, 78, 0.16), transparent 55%),
    linear-gradient(180deg, #f6e4d4 0%, var(--cream) 72%);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--clay-deep) 0 16px,
    var(--clay) 16px 28px,
    var(--clay-soft) 28px 34px,
    #f0d8c8 34px 40px
  );
}

.hero::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -70px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(154, 70, 50, 0.16), transparent 68%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--clay-deep);
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.hero h1 {
  color: var(--clay-deep);
  max-width: 16ch;
}

.hero p {
  color: var(--muted);
  max-width: 40ch;
  font-size: 1.12rem;
}

.hero .btn-secondary {
  color: var(--clay-deep);
  border-color: var(--clay);
  background: transparent;
}

.hero .btn-secondary:hover {
  background: var(--clay-deep);
  color: #fffaf4;
}

/* Sections */
.section {
  padding: 3.25rem 0;
}

.section-alt {
  background: var(--white);
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2rem;
}

.section-head .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Cards */
.card-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .card-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .card-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--clay);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: none;
}

.section-alt .card {
  background: var(--cream);
  box-shadow: none;
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--gold);
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p:last-child {
  margin-bottom: 0;
}

/* Trust strip */
.trust-strip {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

@media (min-width: 700px) {
  .trust-strip {
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
  }
}

.trust-item strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.trust-item span {
  font-size: 0.92rem;
  color: var(--muted);
}

/* Page banner — warm fascia, not a navy bar */
.page-banner {
  position: relative;
  padding: 2.15rem 0 1.9rem;
  background:
    linear-gradient(180deg, #f6e4d4 0%, var(--cream) 100%);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.page-banner::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--clay-deep) 0 16px,
    var(--clay) 16px 28px,
    var(--clay-soft) 28px 34px,
    #f0d8c8 34px 40px
  );
}

.page-banner h1 {
  color: var(--clay-deep);
}

.page-banner p {
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 0;
}

/* Split layout */
.split {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }

  .split.reverse {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .split.reverse > :first-child {
    order: 2;
  }
}

/* Accent panel / SVG decorative */
.accent-panel {
  background: linear-gradient(165deg, #7a3b2a 0%, #5c2a1e 100%);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  color: #fffaf4;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--clay-soft);
}

.accent-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(240, 199, 180, 0.28), transparent 46%),
    radial-gradient(circle at 10% 90%, rgba(255, 250, 244, 0.06), transparent 40%);
}

.accent-panel > * {
  position: relative;
  z-index: 1;
}

.accent-panel h3 {
  color: var(--white);
}

.accent-panel p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
}

/* List */
.clean-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.clean-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.6rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

/* Areas */
.area-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 560px) {
  .area-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 860px) {
  .area-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.area-pill {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem 1.15rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.area-pill svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

/* Contact form */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-group .hint {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 400;
  margin-top: 0.2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  font: inherit;
  background: var(--cream);
  color: var(--ink);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  background: var(--white);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

.contact-aside {
  background: var(--cream-dark);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.contact-aside h3 {
  margin-bottom: 1rem;
}

.contact-meta {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-meta li {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-meta strong {
  display: block;
  color: var(--navy);
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}

.contact-meta a {
  text-decoration: none;
  font-weight: 500;
}

/* CTA band */
.cta-band {
  background: var(--navy-deep);
  color: var(--white);
  padding: 2.75rem 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
}

.cta-band p {
  color: rgba(255, 250, 244, 0.86);
  max-width: 36rem;
  margin-inline: auto;
}

.cta-band .btn-secondary {
  color: #fffaf4;
  border-color: rgba(255, 250, 244, 0.75);
}

.cta-band .btn-secondary:hover {
  background: #fffaf4;
  color: var(--clay-deep);
}

/* Quorum pitch page accents */
.quorum-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(154, 70, 50, 0.12);
  color: var(--clay-deep);
  border: 1px solid rgba(154, 70, 50, 0.35);
  padding: 0.35rem 0.75rem;
  border-radius: 2px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 2.5rem 0 1.5rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
  margin-bottom: 2rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.site-footer h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.site-footer p,
.site-footer li {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fffaf4;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.footer-credit {
  color: var(--gold-soft);
  font-weight: 600;
}

.footer-credit a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.footer-logo {
  width: 2.35rem;
  height: 2.35rem;
  display: block;
  flex-shrink: 0;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
}

.skip-link:focus {
  outline: 3px solid var(--gold-soft);
  outline-offset: 2px;
}

.trust-strip {
  border-top: 4px solid var(--clay);
  border-radius: var(--radius);
  background: var(--paper);
}

.area-pill {
  border-radius: 2px;
  background: var(--paper);
}

.nav-toggle {
  border-radius: 2px;
  background: var(--cream);
}

.demo-flag {
  display: inline;
  margin-left: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--clay-deep);
  white-space: nowrap;
}

@media (max-width: 480px) {
  .hero {
    padding: 1.05rem 0 1.2rem;
  }

  .hero h1 {
    max-width: none;
    font-size: 1.55rem;
    margin-bottom: 0.45rem;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 0.45rem;
  }

  .hero .btn-row {
    margin-top: 0.7rem;
  }
}

/* Utility */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
