/* ============================================================
   Northcommon Practice - jonialdrich.com
   Palette: Mauve-Slate & Oat with Dusty Rose
   ============================================================ */

:root {
  --primary: #5B5466;     /* mauve-slate - headings/structure only */
  --secondary: #8C8294;   /* muted mauve */
  --accent: #C08497;      /* dusty rose - THE ONLY accent */
  --bg: #F6F1E9;          /* oat-cream - single page background */
  --fg: #2A262E;          /* deep ink - body text, AA+ on oat */
  --paper: #FBF8F2;       /* slightly lighter oat for hairline panels */
  --line: rgba(91, 84, 102, 0.20);   /* hairline tinted toward mauve */
  --line-soft: rgba(91, 84, 102, 0.12);
  --shadow: 30px 40px 80px -50px rgba(91, 84, 102, 0.55); /* tinted toward mauve, never black */
  --radius: 14px;         /* ONE radius */
  --measure: 65ch;        /* article body cap */
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--fg);
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

/* Scroll-driven gradient layer: oat to dusty-rose tint, position shifts via --scroll */
.bg-wash {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 18% calc(8% + var(--scroll, 0) * 30%),
       rgba(192, 132, 151, 0.16), rgba(192, 132, 151, 0) 60%),
    radial-gradient(100% 70% at 86% calc(96% - var(--scroll, 0) * 34%),
       rgba(140, 130, 148, 0.16), rgba(140, 130, 148, 0) 58%),
    linear-gradient(180deg, var(--bg), var(--bg));
  transition: background-position 0.2s linear;
}
@media (prefers-reduced-motion: reduce) {
  .bg-wash {
    background:
      radial-gradient(120% 80% at 18% 18%, rgba(192,132,151,0.14), rgba(192,132,151,0) 60%),
      radial-gradient(100% 70% at 86% 82%, rgba(140,130,148,0.14), rgba(140,130,148,0) 58%),
      var(--bg);
  }
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: "Andada Pro", Georgia, "Times New Roman", serif;
  color: var(--primary);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); letter-spacing: 0.012em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.45rem); color: var(--fg); }
h4 { font-size: 1.05rem; color: var(--fg); }
em { font-style: italic; }
h1 em, h2 em { font-family: "Andada Pro", Georgia, serif; font-style: italic; color: var(--accent); }

p { margin: 0 0 1.1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
strong { font-weight: 600; }

.mono {
  font-family: "Share Tech Mono", ui-monospace, "SFMono-Regular", monospace;
  letter-spacing: 0.04em;
}

/* eyebrow / small uppercase label rule */
.eyebrow {
  font-family: "Share Tech Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: clamp(64px, 9vw, 130px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.hairline { border-top: 1px solid var(--line); }
.lead { font-size: 1.18rem; color: var(--fg); max-width: 56ch; }

/* skip link */
.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--primary); color: var(--bg);
  padding: 10px 18px; border-radius: var(--radius);
}
.skip:focus { left: 16px; top: 16px; }

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

