/* ==========================================================================
   Goose Fire Ceramics — visual system
   --------------------------------------------------------------------------
   Type: a serif with real italics for display and headings, a grotesque with
   good small sizes for interface. Both are common system stacks, so there is
   no webfont request and no layout shift.
   Colour: warm neutral ground, dark warm ink, one glaze-teal accent used
   sparingly. Sampled from the studio's own photographs.
   ========================================================================== */

:root {
  --ink: #23201E;
  --umber: #4A3D36;
  --paper: #F4F1EA;
  --paper-warm: #E9E4D9;
  --line: #D9D3C6;
  --line-soft: #E5E0D5;

  --leather: #875F3A;
  --glaze: #5D8292;
  --bisque: #C6C2B0;

  --text: var(--ink);
  --text-soft: #514A42;
  --text-mute: #635C53;
  --accent: #7A5330;
  --focus: #2F6B7D;

  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia,
                  "Times New Roman", serif;
  --font-body: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --font-ui: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
             Arial, sans-serif;

  --step--1: clamp(0.84rem, 0.81rem + 0.15vw, 0.92rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  --step-1: clamp(1.18rem, 1.09rem + 0.42vw, 1.42rem);
  --step-2: clamp(1.42rem, 1.24rem + 0.85vw, 1.88rem);
  --step-3: clamp(1.75rem, 1.42rem + 1.5vw, 2.5rem);
  --step-4: clamp(2.05rem, 1.5rem + 2.6vw, 3.15rem);

  --sp-1: 0.5rem; --sp-2: 1rem; --sp-3: 1.75rem;
  --sp-4: 3rem;   --sp-5: 4.5rem;

  --wrap: 72rem;
  --measure: 62ch;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;          /* a stray wide child must not create a scrollbar */
}

img { max-width: 100%; height: auto; display: block; }

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

.skip {
  position: absolute; left: -9999px; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: 0.7rem 1.1rem; border-radius: 0 0 var(--radius) 0;
}
.skip:focus { left: 0; top: 0; }

.wrap { max-width: var(--wrap); margin-inline: auto;
        padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
.narrow > p, .narrow > h2, .narrow h2 + p, .lead { max-width: var(--measure); }

/* ------------------------------------------------------------ typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.14;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); }
p { margin: 0 0 1em; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
.more { display: inline-block; font-weight: 600; }
.quiet {
  font-family: var(--font-ui); font-size: var(--step--1);
  color: var(--text-soft); border-left: 2px solid var(--line);
  padding-left: 1rem; max-width: 58ch;
}
.lead { font-size: var(--step-1); line-height: 1.5; color: #3A342E; }

.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 0.65rem; font-weight: 600;
}
.section-note { color: var(--text-soft); max-width: 52ch; font-size: var(--step-0); }

/* ------------------------------------------------------------ header */
.site-head {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(140%) blur(6px);
  position: sticky; top: 0; z-index: 20;
}
.head-inner {
  display: flex; flex-wrap: wrap; gap: var(--sp-2);
  align-items: center; justify-content: space-between;
  padding-block: 0.75rem;
}
.wordmark {
  display: inline-flex; align-items: center; gap: 0.5rem;
  text-decoration: none; color: var(--ink);
  font-family: var(--font-display); font-size: var(--step-1);
}
.mark { height: 1.6em; width: auto; flex: none; }
.site-head nav { display: flex; flex-wrap: wrap; gap: 0.1rem 1.4rem; }
.site-head nav a {
  font-family: var(--font-ui); font-size: 0.9rem; font-weight: 500;
  color: var(--text-soft); text-decoration: none;
  padding: 0.35rem 0; border-bottom: 2px solid transparent;
}
.site-head nav a:hover { color: var(--ink); border-bottom-color: var(--line); }
.site-head nav a[aria-current="page"] {
  color: var(--ink); border-bottom-color: var(--accent);
}

/* ------------------------------------------------------------ hero
   A split, not a full-bleed scrim. The photograph is not darkened to make
   room for text, which is what made the previous version heavy. */
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center;
  background: var(--paper-warm);
}
.hero-split-text {
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1.1rem, 4vw, 4rem);
  max-width: 40rem;
}
.hero-split-text h1 { margin-bottom: 0.5em; }
.hero-split-text .hero-sub {
  font-size: var(--step-0); color: var(--text-soft); max-width: 40ch;
}
.hero-split-media { position: relative; align-self: stretch; }
.hero-split-media img {
  width: 100%; height: 100%; min-height: 22rem;
  object-fit: cover;
  /* A different crop per breakpoint: her face and the bird both stay in frame. */
  object-position: 58% 40%;
}
@media (max-width: 52rem) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-split-text { order: 2; padding-block: var(--sp-3); max-width: none; }
  .hero-split-media { order: 1; }
  .hero-split-media img {
    aspect-ratio: 4 / 3; min-height: 0; object-position: 56% 42%;
  }
}

