/* juliangerminal.com
   Black and white only. Archivo Expanded names, Barlow Semi Condensed supports.
   See the Julian Germinal Brand Standards v1.0. */

:root {
  --ink: #000000;
  --paper: #ffffff;
  --mid: #6b6b70;      /* supporting text on white only */
  --light: #c9c9cd;    /* supporting text on black only */
  --rule-dark: #2b2b2e;
  --rule-light: #d4d4d8;
  --gutter: clamp(20px, 4.5vw, 64px);
  --max: 1240px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Barlow Semi Condensed', 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 19px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }

.display {
  font-family: 'Archivo', 'Helvetica Neue', Helvetica, sans-serif;
  font-stretch: 125%;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.04;
  margin: 0;
}

.label {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.dark { background: var(--ink); color: var(--paper); }
.dark .muted { color: var(--light); }
.muted { color: var(--mid); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--paper); color: var(--ink); padding: 12px 16px; z-index: 10;
}
.skip:focus { left: 12px; top: 12px; }

:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

/* ---------- header ---------- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  color: var(--paper);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
}
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand .lockup { height: 30px; width: auto; }
.brand .mark-only { display: none; height: 34px; width: auto; }

.nav { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 34px); }
.nav a { text-decoration: none; }
.nav .link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 600; font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase;
  border-bottom: 1.5px solid transparent;
}
.nav .link:hover, .nav .link[aria-current="page"] { border-bottom-color: currentColor; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  font-family: inherit; font-weight: 600; font-size: 15px; letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  border: 1.5px solid currentColor; background: transparent; color: inherit;
  transition: background-color .15s ease, color .15s ease;
}
.btn.small { min-height: 44px; padding: 0 20px; font-size: 13px; }
.dark .btn.solid { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.dark .btn.solid:hover { background: transparent; color: var(--paper); }
.dark .btn:not(.solid):hover { background: var(--paper); color: var(--ink); }
.btn.solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn.solid:hover { background: transparent; color: var(--ink); }
.btn:not(.solid):hover { background: var(--ink); color: var(--paper); }

/* ---------- hero ---------- */
.hero { position: relative; }
.hero .grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  min-height: min(100svh, 900px);
}
.hero .copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: 140px var(--gutter) 72px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.hero h1.display { font-size: clamp(38px, 5.6vw, 82px); margin: 22px 0 28px; }
.hero-title { margin: 0; font-size: inherit; font-weight: inherit; }
.hero-title .label { display: block; }
.hero-title .line { display: block; font-size: clamp(38px, 5.6vw, 82px); margin: 22px 0 28px; }
.hero .sub { font-size: clamp(19px, 1.6vw, 22px); max-width: 30em; margin-bottom: 36px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .photo { position: relative; min-height: 420px; }
.hero .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
/* keeps the header legible where it sits over the photo */
.hero .photo::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 150px; background: linear-gradient(rgba(0,0,0,.62), rgba(0,0,0,0)); pointer-events: none; }

.hero.compact .grid { min-height: min(78svh, 700px); }
.hero.compact .photo img { object-position: 50% 30%; }

