:root {
  /* Rose People brand palette */
  --terracotta: #A95743;
  --white: #FFFFFF;
  --charcoal: #302B28;
  --blush: #F3E9E3;

  --bg: var(--white);
  --text: var(--charcoal);
  --card: var(--blush);
  --brand: var(--terracotta);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

html {
  scroll-padding-top: env(safe-area-inset-top, 0px);
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--text);
}

h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  letter-spacing: -.01em;
}

h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  color: var(--brand);
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0 0 1em;
  max-width: 62ch;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 10;
  background: var(--white);
  color: var(--charcoal);
  padding: .75rem 1rem;
  text-decoration: none;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 72px 0;
}

header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  background: var(--bg);
  z-index: 5;
  border-bottom: 1px solid var(--card);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  max-width: 1080px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.logo {
  font: 600 1.4rem var(--serif);
  color: var(--brand);
  text-decoration: none;
}

nav {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  color: var(--brand);
}

nav a[aria-current="page"] {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: .25em;
}

.btn {
  display: inline-block;
  background: var(--terracotta);
  color: var(--white);
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: filter .2s, background-color .2s, color .2s;
}

.btn:hover {
  filter: brightness(.9);
}

.btn.light {
  background: var(--white);
  color: var(--terracotta);
}

.btn.light:hover {
  background: var(--blush);
  filter: none;
}

nav .btn {
  padding: 9px 20px;
}

.hero {
  display: flex;
  flex-direction: column;
  padding: 72px 0 32px;
}

.hero > div:first-child {
  display: flex;
  flex-direction: column;
}

.hero > div:first-child .btn {
  align-self: flex-end;
}

.hero h1,
.hero p {
  max-width: none;
}

.hero p.lead,
.lead {
  font-size: 1.15rem;
}

.hero + .problems {
  padding-top: 32px;
}

.problems ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
}

.problems li {
  padding-left: 20px;
  border-left: 3px solid var(--brand);
}

.services {
  background: var(--card);
}

.services h2 {
  margin-bottom: 28px;
}

.grid {
  display: grid;
  grid-template-columns: 1.15fr 1.4fr;
  gap: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-radius: 20px;
  padding: 30px;
}

.card.main {
  grid-row: span 2;
}

.card a.more {
  display: block;
  width: 100%;
  margin-top: auto;
  padding: 13px 26px;
  border-radius: 999px;
  background: var(--terracotta);
  color: var(--white);
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  transition: filter .2s;
}

.card a.more:hover {
  filter: brightness(.9);
}

.card ul {
  padding-left: 1.1em;
  margin: 0 0 1em;
}

.creds {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.creds li {
  background: var(--card);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 500;
  font-size: .95rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: s;
  padding: 0;
  list-style: none;
  margin: 28px 0 0;
}

.steps li {
  counter-increment: s;
}

.steps li::before {
  content: counter(s);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--white);
  font: 600 1.1rem var(--serif);
  margin-bottom: 12px;
}

.steps h3 {
  font-size: 1.15rem;
  margin-bottom: .3em;
}

blockquote {
  margin: 0;
  background: var(--card);
  border-radius: 20px;
  padding: 32px;
  font: 500 1.25rem/1.5 var(--serif);
}

blockquote p {
  margin: 0;
  max-width: none;
}

blockquote footer {
  font: 400 .95rem var(--sans);
  opacity: .75;
  margin-top: 12px;
}

.cta {
  background: var(--terracotta);
  color: var(--white);
  text-align: center;
}

.cta h2,
.cta p {
  color: var(--white);
}

.cta p {
  margin: 0 auto 1.4em;
}

footer.site {
  padding: 32px 24px;
  text-align: center;
  opacity: .75;
  font-size: .9rem;
}

footer.site p {
  margin: 0 0 .5em;
  max-width: none;
}

footer.site a {
  color: inherit;
}

/* Inner pages */
.page-hero {
  padding: 72px 0 48px;
}

.page-hero p {
  max-width: 68ch;
}

.page-hero.wide p {
  max-width: none;
}

.stretch-text {
  max-width: none;
}

.page-hero.full p {
  max-width: none;
}

.page-hero.full .wrap {
  display: flex;
  flex-direction: column;
}

.page-hero.full .btn {
  align-self: flex-end;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0 0 1em;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
}

.hero-points li {
  padding-left: 20px;
  border-left: 3px solid var(--brand);
}

.panel-section {
  display: grid;
  gap: 40px;
}

.panel-section .two-col {
  align-items: stretch;
}

#about p {
  max-width: none;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.split-panels {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
  align-items: stretch;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 40px;
  align-items: start;
}