.hero-actions {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.75rem 1.5rem; margin-top: 1.6rem;
}

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-block; font-family: var(--font-ui); font-size: 0.92rem;
  font-weight: 600; letter-spacing: 0.01em;
  padding: 0.75rem 1.4rem;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink); border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
}
.btn:hover { background: var(--umber); border-color: var(--umber); color: #fff; }
.btn-quiet {
  font-family: var(--font-ui); font-size: 0.92rem; font-weight: 500;
  color: var(--accent); text-decoration: underline;
  text-underline-offset: 4px; padding: 0.4rem 0;
}
.btn-quiet:hover { color: var(--ink); }

/* ------------------------------------------------------------ bands */
.band { padding-block: clamp(2.25rem, 5vw, 4rem); border-top: 1px solid var(--line-soft); }
.band:first-of-type { border-top: 0; }

.figure-plain, .work-lead, .work-pair figure, .making-photo, .people figure,
.artist-split-photo { margin: 0; }

figcaption {
  font-family: var(--font-ui);
  font-size: 0.82rem; line-height: 1.5; color: var(--text-mute);
  margin-top: 0.65rem; max-width: 46ch;
}

/* ------------------------------------------------------------ work
   Varied scale on purpose. Not a repeating card grid. */
.work-lead { margin-top: var(--sp-3); }
.work-lead img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: var(--radius); background: var(--paper-warm);
}
.work-pair {
  display: grid; gap: var(--sp-3) var(--sp-4);
  grid-template-columns: 1.2fr 1fr;   /* unequal: the pieces are not alike */
  align-items: start; margin-top: var(--sp-3);
}
.work-pair img {
  width: 100%; border-radius: var(--radius); background: var(--paper-warm);
}
.work-pair figure:first-child img { aspect-ratio: 4 / 3; }
.work-pair figure:last-child img  { aspect-ratio: 3 / 4; }
@media (max-width: 46rem) {
  .work-pair { grid-template-columns: 1fr; }
  .work-pair figure:last-child img { aspect-ratio: 4 / 3; }
}

/* ------------------------------------------------------------ making */
.making {
  display: grid; gap: var(--sp-3) var(--sp-4);
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center; margin-top: var(--sp-3);
}
.making-text p { max-width: 48ch; }
.making-photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius); background: var(--paper-warm);
}
@media (max-width: 58rem) {
  .making { grid-template-columns: 1fr; }
  .making-photo img { aspect-ratio: 3 / 2; }
}

