/* ==========================================================================
   Beth Otero — Client Services
   Design: warm editorial / "paper and pine"
   Palette: cream paper, deep pine ink, terracotta accent
   ========================================================================== */

:root {
  --paper:       #f7f2e8;
  --paper-deep:  #efe7d8;
  --ink:         #16302a;
  --ink-soft:    #2c4a42;
  --muted:       #6d7a72;
  --accent:      #b8552f;
  --accent-soft: #d98a63;
  --rule:        #ddd2bd;
  --white:       #fffdf9;

  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1120px;
  --radius: 4px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 28px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--white);
  padding: 12px 20px; z-index: 100; border-radius: 0 0 var(--radius) 0;
}
.skip:focus { left: 0; }

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

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  min-height: 76px;
}
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 38px; height: 38px; flex: 0 0 38px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--paper);
  font-family: var(--display); font-size: 16px; font-weight: 600;
  letter-spacing: .02em; border-radius: 50%;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--display); font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.brand-sub { font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 30px; }
.nav a {
  text-decoration: none; color: var(--ink-soft);
  font-size: 14.5px; letter-spacing: .01em; padding-block: 6px;
  border-bottom: 1.5px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--accent-soft); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); font-weight: 500; }

.header-cta {
  margin-left: 8px;
  background: var(--ink); color: var(--paper);
  text-decoration: none; font-size: 13.5px; font-weight: 500;
  letter-spacing: .02em; padding: 11px 20px; border-radius: 999px;
  white-space: nowrap;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.header-cta:hover { background: var(--accent); color: var(--white); transform: translateY(-1px); }

.nav-toggle {
  display: none; margin-left: auto;
  width: 42px; height: 42px; padding: 0;
  background: transparent; border: 1px solid var(--rule); border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle span {
  display: block; width: 18px; height: 1.5px; margin: 4px auto;
  background: var(--ink); transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -.018em;
  line-height: 1.12;
  margin: 0 0 .5em;
  color: var(--ink);
  font-variation-settings: "SOFT" 0, "WONK" 0;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.15rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); line-height: 1.25; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.26rem); line-height: 1.62; color: var(--ink-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11.5px; letter-spacing: .17em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent-soft); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body); font-size: 14.5px; font-weight: 500;
  letter-spacing: .01em; text-decoration: none;
  padding: 14px 27px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease),
              color .2s var(--ease), border-color .2s var(--ease);
}
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--accent); color: var(--white); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- hero ---------- */
.hero { padding: clamp(52px, 8vw, 96px) 0 clamp(46px, 6vw, 76px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}
.hero h1 { margin-bottom: 26px; text-wrap: balance; }
.hero .lede { max-width: 46ch; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-figure { position: relative; }
.hero-figure img {
  width: 100%;
  border-radius: 200px 200px var(--radius) var(--radius);
  filter: saturate(.94) contrast(1.02);
}
.hero-figure::after {
  content: "";
  position: absolute; inset: 14px -14px -14px 14px;
  border: 1px solid var(--accent-soft);
  border-radius: 200px 200px var(--radius) var(--radius);
  z-index: -1;
}
.hero-caption {
  margin-top: 20px; font-size: 12.5px; letter-spacing: .04em;
  color: var(--muted); text-align: center;
}

/* ---------- location strip ---------- */
.strip {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper-deep);
}
.strip-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 18px 34px;
  padding-block: 20px;
  font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft);
}
.strip-inner span { display: inline-flex; align-items: center; gap: 9px; }
.dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: 0 0 5px; }

/* ---------- sections ---------- */
section { padding-block: clamp(56px, 8vw, 96px); }
.section-head { max-width: 62ch; margin-bottom: clamp(34px, 5vw, 52px); }
.section-head h2 { margin-bottom: 18px; text-wrap: balance; }

/* ---------- service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
.card {
  background: var(--paper);
  padding: clamp(26px, 3.4vw, 42px);
  transition: background .3s var(--ease);
}
.card:hover { background: var(--white); }
.card-num {
  font-family: var(--display); font-size: 12px; font-weight: 600;
  letter-spacing: .16em; color: var(--accent); display: block; margin-bottom: 16px;
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.66; margin: 0; }
.card ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.card li { margin-bottom: 6px; }

/* ---------- process rail ---------- */
.rail {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
  counter-reset: step;
}
.rail-step { position: relative; padding-top: 28px; border-top: 1px solid var(--rule); }
.rail-step::before {
  content: "";
  position: absolute; top: -4.5px; left: 0;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
}
.rail-step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.rail-step p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.6; }
.rail-step .step-label {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; display: block; margin-bottom: 10px;
}

/* ---------- quote ---------- */
.quote {
  background: var(--ink); color: var(--paper);
  border-radius: var(--radius);
  padding: clamp(38px, 6vw, 76px);
  position: relative; overflow: hidden;
}
.quote::before {
  content: "\201C";
  position: absolute; top: -38px; left: clamp(20px, 5vw, 54px);
  font-family: var(--display); font-size: 220px; line-height: 1;
  color: color-mix(in srgb, var(--accent) 42%, transparent);
  pointer-events: none;
}
.quote blockquote {
  margin: 0; position: relative;
  font-family: var(--display); font-size: clamp(1.35rem, 2.7vw, 2.05rem);
  line-height: 1.4; letter-spacing: -.012em; font-weight: 500;
  max-width: 30ch;
}
.quote p.attrib {
  margin: 26px 0 0; font-size: 12.5px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--accent-soft);
}

