/* ============================================================================
   Parish — site rebuilt from the company's public record
   ----------------------------------------------------------------------------
   The brand comes from the company's own LinkedIn mark: an electric blue square
   (#0000FE) carrying the word "Parish" in white, set in a neutral grotesque.

     blue     #0000FE    (the mark; every primary action)
     ink      #0A0A0F    (display type)
     paper    #FFFFFF
     panel    #F4F5F8
     rule     #E3E4EA

   Type is Inter, self-hosted. The layout is sharp-edged rather than rounded,
   because the mark is a square.

   There is no company website to copy: joinparish.com is a parked domain and the
   company publishes only its LinkedIn profile and press mentions. The copy on
   this site is therefore attributed on every page; see sources.html.
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  src: url('../font/Inter-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #0000fe;
  --blue-dark: #0000c2;
  --blue-soft: #ececff;
  --ink: #0a0a0f;
  --text: #34343d;
  --soft: #64646e;
  --paper: #ffffff;
  --panel: #f4f5f8;
  --line: #e3e4ea;
  --line-2: #c9cad4;
  --wrap: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --font: 'Inter', -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; letter-spacing: -.03em; line-height: 1.04; margin: 0 0 .8rem; }
h1 { font-size: clamp(2.7rem, 6.4vw, 5.4rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3.1rem); }
h3 { font-size: 1.22rem; letter-spacing: -.02em; }
h4 { font-size: 1.02rem; letter-spacing: -.01em; }
p { margin: 0 0 1.1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.15rem, 4vw, 2.75rem); }
.center { text-align: center; }
.muted { color: var(--soft); }
.small { font-size: .88rem; }
.mono { font-family: var(--mono); font-size: .88em; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: .6rem; } .mt-2 { margin-top: 1.2rem; }
.mt-3 { margin-top: 1.9rem; } .mt-4 { margin-top: 2.8rem; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--blue); color: #fff; padding: .7rem 1.1rem; z-index: 999; }
.skip:focus { left: .5rem; top: .5rem; }

.eyebrow { display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin: 0 0 .9rem; }
.rule { width: 56px; height: 4px; background: var(--blue); margin: 0 0 1.3rem; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--soft); max-width: 60ch; line-height: 1.5; }
.center .lede { margin-inline: auto; }

/* ------------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 200; background: rgba(255,255,255,.94); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 74px; }
.brand { display: flex; align-items: center; gap: .6rem; flex: 0 0 auto; }
.brand img { width: 34px; height: 34px; }
.brand span { font-size: 1.22rem; font-weight: 800; letter-spacing: -.045em; color: var(--ink); }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .1rem; }
.nav a { display: block; color: var(--ink); font-size: .92rem; font-weight: 600; padding: .55rem .8rem; }
.nav a:hover { color: var(--blue); }
.nav a[aria-current="page"] { color: var(--blue); }
.header-cta { margin-left: .9rem; }
.nav-toggle { display: none; width: 42px; height: 42px; background: none; border: 1px solid var(--line-2); cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.drawer { position: fixed; inset: 0 0 auto; z-index: 190; background: var(--ink); color: #fff; padding: 1.1rem 0 1.6rem; transform: translateY(-102%); visibility: hidden; transition: transform .26s var(--ease); }
.drawer.is-open { transform: none; visibility: visible; }
.drawer ul { list-style: none; margin: 0 0 1.1rem; padding: 0; }
.drawer li { border-bottom: 1px solid rgba(255,255,255,.16); }
.drawer a { display: block; padding: .85rem .2rem; color: #fff; font-weight: 600; }
@media (max-width: 1000px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
}

/* --------------------------------------------------------------------- hero */
.hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding: clamp(3rem, 6vw, 5.4rem) 0 clamp(3rem, 6vw, 5rem); }
@media (max-width: 920px) { .hero-inner { grid-template-columns: 1fr; } }
.hero h1 .hl { color: var(--blue); }
.hero h1 .under { position: relative; white-space: nowrap; }
.hero h1 .under::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .16em; background: var(--blue); opacity: .22; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.9rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.6rem; font-size: .84rem; color: var(--soft); }
.hero-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.hero-meta span::before { content: ""; width: 7px; height: 7px; background: var(--blue); }

