/* Hallmark · job: join (small churches ask by KakaoTalk) · shape: Daangn-style story (custom, by request: one-line head over an alley church photo that grows into a short clip to fill the screen, a manifesto painted sentence by sentence, a mixed-ratio photo collage, four dated figures, one hand drawing) · genre: editorial · theme: custom (final B: draft A's warm paper and leaf green carried over; one ink, green only on the logo, the main button, links and the hand-written line)
 * hero: the head, one line and the action over a photograph that widens to full bleed as you scroll, then a second sentence on it · nav: edge-aligned, draft A's sprout mark and Grain wordmark left, three page links right with the current one underlined in green · footer: the logo, contact, owner · imagery: AI-generated staged stills and one 5-second clip supplied by the designer (Dreamina, GPT Image), one SVG line drawing (draft A's wheat ears) · signature: a white-walled small church entrance opening to full screen, an older member going in
 * axes: light/sans/neutral-warm · posture: plain · contrast: pass (unread manifesto grey is a scroll state; it is ink with no script or under reduced motion) · fold: pass · motion: two scroll-pinned scenes (photo grows, sentences turn ink), both off under reduced motion and without script · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S5 R4 V4 · weakest: P, the pictures are generated stand-ins (deployed without a label, by the owner's decision); each sits in a data-slot for a partner church's consented photos */
/* Hallmark · waive 79 · the space under the hero head is the village church photograph (.hero-photo, absolute and clipped by script) · it fills the rest of the first screen */
/* Hallmark · waive 77 · .paint, .promise, .support, .faq and .contact hold text at a reading measure (about 44 to 48rem), as on the reference · a painted paragraph, a two-line promise, questions and a contact list read in a measure, not ten columns */
/* Hallmark · waive 80 · figure.grow is one line drawing of a grain in the ground rising to three wheat ears, taken from draft A · requested: the reference keeps one hand drawing on the page, with the green on the leaves and the grain */

:root {
  --color-paper: oklch(96.6% 0.007 95);
  --color-paper-2: oklch(94.2% 0.01 100);
  --color-ink: oklch(23% 0.012 70);
  --color-ink-2: oklch(43% 0.012 70);
  --color-unread: oklch(83% 0.01 85);
  --color-rule: oklch(86% 0.012 85);
  --color-leaf: oklch(47% 0.085 140);
  --color-leaf-ink: oklch(42% 0.08 140);
  --color-leaf-wash: oklch(88% 0.045 135);
  --color-on-leaf: oklch(98% 0.005 95);
  --color-on-ink: oklch(98% 0.005 95);
  --color-shade: oklch(15% 0.012 70);
  --color-on-photo: oklch(99% 0.005 90);
  --color-focus: oklch(42% 0.08 140);
  --color-photo-edge: oklch(0% 0 0 / 0.08);

  --font-body: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  --font-hand: "Nanum Pen Script", "Pretendard Variable", cursive;

  --text-sm: 1rem;
  --text-base: 1.0625rem;
  --text-lg: 1.1875rem;
  --text-paint: clamp(1.375rem, 1.05rem + 1.3vw, 1.75rem);
  --text-xl: clamp(1.75rem, 1.2rem + 2vw, 2.625rem);
  --text-2xl: clamp(2.125rem, 1.1rem + 3.6vw, 4rem);
  --text-second: clamp(1.5rem, 1.05rem + 1.9vw, 2.5rem);
  --text-num: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem);
  --text-hand: clamp(2rem, 1.55rem + 1.6vw, 2.75rem);

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 8rem;

  --container: 75rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --gap: clamp(0.75rem, 2vw, 1.5rem);
  --radius-photo: 20px;
  --tracking-head: -0.04em;
}

