/* Edges — the structure of the header, the menu sheet and the footer (core/edges.js). Each world gives them their look
   through these properties and its own rules; the structure and the behaviour stay the same. */
:root {
  --edge-ink: currentColor;
  --edge-accent: currentColor;
  --edge-accent-ink: #000;
  --edge-face: inherit;
  --edge-text: inherit;
  --edge-backdrop: rgba(0, 0, 0, 0.5);
  --edge-line: rgba(127, 127, 127, 0.3);
  --edge-sheet-bg: #000;
  --edge-sheet-ink: #fff;
  --edge-foot-bg: #000;
  --edge-foot-ink: #fff;
  --edge-radius: 999px;
  --edge-h: 68px;
  --edge-ease: cubic-bezier(0.215, 0.61, 0.355, 1);
}
html { overflow-x: clip; }

/* ---------------- header ---------------- */
.edge-head { position: fixed; top: 0; left: 0; right: 0; z-index: 20; height: var(--edge-h); box-sizing: border-box; padding: 0 var(--gutter);
  display: grid; grid-template-columns: auto 1fr auto auto auto; align-items: center; gap: clamp(14px, 2vw, 28px); color: var(--edge-ink); font-family: var(--edge-text);
  transition: opacity 0.6s, transform 0.55s var(--edge-ease), background-color 0.4s, color 0.6s var(--edge-ease), border-color 0.4s; border-bottom: 1px solid transparent; }
body.is-loading .edge-head { opacity: 0; pointer-events: none; }
.edge-head[data-state='hidden'] { transform: translate3d(0, -105%, 0); }
.edge-head[data-state='pinned'] { background: var(--edge-backdrop); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); border-bottom-color: var(--edge-line); }
.edge-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--edge-accent); transform-origin: left; transform: scaleX(0); opacity: 0; transition: opacity 0.4s; }
.edge-head[data-state='pinned'] .edge-progress { opacity: 1; }

.edge-brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.edge-brand svg { display: block; height: 22px; width: auto; overflow: visible; }
.edge-brand__word { font-family: var(--edge-face); font-size: 17px; line-height: 1; }

.edge-nav { position: relative; display: flex; justify-content: center; gap: clamp(18px, 2.4vw, 34px); }
.edge-nav__link { position: relative; color: inherit; text-decoration: none; font-size: 14px; line-height: 1; padding: 10px 0; opacity: 0.66; transition: opacity 0.3s; }
.edge-nav__link:hover, .edge-nav__link:focus-visible, .edge-nav__link.is-on { opacity: 1; }
.edge-nav__detail { position: absolute; left: 50%; top: calc(100% + 12px); white-space: nowrap; font-size: 12px; opacity: 0; transform: translate3d(-50%, -4px, 0); pointer-events: none; transition: opacity 0.3s, transform 0.4s var(--edge-ease); }
.edge-nav__link:hover .edge-nav__detail, .edge-nav__link:focus-visible .edge-nav__detail { opacity: 0.8; transform: translate3d(-50%, 0, 0); }
.edge-nav__bar { position: absolute; left: 0; bottom: 2px; height: 2px; width: 0; background: var(--edge-accent); opacity: 0; transition: transform 0.6s var(--edge-ease), width 0.6s var(--edge-ease), opacity 0.3s; }

.edge-live { display: grid; grid-template-columns: auto auto; grid-template-rows: auto 3px; column-gap: 8px; row-gap: 5px; align-items: baseline; font-size: 12px; line-height: 1; }
.edge-live__k { opacity: 0.6; }
.edge-live__v { font-weight: 600; min-width: 7ch; text-align: right; } /* no tabular figures: their zero is slashed in the faces we use («Ø bar», 22/10); the min-width already holds the place */
.edge-live__meter { grid-column: 1 / -1; height: 3px; background: var(--edge-line); overflow: hidden; }
.edge-live__meter i { display: block; height: 100%; background: var(--edge-accent); transform-origin: left; transform: scaleX(var(--k, 0)); }

.edge-cta { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px; border-radius: var(--edge-radius); background: var(--edge-accent); color: var(--edge-accent-ink);
  font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; transition: transform 0.3s var(--edge-ease), filter 0.3s; }
