/* =========================================================
   Eye Edit — editorial design system
   Type: Fraunces (display) + Instrument Sans (text/UI)
   Light/dark via prefers-color-scheme only. No frameworks.
   ========================================================= */

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

:root {
  color-scheme: light dark;

  /* Brand — periwinkle, from the original rgb(118,136,230) */
  --accent: #5a6ee0;
  --accent-strong: #4456c7;
  --accent-soft: rgba(110, 131, 230, 0.14);
  --on-accent: #ffffff;

  --bg: #f7f7fc;
  --bg-raise: #ffffff;
  --surface: #ededf7;
  --border: rgba(28, 28, 64, 0.10);
  --border-strong: rgba(28, 28, 64, 0.24);
  --text: #16162e;
  --muted: #585c7e;

  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Instrument Sans', system-ui, -apple-system, sans-serif;

  --max-width: 1160px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #8fa0f4;
    --accent-strong: #aab8ff;
    --accent-soft: rgba(143, 160, 244, 0.10);
    --on-accent: #0d0d15;

    --bg: #0d0d15;
    --bg-raise: #13131e;
    --surface: #171724;
    --border: rgba(235, 236, 252, 0.10);
    --border-strong: rgba(235, 236, 252, 0.26);
    --text: #ebecfa;
    --muted: #9aa0c4;
  }
}

/* ---------- Base ---------- */

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Faint film grain across the whole page */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

/* In-copy links */
main :is(p, li) a:not(.btn) {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.25s;
}

main :is(p, li) a:not(.btn):hover {
  text-decoration-color: var(--accent);
}

/* ---------- Scroll reveal (gated on .js so content never hides without JS) ---------- */

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Nav ---------- */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1.1rem var(--gutter);
  background: transparent;
  -webkit-backdrop-filter: blur(0);
  backdrop-filter: blur(0);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s,
    backdrop-filter 0.3s, -webkit-backdrop-filter 0.3s;
}

nav.scrolled {
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.nav-logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  background: #f3f3fe;
  border-radius: 50%;
  padding: 4px;
  box-shadow: 0 0 0 1px var(--border);
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 520;
  letter-spacing: -0.01em;
  color: var(--text);
}

.nav-logo-text em {
  font-style: italic;
  font-weight: 460;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin-left: auto;
}

.nav-links a {
  position: relative;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.25s;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}

.btn::after {
  content: '\2192';
  font-family: var(--font-body);
  transition: transform 0.3s var(--ease);
}

.btn:hover::after {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn-primary:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--accent) 60%, transparent);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.button-row {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Centre the row only when it sits directly in a section (e.g. homepage services) */
.section > .button-row {
  justify-content: center;
}

/* ---------- Layout primitives ---------- */

.section {
  padding: clamp(4rem, 9vw, 6.5rem) var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.section-divider {
  border: 0;
  height: 1px;
  background: var(--border);
  width: min(calc(100% - 2 * var(--gutter)), var(--max-width));
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(3rem, 6vw, 5.5rem);
  align-items: center;
}

.split-title {
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 1.75rem;
}

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

.hero {
  position: relative;
  padding: clamp(5.5rem, 13vh, 9rem) var(--gutter) clamp(4rem, 9vh, 6.5rem);
  text-align: center;
}

/* Bloom extends up behind the transparent navbar */
.hero::before {
  content: '';
  position: absolute;
  inset: -5rem 0 0;
  z-index: -1;
  background: radial-gradient(58% 52% at 50% 0%, var(--accent-soft), transparent 72%);
}

.hero h1 {
  font-size: clamp(3rem, 8.5vw, 6.4rem);
  font-weight: 470;
  letter-spacing: -0.025em;
  line-height: 1.03;
  max-width: 1000px;
  margin: 0 auto 1.9rem;
}

.hero h1 em {
  font-style: italic;
  font-weight: 420;
  color: var(--accent);
}

.hero p {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 2.75rem;
  text-wrap: pretty;
}

@media (prefers-reduced-motion: no-preference) {
  .hero > * {
    animation: rise 0.9s var(--ease) both;
  }

  .hero > :nth-child(2) { animation-delay: 0.12s; }
  .hero > :nth-child(3) { animation-delay: 0.24s; }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  position: relative;
  padding: clamp(4rem, 9vw, 6rem) var(--gutter) clamp(2.75rem, 6vw, 4rem);
  max-width: var(--max-width);
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: -5rem 0 0;
  z-index: -1;
  background: radial-gradient(45% 90% at 18% 0%, var(--accent-soft), transparent 70%);
}

.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 470;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
}

.page-hero p {
  color: var(--muted);
  max-width: 560px;
  font-size: 1rem;
  text-wrap: pretty;
}

/* ---------- Portrait ---------- */

.portrait {
  position: relative;
  width: min(360px, 100%);
  margin: 0 auto;
}

.portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 11rem 11rem var(--radius) var(--radius);
  background: var(--surface);
}