.photo-block {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  background: var(--card);
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  color: var(--brand);
  font-weight: 600;
}

.photo-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card-grid .card {
  background: var(--card);
}

.creds-section {
  padding: 48px 0;
}

.creds-section .creds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.creds-section .creds li {
  background: var(--white);
  text-align: center;
}

.panel {
  background: var(--card);
  border-radius: 20px;
  padding: 32px;
}

.panel h2,
.panel h3 {
  color: var(--brand);
}

.panel p {
  max-width: none;
}

.placeholder p {
  max-width: none;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding: .55em 0 .55em 1.7em;
  border-bottom: 1px solid var(--card);
}

.checklist li:last-child {
  border-bottom: 0;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .95em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  min-width: 640px;
}

.comparison caption {
  text-align: left;
  margin-bottom: 1rem;
  font-weight: 600;
}

.comparison th,
.comparison td {
  padding: 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--card);
}

.comparison thead th {
  background: var(--terracotta);
  color: var(--white);
  font-family: var(--serif);
  font-weight: 500;
}

.comparison tbody th {
  font-weight: 600;
  background: var(--blush);
}

.process {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.process li {
  counter-increment: step;
  background: var(--card);
  border-radius: 20px;
  padding: 24px;
}

.process li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--white);
  font: 600 1.1rem var(--serif);
  margin-bottom: 12px;
}

.process.three {
  grid-template-columns: repeat(3, 1fr);
}

.process h3 {
  font-size: 1.15rem;
  margin-bottom: .3em;
}

.process li p {
  margin: 0;
  max-width: none;
  font-size: .95rem;
}

.placeholder {
  background: var(--card);
  border: 2px dashed var(--brand);
  border-radius: 20px;
  padding: 28px;
}

.placeholder-label {
  display: inline-block;
  background: var(--terracotta);
  color: var(--white);
  border-radius: 999px;
  padding: .3rem .8rem;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-tint {
  background: var(--card);
}

.content-gap {
  margin-top: 1.5rem;
}

a.more {
  color: var(--brand);
  font-weight: 600;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}

.booking-panel {
  background: var(--card);
  border-radius: 20px;
  padding: 32px;
}

.calendar-embed {
  display: block;
  width: 100%;
  min-height: 680px;
  border: 1px solid var(--charcoal);
  border-radius: 20px;
  background: var(--white);
  margin-bottom: 1.25rem;
}

.fallback {
  background: var(--white);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 1rem;
}

.fallback p:last-child {
  margin-bottom: 0;
}

.prefer-email {
  margin: 0;
  font-size: 1.05rem;
}

.prefer-email a {
  color: var(--brand);
  font-weight: 600;
}

.email-link {
  color: var(--brand);
  font-weight: 600;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-details li {
  margin-bottom: .75rem;
}

.privacy-content h2 {
  margin-top: 1.75em;
}

.privacy-content h2:first-child {
  margin-top: 0;
}

.privacy-content ul {
  margin: 0 0 1em;
  padding-left: 1.5em;
}

.privacy-content li {
  margin-bottom: .45em;
  max-width: 62ch;
}

.privacy-content table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin: 0 0 1.25em;
}

.privacy-content th,
.privacy-content td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--card);
  overflow-wrap: anywhere;
}

.privacy-content thead th {
  background: var(--blush);
  color: var(--text);
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.05rem;
}

@media (max-width: 900px) {
  .process,
  .process.three {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .wrap,
  .nav,
  footer.site {
    padding-left: calc(24px + .2rem);
    padding-right: calc(24px + .2rem);
  }

  .hero,
  .grid,
  .problems ul,
  .hero-points,
  .steps,
  .two-col,
  .split-panels,
  .intro-grid,
  .card-grid,
  .process.three {
    grid-template-columns: 1fr;
  }

  .card.main {
    grid-row: auto;
  }

  section {
    padding: 52px 0;
  }

  .hero,
  .page-hero {
    padding: 44px 0;
  }

  .hero {
    padding-bottom: 32px;
  }

  .hero > div:first-child {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  #about .wrap {
    padding-left: calc(24px + 1.2rem);
    padding-right: calc(24px + 1.2rem);
  }

  nav {
    gap: 12px 16px;
  }

  nav a:not(.btn) {
    font-size: .95rem;
  }

  .calendar-embed {
    min-height: 600px;
  }
}

@media (max-width: 560px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
  }

  .process.three {
    grid-template-columns: 1fr;
  }

  .creds-section .creds {
    grid-template-columns: 1fr;
  }

  .panel,
  .booking-panel,
  .placeholder {
    padding: 24px;
  }

  .privacy-content th,
  .privacy-content td {
    padding: 10px 8px;
    font-size: .95rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