/* ---------- plain page head (no photo) ---------- */
.page-head { padding: 150px 0 clamp(48px, 7vw, 88px); }
.page-head h1 { font-size: clamp(34px, 5vw, 68px); margin: 20px 0 24px; }
.page-head .sub { font-size: clamp(19px, 1.6vw, 22px); max-width: 32em; margin: 0; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { font-size: clamp(28px, 3.4vw, 46px); margin-top: 14px; }
.section-head .lede { max-width: 34em; margin: 16px 0 0; }

/* ---------- testimony ---------- */
.story-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.story-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.story-copy h2 { font-size: clamp(28px, 3.4vw, 46px); margin: 14px 0 28px; }
.story-copy .block { padding: 22px 0; border-top: 1.5px solid var(--ink); }
.story-copy .block p { margin: 10px 0 0; max-width: 36em; }
.story-copy .faith { margin: 0; padding-top: 22px; border-top: 1.5px solid var(--ink); font-weight: 600; max-width: 36em; }

/* ---------- vendor page blocks ---------- */
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.col { border-top: 1.5px solid var(--ink); padding-top: 22px; }
.col h3, .card h3 { font-size: clamp(18px, 1.7vw, 22px); letter-spacing: 0.05em; margin-bottom: 14px; }
.col p, .card p { margin: 0; }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li { padding: 9px 0; border-bottom: 1px solid var(--rule-light); }
.plain li:first-child { padding-top: 0; }
.cards2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { border: 1.5px solid var(--ink); padding: clamp(22px, 3vw, 36px); }
.after { margin: 28px 0 0; max-width: 44em; }

/* ---------- index rows ---------- */
.rows { list-style: none; margin: 0; padding: 0; border-bottom: 1.5px solid currentColor; }
.rows > li { border-top: 1.5px solid currentColor; }
.row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 28px;
  padding: 30px 0; text-decoration: none; color: inherit;
}
.row h3 { font-size: clamp(19px, 2.1vw, 28px); letter-spacing: 0.05em; line-height: 1.15; }
.row p { margin: 8px 0 0; max-width: 40em; }
.row .go {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-weight: 600; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap;
}
.row .go svg { width: 16px; height: 16px; flex: none; transition: transform .15s ease; }
a.row:hover .go svg { transform: translate(3px, -3px); }
a.row:hover h3 { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.tag {
  display: inline-block; margin-left: 12px; padding: 4px 9px 3px; vertical-align: middle;
  font-family: 'Barlow Semi Condensed', sans-serif; font-stretch: 100%; font-weight: 600; font-size: 11.5px; letter-spacing: 0.16em;
  border: 1.5px solid currentColor;
}

/* ---------- form ---------- */
.form { max-width: 920px; }
.form fieldset { border: 0; margin: 0 0 30px; padding: 0; min-width: 0; }
.form legend { padding: 0; margin-bottom: 12px; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 10px; }
.choice {
  position: relative; display: flex; align-items: flex-start; gap: 12px;
  min-height: 64px; padding: 16px 18px; cursor: pointer;
  border: 1.5px solid var(--ink);
  transition: background-color .12s ease, color .12s ease;
}
.choice input { margin: 4px 0 0; width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.choice b { display: block; font-weight: 600; font-size: 18px; line-height: 1.25; }
.choice small { display: block; margin-top: 2px; font-size: 15px; color: var(--mid); }
.choice:hover { background: #f1f1f3; }
.choice:has(input:checked) { background: var(--ink); color: var(--paper); }
.choice:has(input:checked) small { color: var(--light); }
.choice:has(input:checked) input { accent-color: var(--paper); }
.choice:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-top: 8px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; }
.field label span { font-weight: 400; letter-spacing: 0.06em; text-transform: none; color: var(--mid); }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; font: inherit; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--ink); border-radius: 0;
}
.field textarea { min-height: 150px; resize: vertical; }
.form .send { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 28px; }
.form .fine { font-size: 15px; margin: 0; max-width: 34em; }
.hp { position: absolute; left: -9999px; }
.field label.q { font-size: 19px; letter-spacing: 0; text-transform: none; line-height: 1.3; }
.aside { max-width: 920px; margin: 40px 0 0; padding-top: 24px; border-top: 1.5px solid var(--ink); }

/* ---------- prose pages ---------- */
.prose { max-width: 720px; }
.prose h1 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 28px; }
.prose h2 { font-size: 20px; margin: 36px 0 12px; }

/* ---------- footer ---------- */
.site-footer { padding: 64px 0 40px; }
.site-footer .top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 32px; }
.site-footer .lockup { height: 56px; width: auto; }
.site-footer .creed { margin: 20px 0 0; color: var(--light); }
.social { display: flex; flex-wrap: wrap; gap: 6px 28px; list-style: none; margin: 0; padding: 0; }
.social a {
  display: inline-flex; align-items: center; min-height: 44px; text-decoration: none;
  font-weight: 600; font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase;
  border-bottom: 1.5px solid transparent;
}
.social a:hover { border-bottom-color: currentColor; }
.site-footer .legal {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--rule-dark);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px;
  font-size: 15px; color: var(--light);
}
.site-footer .legal p { margin: 0; max-width: 46em; }
.site-footer .legal a { color: var(--paper); }

/* ---------- phone ---------- */
@media (max-width: 860px) {
  .hero .grid { grid-template-columns: 1fr; min-height: 0; }
  .hero .copy { padding: 124px var(--gutter) 48px; }
  .page-head { padding-top: 124px; }
  .hero .photo { min-height: 0; aspect-ratio: 4 / 5; }
  .hero.compact .grid { min-height: 0; }
  .row { grid-template-columns: minmax(0, 1fr); padding: 24px 0; }
  .fields { grid-template-columns: 1fr; }
  .story-grid, .cols3, .cards2 { grid-template-columns: 1fr; }
  .story-photo { max-width: 420px; order: 2; }
}
@media (max-width: 560px) {
  body { font-size: 18px; }
  .brand .lockup { display: none; }
  .brand .mark-only { display: block; }
  .nav .story-link { display: none; }
  .site-header .wrap { height: 72px; }
  .tag { margin: 8px 0 0; display: table; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