/* Offset hairline frame echoing the arch */
.portrait::before {
  content: '';
  position: absolute;
  inset: -14px;
  border: 1px solid var(--border-strong);
  border-radius: 12rem 12rem calc(var(--radius) + 14px) calc(var(--radius) + 14px);
  pointer-events: none;
}

.about-text p + p {
  margin-top: 1.1rem;
}

.about-text p {
  color: var(--muted);
}

/* ---------- Rates table ---------- */

.table-wrap {
  overflow-x: auto;
}

.rates-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  font-variant-numeric: tabular-nums;
}

.rates-table th {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  padding: 0 1.25rem 1rem 0;
  border-bottom: 1px solid var(--border-strong);
}

.rates-table td {
  padding: 1.75rem 1.25rem 1.75rem 0;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  text-align: left;
}

.rates-table td:first-child {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
  width: 28%;
  padding-right: 2.5rem;
}

.rates-table ul {
  list-style: none;
}

.rates-table li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.rates-table li::before {
  content: '\2013';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.rates-table td:last-child {
  font-weight: 500;
  color: var(--text);
  min-width: 160px;
}

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

/* ---------- Service detail cards (services page) ---------- */

.services-row-right {
  counter-reset: svc;
}

.service-detail {
  padding: 2.75rem 0;
  border-bottom: 1px solid var(--border);
}

.service-detail:first-child {
  padding-top: 0;
}

.service-detail:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.service-detail h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.service-detail h3::before {
  counter-increment: svc;
  content: counter(svc, decimal-leading-zero);
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.service-detail p {
  color: var(--muted);
  font-size: 0.97rem;
  margin-bottom: 0.85rem;
  text-wrap: pretty;
}

.service-detail .best-for {
  font-size: 0.88rem;
  color: var(--accent);
  margin-bottom: 0;
}

/* ---------- Process steps ---------- */

.process-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 4rem;
  margin-top: 2.5rem;
}

.process-step {
  display: block;
  border-top: 1px solid var(--border-strong);
  padding-top: 1.5rem;
}

.step-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 460;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 1rem;
}

.step-number::before {
  content: '0';
}

.process-step p {
  font-size: 0.95rem;
  color: var(--muted);
  text-wrap: pretty;
}

.process-step strong {
  color: var(--text);
}

/* ---------- Philosophy / about ---------- */

.philosophy-text p + p {
  margin-top: 1.1rem;
}

.philosophy-text p {
  color: var(--muted);
  font-size: 0.98rem;
}

.philosophy-text p:first-of-type {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 430;
  line-height: 1.5;
  color: var(--text);
  letter-spacing: -0.01em;
}

/* ---------- Testimonials (currently hidden in markup) ---------- */

.testimonials-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(4rem, 9vw, 6rem) var(--gutter);
}

