@font-face {
  font-family: Montserrat;
  src: url("montserrat-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ink: #241d1a;
  --muted: #655650;
  --surface: #fffdf9;
  --line: #ded4ca;
  --soft: #ebe2d8;
  --radius: 10px;
}
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--surface);
  min-height: 72px;
  padding-block: 12px;
  gap: 12px;
}
.header .brand {
  color: var(--ink);
  font-family: Montserrat, sans-serif;
  font-weight: 650;
  font-size: clamp(.84rem, 2.6vw, 1.1rem);
  line-height: 1.2;
}
.header .brand img { border-radius: 50%; }
.about-link { display: inline-flex; align-items: center; min-height: 44px; }
.demo-intro {
  display: grid;
  align-items: stretch;
  margin: 0 0 26px;
  min-height: 248px;
  color: var(--brand-ink);
  background: var(--brand);
}
.demo-intro-photo { grid-template-columns: .9fr 1.1fr; }
.demo-intro-copy { padding: clamp(25px, 5vw, 65px); align-self: center; }
.demo-intro-copy h1 {
  margin: 0;
  font-family: var(--display, Montserrat), Georgia, serif;
  font-size: clamp(2.9rem, 7vw, 6rem);
  font-weight: 650;
  line-height: .99;
  text-wrap: balance;
}
.demo-intro-copy p { margin: 17px 0 20px; }
.demo-intro-copy .button {
  color: var(--brand-text);
  background: var(--surface);
}
.demo-intro img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.demo-flow-heading h2 { margin: 0 0 5px; font-size: clamp(1.4rem, 3vw, 1.8rem); }
.demo-flow-heading .flow-note { display: block; margin: 0 0 14px; }
.theme-ismail { --display: Georgia; --line: #d2bca6; --soft: #ede0ce; }
.theme-ismail .demo-intro h1 { font-size: clamp(2.75rem, 4.8vw, 4.7rem); }
.theme-davidbarber { --surface: #fbfcf7; --line: #ccd5c4; --soft: #dee7d7; }
.theme-davidbarber .demo-intro { border-bottom: 6px solid #9baa79; }
.theme-davidbarber .demo-intro h1 { text-transform: uppercase; letter-spacing: -.03em; }
.theme-lauracastro { --display: Georgia; --soft: #eee1dc; }
.theme-lauracastro .demo-intro {
  --brand-ink: #49302b;
  background: #ebd9d2;
  text-align: center;
  border: 1px solid #d6c0b6;
}
.theme-lauracastro .demo-intro h1 { font-style: italic; font-weight: 400; }
.theme-nailsjr2 { --surface: #fffafb; --line: #e9cbd2; --soft: #f1dde2; }
.theme-nailsjr2 .demo-intro { border-radius: 22px 22px 76px 22px; }
.theme-nailsjr2 .demo-intro h1 { letter-spacing: -.035em; }
.theme-lauraluque { --display: Georgia; --surface: #fffdf6; --line: #ded5be; --soft: #eee7d5; }
.theme-lauraluque .demo-intro {
  --brand-ink: #3d3117;
  background: #e9dfc1;
  border: 1px solid #d8ca9f;
}
.theme-lauraluque .demo-intro h1 { font-weight: 400; }
.demo-info { padding: 24px 0; }
.footer-credit { text-decoration: none; }
@media (max-width: 700px) {
  .header { padding: 8px 16px; min-height: 64px; }
  .header .brand img { width: 38px; height: 38px; }
  .demo-intro { min-height: 0; margin-bottom: 18px; }
  .demo-intro-photo { grid-template-columns: 1fr; }
  .demo-intro-copy { padding: 26px 20px; }
  .demo-intro-copy h1 { font-size: clamp(2.2rem, 10vw, 3.6rem); }
  .demo-intro img { height: 148px; object-position: center 43%; }
  .theme-nailsjr2 .demo-intro { border-radius: 14px 14px 42px 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