.edge-cta:hover { filter: brightness(1.08); transform: translate3d(0, -1px, 0); }
.edge-cta--wide { height: 48px; padding: 0 24px; }

.edge-menu { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 4px 0 14px; border-radius: var(--edge-radius); border: 1px solid var(--edge-line); background: none; color: inherit; font: inherit; font-size: 14px; cursor: pointer; }
.edge-head--theme { grid-template-columns: auto 1fr auto auto auto auto; }
.edge-theme { width: 40px; height: 40px; padding: 0; display: inline-grid; place-items: center; border-radius: var(--edge-radius); border: 1px solid var(--edge-line); background: none; color: inherit; cursor: pointer; }
/* a disc half lit: the lit half turns to the other side when the page goes dark */
.edge-theme__icon { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid currentColor; box-sizing: border-box; background: linear-gradient(90deg, currentColor 50%, transparent 50%); transition: transform 0.6s var(--edge-ease); }
:root[data-theme='dark'] .edge-theme__icon { transform: rotate(180deg); }
.edge-theme:focus-visible, .edge-menu:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.edge-menu__icon { position: relative; width: 32px; height: 32px; border-radius: 50%; }
.edge-menu__icon::before, .edge-menu__icon::after { content: ''; position: absolute; left: 9px; right: 9px; height: 1.5px; background: currentColor; transition: transform 0.5s var(--edge-ease); }
.edge-menu__icon::before { top: 12px; } .edge-menu__icon::after { top: 18px; }
.edge-menu[aria-expanded='true'] .edge-menu__icon::before { transform: translateY(3px) rotate(45deg); }
.edge-menu[aria-expanded='true'] .edge-menu__icon::after { transform: translateY(-3px) rotate(-45deg); }
.edge-head a:focus-visible, .edge-head button:focus-visible, .edge-sheet a:focus-visible, .edge-foot a:focus-visible, .edge-foot button:focus-visible, .edge-foot input:focus-visible, .edge-foot textarea:focus-visible { outline: 2px solid var(--edge-accent); outline-offset: 3px; }

/* ---------------- the sheet ---------------- */
.edge-sheet { position: fixed; inset: 0; z-index: 19; background: var(--edge-sheet-bg); color: var(--edge-sheet-ink); overflow-y: auto; overscroll-behavior: contain;
  clip-path: inset(0 0 100% 0); transition: clip-path 0.7s var(--edge-ease); }