/* ---------- Header / Nav ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 233, 0.82);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 20px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: "Andada Pro", serif; font-weight: 600;
  font-size: 1.28rem; color: var(--primary); letter-spacing: 0.01em;
}
.brand:hover { text-decoration: none; }
.brand .mark { display: inline-flex; }
.brand b { font-weight: 600; }
.brand .word { display: flex; flex-direction: column; }
.brand .sub {
  font-family: "Share Tech Mono", monospace; font-size: 0.58rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--secondary);
  line-height: 1; margin-top: 3px;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  color: var(--fg); font-size: 0.95rem; font-weight: 500;
  position: relative; padding: 4px 0;
}
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1.5px; background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--primary); text-decoration: none; }
.nav-links a:not(.nav-cta):hover::after, .nav-links a[aria-current="page"]:not(.nav-cta)::after { width: 100%; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff !important;
  padding: 11px 22px; border-radius: var(--radius);
  font-weight: 500; font-size: 0.92rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.nav-cta:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 14px 30px -16px rgba(192,132,151,0.9); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px; color: var(--primary); cursor: pointer; }

@media (max-width: 860px) {
  .nav-links {
    position: fixed; inset: 76px 0 auto 0;
    background: var(--bg); flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 0 18px; border-bottom: 1px solid var(--line);
    transform: translateY(-130%); transition: transform 0.4s var(--ease);
    box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a:not(.nav-cta) { padding: 14px 28px; border-top: 1px solid var(--line-soft); }
  .nav-links .nav-cta { margin: 10px 28px 0; justify-content: center; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Reveal animation (scale-in mask) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  clip-path: inset(0 0 14% 0);
  transition:
    opacity 0.9s var(--ease),
    transform 1s var(--ease),
    clip-path 1s var(--ease);
  will-change: opacity, transform, clip-path;
}
.reveal.in {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
}
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 88px); }
.hero-grid {
  display: grid; grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(32px, 5vw, 70px); align-items: center;
}
.hero h1 { margin-bottom: 0.32em; }
.hero .lead { font-size: 1.22rem; max-width: 46ch; margin-bottom: 1.9rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 28px; border-radius: var(--radius);
  font-weight: 500; font-size: 1rem; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 18px 34px -18px rgba(192,132,151,0.95); }
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--line); }
.btn-ghost:hover { text-decoration: none; border-color: var(--accent); color: var(--accent); }

.hero-media {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 1024 / 760;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* scale-in mask wipe for hero media */
.mask-reveal img {
  transform: scale(1.12);
  transition: transform 1.4s var(--ease);
}
.mask-reveal { clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease); }
.mask-reveal.in { clip-path: inset(0 0 0 0); }
.mask-reveal.in img { transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  .mask-reveal, .mask-reveal.in { clip-path: none !important; }
  .mask-reveal img, .mask-reveal.in img { transform: none !important; transition: none !important; }
}
.hero-badge {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  background: rgba(251, 248, 242, 0.94); color: var(--primary);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 16px; font-size: 0.84rem; max-width: 220px;
  box-shadow: var(--shadow);
}
.hero-badge b { font-family: "Andada Pro", serif; font-size: 1.45rem; display: block; color: var(--accent); line-height: 1; }
.hero-badge span { color: var(--secondary); }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; aspect-ratio: 1024 / 600; }
}

/* ---------- Stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 8px 26px 8px 0; }
.stat:not(:first-child) { padding-left: 26px; border-left: 1px solid var(--line); }
.stat .num { font-family: "Andada Pro", serif; font-size: clamp(2rem, 3.5vw, 2.9rem); color: var(--primary); line-height: 1; }
.stat .lbl { font-size: 0.86rem; color: var(--secondary); margin-top: 8px; }
@media (max-width: 720px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); padding-left: 26px; }
}

/* ---------- Section heading block ---------- */
.head-block { max-width: 60ch; margin-bottom: clamp(36px, 5vw, 60px); }
.head-block h2 { margin-bottom: 0.4em; }
.head-block p { color: var(--fg); font-size: 1.1rem; }

