/* thesommer.co. Every colour, font and logo comes from the Blue-black Ink
   identity, approved by Hayley on November 26, 2026 (Pacific); brand-source.json
   names the brand-kit commit and each file's checksum. Change brand-kit first,
   then the copies here. */

/* Licensed web fonts (brand-kit licenses.md, "Licensed fonts"). Served only
   from this site, only as WOFF2 (WOFF for Autography, which has no WOFF2),
   with no Access-Control-Allow-Origin header (see _headers). */
@font-face { font-family: "Financier Display"; src: url("/fonts/financier-display-regular.woff2?v=255e1d2885") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Financier Text"; src: url("/fonts/financier-text-regular.woff2?v=2f945a0d67") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Suisse Intl"; src: url("/fonts/suisse-intl-regular.woff2?v=dd89fcfca9") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Suisse Intl"; src: url("/fonts/suisse-intl-medium.woff2?v=f7bb0ec686") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Pitch"; src: url("/fonts/pitch-regular.woff2?v=3ed7188213") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Autography"; src: url("/fonts/autography.woff?v=1c1527ac86") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  /* Blue-black Ink */
  --page: #F8F6F1;
  --surface: #EFEAE1;
  --paper: #EDE3D3;
  --ink: #373640;      /* text, buttons, logo */
  --dates: #54473F;    /* dates and secondary text */
  --letter: #4A2A25;   /* the words of a note */
  --accent: #BBC9D7;   /* bands; type 24 px and up only */
  --deep: #344B5B;     /* footer, dark bands; paper-coloured type on it */
  --rule: color-mix(in srgb, #54473F 30%, transparent);
  --radius-photo: 3px;
  --radius-button: 4px;
  --margin: 20px;
  --gap: 16px;
  --display: "Financier Display", Georgia, "Times New Roman", serif;
  --title: "Financier Text", Georgia, "Times New Roman", serif;
  --sans: "Suisse Intl", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  --note: "Pitch", "Courier New", monospace;
  --hand: "Autography", "Snell Roundhand", cursive;
  --wide: 90rem;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--page);
}

body {
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, q { text-wrap: balance; }

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

a {
  color: var(--ink);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

/* The logo files are drawn in one colour and take the colour of the text
   around them (the files use currentColor, which an <img> cannot pass on),
   so each is used as a mask. */
.mark {
  display: block;
  background-color: currentColor;
  -webkit-mask: var(--src) center / contain no-repeat;
  mask: var(--src) center / contain no-repeat;
}
.mark.lockup-h { --src: url("/brand/lockup-horizontal.svg?v=52dd2242b6"); aspect-ratio: 728.7 / 159.5; }
.mark.seal { --src: url("/brand/seal.svg?v=20417b8161"); aspect-ratio: 520 / 660; }
.mark.signet { --src: url("/brand/signet.svg?v=76891d06d9"); aspect-ratio: 440 / 560; }

/* Spaced capitals, for small labels. */
.eyebrow {
  margin: 0 0 22px;
  color: var(--dates);
  font: 500 12px/1.4 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------- The header and footer, on every page ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  max-width: var(--wide);
  margin: 0 auto;
  padding: max(16px, env(safe-area-inset-top)) max(var(--margin), env(safe-area-inset-right)) 16px max(var(--margin), env(safe-area-inset-left));
}
.site-header .home { display: block; color: var(--ink); }
.site-header .mark { height: 34px; }
.site-nav {
  display: flex;
  gap: 36px;
}
.site-nav a {
  color: var(--ink);
  font: 400 15px/1 var(--sans);
  text-decoration: none;
}
.site-nav a:hover { text-decoration: underline; }
@media (max-width: 599px) {
  .site-nav .optional { display: none; }
}
@media (min-width: 860px) {
  .site-header { padding-top: 26px; padding-bottom: 26px; padding-left: 56px; padding-right: 56px; }
  .site-header .mark { height: 44px; }
}

/* The footer of the short pages: a quiet line under a rule. */
.site-footer {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 28px max(var(--margin), env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(var(--margin), env(safe-area-inset-left));
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  color: var(--dates);
  font-size: 14px;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--dates); }
.site-footer a:hover { color: var(--ink); }

/* ---------- The home page ---------- */

.photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--surface);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 30px;
  border-radius: var(--radius-button);
  background: var(--ink);
  color: var(--page);
  font: 500 16px/1 var(--sans);
  text-decoration: none;
}
.button:hover { background: #24232b; }
.button:focus-visible { outline-color: var(--ink); }

h1 {
  margin: 0 0 26px;
  font: 400 40px/1.04 var(--display);
  letter-spacing: -0.01em;
}
h2 {
  margin: 0 0 34px;
  max-width: 47.5rem;
  font: 400 32px/1.08 var(--display);
}
h3 {
  margin: 18px 0 12px;
  font: 400 22px/1.2 var(--title);
}

/* The opening: a photograph beside a panel of paper. */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--paper);
}
.hero .photo { height: 420px; }
.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 36px 22px 44px;
}
.lede {
  margin: 0 0 36px;
  max-width: 32.5rem;
  font-size: 16px;
  line-height: 1.55;
}
.soon {
  margin: 16px 0 0;
  color: var(--dates);
  font-size: 13px;
}

/* Three things it holds. */
.features { padding: 64px 20px 10px; }
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature-grid .photo { height: auto; aspect-ratio: 4 / 5; border-radius: var(--radius-photo); }
.feature-grid p { margin: 0; color: var(--dates); font-size: 16px; line-height: 1.6; }

/* The band: a photograph and a line in the accent colour. */
.band {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  margin-top: 64px;
  background: var(--accent);
}
.band .photo { height: 300px; }
.band q {
  display: block;
  quotes: none;
  padding: 44px 22px;
  font: 400 34px/1.08 var(--display);
  color: var(--ink);
}