body.edge-open .edge-sheet { clip-path: inset(0 0 0 0); }
body.edge-open .edge-head { color: var(--edge-sheet-ink); background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.edge-sheet__inner { min-height: 100%; box-sizing: border-box; padding: calc(var(--edge-h) + 4vh) var(--gutter) var(--gutter); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: 6vw; }
.edge-sheet__list { list-style: none; margin: 0; padding: 0; display: grid; align-content: start; border-top: 1px solid var(--edge-line); }
.edge-sheet__list li { border-bottom: 1px solid var(--edge-line); opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity 0.5s, transform 0.7s var(--edge-ease); transition-delay: calc(0.12s + var(--i) * 0.04s); }
body.edge-open .edge-sheet__list li { opacity: 1; transform: none; }
.edge-sheet__link { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: clamp(10px, 1.6vh, 18px) 0; color: inherit; text-decoration: none; }
.edge-sheet__label { font-family: var(--edge-face); font-size: clamp(28px, 3.6vw, 56px); line-height: 1; transition: transform 0.5s var(--edge-ease); }
.edge-sheet__detail { font-size: 14px; opacity: 0.6; text-align: right; }
.edge-sheet__link:hover .edge-sheet__label, .edge-sheet__link:focus-visible .edge-sheet__label { transform: translate3d(12px, 0, 0); }
.edge-sheet__link.is-on .edge-sheet__label { color: var(--edge-accent); }
.edge-sheet__aside { display: grid; align-content: space-between; gap: 40px; font-size: 15px; }
.edge-sheet__aside .edge-live { font-size: 14px; max-width: 280px; }
.edge-sheet__title { font-family: var(--edge-face); font-size: 22px; margin: 0 0 10px; }
.edge-sheet__text { margin: 0 0 22px; opacity: 0.7; max-width: 34ch; line-height: 1.5; }
.edge-sheet__legal { margin: 0; font-size: 12px; opacity: 0.5; }

/* ---------------- footer ---------------- */
.edge-foot { position: relative; z-index: 3; background: var(--edge-foot-bg); color: var(--edge-foot-ink); padding: clamp(64px, 12vh, 140px) var(--gutter) var(--gutter); font-family: var(--edge-text); overflow: hidden; }
.edge-foot__lead { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px; padding-bottom: clamp(40px, 8vh, 90px); }
.edge-foot__statement { font-family: var(--edge-face); font-size: clamp(34px, 5vw, 84px); line-height: 0.95; margin: 0; max-width: 15ch; }
.edge-foot__cols { display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)) minmax(280px, 2fr); gap: 36px clamp(24px, 4vw, 64px); padding: clamp(36px, 6vh, 64px) 0; }
.edge-foot__ask { display: grid; gap: 20px; justify-items: start; max-width: 360px; }
.edge-foot__text { margin: 0; font-size: 16px; line-height: 1.5; opacity: 0.72; }
.edge-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.edge-tile { position: relative; display: grid; grid-template-columns: 1fr auto; align-content: space-between; gap: 18px 12px; min-height: clamp(120px, 18vh, 190px); padding: clamp(18px, 2.4vw, 32px); color: inherit; text-decoration: none; border-radius: 18px; background: color-mix(in srgb, var(--edge-foot-ink) 6%, transparent); transition: background-color 0.35s var(--edge-ease), color 0.35s var(--edge-ease); }
.edge-tile__label { font-family: var(--edge-face); font-size: clamp(24px, 2.4vw, 36px); line-height: 1; }
.edge-tile__detail { grid-column: 1; font-size: 14px; opacity: 0.62; }
.edge-tile__arrow { grid-column: 2; grid-row: 1; width: 26px; height: 26px; color: var(--edge-accent); transition: transform 0.45s var(--edge-ease), color 0.35s; }
.edge-tile:hover, .edge-tile:focus-visible { background: var(--edge-accent); color: var(--edge-accent-ink); }
.edge-tile:hover .edge-tile__arrow, .edge-tile:focus-visible .edge-tile__arrow { color: currentColor; transform: translate3d(6px, 0, 0); }
.edge-foot__title { font-size: 13px; opacity: 0.55; margin: 0 0 16px; }
.edge-foot__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.edge-foot__link { color: inherit; text-decoration: none; font-size: 17px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.45s var(--edge-ease); }
.edge-foot__link:hover { background-size: 100% 1px; }
.edge-form { display: grid; gap: 14px; align-content: start; }
.edge-form__row { display: grid; gap: 6px; }
.edge-form__row label { font-size: 13px; opacity: 0.7; }
.edge-form__row input, .edge-form__row textarea { font: inherit; font-size: 16px; color: inherit; background: none; border: 0; border-bottom: 1px solid var(--edge-line); padding: 6px 0 8px; border-radius: 0; resize: none; }
.edge-form.is-bad :invalid { border-bottom-color: var(--edge-accent); }
.edge-form .edge-cta { justify-self: start; margin-top: 6px; }
.edge-form__done { margin: 0; font-size: 14px; min-height: 1.4em; opacity: 0.8; }
.edge-foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0 0; font-size: 13px; }
.edge-foot__legal { margin: 0; opacity: 0.6; }
.edge-up { font: inherit; color: inherit; background: none; border: 1px solid var(--edge-line); border-radius: var(--edge-radius); height: 36px; padding: 0 16px; cursor: pointer; }
.edge-up:hover { border-color: currentColor; }
.edge-foot__mark { font-family: var(--edge-face); white-space: nowrap; width: max-content; line-height: 0.8; margin: clamp(28px, 6vh, 72px) 0 0; padding-bottom: clamp(14px, 2vh, 24px); }