.testimonials-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.testimonials-heading {
  text-align: center;
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  margin-bottom: 3rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-raise);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.testimonial-card blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 420;
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.testimonial-card cite {
  font-size: 0.8rem;
  font-style: normal;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- CTA panel ---------- */

.cta-strip {
  max-width: var(--max-width);
  margin: clamp(3.5rem, 8vw, 5.5rem) auto;
  width: min(calc(100% - 2 * var(--gutter)), var(--max-width));
  padding: clamp(3rem, 7vw, 5rem) var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.9rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 2);
  background:
    radial-gradient(120% 180% at 12% -30%, var(--accent-soft), transparent 50%),
    radial-gradient(120% 180% at 92% 130%, var(--accent-soft), transparent 50%),
    var(--bg-raise);
}

.cta-strip h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 470;
  letter-spacing: -0.02em;
}

.cta-strip p {
  color: var(--muted);
  margin-top: 0.75rem;
  max-width: 540px;
  font-size: 0.98rem;
  text-wrap: pretty;
}

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

.faq-section {
  padding: clamp(4rem, 9vw, 6.5rem) var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
}

.faq-section .split-title {
  margin-bottom: 2.5rem;
}

.faq-group + .faq-group {
  margin-top: 3.5rem;
}

.faq-group-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-of-type {
  border-top: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 480;
  letter-spacing: -0.005em;
  text-align: left;
  padding: 1.35rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  transition: color 0.25s;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  font-family: var(--font-body);
  color: var(--muted);
  transition: transform 0.35s var(--ease), color 0.25s;
  flex-shrink: 0;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-item.open .faq-question {
  color: var(--accent);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  visibility: hidden;
  transition: grid-template-rows 0.45s var(--ease), visibility 0.45s;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
  visibility: visible;
}

.faq-answer-inner {
  overflow: hidden;
  min-height: 0;
  padding-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 720px;
  text-wrap: pretty;
}

@media (prefers-reduced-motion: reduce) {
  .faq-answer {
    transition: none;
  }
}

.faq-more {
  margin-top: 2.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

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

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(3rem, 7vw, 6rem);
  padding: clamp(4rem, 9vw, 6.5rem) var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: start;
}

.contact-info {
  position: sticky;
  top: 6.5rem;
}

.contact-info h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 470;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
}

.contact-info > p {
  color: var(--muted);
  margin-bottom: 2.75rem;
  font-size: 0.98rem;
}

.contact-details {
  list-style: none;
}

.contact-details li {
  font-size: 0.95rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding: 1.1rem 0;
}

.contact-details li strong {
  color: var(--text);
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.9rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.9rem;
}

label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

input,
textarea,
select {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-strong);
  border-radius: 0;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.6rem 0;
  transition: border-color 0.25s;
  width: 100%;
  appearance: none;
}

input::placeholder,
textarea::placeholder {
  color: color-mix(in srgb, var(--muted) 65%, transparent);
}

select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238a8fae' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.25rem center;
  padding-right: 1.75rem;
  cursor: pointer;
}

/* Native dropdown list can take its background from the OS theme,
   so set both sides explicitly to keep options readable in both modes. */
option {
  background-color: var(--bg-raise);
  color: var(--text);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-bottom-color: var(--accent);
  box-shadow: 0 1px 0 var(--accent);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}

.form-status {
  font-size: 0.9rem;
  padding: 0.85rem 1.1rem;
  border-radius: 8px;
  display: none;
}

.form-status.success {
  display: block;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}

.form-status.error {
  display: block;
  background: rgba(255, 80, 80, 0.08);
  color: #e05555;
  border: 1px solid rgba(255, 80, 80, 0.25);
}

/* ---------- Services page rows ---------- */

.services-page-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--border);
}

.services-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
}

.services-row + .services-row {
  border-top: 1px solid var(--border);
}

.services-row-left {
  padding: clamp(3.5rem, 7vw, 5.5rem) 3rem clamp(3.5rem, 7vw, 5.5rem) 0;
  border-right: 1px solid var(--border);
}

