:root {
  --teal: #025361;
  --teal-dark: #063b42;
  --blue: #72a6b1;
  --cream: #fdecd5;
  --blush: #d4ac96;
  --lime: #bdd156;
  --ink: #111817;
  --white: #fffaf1;
}

@font-face {
  font-family: "Vexler Slip";
  src: url("assets/fonts/vexler-slip.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 100; padding: .75rem 1rem; background: var(--cream); color: var(--ink); }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.1rem clamp(1.25rem, 5vw, 5rem);
  color: var(--cream);
  background: var(--teal);
}
.brand-logo { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; }
.brand-logo img { width: 100%; height: auto; }
.brand-logo-header { width: 78px; margin-block: -.55rem; }
.brand-logo-footer { width: 118px; margin-block: -1rem; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.site-header nav a {
  text-decoration: none;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--lime); }
.menu-toggle {
  display: none;
  padding: .55rem .8rem;
  border: 1px solid var(--lime);
  border-radius: 999px;
  color: var(--cream);
  background: transparent;
  font: 700 .95rem "Barlow Condensed", sans-serif;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(330px, .98fr);
  align-items: center;
  gap: 2rem;
  min-height: 680px;
  padding: clamp(3.5rem, 7vw, 7.5rem) clamp(1.25rem, 6vw, 6.5rem);
  overflow: hidden;
  color: var(--cream);
  background: var(--teal);
}
.hero-copy { position: relative; z-index: 3; max-width: 720px; }
.eyebrow {
  margin: 0 0 1rem;
  color: var(--lime);
  font-family: "Barlow Condensed", sans-serif;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: "Vexler Slip", Georgia, serif; font-weight: 400; }
h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3.1rem, 6.6vw, 6.8rem);
  line-height: .96;
  letter-spacing: .005em;
}
.hero-lede { max-width: 640px; margin: 1.7rem 0; color: #dceff1; font-size: clamp(1rem, 1.5vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button {
  display: inline-block;
  padding: .85rem 1.2rem;
  border: 2px solid var(--lime);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}
.button-primary { background: var(--lime); color: var(--ink); }
.button-outline { color: var(--cream); }
.button:hover, .button:focus-visible { transform: translateY(-2px); }

.hero-art { position: relative; min-height: 480px; }
.hero-blob {
  position: absolute;
  inset: 2% 1% 4% 2%;
  border-radius: 45% 55% 42% 58% / 58% 42% 58% 42%;
  background: var(--blue);
}
.hero-cover {
  position: absolute;
  width: min(42%, 245px);
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 12px 14px 0 rgba(9, 24, 24, .9);
}
.hero-cover-one { left: 3%; top: 15%; z-index: 3; transform: rotate(-7deg); }
.hero-cover-two { left: 32%; top: 8%; z-index: 2; transform: rotate(1deg); }
.hero-cover-three { right: 0; top: 20%; z-index: 1; transform: rotate(7deg); }
.hero-logo-seal {
  position: absolute;
  right: -1%;
  top: -8%;
  z-index: 4;
  width: clamp(118px, 13vw, 174px);
  filter: drop-shadow(7px 8px 0 rgba(9, 24, 24, .62));
  transform: rotate(5deg);
}
.clue-line { position: absolute; left: -2%; right: -4%; bottom: 4%; height: 65px; border-bottom: 5px dotted var(--lime); border-radius: 50%; transform: rotate(-6deg); }