/* page hero for inner pages */
.page-hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding: clamp(2.6rem, 5vw, 4.2rem) 0 clamp(2.2rem, 4.4vw, 3.4rem); }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); max-width: 22ch; }
.page-hero .lede { margin-bottom: 0; }

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(2.8rem, 6vw, 5rem) 0; }
.section-panel { background: var(--panel); }
.section-blue { background: var(--blue); color: #fff; }
.section-ink { background: var(--ink); color: #fff; }
.section-blue h1, .section-blue h2, .section-blue h3, .section-blue h4,
.section-ink h1, .section-ink h2, .section-ink h3, .section-ink h4 { color: #fff; }
.section-blue p, .section-ink p { color: #d8d8e6; }
.section-blue .lede, .section-ink .lede { color: #d8d8e6; }
.section-blue .eyebrow, .section-ink .eyebrow { color: #c9c9ff; }
.section-blue .muted, .section-ink .muted { color: #b9b9cc; }
.section-head { margin-bottom: 2.4rem; max-width: 46rem; }
.section-head.center { margin-inline: auto; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split-wide { grid-template-columns: 1.18fr .82fr; }
.split-narrow { grid-template-columns: .92fr 1.08fr; }
@media (max-width: 900px) { .split, .split-wide, .split-narrow { grid-template-columns: 1fr; } }

.grid { display: grid; gap: 1.3rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* cards: sharp, bordered */
.card { background: var(--paper); border: 1px solid var(--line); padding: 1.6rem 1.6rem 1.5rem; }
.section-blue .card, .section-ink .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); }
.card h3 { margin-bottom: .5rem; }
.card p { margin-bottom: 0; color: var(--soft); font-size: .95rem; }
.section-blue .card p, .section-ink .card p { color: #d8d8e6; }
.card .num { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; color: var(--blue); margin-bottom: .8rem; }
.section-blue .card .num, .section-ink .card .num { color: #c9c9ff; }
.card-top { border-top: 4px solid var(--blue); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { border-top: 3px solid var(--ink); padding-top: 1.2rem; }
.step .n { display: inline-grid; place-items: center; width: 30px; height: 30px; background: var(--blue); color: #fff; font-weight: 700; font-size: .9rem; margin-bottom: .8rem; }
.step h3 { font-size: 1.1rem; }
.step p { font-size: .95rem; color: var(--soft); margin: 0; }

/* figures */
.figure { margin: 0; }
.figure img { width: 100%; border: 1px solid var(--line); }
.figure figcaption { font-size: .82rem; color: var(--soft); margin-top: .55rem; }
.shot { margin: 0; border: 1px solid var(--line); background: var(--panel); padding: .8rem; }
.shot img { width: 100%; }
.shot figcaption { font-size: .82rem; color: var(--soft); margin-top: .5rem; }
.section-blue .figure figcaption, .section-blue .shot figcaption,
.section-ink .figure figcaption, .section-ink .shot figcaption { color: #b9b9cc; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { border-top: 3px solid var(--blue); padding-top: .9rem; }
.stat b { display: block; font-size: clamp(1.9rem, 3.4vw, 2.8rem); letter-spacing: -.04em; color: var(--ink); line-height: 1; }
.stat span { font-size: .84rem; color: var(--soft); }
.section-blue .stat b, .section-ink .stat b { color: #fff; }
.section-blue .stat span, .section-ink .stat span { color: #c9c9dd; }

/* quote */
.quote-lg { margin: 0; border-left: 4px solid var(--blue); padding-left: 1.4rem; }
.quote-lg blockquote { margin: 0 0 .8rem; font-size: clamp(1.15rem, 2.1vw, 1.6rem); line-height: 1.42; letter-spacing: -.02em; color: var(--ink); font-weight: 600; }
.section-blue .quote-lg blockquote, .section-ink .quote-lg blockquote { color: #fff; }
.quote-lg figcaption { font-size: .9rem; color: var(--soft); }
.quote-lg figcaption b { display: block; color: var(--ink); }
.section-blue .quote-lg figcaption b, .section-ink .quote-lg figcaption b { color: #fff; }

/* lists */
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding-left: 1.6rem; margin-bottom: .6rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .55rem; width: 11px; height: 6px; border-left: 2.4px solid var(--blue); border-bottom: 2.4px solid var(--blue); transform: rotate(-45deg); }
.section-blue .checklist li::before, .section-ink .checklist li::before { border-color: #c9c9ff; }

.specs { list-style: none; margin: 0; padding: 0; }
.specs li { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.specs .k { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.specs .v { text-align: right; font-weight: 600; color: var(--ink); }
.section-blue .specs li, .section-ink .specs li { border-bottom-color: rgba(255,255,255,.2); }
.section-blue .specs .v, .section-ink .specs .v { color: #fff; }
.section-blue .specs .k, .section-ink .specs .k { color: #c9c9dd; }

.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.pill { display: inline-block; font-size: .8rem; font-weight: 600; border: 1px solid var(--line-2); color: var(--ink); padding: .35rem .7rem; }
.section-blue .pill, .section-ink .pill { border-color: rgba(255,255,255,.35); color: #fff; }

.callout { background: var(--panel); border-left: 4px solid var(--blue); padding: 1.2rem 1.3rem; }
.section-blue .callout, .section-ink .callout { background: rgba(255,255,255,.07); }
.callout h4 { margin-bottom: .4rem; }
.callout p:last-child { margin-bottom: 0; }
.notice { background: var(--blue-soft); border: 1px solid #cfcffb; padding: 1rem 1.1rem; font-size: .94rem; color: var(--text); }
.notice b { color: var(--ink); }

/* logo strip */
.strip { display: flex; flex-wrap: wrap; gap: .6rem; }
.strip span { font-size: .82rem; font-weight: 600; color: var(--soft); border: 1px solid var(--line); padding: .45rem .8rem; }
.section-blue .strip span, .section-ink .strip span { color: #d8d8e6; border-color: rgba(255,255,255,.25); }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--font);
  font-size: .95rem; font-weight: 700; letter-spacing: -.01em; padding: 1rem 1.7rem; border: 2px solid transparent; border-radius: 0;
  cursor: pointer; transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease); }
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-ink:hover { background: #24242e; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.section-blue .btn-ghost, .section-ink .btn-ghost { color: #fff; border-color: #fff; }
.section-blue .btn-ghost:hover, .section-ink .btn-ghost:hover { background: #fff; color: var(--ink); }
.link-arrow { font-weight: 700; color: var(--blue); }
.link-arrow::after { content: "\2192"; margin-left: .35rem; }
.section-blue .link-arrow, .section-ink .link-arrow { color: #c9c9ff; }

/* ------------------------------------------------------------------ forms */
.form { display: grid; gap: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: var(--soft); margin-bottom: .35rem; }
.field .req { color: var(--blue); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font-family: var(--font); font-size: .95rem; color: var(--ink); background: #fff;
  border: 1px solid var(--line-2); border-radius: 0; padding: .75rem .85rem; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.field .err { display: block; font-size: .78rem; color: #b3261e; margin-top: .25rem; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b3261e; }
.checkbox-field label { display: flex; gap: .6rem; font-size: .9rem; font-weight: 400; color: var(--text); }
.checkbox-field input { width: auto; margin-top: .3rem; }
.form-note { font-size: .82rem; color: var(--soft); }
.form-status { font-size: .9rem; background: #eaf5ee; border: 1px solid #b9dcc6; padding: .7rem .9rem; }

/* ----------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: #cfcfd8; padding: 3.6rem 0 1.7rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand, .footer-brand .brand span { color: #fff; }
.footer-brand .brand img { width: 30px; height: 30px; }
.footer-brand p { font-size: .9rem; color: #b9b9c6; margin-top: 1rem; }
.footer-grid h4 { color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .9rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .45rem; }
.footer-links a, .footer-links li { color: #cfcfd8; font-size: .9rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom a { color: #cfcfd8; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.16); margin-top: 2.6rem; padding-top: 1.2rem; font-size: .8rem; color: #9a9aa8; }

.to-top { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 150; width: 44px; height: 44px; border: 0; background: var(--blue); color: #fff;
  cursor: pointer; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), visibility .2s; }
.to-top.is-visible { opacity: 1; visibility: visible; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
@media print {
  .site-header, .drawer, .to-top, .site-footer { display: none; }
  body { background: #fff; }
  a { color: #000; }
}