*, *::before, *::after { box-sizing: border-box; }
:root { color-scheme: only light; }
::selection { background: var(--color-leaf-wash); color: var(--color-ink); }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
  caret-color: var(--color-leaf);
  -webkit-font-smoothing: antialiased;
}
h1, h2 { font-weight: 700; line-height: 1.32; margin: 0; letter-spacing: var(--tracking-head); color: var(--color-ink); overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
p, dl, dd { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
figure img { outline: 1px solid var(--color-photo-edge); outline-offset: -1px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
figure { margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: var(--space-2); top: -4rem; background: var(--color-ink); color: var(--color-on-ink); padding: var(--space-1) var(--space-2); border-radius: 8px; z-index: 10; }
.skip-link:focus-visible { top: var(--space-2); }

/* header */
.site-header { padding-block: var(--space-3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.brand { display: inline-flex; align-items: center; gap: 0.45rem; text-decoration: none; font-size: 1.375rem; color: var(--color-ink); min-height: 2.75rem; }
.brand-mark { width: 1.75rem; height: 1.75rem; flex: none; fill: none; stroke: var(--color-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark .leaf { fill: var(--color-leaf-wash); }
.brand-word { width: 2.56em; height: 0.77em; flex: none; fill: currentColor; margin-top: 0.1em; }
.nav { display: flex; gap: var(--space-4); list-style: none; margin: 0; padding: 0; }
.nav a { white-space: nowrap; text-decoration: none; font-weight: 500; color: var(--color-ink-2); padding-block: 0.4rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-leaf); text-underline-offset: 0.4em; text-decoration-thickness: 2px; }
.nav a[aria-current="page"] { font-weight: 700; }

.button {
  display: inline-flex; align-items: center; min-height: 3.25rem; padding: var(--space-1) var(--space-3);
  background: var(--color-leaf); color: var(--color-on-leaf); text-decoration: none; font-weight: 700;
  border-radius: 999px; white-space: nowrap;
  transition: background-color 160ms ease, transform 160ms ease;
}
.button:hover { background: var(--color-leaf-ink); }
.button:active { transform: translateY(1px); }

/* hero, static by default */
.hero-head { padding-top: var(--space-4); }
.hero h1 { font-size: var(--text-2xl); }
.hero-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-4); margin-top: var(--space-3); }
.hero-sub { font-size: var(--text-lg); color: var(--color-ink-2); }
.hero-photo { position: relative; width: min(100% - 2 * var(--gutter), var(--container)); margin: var(--space-4) auto 0; }
.hero-photo img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: 50% 0%; border-radius: var(--radius-photo); }
.hero-shade { display: none; }
.hero-video { display: none; }
.hero-second { margin-top: var(--space-3); font-size: var(--text-xl); font-weight: 700; letter-spacing: var(--tracking-head); line-height: 1.4; width: auto; }

/* hero, pinned scene: the photo widens to full bleed, then the second sentence */
.motion .hero { height: 250svh; }
.motion .hero-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.motion .hero-head { position: relative; z-index: 1; }
.motion .hero-photo { position: absolute; inset: 0; width: auto; margin: 0; }
.motion .hero-photo img, .motion .hero-video { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; object-fit: cover; object-position: 58% 40%; }
.motion .hero-video { display: block; position: absolute; inset: 0; opacity: var(--video, 0); }
.motion .hero-shade { display: block; position: absolute; inset: 0; background: var(--color-shade); color: var(--color-on-photo); opacity: calc(var(--second, 0) * 0.5); }
.motion .hero-second { position: absolute; left: 0; right: 0; bottom: 14vh; margin: 0 auto; color: var(--color-on-photo); opacity: var(--second, 0); width: min(100% - 2 * var(--gutter), var(--container)); font-size: var(--text-second); }

/* manifesto, painted sentence by sentence */
.manifesto { padding-block: var(--space-6); }
.paint { font-size: var(--text-paint); font-weight: 700; line-height: 1.6; letter-spacing: -0.02em; max-width: 46rem; margin-inline: auto; }
.paint span { transition: color 400ms ease; }
.verse { margin: var(--space-5) auto 0; max-width: 46rem; padding-block: var(--space-3); text-align: center; }
.verse blockquote { margin: 0 auto; max-width: 30rem; }
.verse p { font-size: var(--text-lg); color: var(--color-ink); line-height: 1.95; text-wrap: pretty; }
.verse figcaption { margin-top: var(--space-2); color: var(--color-ink-2); font-size: var(--text-sm); }
.motion .manifesto { height: 240svh; padding: 0; }
.motion .manifesto-stage { position: sticky; top: 16svh; padding-top: var(--space-4); }
.motion .paint span { color: var(--color-unread); }
.motion .paint span.is-read { color: var(--color-ink); }

/* collage: mixed sizes and ratios, staggered */
.collage { padding-block: var(--space-4) var(--space-6); }
.collage-inner { display: grid; gap: var(--gap); }
.collage-row { display: grid; gap: var(--gap); align-items: start; }
.row-1 { grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.8fr) minmax(0, 1fr); }
.row-2 { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.45fr) minmax(0, 1fr); }
.c img { width: 100%; object-fit: cover; border-radius: var(--radius-photo); }
.c-wide img { aspect-ratio: 4 / 3; }
.c-wide-32 img { aspect-ratio: 3 / 2; }
.c-tall img { aspect-ratio: 3 / 4; }
.c-square img { aspect-ratio: 1; }
.c-drop { margin-top: var(--space-5); }
.c-drop-2 { margin-top: var(--space-3); }

/* numbers */
.numbers { padding-block: var(--space-5) var(--space-6); }
.numbers h2 { font-size: var(--text-xl); font-variant-numeric: tabular-nums; }
.figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5) var(--space-4); margin-top: var(--space-5); }
.fig { display: flex; flex-direction: column; }
.fig dt { color: var(--color-ink-2); max-width: 30rem; order: 2; margin-top: var(--space-1); }
.fig-num { order: 1; font-size: var(--text-num); font-weight: 700; letter-spacing: var(--tracking-head); line-height: 1.15; font-variant-numeric: tabular-nums; }
.fig-num span { font-size: var(--text-sm); font-weight: 500; letter-spacing: 0; color: var(--color-ink-2); }
.numbers-close { margin-top: var(--space-5); font-family: var(--font-hand); font-size: var(--text-hand); font-weight: 400; letter-spacing: 0; line-height: 1.35; max-width: 40rem; color: var(--color-leaf-ink); transform: rotate(-1.2deg); transform-origin: left center; font-variant-numeric: tabular-nums; }