/* ---------------- footer kinds (core/edges.js): no two worlds close the same way, none draws a grid of rules ---------------- */
.edge-form__rows { display: grid; gap: 14px; }
/* the card: fields filled, not underlined (samples, sheet, hours) */
.edge-form--card { background: color-mix(in srgb, var(--edge-foot-ink) 7%, transparent); border-radius: 22px; padding: clamp(20px, 2.6vw, 34px); gap: 18px; }
.edge-form--card .edge-form__row input, .edge-form--card .edge-form__row textarea, .ef-band .edge-form__row input, .ef-band .edge-form__row textarea { background: color-mix(in srgb, currentColor 9%, transparent); border: 0; border-radius: 12px; padding: 12px 14px; }
.edge-form--card.is-bad :invalid, .ef-band .edge-form.is-bad :invalid { box-shadow: inset 0 0 0 2px var(--edge-accent); }
/* inline: the fields on one line, the button after them (hello, columns) */
.edge-form--inline .edge-form__rows { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); align-items: end; gap: 14px 22px; }
.edge-form--inline .edge-form__row input, .edge-form--inline .edge-form__row textarea { box-sizing: border-box; height: 42px; line-height: 1.5; overflow: hidden; } /* on one line the question box is as tall as the fields beside it */
.ef-band .edge-form--inline .edge-form__row input, .ef-band .edge-form--inline .edge-form__row textarea { height: 46px; }

/* samples: the say beside the request card, chips for what to send */
.ef-samples { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 540px); gap: clamp(32px, 6vw, 96px); align-items: start; }
.ef-samples__say { display: grid; gap: 22px; align-content: start; }
.ef-samples__say .edge-foot__text, .ef-hours__say .edge-foot__text, .ef-index__say .edge-foot__text { max-width: 42ch; }
.ef-picks { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.ef-picks legend { font-size: 13px; opacity: 0.75; margin: 0 0 10px; padding: 0; }
.ef-pick { position: relative; cursor: pointer; }
.ef-pick input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.ef-pick span { display: inline-block; padding: 8px 14px; border-radius: 999px; font-size: 14px; background: color-mix(in srgb, var(--edge-foot-ink) 10%, transparent); transition: background-color 0.25s, color 0.25s; }
.ef-pick input:checked + span { background: var(--edge-accent); color: var(--edge-accent-ink); }
.ef-pick input:focus-visible + span { outline: 2px solid var(--edge-accent); outline-offset: 2px; }
/* the menu as one line of parts, each with what it holds (samples, sheet) */
.ef-line { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px clamp(20px, 3vw, 48px); padding: clamp(40px, 7vh, 80px) 0 clamp(20px, 3vh, 32px); }
.ef-line__link { display: grid; gap: 6px; align-content: start; color: inherit; text-decoration: none; }
.ef-line__label { font-family: var(--edge-face); font-size: clamp(20px, 1.7vw, 26px); line-height: 1.05; transition: color 0.3s; }
.ef-line__detail { font-size: 14px; line-height: 1.4; opacity: 0.72; }
.ef-line__link:hover .ef-line__label, .ef-line__link:focus-visible .ef-line__label { color: var(--edge-accent); }

/* sheet: headline numbers, then the facts beside the card */
.ef-sheet__head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px clamp(32px, 5vw, 80px); align-items: end; }
.ef-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: clamp(36px, 6vh, 72px) 0; }
.ef-facts__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; padding: 20px 22px; border-radius: 18px; background: color-mix(in srgb, var(--edge-foot-ink) 6%, transparent); }
.ef-facts dd { margin: 0; font-family: var(--edge-face); font-size: clamp(30px, 3.2vw, 50px); line-height: 1; white-space: nowrap; }
.ef-facts dt { font-size: 14px; line-height: 1.35; opacity: 0.75; }
.ef-sheet { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.ef-data { margin: 0; display: grid; gap: 22px; }
.ef-data__item { display: grid; grid-template-columns: minmax(120px, 0.55fr) 1fr; gap: 16px; }
.ef-data dt { font-size: 14px; opacity: 0.72; padding-top: 3px; }
.ef-data dd { margin: 0; font-size: 17px; line-height: 1.45; }

/* hours: the week beside the booking card, the menu as rows */
.ef-hours { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, 470px); gap: clamp(32px, 6vw, 96px); align-items: start; }
.ef-hours__say { display: grid; gap: 24px; align-content: start; }
.ef-week { margin: 6px 0 0; display: grid; gap: 12px; max-width: 520px; }
.ef-week__item { display: grid; grid-template-columns: minmax(7em, 0.45fr) 1fr; align-items: baseline; gap: 18px; font-size: 18px; }
.ef-week dt { font-family: var(--edge-face); font-size: 22px; }
.ef-week dd { margin: 0; opacity: 0.85; }
.ef-rows { display: grid; gap: 2px; padding: clamp(40px, 7vh, 80px) 0 clamp(20px, 3vh, 32px); }
.ef-rows__link { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: baseline; padding: 14px 18px; margin: 0 -18px; border-radius: 16px; color: inherit; text-decoration: none; transition: background-color 0.3s; }
.ef-rows__link:hover, .ef-rows__link:focus-visible { background: color-mix(in srgb, var(--edge-foot-ink) 8%, transparent); }
.ef-rows__label { font-family: var(--edge-face); font-size: clamp(24px, 2.4vw, 36px); line-height: 1.05; }
.ef-rows__detail { font-size: 15px; line-height: 1.4; opacity: 0.75; }

