:root {
  --ink: #2a1a1f; --muted: #6b5a5f; --paper: #fffafa; --card: #ffffff; --tint: #fbe6ea;
  --accent: #c8264a; --accent-dark: #9e1736; --accent-ink: #ffffff; --line: #f0d3d9;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 16px; background: var(--card); padding: 8px; z-index: 5; }

.topbar { background: var(--accent); color: var(--accent-ink); font-size: .88rem; }
.topbar-in { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; flex-wrap: wrap; }
.topbar a { font-weight: 600; text-decoration: none; }

.mast { display: flex; align-items: center; gap: 24px; padding: 16px 0; flex-wrap: wrap; position: relative; }
.brand img { width: 150px; height: auto; }
.mast nav { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.mast nav a { text-decoration: none; color: var(--ink); font-weight: 500; }
.mast nav a:hover { color: var(--accent); }
.demo-label { font-size: .72rem; border: 1px solid var(--line); border-radius: 99px; padding: 2px 10px; color: var(--muted); }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; }
h1 { font-size: clamp(2.1rem, 4vw, 3.05rem); margin: .2em 0 .35em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: .15em 0 .4em; }
h3 { font-size: 1.22rem; margin: 0 0 .35em; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; color: var(--accent-dark); font-weight: 600; margin: 0; }

.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; padding: 36px 0 56px; align-items: start; }
.intro { font-size: 1.1rem; color: var(--muted); margin: 0 0 16px; max-width: 56ch; }
.ticks { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; }
.ticks li { position: relative; padding-left: 28px; font-size: .97rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: calc(.3em + 4px); width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.hero-photo { margin: 0; }
.hero-photo img { border-radius: 18px; width: 100%; aspect-ratio: 675 / 440; object-fit: cover; }
figcaption { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0 0; }
.facts div { background: var(--tint); border-radius: 12px; padding: 12px 14px; }
.facts dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-dark); font-weight: 700; }
.facts dd { margin: 2px 0 0; font-size: .9rem; line-height: 1.4; }

.actions { display: flex; gap: 14px 18px; align-items: center; flex-wrap: wrap; margin-top: 22px; }
.primary, .secondary { border-radius: 999px; padding: 13px 22px; font: 600 1rem var(--body); cursor: pointer; text-decoration: none; display: inline-block; }
.primary { background: var(--accent); color: var(--accent-ink); border: 2px solid var(--accent); }
.primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.secondary { background: transparent; color: var(--accent-dark); border: 2px solid var(--accent); }
.text-link { background: none; border: 0; padding: 0; font: inherit; color: var(--accent-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.section { padding: 60px 0; }
.tint { background: var(--tint); }
.head-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: 28px; }
.lede { color: var(--muted); margin: 0; }
.small { font-size: .88rem; color: var(--muted); }

.flower-grid { display: grid; grid-template-columns: .8fr 2fr; gap: 28px; align-items: start; }
.flower-photo { margin: 0; }
.flower-photo img { border-radius: 18px; aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.price-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; }
.price-card p { margin: 0 0 8px; }
.prices { font-weight: 700; color: var(--accent-dark); }
.extras { background: var(--tint); border-color: transparent; }

.funeral-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tribute-list { margin-top: 28px; background: var(--card); border-radius: 16px; padding: 24px; }
.tribute-list ul { list-style: none; padding: 0; margin: 0; columns: 4; column-gap: 24px; }
.tribute-list li { padding: 4px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }

.delivery { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: start; }
.areas { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.areas li { background: var(--tint); border-radius: 99px; padding: 4px 12px; font-size: .92rem; }
.delivery-photos { display: grid; gap: 18px; }
.delivery-photos figure { margin: 0; }
.delivery-photos img { border-radius: 14px; width: 100%; }
.delivery-photos figure:last-child img { aspect-ratio: 16 / 9; object-fit: cover; }

.shops { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.shop { background: var(--card); border-radius: 16px; overflow: hidden; padding-bottom: 14px; }
.shop img { aspect-ratio: 675 / 440; object-fit: cover; width: 100%; }
.shop h3, .shop p { padding: 0 16px; }
.shop h3 { margin-top: 14px; }
.shop p { margin: 0 0 6px; font-size: .93rem; }
.shop a { color: var(--accent-dark); font-weight: 600; }
.shop-mark { aspect-ratio: 675 / 440; display: grid; place-items: center; background: var(--accent); color: #fff; font: italic 600 2.6rem var(--display); }

.visit { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: center; }
.visit .actions { margin-top: 0; }
.foot { padding: 28px 0 44px; color: var(--muted); font-size: .88rem; border-top: 1px solid var(--line); }

dialog { border: 0; border-radius: 18px; padding: 28px; width: min(100% - 32px, 480px); }
dialog::backdrop { background: rgb(0 0 0 / .4); }
.enquiry-form label { display: block; margin: 12px 0; }
.enquiry-form input, .enquiry-form textarea { width: 100%; font: inherit; padding: 10px; border: 1px solid var(--line); border-radius: 10px; }
.note { font-size: .85rem; color: var(--muted); }

@media (max-width: 980px) {
  .hero, .delivery, .flower-grid { grid-template-columns: 1fr; }
  .flower-photo img { aspect-ratio: 16 / 10; }
  .funeral-grid, .shops { grid-template-columns: repeat(2, 1fr); }
  .tribute-list ul { columns: 2; }
}
@media (max-width: 640px) {
  .mast nav { width: 100%; margin-left: 0; gap: 16px; font-size: .95rem; }
  .demo-label { position: absolute; right: 0; top: 24px; }
  .hero { padding-top: 16px; gap: 28px; }
  .ticks { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .head-row { grid-template-columns: 1fr; gap: 8px; }
  .price-list, .funeral-grid, .shops { grid-template-columns: 1fr; }
  .tribute-list ul { columns: 1; }
  .section { padding: 44px 0; }
}