.services-row-sticky {
  position: sticky;
  top: 6.5rem;
}

.services-row-sticky p:not(.section-label) {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.9rem;
  text-wrap: pretty;
}

.services-row-sticky .btn {
  margin-top: 1.75rem;
}

.services-row-right {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(3.5rem, 7vw, 5.5rem) 3rem;
}

.services-row-right .rates-table {
  margin-top: 0;
}

/* ---------- Good to know ---------- */

.info-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.75rem 4rem;
  margin-top: 2.5rem;
}

.info-list > div {
  border-top: 1px solid var(--border-strong);
  padding-top: 1.4rem;
}

.info-list h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.info-list p {
  font-size: 0.95rem;
  color: var(--muted);
  text-wrap: pretty;
}

.info-list p + p {
  margin-top: 0.75rem;
}

/* ---------- About page ---------- */

.about-page-split {
  display: grid;
  grid-template-columns: 1fr 1.9fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: start;
}

.about-sidebar {
  position: sticky;
  top: 6.5rem;
  padding-top: 1rem;
}

.about-body h1 {
  font-size: clamp(2.3rem, 4.5vw, 3.4rem);
  font-weight: 470;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 1.75rem;
}

.about-body h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 3.5rem 0 1.1rem;
}

.about-body p {
  color: var(--muted);
}

.about-body p + p {
  margin-top: 1.1rem;
}

.audience-list {
  list-style: none;
  margin-top: 1.75rem;
}

.audience-list li {
  border-top: 1px solid var(--border);
  padding: 1.4rem 0;
  color: var(--muted);
  font-size: 0.97rem;
}

.audience-list li:last-child {
  border-bottom: 1px solid var(--border);
}

.audience-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 0.3rem;
}

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

footer {
  border-top: 1px solid var(--border);
  padding: 3rem var(--gutter);
  margin-top: clamp(2rem, 5vw, 4rem);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--muted);
  transition: color 0.25s;
}

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

/* ---------- Hamburger nav ---------- */

.nav-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  margin-left: auto;
  flex-direction: column;
  gap: 5px;
}

.nav-menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: opacity 0.2s, transform 0.25s var(--ease);
}

.nav-menu-toggle.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-menu-toggle.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

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

@media (max-width: 760px) {
  .nav-menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 0.75rem;
    z-index: 99;
  }

  .nav-links.open {
    display: flex;
    animation: menu-in 0.3s var(--ease);
  }

  /* Match the dropdown so the bar doesn't sit transparent above an opaque menu */
  nav:has(.nav-links.open) {
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }

  @keyframes menu-in {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
  }

  .nav-links li a {
    display: block;
    padding: 0.85rem var(--gutter);
    font-size: 1.05rem;
  }

  .nav-links a::after {
    display: none;
  }
}

@media (max-width: 900px) {
  .split,
  .contact-layout,
  .about-page-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-info,
  .about-sidebar,
  .services-row-sticky {
    position: static;
  }

  .about-sidebar {
    padding-top: 0;
  }

  .split .portrait {
    order: -1;
  }

  .portrait {
    width: min(320px, 100%);
  }

  .services-row {
    grid-template-columns: 1fr;
  }

  .services-row-left {
    border-right: none;
    padding: 3rem 0 0;
  }

  .services-row-right {
    padding: 2rem 0 3rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .info-list {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  .hero-break {
    display: block;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 1.9rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
  }

  /* Rate tables stack as cards on phones instead of scrolling sideways */
  .rates-table thead {
    display: none;
  }

  .rates-table tr {
    display: block;
    padding: 1.4rem 0;
    border-bottom: 1px solid var(--border);
  }

  .rates-table td {
    display: block;
    border-bottom: none;
    padding: 0.3rem 0;
    width: auto;
  }

  .rates-table td:first-child {
    width: auto;
    padding-right: 0;
    margin-bottom: 0.4rem;
  }

  .rates-table td:last-child {
    min-width: 0;
  }
}