/* ---------- Services / feature grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.svc {
  padding: 36px 30px 36px 0;
  border-top: 1px solid var(--line);
}
.svc:not(:nth-child(3n+1)) { padding-left: 30px; border-left: 1px solid var(--line); }
.svc .ico {
  width: 48px; height: 48px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(192, 132, 151, 0.12); color: var(--accent);
  margin-bottom: 18px;
}
.svc h3 { margin-bottom: 0.4em; color: var(--primary); }
.svc p { color: var(--fg); font-size: 0.98rem; margin-bottom: 0.8em; }
.svc .more { font-size: 0.9rem; color: var(--accent); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.svc .more svg { transition: transform 0.25s var(--ease); }
.svc:hover .more svg { transform: translateX(4px); }
@media (max-width: 820px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc, .svc:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
}

/* ---------- Practice / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 48px); }
.step .n {
  font-family: "Share Tech Mono", monospace; color: var(--accent);
  font-size: 0.9rem; letter-spacing: 0.1em; margin-bottom: 14px; display: block;
}
.step h3 { margin-bottom: 0.4em; }
.step p { color: var(--fg); font-size: 0.98rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.split-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split ul { list-style: none; padding: 0; margin: 1.2em 0 0; }
.split li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 1rem; }
.split li svg { flex: none; color: var(--accent); margin-top: 3px; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split-media { order: -1; } }

/* ---------- Resources blogroll ---------- */
.resources { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.res-item {
  display: flex; gap: 20px; padding: 30px 30px 30px 0; align-items: flex-start;
  border-top: 1px solid var(--line);
}
.res-item:nth-child(even) { padding-left: 30px; border-left: 1px solid var(--line); }
.res-item .res-no { font-family: "Share Tech Mono", monospace; color: var(--secondary); font-size: 0.82rem; padding-top: 4px; }
.res-item h3 { font-size: 1.12rem; margin-bottom: 0.3em; color: var(--primary); }
.res-item p { font-size: 0.94rem; color: var(--fg); margin-bottom: 0.6em; }
.res-item .res-link { font-size: 0.85rem; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.res-item .res-src { font-family: "Share Tech Mono", monospace; font-size: 0.72rem; color: var(--secondary); display: block; margin-top: 8px; }
@media (max-width: 760px) {
  .resources { grid-template-columns: 1fr; }
  .res-item, .res-item:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* ---------- Testimonials ---------- */
.tw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 36px); }
.tw {
  background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 30px 28px;
}
.tw .stars { color: var(--accent); margin-bottom: 14px; display: flex; gap: 2px; }
.tw blockquote { margin: 0 0 18px; font-size: 1.02rem; line-height: 1.6; color: var(--fg); }
.tw figcaption { display: flex; align-items: center; gap: 12px; }
.tw .av {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--primary); color: var(--bg);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: "Andada Pro", serif; font-size: 1rem;
}
.tw .who { font-size: 0.9rem; }
.tw .who b { display: block; color: var(--primary); font-weight: 600; }
.tw .who span { color: var(--secondary); font-size: 0.84rem; }
@media (max-width: 820px) { .tw-grid { grid-template-columns: 1fr; } }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(26px, 4vw, 44px); }
.member .ph {
  width: 88px; height: 88px; border-radius: 50%;
  background: linear-gradient(150deg, var(--secondary), var(--primary));
  color: var(--bg); display: inline-flex; align-items: center; justify-content: center;
  font-family: "Andada Pro", serif; font-size: 1.7rem; margin-bottom: 16px;
}
.member h3 { font-size: 1.12rem; margin-bottom: 0.2em; color: var(--primary); }
.member .role { font-family: "Share Tech Mono", monospace; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 10px; }
.member p { font-size: 0.94rem; color: var(--fg); }
@media (max-width: 760px) { .team-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(80% 120% at 50% -10%, rgba(192,132,151,0.16), transparent 60%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: 0.4em; }
.cta-band p { max-width: 50ch; margin: 0 auto 1.6em; color: var(--fg); font-size: 1.1rem; }

/* ---------- Footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 76px) 0 36px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand .brand { margin-bottom: 16px; }
.foot-brand p { font-size: 0.92rem; color: var(--secondary); max-width: 34ch; }
.foot-col h4 { font-family: "Share Tech Mono", monospace; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--secondary); margin-bottom: 16px; }
.foot-col a, .foot-col p { display: block; color: var(--fg); font-size: 0.92rem; margin-bottom: 10px; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--line-soft); font-size: 0.82rem; color: var(--secondary); }
.foot-bottom .mono { font-size: 0.76rem; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Article pages
   ============================================================ */
.article-hero { padding: clamp(48px, 7vw, 92px) 0 clamp(28px, 4vw, 44px); }
.article-hero .crumbs { font-family: "Share Tech Mono", monospace; font-size: 0.78rem; color: var(--secondary); margin-bottom: 22px; letter-spacing: 0.06em; }
.article-hero .crumbs a { color: var(--secondary); }
.article-hero .crumbs a:hover { color: var(--accent); }
.article-hero h1 { max-width: 18ch; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 22px; font-size: 0.9rem; color: var(--secondary); }
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.article-feat { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: clamp(28px,4vw,44px) 0 0; }
.article-feat img { width: 100%; height: auto; display: block; }

.article-body {
  max-width: var(--measure);
  margin: clamp(40px, 5vw, 64px) auto 0;
  font-size: 1.06rem;
  line-height: 1.7;
}
.article-body > p,
.article-body > ul,
.article-body > ol,
.article-body > h2,
.article-body > h3,
.article-body > section,
.article-body > table { max-width: var(--measure); }
.article-body h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 1.7em 0 0.5em;
  padding-top: 0.8em; border-top: 1px solid var(--line);
}
.article-body h3 { font-size: 1.24rem; color: var(--primary); margin: 1.5em 0 0.4em; }
.article-body p { margin: 0 0 1.15em; }
.article-body a { color: var(--accent); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(192,132,151,0.5); }
.article-body a:hover { text-decoration-color: var(--accent); }
.article-body ul, .article-body ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.article-body li { margin-bottom: 0.6em; }
.article-body img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius); box-shadow: var(--shadow);
  margin: 0.4em 0;
}
.article-body p:has(> img) { margin: 1.7em 0; }
.article-body figure { margin: 1.6em 0; }
.article-body table {
  width: 100%; border-collapse: collapse; margin: 1.6em 0;
  font-size: 0.95rem; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.article-body th, .article-body td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article-body th { background: var(--paper); font-family: "Andada Pro", serif; color: var(--primary); font-weight: 600; }
.article-body tr:last-child td { border-bottom: 0; }
.article-body section { margin: 0.6em 0 1.2em; }
.article-body section h2 { border-top: 1px solid var(--line); }

.article-aside {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; margin: 2.2em auto; max-width: var(--measure);
}
.article-aside .eyebrow { margin-bottom: 0.7rem; }
.article-aside p { margin: 0 0 1em; font-size: 1rem; }
.article-aside .btn { font-size: 0.92rem; padding: 11px 22px; }

.article-foot { max-width: var(--measure); margin: clamp(40px,5vw,60px) auto 0; padding-top: 30px; border-top: 1px solid var(--line); }
.article-foot .eyebrow { margin-bottom: 0.9rem; }
.article-foot .more-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 500; }

