/* ==========================================================
   Ostro — holding page
   Layout: one narrow, left-aligned column (~38rem). Light only.
   ========================================================== */

@font-face {
  font-family: "Office Times Sharp";
  src: url("fonts/officetimessharp-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Office Times Sharp Mono";
  src: url("fonts/officetimessharpmono-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colour */
  --bg: #F5F5F3;
  --surface: #FFFFFF;
  --ink: #212121;
  --muted: #66665F;
  --line: #E0E0DB;
  --lattice: #B9B9B2;
  --live: #2F7D4F;

  /* Type */
  --display: "Office Times Sharp", "Times New Roman", Georgia, serif;
  --mono: "Office Times Sharp Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Space */
  --container: 38rem;
  --gutter: 20px;
  --radius: 0;

  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 0.875rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
  overflow-x: clip;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Page ---------- */

.page {
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding-inline: var(--gutter);
  padding-block: 32px 40px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding-block: 64px 80px;
}

/* ---------- Header ---------- */

.wordmark {
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1;
  text-decoration: none;
  letter-spacing: -0.01em;
}

/* ---------- Construction notice ---------- */

.notice {
  display: grid;
  gap: 6px;
  padding: 14px 16px 16px;
  /* Hazard-tape border: diagonal stripes in the border, white inside */
  border: 6px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    repeating-linear-gradient(-45deg, var(--line) 0 7px, var(--surface) 7px 14px) border-box;
  box-shadow: 0 0 0 1px var(--line), inset 0 0 0 1px var(--line);
}

.notice-title {
  margin: 0;
  font-weight: 500;
}

.status {
  margin: 0;
  color: var(--muted);
}

/* ---------- Hero ---------- */

.hero {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 400;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 1.5rem + 2.4vw, 2.75rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.lede {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
  text-wrap: pretty;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 18px;
  border-radius: var(--radius);
  font: 500 0.875rem/1 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--ink);
  color: var(--surface);
  border: 1px solid var(--ink);
}

.btn-primary:hover {
  background: #2C2C2A;
}

.btn-email {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  min-width: 0;
}

.btn-email:hover {
  border-color: var(--lattice);
}

.email-address {
  overflow-wrap: anywhere;
}

.copy-label {
  padding-left: 10px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8125rem;
  min-width: 3.6em;
}

.btn-email.is-copied .copy-label {
  color: var(--live);
}

/* ---------- FAQ ---------- */

.faq h2 {
  font-size: 1.75rem;
  line-height: 1.1;
  margin-bottom: 20px;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-of-type {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 18px 36px 18px 0;
  font-weight: 500;
  line-height: 1.4;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.34s cubic-bezier(.2,.7,.2,1);
}

.faq summary::after {
  transform: rotate(90deg);
}

.faq details[open]:not(.is-closing) summary::after {
  transform: rotate(0deg);
}

.faq details p {
  margin: 0;
  padding: 0 0 20px;
  max-width: 62ch;
  color: var(--muted);
}

/* ---------- Footer ---------- */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--muted);
}

/* ---------- Small screens ---------- */

@media (max-width: 480px) {
  :root {
    --gutter: 16px;
  }

  main {
    gap: 44px;
    padding-block: 44px 56px;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .faq summary::before,
  .faq summary::after,
  .btn {
    transition: none;
  }
}