/* hello: one sentence across the page, the form on one line, the menu in four */
.ef-hello__line { font-family: var(--edge-face); font-size: clamp(42px, 8vw, 144px); line-height: 0.94; letter-spacing: -0.03em; margin: 0 0 clamp(36px, 6vh, 72px); max-width: 15ch; }
.ef-hello { display: grid; grid-template-columns: minmax(200px, 0.7fr) minmax(0, 2fr); gap: 24px clamp(28px, 4vw, 64px); align-items: end; padding-bottom: clamp(44px, 7vh, 80px); }
.ef-quad { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-bottom: clamp(24px, 4vh, 40px); }
.ef-quad__link { position: relative; display: grid; gap: 8px; align-content: start; padding-top: 22px; color: inherit; text-decoration: none; }
.ef-quad__link::before { content: ''; position: absolute; top: 0; left: 0; width: 10px; height: 10px; border-radius: 999px; background: var(--edge-accent); transition: width 0.45s var(--edge-ease); }
.ef-quad__link:hover::before, .ef-quad__link:focus-visible::before { width: 44px; }
.ef-quad__label { font-family: var(--edge-face); font-size: 22px; line-height: 1.1; }
.ef-quad__detail { font-size: 14px; line-height: 1.4; opacity: 0.75; }

/* index: the menu is the footer, one part per line at display size */
.ef-index { display: grid; gap: 4px; padding-bottom: clamp(44px, 8vh, 96px); }
.ef-index__link { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; color: inherit; text-decoration: none; }
.ef-index__label { font-family: var(--edge-face); font-size: clamp(48px, 8.6vw, 156px); line-height: 0.98; letter-spacing: -0.035em; transition: transform 0.5s var(--edge-ease), color 0.3s; }
.ef-index__detail { font-size: 16px; line-height: 1.4; opacity: 0.75; text-align: right; max-width: 26ch; }
.ef-index__link:hover .ef-index__label, .ef-index__link:focus-visible .ef-index__label { transform: translate3d(0.12em, 0, 0); color: var(--edge-accent); }
.ef-index__after { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 1fr); gap: clamp(28px, 5vw, 80px); padding-bottom: clamp(28px, 5vh, 56px); }
.ef-index__say { display: grid; gap: 18px; align-content: start; }
.ef-index__say .edge-foot__statement { font-size: clamp(28px, 3vw, 44px); }

/* columns: an accent band with the form, then the mark and the product's columns */
.ef-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px clamp(28px, 4vw, 64px); align-items: end; padding: clamp(24px, 4vw, 56px); border-radius: 24px; background: var(--edge-accent); color: var(--edge-accent-ink); }
.ef-band__say { display: grid; gap: 14px; }
.ef-band .edge-foot__statement { font-size: clamp(30px, 3.6vw, 56px); }
.ef-band .edge-foot__text, .ef-band .edge-foot__title, .ef-band label { opacity: 0.9; }
.ef-band .edge-cta { background: var(--edge-accent-ink); color: var(--edge-accent); }
.ef-cols { display: grid; grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.4fr) minmax(0, 1.4fr); gap: 36px clamp(24px, 4vw, 64px); padding: clamp(44px, 7vh, 80px) 0 clamp(24px, 4vh, 40px); }
.ef-brand { display: flex; align-items: center; gap: 10px; align-self: start; }
.ef-brand__mark { display: inline-flex; color: var(--edge-accent); }
.ef-brand__mark svg { width: 30px; height: 30px; display: block; }
.ef-brand__word { font-family: var(--edge-face); font-size: 26px; }
.ef-cols__links { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 28px; align-content: start; }
/* the menu stacked, each part over what it holds (columns, split) */
.ef-stack { display: grid; gap: 18px; align-content: start; }
.ef-stack__link { display: grid; gap: 4px; color: inherit; text-decoration: none; }
.ef-stack__label { font-size: 18px; transition: color 0.3s; }
.ef-stack__detail { font-size: 14px; line-height: 1.4; opacity: 0.72; }
.ef-stack__link:hover .ef-stack__label, .ef-stack__link:focus-visible .ef-stack__label { color: var(--edge-accent); }