/* article reveal: each block fades in, threshold 0, reduced-motion shows all */
.article-body .ar { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.article-body .ar.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .article-body .ar, .article-body .ar.in { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(36px, 6vw, 72px); align-items: start; }
.contact-info .eyebrow { margin-bottom: 1rem; }
.contact-info h1 { margin-bottom: 0.4em; }
.contact-info .lead { margin-bottom: 1.8rem; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); align-items: flex-start; }
.info-list .ii { width: 40px; height: 40px; border-radius: 10px; background: rgba(192,132,151,0.12); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.info-list b { display: block; color: var(--primary); font-family: "Andada Pro", serif; font-size: 1.02rem; }
.info-list span, .info-list a { color: var(--fg); font-size: 0.95rem; }
.info-list a:hover { color: var(--accent); }

.form-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 0.88rem; font-weight: 500; color: var(--primary); margin-bottom: 8px; }
.field label .req { color: var(--accent); }
.field input, .field textarea {
  width: 100%; padding: 14px 16px;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); color: var(--fg);
  font-family: inherit; font-size: 1rem; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(192,132,151,0.18); }
.field input::placeholder, .field textarea::placeholder { color: var(--secondary); opacity: 0.7; }
.form-card .btn-primary { width: 100%; justify-content: center; }
.form-note { font-size: 0.82rem; color: var(--secondary); margin-top: 14px; text-align: center; }
.form-ok {
  display: none; background: rgba(192,132,151,0.12); border: 1px solid var(--accent);
  border-radius: var(--radius); padding: 18px 20px; margin-bottom: 22px;
  color: var(--primary); font-size: 0.96rem;
}
.form-ok.show { display: block; }
.form-ok b { font-family: "Andada Pro", serif; display: block; margin-bottom: 4px; font-size: 1.1rem; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Generic page hero ---------- */
.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(36px, 4vw, 56px); }
.page-hero .eyebrow { margin-bottom: 1.2rem; }
.page-hero h1 { max-width: 16ch; }
.page-hero .lead { margin-top: 0.6em; }

/* prose used on about/services intros */
.prose { max-width: 62ch; }
.prose p { font-size: 1.08rem; margin-bottom: 1.2em; }
.prose p:last-child { margin-bottom: 0; }

/* value cards (about) */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.value { padding: 32px 32px 32px 0; border-top: 1px solid var(--line); }
.value:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--line); }
.value .ico { color: var(--accent); margin-bottom: 14px; display: inline-flex; }
.value h3 { color: var(--primary); margin-bottom: 0.35em; }
.value p { font-size: 0.98rem; color: var(--fg); }
@media (max-width: 720px) { .values { grid-template-columns: 1fr; } .value, .value:nth-child(even) { padding-left: 0; border-left: 0; } }

/* services detail rows */
.svc-row { display: grid; grid-template-columns: 0.4fr 1fr; gap: clamp(20px, 4vw, 56px); padding: clamp(32px,4vw,52px) 0; border-top: 1px solid var(--line); align-items: start; }
.svc-row .svc-head .ico { width: 52px; height: 52px; border-radius: 12px; background: rgba(192,132,151,0.12); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.svc-row .svc-head h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.svc-row .svc-head .tag { font-family: "Share Tech Mono", monospace; font-size: 0.74rem; color: var(--secondary); letter-spacing: 0.08em; }
.svc-row .svc-detail p { color: var(--fg); font-size: 1.02rem; }
.svc-row .svc-detail ul { list-style: none; padding: 0; margin: 1em 0 0; }
.svc-row .svc-detail li { display: flex; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line-soft); font-size: 0.98rem; }
.svc-row .svc-detail li svg { color: var(--accent); flex: none; margin-top: 3px; }
@media (max-width: 760px) { .svc-row { grid-template-columns: 1fr; gap: 14px; } }