.numbers-source { margin-top: var(--space-4); font-size: var(--text-sm); color: var(--color-ink-2); max-width: 44rem; }

/* inner pages: one-line head and one photograph, as on the home */
.sub-hero { padding-top: var(--space-4); }
.sub-hero h1 { font-size: var(--text-2xl); }
.sub-lead { margin-top: var(--space-3); font-size: var(--text-lg); color: var(--color-ink-2); max-width: 40rem; }
.sub-photo { margin-top: var(--space-4); }
.sub-photo img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: 50% 45%; border-radius: var(--radius-photo); }
.sub-photo-32 img { object-position: 50% 55%; }
.sub-hero + section, .how, .kinds, .promise, .apply, .support, .faq, .contact { padding-block: var(--space-6) 0; }
main > section:last-child { padding-bottom: var(--space-6); }
.how h2, .kinds h2, .promise h2, .support h2, .faq h2, .contact h2, .apply h2 { font-size: var(--text-xl); }

/* how: three steps beside a square photo */
.how-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--space-5); align-items: end; }
.how-list { list-style: none; margin: var(--space-4) 0 0; padding: 0; }
.how-list li { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: var(--space-2); padding-block: var(--space-3); border-top: 1px solid var(--color-rule); }
.how-no { font-size: var(--text-num); font-weight: 700; line-height: 1; letter-spacing: var(--tracking-head); font-variant-numeric: tabular-nums; }
.how-list h3 { margin: 0 0 0.35rem; font-size: var(--text-paint); letter-spacing: -0.02em; line-height: 1.35; }
.how-list p { color: var(--color-ink-2); }
.how-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-photo); }

/* kinds: the two apps, names big; the rest as a plain list */
.now { margin-top: var(--space-4); }
.now-name { margin: 0; font-size: clamp(3rem, 2rem + 4vw, 5.5rem); letter-spacing: var(--tracking-head); line-height: 1.1; }
.now-item + .now-item { margin-top: var(--space-5); }
.now-tag { margin-top: var(--space-1); color: var(--color-ink-2); font-weight: 700; }
.now-desc + .now-tag { margin-top: var(--space-2); }
.now-desc { margin-top: var(--space-3); font-size: var(--text-paint); font-weight: 700; letter-spacing: -0.02em; line-height: 1.5; max-width: 40rem; }
.now-by { margin-top: var(--space-1); font-size: var(--text-sm); color: var(--color-ink-2); }
.now-try { margin-top: var(--space-2); }
.now-try a { color: var(--color-leaf-ink); font-weight: 700; text-underline-offset: 0.25em; text-decoration-thickness: 1px; padding-block: 0.25rem; }
.now-try a:hover { text-decoration-thickness: 2px; }
.now-try-arrow { margin-left: 0.3em; color: var(--color-leaf-ink); }
.kind-list { margin: var(--space-5) 0 0; border-top: 1px solid var(--color-ink); }
.kind-list div { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: var(--space-1) var(--space-4); padding-block: var(--space-3); border-bottom: 1px solid var(--color-rule); }
.kind-list dt { font-weight: 700; font-size: var(--text-lg); }
.kind-list dd { color: var(--color-ink-2); }
.kinds-close { margin-top: var(--space-3); font-weight: 700; }

.promise-line { margin-top: var(--space-3); font-size: var(--text-paint); font-weight: 700; letter-spacing: -0.02em; line-height: 1.55; max-width: 44rem; }