/* ---------- two column ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 76px); align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius); }

/* ---------- principle list ---------- */
.principles { list-style: none; margin: 0; padding: 0; }
.principles li {
  border-top: 1px solid var(--rule);
  padding: 22px 0;
  display: grid; grid-template-columns: 30px 1fr; gap: 16px;
}
.principles li:last-child { border-bottom: 1px solid var(--rule); }
.principles .mark {
  font-family: var(--display); font-size: 13px; color: var(--accent);
  font-weight: 600; padding-top: 3px;
}
.principles strong { display: block; font-weight: 600; margin-bottom: 4px; }
.principles span { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 5vw, 64px); align-items: start;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
}
.phone {
  font-family: var(--display); font-size: clamp(1.6rem, 3.6vw, 2.3rem);
  font-weight: 600; letter-spacing: -.02em; text-decoration: none;
  color: var(--ink); display: inline-block; margin-bottom: 6px;
  border-bottom: 2px solid var(--accent-soft); padding-bottom: 4px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.phone:hover { color: var(--accent); border-color: var(--accent); }
.contact-label {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px; display: block;
}
.hours { list-style: none; margin: 22px 0 0; padding: 0; font-size: 14.5px; color: var(--muted); }
.hours li { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px dashed var(--rule); }
.hours li span:last-child { color: var(--ink); font-weight: 500; }

/* ---------- CTA band ---------- */
.cta-band {
  border-top: 1px solid var(--rule);
  background: var(--paper-deep);
  text-align: center;
}
.cta-band h2 { max-width: 24ch; margin-inline: auto; margin-bottom: 20px; text-wrap: balance; }
.cta-band p { max-width: 54ch; margin-inline: auto; color: var(--muted); margin-bottom: 30px; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink); color: color-mix(in srgb, var(--paper) 78%, transparent);
  padding-block: clamp(40px, 6vw, 64px);
  font-size: 14px;
}
.footer-top {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 30px; padding-bottom: 30px; border-bottom: 1px solid color-mix(in srgb, var(--paper) 16%, transparent);
}
.footer-brand .brand-name { color: var(--paper); font-size: 21px; }
.footer-brand p { margin: 8px 0 0; font-size: 13.5px; color: color-mix(in srgb, var(--paper) 62%, transparent); }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.footer-links a {
  color: color-mix(in srgb, var(--paper) 80%, transparent);
  text-decoration: none; font-size: 14px;
  transition: color .2s var(--ease);
}
.footer-links a:hover { color: var(--accent-soft); }
.footer-legal {
  margin: 26px 0 0; font-size: 12.5px;
  color: color-mix(in srgb, var(--paper) 55%, transparent);
}
.footer-legal a { color: inherit; }
.footer-legal a:hover { color: var(--accent-soft); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .hero-figure { max-width: 460px; }
  .rail { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 40px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 20px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    padding: 6px 20px 18px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding-block: 14px; border-bottom: 1px solid var(--rule); }
  .header-cta { display: none; }
  .cards { grid-template-columns: 1fr; }
  .rail { grid-template-columns: 1fr; }
  .hero-figure img { border-radius: 140px 140px var(--radius) var(--radius); }
  .hero-figure::after { border-radius: 140px 140px var(--radius) var(--radius); }
  .quote::before { font-size: 140px; top: -22px; }
}

/* ---------- print ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .hero-actions, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  a { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  section { padding-block: 14pt; }
  .quote { background: #fff; color: #000; border: 1px solid #ccc; }
  .quote blockquote { color: #000; }
}

/* ==========================================================================
   Article pages
   ========================================================================== */
.article-hero { padding: clamp(44px, 6vw, 74px) 0 clamp(26px, 3vw, 40px); }
.article-hero h1 { max-width: 26ch; text-wrap: balance; }
.article-hero .lede { max-width: 58ch; }

.article {
  max-width: 68ch;
  padding-bottom: clamp(48px, 7vw, 88px);
}
.article h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  margin: 2.1em 0 .7em;
  padding-top: .2em;
}
.article h3 { font-size: 1.15rem; margin: 1.8em 0 .6em; }
.article h4 { font-size: 1.02rem; margin: 1.6em 0 .5em; }
.article p { margin: 0 0 1.25em; }
.article > p:first-of-type { font-size: 1.06rem; color: var(--ink-soft); }
.article ul, .article ol { margin: 0 0 1.4em; padding-left: 22px; }
.article li { margin-bottom: .55em; }
.article li::marker { color: var(--accent); }
.article blockquote {
  margin: 1.9em 0;
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--accent-soft);
  font-family: var(--display);
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.article blockquote p { margin: 0; }
.article strong { font-weight: 600; color: var(--ink); }
.article a { text-decoration-color: var(--accent-soft); }
.article a:hover { text-decoration-color: var(--accent); }

.article-note {
  margin: 2.6em 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.article-back {
  margin: 26px 0 0;
  font-size: 14px;
}
.article-back a { text-decoration: none; font-weight: 500; }
.article-back a:hover { text-decoration: underline; }

@media print {
  .article { max-width: none; }
  .article-note, .article-back { display: none; }
}