/* The note. */
.letterband {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: center;
  padding: 64px 20px;
  background: var(--paper);
}
.letterband h2 { margin: 0; }
.note-card {
  padding: 32px 26px;
  background: var(--page);
  color: var(--letter);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), 0 18px 40px -22px rgba(40, 25, 10, 0.35);
  transform: rotate(-1.2deg);
}
.note-card p {
  margin: 0 0 18px;
  font: 400 18px/28px var(--note);
}
.note-card .sign {
  display: block;
  font: 400 54px/1 var(--hand);
  text-align: right;
}

/* Privacy: a photograph beside the promises. */
.private {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  padding: 64px 20px;
}
.private .photo { height: auto; aspect-ratio: 4 / 5; border-radius: var(--radius-photo); }
.private h2 { margin-bottom: 36px; }
.promises { margin: 0; padding: 0; list-style: none; }
.promises li { padding-top: 22px; border-top: 1px solid var(--rule); margin: 0 0 22px; }
.promises strong {
  display: block;
  margin: 0 0 6px;
  font: 400 22px/1.3 var(--title);
}
.promises span { display: block; color: var(--dates); font-size: 16px; line-height: 1.6; }

/* The close: the seal on the deep colour. */
.closing {
  padding: 64px 20px 36px;
  background: var(--deep);
  color: var(--paper);
  text-align: center;
}
.closing .seal { height: 200px; margin: 0 auto 40px; color: var(--paper); }
.closing h2 { margin: 0 auto 14px; font-size: 30px; }
.closing p { margin: 0 auto 34px; max-width: 32rem; font-size: 16px; }
.closing a { color: var(--paper); }
.closing .button { background: var(--paper); color: var(--deep); }
.closing .button:focus-visible { outline-color: var(--paper); }
.closing .links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: center;
  margin-top: 56px;
  font-size: 14px;
}
.closing .links a { text-underline-offset: 3px; }

@media (min-width: 860px) {
  h1 { font-size: 68px; }
  h2 { font-size: 50px; margin-bottom: 64px; }
  h3 { font-size: 26px; margin: 26px 0 12px; }
  .hero { grid-template-columns: 1fr 1fr; margin: 0 56px; }
  .hero .photo { height: 680px; }
  .hero-text { padding: 76px 72px; }
  .lede { font-size: 19px; }
  .features { padding: 120px 56px 40px; max-width: var(--wide); margin: 0 auto; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .band { grid-template-columns: 1.1fr 1fr; margin-top: 120px; }
  .band .photo { height: 560px; }
  .band q { padding: 0 80px; font-size: 58px; }
  .letterband { grid-template-columns: 1fr 1fr; gap: 80px; padding: 110px 56px; }
  .letterband > * { max-width: 40rem; }
  .note-card { padding: 54px 50px; }
  .private { grid-template-columns: 1fr 1fr; gap: 80px; padding: 120px 56px; max-width: var(--wide); margin: 0 auto; }
  .closing { padding: 100px 56px 56px; }
  .closing .seal { height: 280px; }
  .closing h2 { font-size: 40px; }
  .closing .links { gap: 8px 28px; margin-top: 70px; }
}

/* ---------- Short centred pages: 404 ---------- */

.splash {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 40px var(--margin);
  text-align: center;
}
.splash .seal { height: 200px; color: var(--ink); }
.line {
  margin: 0;
  color: var(--dates);
  font: 400 16px/1.5 var(--sans);
}

/* ---------- S23, the invitation page ---------- */

.invitation {
  max-width: 34rem;
  margin: 0 auto;
  padding: max(48px, env(safe-area-inset-top)) max(var(--margin), env(safe-area-inset-right)) max(48px, env(safe-area-inset-bottom)) max(var(--margin), env(safe-area-inset-left));
}
.invitation .seal {
  height: 220px;
  margin: 0 auto 40px;
  color: var(--ink);
}
.invitation p { margin: 0 0 16px; }
.title {
  margin: 0 0 16px;
  font: 400 32px/1.2 var(--display);
}
.steps {
  margin: 0 0 24px;
  padding-left: 1.4em;
}
.steps li {
  margin-bottom: 12px;
  padding-left: 4px;
}
.steps a {
  display: inline-block;
  margin-top: 4px;
  font-weight: 500;
}
.invitation .note {
  color: var(--dates);
  font-size: 15px;
}

/* ---------- The privacy notice, terms, support and deletion pages ---------- */

.legal {
  max-width: 42rem;
  margin: 0 auto;
  padding: 24px max(var(--margin), env(safe-area-inset-right)) max(56px, env(safe-area-inset-bottom)) max(var(--margin), env(safe-area-inset-left));
}
.legal .title {
  margin-bottom: 20px;
  font-size: clamp(32px, 2vw + 24px, 44px);
}
.legal h2 {
  margin: 44px 0 12px;
  max-width: none;
  font: 400 26px/1.3 var(--title);
}
.legal h3 {
  margin: 28px 0 8px;
  font: 500 17px/1.4 var(--sans);
}
.legal p,
.legal ul,
.legal ol {
  margin: 0 0 14px;
}
.legal ul,
.legal ol {
  padding-left: 1.4em;
}
.legal li {
  margin-bottom: 8px;
}
.legal .interim,
.legal .effective {
  color: var(--dates);
}
.legal .interim {
  font-weight: 500;
}
.legal .table {
  overflow-x: auto;
  margin: 0 0 16px;
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.legal th,
.legal td {
  padding: 8px 10px 8px 0;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}
.legal strong, .legal th { font-weight: 500; }
.legal .other {
  margin-top: 48px;
  color: var(--dates);
  font-size: 14px;
}
