/* Shared look for the static sales pages: /about, /weddings, /conferences, /recitals
   (app/public/*.html). Dark by default, light when the browser is in light mode. */
:root {
  --bg: #090d16;
  --surface: #131b2c;
  --surface-2: #1d2639;
  --line: #232f47;
  --text: #f1f5f9;
  --soft: #c3cddb;
  --muted: #8e9bb0;
  --accent: #10b981;
  --ink: #ffffff;
  --amber: #f59e0b;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    17px/1.6 system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
}
a {
  color: var(--accent);
}
.wrap {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}
header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none;
}
.brand svg {
  width: 2.25rem;
  height: 2.25rem;
}
nav a {
  color: var(--soft);
  text-decoration: none;
  margin-left: 1.1rem;
  font-size: 0.95rem;
}
nav a:hover {
  color: var(--text);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem 0 3.5rem;
}
h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.08;
  margin: 0 0 1rem;
  text-wrap: balance;
}
h1 span {
  color: var(--accent);
}
.lead {
  font-size: 1.2rem;
  color: var(--soft);
  margin: 0 0 1.75rem;
  max-width: 34rem;
}
.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0 1.4rem;
  border-radius: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.btn.primary {
  background: var(--accent);
  color: var(--ink);
}
.btn.ghost {
  background: var(--surface-2);
  color: var(--text);
}
.note {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 1rem;
}
.phones {
  position: relative;
  height: 34rem;
}
.phone {
  height: auto;
  position: absolute;
  width: 15rem;
  border-radius: 1.75rem;
  border: 6px solid #232c3d;
  box-shadow: 0 1.5rem 3rem rgb(0 0 0 / 0.45);
  background: var(--surface);
}
.phone.back {
  right: 0;
  top: 0;
  transform: rotate(4deg);
  opacity: 0.9;
}
.phone.front {
  left: 0;
  top: 2.5rem;
  transform: rotate(-3deg);
}

section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--line);
}
h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  line-height: 1.15;
  margin: 0 0 0.75rem;
  text-wrap: balance;
}
.kicker {
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  margin: 0 0 0.5rem;
}
.intro {
  color: var(--soft);
  max-width: 40rem;
  margin: 0 0 2rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.card {
  background: var(--surface);
  border-radius: 1.1rem;
  padding: 1.4rem;
}
.card h3 {
  margin: 0.6rem 0 0.35rem;
  font-size: 1.1rem;
}
.card p {
  margin: 0;
  color: var(--soft);
  font-size: 0.97rem;
}
.icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  background: rgb(16 185 129 / 0.14);
  color: var(--accent);
}
.icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.split.flip > :first-child {
  order: 2;
}
.shot {
  height: auto;
  width: 100%;
  max-width: 18rem;
  display: block;
  margin: 0 auto;
  border-radius: 1.5rem;
  border: 6px solid #232c3d;
}
.pair {
  display: flex;
  gap: 1rem;
  justify-content: center;
}
.pair .shot {
  max-width: 14rem;
  margin: 0;
}
.pair .shot:last-child {
  margin-top: 2.5rem;
}
ul.ticks {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
ul.ticks li {
  position: relative;
  padding-left: 2rem;
  margin: 0.7rem 0;
  color: var(--soft);
}
ul.ticks li b {
  color: var(--text);
}
ul.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.3rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--accent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E")
    center / 70% no-repeat;
}

/* The "running late" picture: times before and after. */
.late {
  display: grid;
  gap: 0.5rem;
  max-width: 30rem;
  margin: 1.5rem 0 0.5rem;
}
.late div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--surface);
  border-radius: 0.8rem;
  padding: 0.6rem 0.9rem;
}
.late b {
  flex: 1;
  font-weight: 600;
}
.late s {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.late em {
  font-style: normal;
  color: var(--amber);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.caption {
  color: var(--muted);
  font-size: 0.9rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  counter-reset: step;
}
.steps .card h3::before {
  counter-increment: step;
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  margin-right: 0.6rem;
  border-radius: 50%;
  background: rgb(16 185 129 / 0.16);
  color: var(--accent);
  font-size: 0.95rem;
}

.who {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.who .card h3 {
  margin-top: 0;
}

.without {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.without span {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  color: var(--soft);
  text-decoration: line-through;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
}

.final {
  text-align: center;
  padding: 4.5rem 0;
}
.final h2 {
  font-size: clamp(2rem, 5vw, 3rem);
}
.final h2 span {
  color: var(--accent);
}
.final .buttons {
  justify-content: center;
  margin-top: 1.5rem;
}
footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: space-between;
}
footer a {
  color: var(--soft);
  margin-right: 1.1rem;
}

@media (max-width: 52rem) {
  .hero,
  .split {
    grid-template-columns: 1fr;
  }
  .split.flip > :first-child {
    order: 0;
  }
  .phones {
    height: 28rem;
    max-width: 24rem;
    margin: 0 auto;
    width: 100%;
  }
  .phone {
    width: 12.5rem;
  }
  .grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 36rem) {
  nav a:not(.keep) {
    display: none;
  }
  .grid,
  .steps,
  .who {
    grid-template-columns: 1fr;
  }
  .phones {
    height: 24rem;
  }
  .phone {
    width: 10.5rem;
  }
  .pair .shot {
    max-width: 46%;
  }
}

/* Light mode: follows the browser (made from the dark colours above). */
:root {
  color-scheme: light dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f4f6f9;
    --surface: #ffffff;
    --surface-2: #e8edf3;
    --line: #d6dde7;
    --text: #0f172a;
    --soft: #334155;
    --muted: #5d6b80;
    --accent: #0e9f6e;
    --amber: #b45309;
  }
  .phone,
  .shot {
    border: 6px solid #d6dde7;
  }
  .phone {
    box-shadow: 0 1.5rem 3rem rgb(15 23 42 / 0.18);
  }
}
