@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(fonts/jost-latin.woff2) format('woff2');
}

:root {
  --framboise: #8a1c4c;
  --prune: #26121c;
  --papier: #fbf9f7;
  --granito: #e8e5e1;
  --anis: #c6da3e;
  --rose: #f4d3e0;
  --muted: #6b5a62;
  --wrap: 1400px;
  --gut: 24px;
  --radius: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--prune);
  font-family: 'Jost', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--framboise); text-underline-offset: 3px; text-decoration-thickness: 1px; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

.h2 {
  font-weight: 300;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--framboise);
  text-wrap: balance;
}
.h3 { font-size: 22px; font-weight: 500; line-height: 1.25; }
.lead { font-size: 20px; line-height: 1.5; }
.small { font-size: 14px; line-height: 1.5; color: var(--muted); }

/* Buttons: the action is always Anis */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border-radius: var(--radius);
  background: var(--anis); color: var(--prune);
  font-weight: 500; font-size: 17px; text-decoration: none;
  transition: background-color .3s, transform .3s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; text-decoration: underline;
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: #d4e65a; }
  .link-arrow:hover { text-decoration-thickness: 2px; }
}

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: var(--framboise); color: #fff;
}
.top .wrap { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { color: #fff; text-decoration: none; font-weight: 300; font-size: 24px; letter-spacing: 0.01em; white-space: nowrap; }
.nav { display: flex; gap: 32px; margin-left: auto; align-items: center; }
.nav a { color: #fff; text-decoration: none; font-size: 16px; }
.nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 16px; color: var(--prune); }
.menu-btn { display: none; }

@media (hover: hover) and (pointer: fine) {
  .nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 6px; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: var(--framboise); color: #fff;
  min-height: calc(100vh - 72px);
  display: flex; align-items: center;
}
.hero .wrap { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 48px; padding-top: 48px; padding-bottom: 64px; }
.hero h1 {
  font-weight: 300;
  font-size: clamp(52px, 8.4vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.hero h1 span { display: block; }
.hero .lead { margin-top: 32px; max-width: 30ch; color: var(--rose); }
.hero .proof { margin-top: 16px; font-size: 16px; color: #fff; }
.hero .proof b { font-weight: 500; }
.hero .actions { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.hero .actions a:not(.btn) { color: #fff; }
.hero-photo {
  justify-self: end;
  width: min(54vw, 84vh, 780px);
  aspect-ratio: 1;
  margin-right: calc(var(--gut) * -1 - 8vw);
  border-radius: 50%;
  overflow: hidden;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Sections */
.sec { padding: 128px 0; }
.sec--grey { background: var(--granito); }

/* Proof */
.proof-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 96px; align-items: center; }
.proof-grid .round { border-radius: 50%; overflow: hidden; aspect-ratio: 1; max-width: 460px; }
.proof-grid .round img { width: 100%; height: 100%; object-fit: cover; }
.quote p {
  font-weight: 300;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.25;
  color: var(--prune);
  text-wrap: pretty;
}
.quote cite { display: block; margin-top: 24px; font-style: normal; font-size: 16px; color: var(--muted); }
.quote--small { margin-top: 56px; padding-top: 32px; border-top: 1px solid #d9d2cf; }
.quote--small p { font-size: 22px; }

/* Band photo */
.band img { width: 100%; height: clamp(240px, 38vw, 560px); object-fit: cover; }
.band figcaption { max-width: var(--wrap); margin: 0 auto; padding: 12px var(--gut) 0; }

/* What they make */
.make { display: grid; grid-template-columns: 7fr 5fr; gap: 96px; padding-top: 96px; }
.make .lead { margin-top: 24px; max-width: 46ch; }
.make-list { margin-top: 32px; columns: 2; column-gap: 32px; }
.make-list li { padding: 6px 0; break-inside: avoid; }
.make-list li::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--framboise); margin: 0 12px 2px 0; }
.from { display: grid; gap: 0; align-content: start; }
.from div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 20px 0; border-bottom: 1px solid #d9d2cf; }
.from div:first-child { border-top: 1px solid #d9d2cf; }
.from dt { font-size: 18px; }
.from dd { margin: 0; font-size: 28px; font-weight: 300; white-space: nowrap; color: var(--framboise); }
.from dd small { font-size: 15px; color: var(--muted); margin-right: 6px; }
.from + .link-arrow { margin-top: 24px; }

/* Funeral */
.deuil-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 96px; align-items: start; }
.facts { margin-top: 40px; display: grid; gap: 24px; }
.facts li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
.facts .n { font-weight: 300; font-size: 28px; line-height: 1; color: var(--framboise); }
.places { margin-top: 40px; }
.places p { margin-top: 8px; }
.note {
  margin-top: 32px; padding: 20px 24px;
  background: var(--papier); border-left: 4px solid var(--framboise);
}
.deuil-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.deuil-photo figcaption { margin-top: 12px; }
.deuil-grid .actions { margin-top: 40px; }

/* Work grid */
.work { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.work figure:first-child { grid-column: span 2; grid-row: span 2; }
.work figure:first-child img { aspect-ratio: auto; height: calc(100% - 29px); }
.work figure { position: relative; }
.work img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.work figcaption { margin-top: 8px; }
.work-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-top: 48px; }

/* Who */
.who { display: grid; grid-template-columns: 5fr 7fr; gap: 96px; align-items: start; }
.who .names { font-weight: 300; font-size: clamp(44px, 6.4vw, 96px); line-height: 0.98; letter-spacing: -0.02em; color: var(--framboise); }
.who .names span { display: block; }
.who blockquote { margin-top: 32px; font-size: 22px; line-height: 1.45; font-weight: 300; }
.who blockquote cite { display: block; margin-top: 12px; font-style: normal; font-size: 14px; color: var(--muted); }

/* Find us */
.find-photo img { width: 100%; height: clamp(220px, 34vw, 520px); object-fit: cover; object-position: 50% 20%; }
.find { display: grid; grid-template-columns: 4fr 4fr 4fr; gap: 64px; padding-top: 64px; padding-bottom: 128px; }
.find address { white-space: pre-line; font-style: normal; font-size: 22px; line-height: 1.4; margin-top: 16px; }
.find .h3 { color: var(--framboise); }
.hours { margin-top: 16px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid #e3ddda; }
.hours li.today { font-weight: 500; }
.hours .off { color: var(--muted); }
.find .contact-lines { margin-top: 16px; display: grid; gap: 12px; }
.find .contact-lines a { font-size: 20px; }
.find .actions { margin-top: 24px; }

/* Close */
.close { background: var(--framboise); color: #fff; padding: 112px 0; }
.close .wrap { display: flex; justify-content: space-between; align-items: center; gap: 48px; flex-wrap: wrap; }
.close p { font-weight: 300; font-size: clamp(30px, 4.4vw, 56px); line-height: 1.08; max-width: 20ch; letter-spacing: -0.01em; text-wrap: balance; }

/* Footer */
.foot { background: var(--prune); color: #d8ccd2; padding: 48px 0 56px; font-size: 15px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 48px; justify-content: space-between; }
.foot a { color: #fff; }
.foot .legal { display: flex; gap: 24px; flex-wrap: wrap; }
.foot .by { width: 100%; color: #a8969f; }

/* Pinned call, phone only */
.callbar { display: none; }

/* Sub-pages */
.page-head { background: var(--framboise); color: #fff; padding: 72px 0; overflow: hidden; }
.page-head .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 48px; }
.head-photo { width: min(34vw, 460px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin-right: calc(var(--gut) * -1 - 4vw); }
.head-photo img { width: 100%; height: 100%; object-fit: cover; }
.page-head h1 { font-weight: 300; font-size: clamp(44px, 7vw, 104px); line-height: 0.98; letter-spacing: -0.02em; }
.page-head h1 span { display: block; }
.page-head .lead { margin-top: 24px; max-width: 44ch; color: var(--rose); }
.page-head .actions { margin-top: 32px; }

.item { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; padding: 96px 0; border-top: 1px solid #ddd6d2; }
.item:first-child { border-top: 0; }
.item--wide { grid-template-columns: 1fr; gap: 0; }
.item--wide > div:first-child { max-width: 62ch; }
.big-num { font-weight: 300; font-size: clamp(56px, 8vw, 112px); line-height: .95; letter-spacing: -.02em; color: var(--framboise); }
.item .pics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.item .pics img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.item .pics .wide { grid-column: span 2; aspect-ratio: auto; }
.item .pics.one { grid-template-columns: 1fr; }
.item .pics.one img { aspect-ratio: auto; }
.item p + p { margin-top: 16px; }
.item .h2 { margin-bottom: 24px; }
.board { margin-top: 32px; }
.board div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid #ddd6d2; }
.board div:first-child { border-top: 1px solid #ddd6d2; }
.board dt { font-size: 17px; }
.board dt small { color: var(--muted); font-size: 15px; margin-left: 8px; }
.board dd { margin: 0; font-size: 24px; font-weight: 300; color: var(--framboise); white-space: nowrap; }

/* Cushions drawn to scale */
.scale { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 48px; }
.scale figure { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.scale .disc { width: var(--d); aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.scale .disc img { width: 100%; height: 100%; object-fit: cover; }
.scale figcaption { margin-top: 16px; line-height: 1.3; }
.scale figcaption b { display: block; font-weight: 300; font-size: 26px; color: var(--framboise); }
.scale figcaption span { font-size: 14px; color: var(--muted); }

.prepare { margin-top: 24px; counter-reset: p; display: grid; gap: 12px; }
.prepare li { counter-increment: p; display: grid; grid-template-columns: 32px 1fr; }
.prepare li::before { content: counter(p); font-weight: 300; font-size: 22px; line-height: 1.2; color: var(--framboise); }

.pullquote { font-weight: 300; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; margin-top: 32px; color: var(--framboise); }
.pullquote cite { display: block; font-style: normal; font-size: 14px; color: var(--muted); margin-top: 8px; }

/* Reveal */
.js .reveal > * { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.in > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal > * { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* Tablet */
@media (max-width: 1100px) {
  .proof-grid, .make, .deuil-grid, .who, .item { gap: 56px; }
  .find { grid-template-columns: 1fr 1fr; }
  .find > :last-child { grid-column: span 2; }
}

/* Phone */
@media (max-width: 820px) {
  :root { --gut: 16px; }
  body { padding-bottom: 72px; }
  .top .wrap { height: 60px; }
  .brand { font-size: 21px; }
  .menu-btn {
    display: inline-flex; align-items: center; justify-content: center; margin-left: auto;
    width: 48px; height: 48px; margin-right: -12px; background: none; border: 0; color: #fff; cursor: pointer;
  }
  .menu-btn svg { width: 26px; height: 26px; }
  .nav {
    position: absolute; top: 60px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--framboise); padding: 8px var(--gut) 24px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; font-size: 20px; border-top: 1px solid rgba(255,255,255,.18); }
  .nav .btn { display: none; }

  .hero { min-height: calc(100svh - 60px); align-items: stretch; }
  .hero .wrap { grid-template-columns: 1fr; align-content: start; gap: 0; padding-top: 24px; padding-bottom: 32px; }
  .hero h1 { font-size: clamp(50px, 15vw, 76px); }
  .hero .lead { margin-top: 20px; font-size: 18px; }
  .hero .proof { margin-top: 12px; }
  .hero .wrap > div { order: 2; }
  .hero-photo { order: 1; width: min(74vw, 44svh); margin: 0 calc(var(--gut) * -1 - 8vw) 24px auto; }
  .hero .actions { margin-top: 20px; }
  .hero .actions .btn { display: none; }

  .sec { padding: 80px 0; }
  .proof-grid, .make, .deuil-grid, .who, .item { grid-template-columns: 1fr; gap: 40px; }
  .proof-grid .round { max-width: 62%; margin-left: auto; }
  .make { padding-top: 56px; }
  .make-list { columns: 1; }
  .work { grid-template-columns: 1fr 1fr; gap: 8px; }
  .work figure:first-child img { aspect-ratio: 1; height: auto; }
  .work-head { flex-direction: column; align-items: start; gap: 16px; }
  .find { grid-template-columns: 1fr; gap: 48px; padding-top: 40px; padding-bottom: 80px; }
  .find > :last-child { grid-column: auto; }
  .close { padding: 80px 0; }
  .item { padding: 64px 0; }
  .page-head { padding: 40px 0 48px; }
  .page-head .wrap { grid-template-columns: minmax(0, 1fr) 132px; gap: 16px; }
  .head-text { display: contents; }
  .page-head h1 { grid-column: 1; grid-row: 1; }
  .page-head .lead, .page-head .actions { grid-column: 1 / -1; }
  .page-head .lead { margin-top: 8px; }
  .head-photo { grid-column: 2; grid-row: 1; width: 168px; margin-right: -52px; }
  .page-head .actions .btn { display: none; }
  .scale { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 12px; align-items: end; }

  .callbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom));
    background: var(--framboise);
  }
  .callbar .btn { width: 100%; justify-content: center; }
}
