/* ashleyandjeff.com — the public placeholder.
   Built to the family-branding standard.

   This file is served publicly. It carries no repo or tracker names and no
   notes about the household: those create a public link between this domain
   and everything else, and they belong in the private kit instead.

   The page is the stacked lockup and nothing else — house, then names. The
   serif runs it; this is a "feeling" surface, not a "doing" one. */

:root {
  /* From the house */
  --wedgewood: #6B7E8C;
  --wedgewood-deep: #46555F;
  --trim: #FCFBF7;
  --linen: #F1ECE0;
  --colonial-red: #9C4741;
  /* From the animals */
  --chocolate: #5E4436;
  --ink: #23282D;
  --marmalade: #C77F45;

  --bg: var(--linen);
  --text: var(--ink);

  /* The wordmark section allows the ampersand in "Marmalade or Slate". On
     Linen, Marmalade measures 2.72:1 — below even the 3:1 large-text floor —
     so Slate is the only one of the two that works on this ground (3.57:1 at
     the display size the ampersand renders). Marmalade takes over on dark,
     where it measures 5.14:1 and the dark table authorises it for large text.
     The "Slate Blue is never small text" rule is about small text; this is a
     37-53px glyph. */
  --amp: var(--wedgewood);

  --serif: "Iowan Old Style", "Palatino Linotype", "Hoefler Text", Georgia, Cambria, serif;
  --sans: "Avenir Next", Avenir, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #172029;
    --text: #ECE7DB;
    --amp: var(--marmalade);
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  /* svh, not vh: on iOS Safari 100vh is the LARGE viewport, so the centred
     block sits low and the page scrolls with the toolbar shown. These are
     phone-first surfaces. vh first as the fallback for older engines. */
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 34rem;
  padding: 3rem 1.5rem 4rem;
  text-align: center;
}

.house {
  display: block;
  width: min(24rem, 100%);
  height: auto;
  margin: 0 auto 1.8rem;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 8vw, 3.1rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.01em;
}

/* "the ampersand as the only flourish — slightly larger" */
h1 .amp {
  font-style: italic;
  color: var(--amp);
  font-size: 1.06em;
  padding: 0 .04em;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