/* split: a panel holding the form, the menu stacked large beside it */
.ef-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; padding-bottom: clamp(28px, 5vh, 56px); }
.ef-split__panel { display: grid; gap: 20px; padding: clamp(22px, 3.4vw, 48px); border-radius: 26px; background: color-mix(in srgb, var(--edge-foot-ink) 7%, transparent); }
.ef-split__side { display: grid; gap: clamp(36px, 6vh, 64px); }
.ef-split .ef-stack { gap: 24px; }
.ef-split .ef-stack__label { font-family: var(--edge-face); font-size: clamp(28px, 2.8vw, 44px); line-height: 1; }
.ef-split__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

/* titleblock: a drawing sheet — the drawing area at the left, the form and the title block down in the right corner.
   The block is set by spacing on a tint, as a printed carimbo would be without its frame: no rules */
.ef-tb { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, 1fr); gap: clamp(36px, 6vw, 110px); padding-bottom: clamp(28px, 5vh, 56px); }
.ef-tb__area { display: grid; align-content: space-between; gap: clamp(44px, 8vh, 96px); }
.ef-tb__say { display: grid; gap: 22px; }
.ef-tb__say .edge-foot__text { max-width: 44ch; }
.ef-plan { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px clamp(20px, 3vw, 48px); }
.ef-plan__link { display: grid; gap: 6px; align-content: start; color: inherit; text-decoration: none; }
.ef-plan__label { font-family: var(--edge-face); font-size: clamp(20px, 1.7vw, 26px); line-height: 1.08; transition: color 0.3s; }
.ef-plan__detail { font-size: 14px; line-height: 1.45; opacity: 0.74; }
.ef-plan__link:hover .ef-plan__label, .ef-plan__link:focus-visible .ef-plan__label { color: var(--edge-accent); }
.ef-tb__side { display: grid; align-content: space-between; gap: clamp(40px, 7vh, 72px); }
.ef-tb__block { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; padding: clamp(20px, 2.4vw, 32px); border-radius: 4px; background: color-mix(in srgb, var(--edge-foot-ink) 7%, transparent); }
.ef-tb__name { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; font-family: var(--edge-face); font-size: clamp(22px, 2vw, 30px); line-height: 1; padding-bottom: 6px; }
.ef-tb__mark { display: inline-flex; color: var(--edge-accent); }
.ef-tb__mark svg { height: 26px; width: auto; display: block; }
.ef-tb__cell { display: grid; gap: 5px; align-content: start; min-width: 0; }
.ef-tb__cell dt { font-size: 12.5px; opacity: 0.7; }
.ef-tb__cell dd { margin: 0; font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.ef-tb__cell a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ef-tb__cell a:hover { color: var(--edge-accent); }

/* list: a house's printed card on the centre line; the menu set like a wine list, a dotted leader to what each holds */
.ef-list__crest { display: grid; justify-items: center; text-align: center; gap: 18px; max-width: 760px; margin: 0 auto clamp(40px, 7vh, 80px); }
.ef-list__mark { display: inline-flex; color: var(--edge-accent); }
.ef-list__mark svg { height: 44px; width: auto; display: block; }
.ef-list__crest .edge-foot__statement { max-width: 18ch; }
.ef-list__crest .edge-foot__text { max-width: 46ch; }
.ef-list__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 440px); gap: clamp(28px, 5vw, 80px); align-items: start; max-width: 1080px; margin: 0 auto; }
.ef-visit { margin: 0; display: grid; gap: 20px; }
.ef-visit__item { display: grid; gap: 4px; }
.ef-visit dt { font-size: 13px; opacity: 0.72; }
.ef-visit dd { margin: 0; font-family: var(--edge-face); font-size: clamp(20px, 1.7vw, 26px); line-height: 1.3; }
.ef-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px clamp(28px, 5vw, 80px); max-width: 1080px; margin: clamp(44px, 8vh, 90px) auto clamp(20px, 3vh, 32px); }
.ef-list__link { display: flex; align-items: baseline; gap: 10px; padding: 8px 0; color: inherit; text-decoration: none; }
.ef-list__link::after { content: ''; order: 1; flex: 1 1 auto; min-width: 24px; border-bottom: 1.5px dotted color-mix(in srgb, currentColor 45%, transparent); transform: translateY(-0.3em); }
.ef-list__label { order: 0; font-family: var(--edge-face); font-size: clamp(22px, 2vw, 30px); line-height: 1.1; transition: color 0.3s; }
.ef-list__detail { order: 2; font-size: 15px; line-height: 1.35; opacity: 0.78; text-align: right; }
.ef-list__link:hover .ef-list__label, .ef-list__link:focus-visible .ef-list__label { color: var(--edge-accent); }
.edge-foot--list .edge-foot__base { max-width: 1080px; margin: 0 auto; }

