/* Elefo public site. Same paper, ink and type as the 27 Nov one-pager ("Desk Sheet"). One look on every device. */
:root {
  --desk: #F0ECE5; --paper: #FFFEFB; --paper-2: #F6F3ED;
  --ink: #201E1B; --ink-2: #67615A; --ink-3: #7A7369;
  --rule: #ECE7DF; --rule-strong: #D6D0C6;
  --accent: #B04E2E; --accent-dark: #943F23; --accent-ink: #FFFFFF;
  --shadow: 0 1px 2px rgb(60 45 30 / 6%), 0 12px 40px rgb(60 45 30 / 8%);
  --f-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --f-text: "Atkinson Hyperlegible", -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--desk); color: var(--ink);
  font-family: var(--f-text); font-size: 17px; line-height: 1.55;
  padding-block: 20px 40px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
p { margin: 0; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.sheet {
  max-width: 760px; margin: 0 auto;
  background: var(--paper); border: 1px solid var(--rule-strong); border-radius: 6px;
  box-shadow: var(--shadow);
  padding: 22px 22px 26px;
}

/* Top line: the mark, and the one ask */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.mark { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--f-display); font-weight: 600; font-size: 26px; color: var(--ink); text-decoration: none; }
.mark span { color: var(--accent); }
.top .ask-link { display: none; font-size: 15px; }

.mono {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-3);
}

/* The line */
.lead { padding-block: 44px 40px; display: grid; gap: 22px; justify-items: start; }
h1 {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(34px, 8.4vw, 58px); line-height: 1.08; letter-spacing: -.015em;
  margin: 0; text-wrap: balance; max-width: 15ch;
}
h1 em { color: var(--accent); }
.three { font-size: 19px; color: var(--ink-2); }
.what { font-size: 20px; line-height: 1.45; color: var(--ink); max-width: 32ch; }

/* A named group and her sentence. Empty until a group agrees in writing. */
.proof { display: grid; gap: 12px; padding: 20px 0 4px; border-top: 1px solid var(--rule-strong); width: 100%; }
.proof[hidden] { display: none; }
.proof blockquote {
  margin: 0; font-family: var(--f-display); font-style: italic; font-weight: 500;
  font-size: clamp(22px, 5vw, 30px); line-height: 1.25; text-wrap: balance; max-width: 24ch;
}
.proof .who { color: var(--ink-2); font-size: 16px; }

/* The one ask */
.ask {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 12px 22px;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--f-text); font-weight: 700; font-size: 18px; text-decoration: none;
  border-radius: 6px;
}
.ask:hover { background: var(--accent-dark); color: var(--accent-ink); }
.ask-note { color: var(--ink-3); font-size: 15px; }
.ask-block { display: grid; gap: 10px; justify-items: start; }
/* The booking calendar: full width of the sheet, never wider than the screen */
.book { width: 100%; min-width: 0; justify-self: stretch; }
.book summary { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.book summary:hover { color: var(--accent-dark); }
.book .meetings-iframe-container { width: 100%; min-width: 0; }
.book iframe { width: 100% !important; min-width: 0 !important; max-width: 100%; border: 0; }
/* On a phone the calendar needs about 312px, so it uses the sheet's side padding too */
@media (max-width: 619px) { .book { width: calc(100% + 44px); margin-left: -22px; } }

/* What you get: four short lines, one per feeling */
.gets { border-top: 1px solid var(--rule-strong); padding-block: 30px 14px; display: grid; gap: 20px; }
.gets ul { list-style: none; margin: 0; padding: 0; display: grid; }
.gets li { padding-block: 18px; border-top: 1px dashed var(--rule-strong); display: grid; gap: 8px; align-content: start; }
.gets li:first-child { border-top: 0; padding-top: 0; }
.gets .tag { color: var(--accent); }
.gets .line { font-family: var(--f-display); font-weight: 500; font-size: 22px; line-height: 1.25; text-wrap: balance; max-width: 24ch; }
/* The booking page: four plain lines, one under the other, no blocks */
.gets.plain ul { grid-template-columns: 1fr; gap: 10px; }
.gets.plain li { padding-block: 0; border-top: 0; }
.gets.plain .line { max-width: none; }
/* The booking page: the next-step line runs on one line where the screen is wide enough */
.close p.say.wide { max-width: none; }

/* What changes for you */
.changes { border-top: 1px solid var(--rule-strong); padding-block: 30px 6px; display: grid; gap: 20px; }
.changes dl { margin: 0; display: grid; gap: 0; }
.changes .row { padding-block: 16px; border-top: 1px dashed var(--rule-strong); display: grid; gap: 4px; }
.changes .row:first-child { border-top: 0; padding-top: 0; }
.changes dt { font-family: var(--f-display); font-weight: 500; font-size: 21px; line-height: 1.25; }
.changes dd { margin: 0; color: var(--ink-2); }
.changes dd b { color: var(--ink); }

.close { border-top: 1px solid var(--rule-strong); padding-block: 30px 8px; display: grid; gap: 16px; justify-items: start; }
.close p.say { font-family: var(--f-display); font-size: 24px; line-height: 1.25; text-wrap: balance; max-width: 22ch; }

.foot {
  max-width: 760px; margin: 16px auto 0; padding-inline: 6px;
  display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center;
  color: var(--ink-3); font-size: 14px;
}
.foot a { color: var(--ink-2); display: inline-flex; align-items: center; min-height: 44px; }

/* Plain reading pages: privacy, terms */
.prose { padding-block: 34px 10px; display: grid; gap: 16px; max-width: 60ch; }
.prose h1 { font-size: clamp(30px, 6.4vw, 42px); max-width: none; }
.prose h2 { font-family: var(--f-display); font-weight: 500; font-size: 21px; margin: 12px 0 0; }

/* The film page */
.film { padding-block: 34px 26px; display: grid; gap: 20px; justify-items: start; }
.film[hidden] { display: none; }
.film h1 { font-size: clamp(30px, 6.4vw, 44px); max-width: 18ch; }
.film video {
  width: 100%; aspect-ratio: 16 / 9; background: var(--paper-2);
  border: 1px solid var(--rule-strong); border-radius: 8px;
}

@media (min-width: 620px) {
  body { padding-block: 34px 56px; }
  .sheet { padding: 30px 44px 36px; }
  .top .ask-link { display: inline-flex; align-items: center; min-height: 44px; }
  .lead { padding-block: 64px 54px; gap: 26px; }
  .three { font-size: 21px; }
  .what { font-size: 22px; }
  .gets ul { grid-template-columns: 1fr 1fr; column-gap: 36px; }
  .gets li:nth-child(2) { border-top: 0; padding-top: 0; }
  .gets .line { font-size: 24px; }
  .changes .row { grid-template-columns: 1fr 1fr; gap: 6px 28px; align-items: baseline; }
}

@media print {
  body { background: #fff; padding: 0; }
  .sheet { border: 0; box-shadow: none; }
}

.booking-title { font-size: clamp(30px, 6vw, 42px); }