/* ------------------------------------------------------------ people */
.people {
  display: grid; gap: var(--sp-4);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start; margin-top: var(--sp-3);
}
.person img { width: 100%; border-radius: var(--radius); background: var(--paper-warm); }
.person--primary img { aspect-ratio: 3 / 2; object-fit: cover; }
.person h3 { margin-top: 0.9rem; }
.person p { color: var(--text-soft); max-width: 44ch; }
@media (max-width: 46rem) { .people { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ artist page */
.artist-head { padding-block: clamp(2rem, 4vw, 3.5rem) 0; }
.artist-head h1 { font-size: var(--step-4); margin-bottom: 1.2rem; }
.artist-split {
  display: grid; gap: var(--sp-4);
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: start;
}
.artist-split-photo img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: var(--radius); background: var(--paper-warm);
}
@media (max-width: 58rem) {
  .artist-split { grid-template-columns: 1fr; }
  .artist-split-photo img { aspect-ratio: 3 / 2; }
}

/* ------------------------------------------------------------ contact */
.contact-grid {
  display: grid; gap: var(--sp-4) var(--sp-5);
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  align-items: start; margin-top: var(--sp-3);
}
@media (max-width: 54rem) { .contact-grid { grid-template-columns: 1fr; } }

.form { max-width: 34rem; }
.field { margin-bottom: 1.1rem; }
.field label {
  display: block; font-family: var(--font-ui);
  font-size: 0.85rem; font-weight: 600; color: var(--text-soft);
  margin-bottom: 0.4rem;
}
.field input, .field textarea {
  display: block; width: 100%;          /* the old name field was browser-default width */
  font-family: var(--font-body); font-size: var(--step-0);
  color: var(--text);
  padding: 0.7rem 0.8rem;
  min-height: 2.9rem;
  background: #fff;
  border: 1px solid #8A8378;
  border-radius: var(--radius);
}
.field textarea { resize: vertical; min-height: 8rem; line-height: 1.55; }
.field input:focus, .field textarea:focus { border-color: var(--focus); }
.field [aria-invalid="true"] { border-color: #A33A32; background: #FFF8F7; }
.error {
  font-family: var(--font-ui); font-size: 0.82rem;
  color: #8C2F27; margin: 0.35rem 0 0;
}
.form-note {
  font-family: var(--font-ui); font-size: 0.85rem;
  color: var(--text-mute); margin: 0.9rem 0 0; min-height: 1.2em;
}
.form-note--info { color: var(--text-soft); }
.contact-aside {
  background: var(--paper-warm); border: 1px solid var(--line);
  border-radius: var(--radius); padding: var(--sp-3);
}
.contact-aside h2 { font-size: var(--step-1); margin-top: 0; }
.contact-aside p { color: var(--text-soft); font-size: 0.95rem; }
.aside-note { font-family: var(--font-ui); font-size: 0.85rem; color: var(--text-mute); }

/* ------------------------------------------------------------ journal */
.note-entry { padding-bottom: var(--sp-3); margin-bottom: var(--sp-3);
              border-bottom: 1px solid var(--line-soft); }
.note-entry:last-of-type { border-bottom: 0; }
.note-entry h2 { font-size: var(--step-1); margin-bottom: 0.35em; }

/* ------------------------------------------------------------ footer */
.site-foot {
  background: var(--ink); color: #CFC9BE;
  padding-block: var(--sp-4); margin-top: clamp(2rem, 4vw, 3rem);
  font-family: var(--font-ui); font-size: 0.85rem;
}
.foot-brand { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 0.6rem; }
.foot-brand .wm-text {
  font-family: var(--font-display); font-size: var(--step-0);
  letter-spacing: 0.03em; color: var(--paper);
}
.site-foot .mark { height: 1.4rem; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 0.1rem 1.4rem; margin-block: 0.6rem; }
/* Must out-specify `.site-head nav a` — same shape, but these sit on dark. */
.site-foot a, .site-foot nav a { color: #E6E2D8; }
.site-foot a:hover, .site-foot nav a:hover { color: #fff; }
.site-foot :focus-visible { outline-color: var(--bisque); }
.site-foot .fine { color: #A8A199; max-width: 62ch; margin-top: 0.9rem; line-height: 1.6; }

/* ------------------------------------------------------------ utility */
.stack > * + * { margin-top: var(--sp-3); }
.connect { border-top: 1px solid var(--line-soft); }
.connect .btn { margin-top: 0.6rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .btn { transition: none; }
}