.ticker {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(1rem, 4vw, 4rem);
  padding: .9rem 1.25rem;
  background: var(--lime);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.ticker i { color: #f05b78; font-style: normal; }

.books-section { padding: clamp(4rem, 7vw, 7rem) clamp(1.25rem, 6vw, 6.5rem); background: #e4f0e9; }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: end; max-width: 1280px; margin: 0 auto 2.5rem; }
.section-heading h2, .town-section h2, .telephone-section h2, .about-section h2 { margin: 0; color: var(--teal-dark); font-size: clamp(2.7rem, 4.8vw, 5.1rem); line-height: 1; letter-spacing: .008em; }
.section-heading > p { max-width: 450px; margin: 0 0 .35rem; }
.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: clamp(2rem, 4vw, 4rem) clamp(1.2rem, 3vw, 3rem);
  max-width: 980px;
  margin: 0 auto;
}
.book-card { min-width: 0; max-width: 260px; width: 100%; margin-inline: auto; }
.book-cover-wrap { position: relative; width: min(100%, 238px); margin-inline: auto; }
.book-cover-link { display: block; text-decoration: none; }
.book-cover-wrap img {
  width: 100%;
  height: auto;
  box-shadow: 9px 10px 0 var(--teal-dark);
  transition: transform .2s ease, box-shadow .2s ease;
}
.book-card:hover .book-cover-wrap img { transform: translateY(-4px); box-shadow: 12px 15px 0 var(--teal-dark); }
.book-number {
  position: absolute;
  left: .8rem;
  top: .8rem;
  z-index: 2;
  padding: .35rem .55rem;
  color: var(--ink);
  background: var(--lime);
  font: 700 .8rem "Barlow Condensed", sans-serif;
  letter-spacing: .09em;
  text-transform: uppercase;
  box-shadow: 3px 3px 0 var(--ink);
}
.book-card h3 { margin: 1.25rem 0 .45rem; color: var(--teal-dark); font-size: clamp(1.6rem, 2.15vw, 2.1rem); line-height: 1.08; letter-spacing: .01em; }
.book-card h3 a { text-decoration: none; }
.book-card h3 a:hover, .book-card h3 a:focus-visible { color: #9d3058; }
.book-card p { margin: 0 0 1rem; color: #3f534e; }
.book-action, .book-status, .book-details {
  display: inline-block;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.book-action { padding-bottom: .15rem; border-bottom: 2px solid var(--teal); text-decoration: none; }
.book-action:hover, .book-action:focus-visible { color: #a12c58; border-color: #a12c58; }
.book-status { color: var(--teal); }
.book-details { margin-left: .9rem; color: #9d3058; text-decoration: none; }
.book-details:hover, .book-details:focus-visible { text-decoration: underline; text-underline-offset: .2rem; }

.town-section {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, .94fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  padding: clamp(4.5rem, 8vw, 8rem) clamp(1.25rem, 6vw, 6.5rem);
  background: var(--cream);
}
.town-section > div { max-width: 700px; }
.town-copy { font-size: 1.12rem; }
.town-copy blockquote {
  margin: 2rem 0 0;
  padding: 1.1rem 1.3rem;
  border-left: 6px solid var(--lime);
  border-bottom: 6px solid var(--lime);
  color: var(--teal-dark);
  background: var(--white);
  font-family: "Vexler Slip", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 400;
}

.cast-section { padding: clamp(4rem, 7vw, 7rem) clamp(1.25rem, 6vw, 6.5rem); background: var(--blush); }
.cast-heading .eyebrow { color: var(--teal); }
.appointment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 1220px;
  margin: 0 auto;
}
.appointment-card {
  position: relative;
  min-height: 260px;
  padding: 1.2rem 1.25rem 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 23, .48);
  border-radius: 3px;
  background-color: var(--white);
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 38px, rgba(114, 166, 177, .28) 39px, rgba(114, 166, 177, .28) 40px);
  box-shadow: 7px 8px 0 rgba(2, 83, 97, .8);
  transform: rotate(var(--tilt));
}
.appointment-card:nth-child(3n + 2) { background-color: #f6e0d1; }
.appointment-card:nth-child(3n) { background-color: #eef3da; }
.card-topline {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  padding-bottom: .65rem;
  border-bottom: 2px solid var(--ink);
  font: 700 .78rem "Barlow Condensed", sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.appointment-card h3 { margin: 1.05rem 0 .65rem; color: var(--teal-dark); font-size: clamp(1.65rem, 2.3vw, 2.35rem); line-height: 1.08; letter-spacing: .01em; }
.booked-for { margin: 0 0 .7rem; font-size: .94rem; }
.booked-for strong { color: #9d3058; font-family: "Barlow Condensed", sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.stylist-note { margin: 0; font-size: .96rem; line-height: 1.5; }
.card-check { position: absolute; right: 1rem; bottom: -.35rem; color: rgba(189, 209, 86, .75); font-family: "Vexler Slip", serif; font-size: 4.5rem; transform: rotate(-11deg); }

.telephone-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(250px, .7fr);
  gap: clamp(2.5rem, 8vw, 8rem);
  align-items: center;
  padding: clamp(4rem, 7vw, 7rem) clamp(1.25rem, 8vw, 9rem);
  color: var(--cream);
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
}
.telephone-section h2 { color: var(--cream); }
.telephone-copy { max-width: 720px; }
.telephone-copy > p:not(.eyebrow) { max-width: 620px; margin: 1.4rem 0 1.7rem; font-size: 1.15rem; }
.telephone-copy small { display: block; margin-top: .9rem; color: #cce0e2; }
.freebie-cover-wrap { position: relative; max-width: 360px; justify-self: center; transform: rotate(3deg); }
.freebie-cover-wrap img { width: 100%; box-shadow: 13px 15px 0 var(--lime); }
.free-stamp {
  position: absolute;
  left: -2.3rem;
  top: 2.2rem;
  z-index: 2;
  padding: .55rem .8rem;
  border: 3px solid #f05a7e;
  color: #f05a7e;
  background: var(--cream);
  font: 700 .95rem "Barlow Condensed", sans-serif;
  letter-spacing: .09em;
  text-transform: uppercase;
  transform: rotate(-10deg);
}

.appointment-section { padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 9vw, 10rem); background: linear-gradient(120deg, #ef6e63, #ed2d77); }
.standing-card {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: 28px;
  color: var(--cream);
  background: var(--teal-dark);
  box-shadow: 10px 12px 0 var(--lime);
}
.standing-card h2 { margin: 0; font-size: clamp(2.8rem, 5.8vw, 5.8rem); line-height: 1; letter-spacing: .008em; }
.standing-card > p:not(.eyebrow) { max-width: 650px; margin: 1.3rem 0; font-size: 1.08rem; }
.text-link { color: var(--lime); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: .25rem; }

.about-section {
  display: grid;
  grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
  padding: clamp(4.5rem, 8vw, 8rem) clamp(1.25rem, 8vw, 9rem);
  background: var(--cream);
}
.about-portrait { max-width: 430px; padding: 1rem; border-radius: 50%; background: var(--lime); }
.about-portrait img { border-radius: 50%; }
.about-copy { max-width: 780px; }
.about-copy > p:not(.eyebrow) { font-size: 1.06rem; }
.about-links { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.6rem; }
.about-links a { color: var(--teal); font-weight: 700; text-underline-offset: .2rem; }

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 2rem clamp(1.25rem, 6vw, 6.5rem);
  color: var(--cream);
  background: #082b2d;
}
footer p { margin: 0; color: #b9d4d6; }
footer > a:last-child { color: var(--lime); font-weight: 700; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .site-header { position: relative; }
  .site-header nav {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% - .2rem);
    z-index: 20;
    flex-direction: column;
    gap: 0;
    padding: .65rem 1rem;
    border: 1px solid var(--lime);
    background: var(--teal-dark);
    box-shadow: 0 10px 24px rgba(0,0,0,.22);
  }
  .site-header nav.is-open { display: flex; }
  .site-header nav a { padding: .75rem 0; }
  .hero { grid-template-columns: 1fr; }
  .hero-art { min-height: 430px; }
  .section-heading { grid-template-columns: 1fr; }
  .appointment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .town-section, .telephone-section, .about-section { grid-template-columns: 1fr; }
  .about-portrait { max-width: 320px; }
  footer { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 620px) {
  .hero { min-height: auto; padding-top: 3.5rem; }
  h1 { font-size: clamp(3.05rem, 16vw, 4.6rem); }
  .hero-art { min-height: 360px; }
  .hero-cover { width: 43%; }
  .hero-logo-seal { right: 1%; top: -4%; width: 112px; }
  .book-grid, .appointment-grid { grid-template-columns: 1fr; gap: 2.8rem; }
  .book-card { max-width: 280px; }
  .appointment-card { max-width: 350px; margin-inline: auto; }
  .appointment-card { min-height: 245px; }
  .free-stamp { left: -.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button:hover, .button:focus-visible { transform: none; }
  .book-card:hover img { transform: none; }
}