/* label: the back of a bottle. The menu is one run-on ingredient line, each part a link with what it holds in brackets;
   the directions are short pairs; the request card stands beside them */
.ef-label__head { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(18px, 3vw, 48px); align-items: start; padding-bottom: clamp(40px, 7vh, 80px); }
.ef-label__mark { display: inline-flex; color: var(--edge-accent); padding-top: 0.4em; }
.ef-label__mark svg { height: 40px; width: auto; display: block; }
.ef-label__head .edge-foot__text { max-width: 40ch; align-self: end; }
.ef-label { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 1fr); gap: clamp(32px, 6vw, 110px); align-items: start; padding-bottom: clamp(28px, 5vh, 56px); }
.ef-label__side { display: grid; gap: clamp(36px, 6vh, 64px); }
.ef-ingr__run { margin: 0; font-family: var(--edge-face); font-size: clamp(22px, 2.3vw, 36px); line-height: 1.3; max-width: 34ch; }
.ef-ingr__link { color: inherit; text-decoration: none; }
.ef-ingr__label { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.45s var(--edge-ease), color 0.3s; }
.ef-ingr__detail { opacity: 0.66; font-style: italic; }
.ef-ingr__link:hover .ef-ingr__label, .ef-ingr__link:focus-visible .ef-ingr__label { background-size: 100% 1px; color: var(--edge-accent); }
.ef-dir { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px 32px; }
.ef-dir__item { display: grid; gap: 4px; align-content: start; }
.ef-dir dt { font-size: 13px; opacity: 0.66; }
.ef-dir dd { margin: 0; font-size: 16px; line-height: 1.45; }
@media (max-width: 900px) {
  .ef-label__head { grid-template-columns: auto minmax(0, 1fr); }
  .ef-label__head .edge-foot__text { grid-column: 1 / -1; }
  .ef-label { grid-template-columns: minmax(0, 1fr); }
}

/* bill: a festival poster's bill on the centre line. The first part at headline size, each one after it smaller, what
   it holds under it; the days as one row; the form on a ticket stub whose top edge is torn into notches */