/* join */
.apply-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--space-5); align-items: center; }
.apply-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-photo); }
.apply-text { display: grid; gap: var(--space-3); justify-items: start; }
.apply-list { list-style: none; margin: 0; padding: 0; width: 100%; }
.apply-list li { display: flex; align-items: baseline; gap: var(--space-2); padding-block: var(--space-2); border-bottom: 1px solid var(--color-rule); font-size: var(--text-paint); font-weight: 700; letter-spacing: -0.02em; }
.apply-no { min-width: 2rem; font-size: var(--text-num); line-height: 1; font-variant-numeric: tabular-nums; }
.apply-phone { color: var(--color-ink-2); font-size: var(--text-lg); }
.apply-phone a, .contact-list a[href^="tel:"] { display: inline-block; padding-block: 0.25rem; color: var(--color-ink); white-space: nowrap; text-underline-offset: 0.25em; text-decoration-color: var(--color-leaf); }
.support-line { margin-top: var(--space-2); font-size: var(--text-paint); font-weight: 700; letter-spacing: -0.02em; line-height: 1.5; max-width: 40rem; }
.support-note { margin-top: var(--space-1); color: var(--color-ink-2); }
.faq-inner > * { max-width: 48rem; }
.faq details { border-bottom: 1px solid var(--color-rule); }
.faq details:first-of-type { margin-top: var(--space-3); border-top: 1px solid var(--color-ink); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--space-2); padding-block: var(--space-3); font-weight: 700; font-size: var(--text-lg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--color-leaf-ink); }
.faq summary:hover { color: var(--color-leaf-ink); }
.faq details[open] summary::after { content: "-"; }
.faq details p { padding-bottom: var(--space-3); color: var(--color-ink-2); }
.contact-list { margin: var(--space-3) 0 0; display: grid; gap: var(--space-1); }
.contact-list div { display: flex; flex-wrap: wrap; gap: 0.25rem var(--space-3); font-size: var(--text-lg); }
.contact-list dt { min-width: 8rem; color: var(--color-ink-2); }
.contact-list a { text-underline-offset: 0.25em; text-decoration-color: var(--color-leaf); }
.contact-list a:hover { color: var(--color-leaf-ink); }
.contact-phone { margin-top: var(--space-2); font-size: var(--text-lg); }
.contact-owner { margin-top: var(--space-2); color: var(--color-ink-2); }

/* one drawing, then the invitation */
.invite { background: var(--color-paper-2); padding-block: var(--space-5) var(--space-6); }
.invite-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-4) var(--space-5); align-items: center; }
.grow { justify-self: center; width: min(100%, 26rem); }
.grow svg { width: 100%; height: auto; }
.grow .draw { fill: none; stroke: var(--color-ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.grow .twig, .grow .crown, .grow .bird { stroke-width: 1.8; }
.grow .leafs { stroke: var(--color-leaf); }
.grow .seed-dot { fill: var(--color-leaf); stroke-width: 1.4; }
.invite-text { display: grid; gap: var(--space-3); justify-items: start; }
.invite h2 { font-size: var(--text-xl); }
.invite-text p { font-size: var(--text-lg); color: var(--color-ink-2); max-width: 30rem; }
.invite-text .invite-by { font-size: var(--text-sm); color: var(--color-ink-2); }
.invite-by span { display: inline-block; }
.invite-by .invite-by-note { margin-inline-start: 0.3em; font-size: 0.875em; color: color-mix(in oklch, var(--color-ink-2) 85%, var(--color-paper)); }

/* footer */
.site-footer { padding-block: var(--space-5); border-top: 1px solid var(--color-rule); }
.footer-inner { display: grid; gap: var(--space-2); justify-items: start; }
.footer-brand { margin-bottom: var(--space-1); }
.footer-contact { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-4); }
.footer-contact a { padding-block: 0.25rem; text-underline-offset: 0.25em; text-decoration-color: var(--color-leaf); }
.footer-owner { font-size: var(--text-sm); color: var(--color-ink-2); }
.footer-contact a:hover { color: var(--color-leaf-ink); }

@media (max-width: 52rem) {
  .row-1, .row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; }
  .c-wide { grid-column: 1 / -1; margin-top: 0; }
  .figs { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
}
@media (max-width: 52rem) {
  .how-grid, .apply-grid { grid-template-columns: minmax(0, 1fr); }
  .how-photo { max-width: 22rem; }
  .apply-photo { max-width: 20rem; }
  .kind-list div { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 40rem) {
  .nav { gap: var(--space-2); }
  .brand { font-size: 1.2rem; }
  .invite-inner { grid-template-columns: minmax(0, 1fr); }
  .grow { width: min(100%, 18rem); }
  .hero-photo img { aspect-ratio: 4 / 3.6; }
  .sub-photo img { aspect-ratio: 4 / 3; }
  .motion .hero-second { bottom: 10vh; }
  .manifesto { padding-block: var(--space-5); }
}

@media (prefers-reduced-motion: reduce) {
  .paint span, .button { transition: none; }
}
