:root {
  --bg: #141413;
  --cream: #f1e9d8;
  --muted: #b9b2a3;
  --line: rgba(241, 233, 216, 0.28);
  --font-display: "Poiret One", "Quicksand", sans-serif;
  --font-body: "Quicksand", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 66rem;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
h1, h2 { font-family: var(--font-display); line-height: 1.05; }
h1 { font-size: clamp(2rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(2.6rem, 7vw, 4.5rem); text-transform: uppercase; letter-spacing: .02em; margin-bottom: 1.75rem; }
h3 { font-size: 1.5rem; font-weight: 300; line-height: 1.2; }
p { margin: 0; }
p + p { margin-top: 1.1rem; }
a { color: var(--cream); }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }

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

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--cream); color: var(--bg); padding: .5rem 1rem; z-index: 20;
}
.skip:focus { left: 1rem; top: 1rem; }

/* The logo files are black line art; turn them cream for the dark background */
.logo { filter: invert(1) sepia(.7) saturate(.6) brightness(.97); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .6rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(20, 20, 19, .82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand img { width: 9rem; }
.nav nav { display: flex; align-items: center; gap: clamp(.9rem, 3vw, 2.2rem); }
.nav nav a { color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 400; transition: color .2s; }
.nav nav a:hover { color: var(--cream); }
.nav nav .nav-cta { color: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: .35rem 1.1rem; }
.nav nav .nav-cta:hover { background: var(--cream); color: var(--bg); }

/* Hero */
.hero {
  min-height: calc(100svh - 4rem);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 2rem 1.25rem 5rem;
}
.hero-logo { width: min(44rem, 100%); }
.hero h1 { margin-top: 1rem; }
.lede { max-width: 34rem; margin: 1.5rem auto 2.5rem; font-size: clamp(1.05rem, 2.2vw, 1.2rem); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

.btn {
  display: inline-block;
  padding: .8rem 2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--cream);
  font-size: .95rem; font-weight: 400; letter-spacing: .04em;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { border-color: var(--cream); }
.btn-primary { background: var(--cream); color: var(--bg); border-color: var(--cream); font-weight: 500; }
.btn-primary:hover { background: #fff; }

/* Sections */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 7rem) clamp(1.25rem, 4vw, 2.5rem);
  color: var(--muted);
}
.section h2, .section h3 { color: var(--cream); }
.section-lede { max-width: 38rem; font-size: 1.05rem; }

.split {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr));
  gap: 3rem clamp(2rem, 6vw, 5rem); align-items: center;
}

.arch { border: 1px solid var(--line); border-radius: 999px 999px 0 0; padding: .9rem; max-width: 26rem; justify-self: center; }
.arch img { border-radius: 999px 999px 0 0; }

.services {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(22rem, 100%), 1fr));
  gap: 1.25rem; margin: 3rem 0;
}
.services article { padding: 2rem 1.75rem; border: 1px solid var(--line); border-radius: 1.5rem; }
.services p { margin-top: .75rem; }
.wide { width: 100%; max-height: 26rem; object-fit: cover; }

.twin { width: min(30rem, 100%); justify-self: center; }
.steps { list-style: none; padding: 0; margin: 2rem 0; counter-reset: step; }
.steps li { position: relative; padding: 1.1rem 0 1.1rem 3.5rem; border-top: 1px solid var(--line); counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 1.2rem;
  font-family: var(--font-display); font-size: 1.3rem; color: var(--cream);
}
.steps p { margin-top: .3rem; }

.class { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr)); gap: 2rem clamp(2rem, 6vw, 5rem); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.when { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; color: var(--cream); }
.time { margin-top: .4rem; font-size: 1.25rem; color: var(--cream); }
.venue { margin: .6rem 0 1.1rem; color: var(--cream); }
.class .btn { margin-top: 1.75rem; }

.role { color: var(--cream); font-weight: 400; font-size: .95rem; margin-bottom: 1.25rem; }

.contact { display: flex; flex-direction: column; align-items: center; text-align: center; }
.contact .logo { width: 16rem; margin-bottom: 2.5rem; }
.mail {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5.5vw, 2.8rem);
  text-transform: uppercase; letter-spacing: .03em;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
  transition: border-color .2s;
}
.mail:hover { border-color: var(--cream); }
.phone { margin-top: 1.5rem; font-size: 1.2rem; font-weight: 400; letter-spacing: .05em; text-decoration: none; color: var(--muted); }
.phone:hover { color: var(--cream); }

.footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem clamp(1.25rem, 4vw, 2.5rem) 3rem;
  text-align: center; color: var(--muted); font-size: .9rem;
}
.fine { max-width: 38rem; margin: .9rem auto 0; font-size: .78rem; opacity: .8; }

@media (max-width: 46rem) {
  .nav nav a:not(.nav-cta) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