.ef-bill { display: grid; justify-items: center; text-align: center; gap: clamp(14px, 2.4vh, 26px); max-width: 1100px; margin: 0 auto; }
.ef-bill__link { display: grid; justify-items: center; gap: 6px; color: inherit; text-decoration: none; max-width: 100%; }
.ef-bill__label { font-family: var(--edge-face); line-height: 0.92; font-size: clamp(28px, 3.4vw, 52px); overflow-wrap: anywhere; transition: color 0.3s; }
.ef-bill__link:first-child .ef-bill__label { font-size: clamp(48px, 9vw, 150px); }
.ef-bill__link:nth-child(2) .ef-bill__label { font-size: clamp(36px, 5.6vw, 92px); }
.ef-bill__link:nth-child(3) .ef-bill__label { font-size: clamp(30px, 4.2vw, 68px); }
.ef-bill__detail { font-size: 15px; line-height: 1.4; opacity: 0.74; }
.ef-bill__link:hover .ef-bill__label, .ef-bill__link:focus-visible .ef-bill__label { color: var(--edge-accent); }
.ef-dates { margin: clamp(44px, 8vh, 88px) auto 0; max-width: 1100px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px clamp(24px, 4vw, 64px); }
.ef-dates__item { display: grid; justify-items: center; gap: 2px; }
.ef-dates dt { font-size: 13px; opacity: 0.66; }
.ef-dates dd { margin: 0; font-family: var(--edge-face); font-size: clamp(22px, 2vw, 30px); line-height: 1.1; }
.ef-stub { --notch: 9px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: start; max-width: 1100px; box-sizing: border-box;
  margin: clamp(44px, 8vh, 88px) auto clamp(28px, 5vh, 56px); padding: clamp(26px, 3.4vw, 48px); border-radius: 18px; background: var(--edge-accent); color: var(--edge-accent-ink);
  -webkit-mask: radial-gradient(circle var(--notch) at 50% 0, transparent 98%, #000) top / calc(var(--notch) * 3) 51% repeat-x, linear-gradient(#000, #000) bottom / 100% 50% no-repeat;
  mask: radial-gradient(circle var(--notch) at 50% 0, transparent 98%, #000) top / calc(var(--notch) * 3) 51% repeat-x, linear-gradient(#000, #000) bottom / 100% 50% no-repeat; }
.ef-stub__say { display: grid; gap: 18px; align-content: start; }
.ef-stub .edge-foot__statement { font-size: clamp(30px, 3.4vw, 56px); }
.ef-stub .edge-foot__text { opacity: 0.86; max-width: 40ch; }
.ef-stub .edge-foot__title { opacity: 0.8; }
.edge-form--stub .edge-form__row input, .edge-form--stub .edge-form__row textarea { border-bottom-color: color-mix(in srgb, currentColor 40%, transparent); }
.edge-form--stub.is-bad :invalid { border-bottom-color: currentColor; border-bottom-width: 2px; }
.edge-form--stub .edge-cta { background: var(--edge-accent-ink); color: var(--edge-accent); border-color: var(--edge-accent-ink); }
.edge-foot--bill .edge-foot__base { max-width: 1100px; margin: 0 auto; }
@media (max-width: 900px) { .ef-stub { grid-template-columns: minmax(0, 1fr); } }

@media (max-width: 1100px) { .edge-nav__detail { display: none; } }
@media (max-width: 900px) {
  :root { --edge-h: 60px; }
  .edge-head { grid-template-columns: auto 1fr auto; }
  .edge-head--theme { grid-template-columns: auto 1fr auto auto; }
  .edge-head--theme > .edge-theme { grid-column: -3 / -2; }
  .edge-nav, .edge-head > .edge-cta { display: none; }
  .edge-head > .edge-live { justify-self: end; }
  .edge-menu { grid-column: -2 / -1; justify-self: end; }
  .edge-sheet__inner { grid-template-columns: 1fr; gap: 36px; }
  .edge-sheet__link { flex-direction: column; gap: 6px; }
  .edge-sheet__detail { text-align: left; }
  .edge-foot__cols { grid-template-columns: 1fr 1fr; }
  .edge-tile { min-height: 0; }
  .edge-foot__cols .edge-form { grid-column: 1 / -1; }
  .ef-samples, .ef-sheet__head, .ef-sheet, .ef-hours, .ef-hello, .ef-index__after, .ef-band, .ef-cols, .ef-split, .ef-tb, .ef-list__body, .ef-list { grid-template-columns: minmax(0, 1fr); }
  .ef-quad { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ef-rows__link, .ef-data__item { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .ef-index__link { flex-direction: column; gap: 2px; padding-bottom: 14px; }
  .ef-index__detail { text-align: left; }
}
@media (max-width: 520px) { .ef-plan, .ef-tb__block { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .edge-head > .edge-live { display: none; } .edge-menu__word { display: none; } .edge-menu { padding: 0 4px; } }
@media (prefers-reduced-motion: reduce) { .edge-head, .edge-sheet, .edge-sheet__list li, .edge-nav__bar { transition: none; } }
