/* Northumbria Grave Care — stylesheet.
   Tokens and component classes come from the "Classical" design system in the
   handoff; the page layout section reproduces the handoff's inline styles.
   No JS, no build step, no media queries — layout reflows with auto-fit grids
   and clamp(). */

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --color-bg: #f3f2f2;
  --color-surface: #eae9e9;
  --color-text: #201f1d;
  --color-text-muted: color-mix(in srgb, var(--color-text) 80%, transparent); /* contrast floor — do not lighten */
  --color-accent: #b68235;
  --color-accent-700: #8a6224;
  --color-divider: color-mix(in srgb, #201f1d 16%, transparent);

  --font-heading: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Lora", Georgia, "Times New Roman", serif;

  --radius-md: 4px;
}

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

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

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
}

p { margin: 0; }

a {
  color: var(--color-accent-700);
  text-decoration: none;
}
a:hover { color: var(--color-accent); }

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

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }

.tel { font-feature-settings: 'tnum', 'lnum'; }

.muted { color: var(--color-text-muted); }

.icon {
  flex: none;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ── Components ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-heading);
  font-feature-settings: 'tnum', 'lnum';
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  color: var(--color-text);
  background: transparent;
  border: 1px solid transparent;
  padding: 9px 17px;
  border-radius: var(--radius-md);
  min-height: 48px;
}
.btn-primary { color: var(--color-accent); border-color: var(--color-accent); }
.btn-primary:hover { background: color-mix(in srgb, var(--color-accent) 12%, transparent); color: var(--color-accent); }
.btn-primary:active { background: color-mix(in srgb, var(--color-accent) 22%, transparent); }
.btn-secondary { border-color: var(--color-divider); }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); color: var(--color-text); }
.btn-secondary:active { background: color-mix(in srgb, var(--color-text) 14%, transparent); }

.plate {
  filter: sepia(0.22) saturate(0.82) contrast(1.05);
  border: 6px solid var(--color-surface);
  outline: 1px solid var(--color-divider);
}

.rule {
  height: 1px;
  background: var(--color-divider);
  margin: 14px 0;
}

/* ── Page layout ────────────────────────────────────────────────────────── */
.page {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 48px) clamp(18px, 4vw, 44px) 0;
}

/* Header */
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.site-header .logo { width: min(460px, 100%); }

.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  font-size: 15px;
  line-height: 1.15;
}
.header-contact .call-label {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15;
}
.header-contact .phone {
  font-size: clamp(26px, 3vw, 30px);
  font-weight: 500;
  line-height: 1.15;
  white-space: nowrap;
}

.site-header + .rule { margin: clamp(22px, 3vw, 34px) 0; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}
.hero h1 {
  font-weight: 400;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.005em;
  text-wrap: pretty;
}
.hero .lede {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.75;
  text-align: justify;
  margin-top: 22px;
  text-wrap: pretty;
}
.hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.hero .actions .btn { flex: 1 1 240px; }
.hero .plate { width: 100%; }

/* Section headings */
.section-title {
  font-weight: 500;
  font-size: clamp(26px, 3.4vw, 34px);
  margin-top: clamp(40px, 6vw, 64px);
}

/* What's included */
.included {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.included li {
  display: flex;
  gap: 9px;
  font-size: 16px;
  line-height: 1.45;
}
.included li::before {
  content: "—";
  color: var(--color-accent);
  flex: none;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(22px, 3vw, 34px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.step h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0;
}
.step p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* Flower arrangements */
.flowers-intro {
  font-size: 16px;
  line-height: 1.6;
  max-width: 62ch;
  text-wrap: pretty;
}
.flowers-photo { margin-top: 22px; }
.flowers-photo img { width: 100%; }
/* Empty plate — holds the space for a photo that hasn't been supplied yet */
.plate-empty {
  filter: none;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: var(--color-surface);
  outline-style: dashed;
  font-family: var(--font-heading);
  font-size: 17px;
  color: color-mix(in srgb, var(--color-text) 45%, transparent);
  text-align: center;
  padding: 12px;
}

/* Coming-soon section — present but greyed out until there is content */
.coming-soon { opacity: 0.45; }
.coming-soon p {
  font-size: 16px;
  line-height: 1.6;
  max-width: 62ch;
}
.tag {
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border: 1px solid var(--color-accent);
  border-radius: 3px;
  color: var(--color-accent-700);
}

/* Reassurance */
.reassurance-rule { margin: clamp(40px, 6vw, 64px) 0 14px; }
.reassurance {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.reassurance li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  line-height: 1.4;
}

/* Footer */
.site-footer {
  margin-top: clamp(40px, 6vw, 64px);
  border-top: 1px solid var(--color-divider);
  padding: clamp(24px, 3vw, 32px) 0 clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  align-items: end;
}
.site-footer .contact {
  font-size: 16px;
  line-height: 1.65;
}
.site-footer .name {
  font-family: var(--font-heading);
  font-size: 23px;
  font-weight: 600;
}
.site-footer address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text-muted);
}
