/* ==========================================================================
   Olive Lane Hair Studio — simple salon theme
   --------------------------------------------------------------------------
   Warm sand background, soft brown text, pill buttons, big friendly type.
   Deliberately plain: no scroll animations, no clever layout tricks.

     01  Tokens
     02  Reset & base
     03  Type helpers
     04  Buttons
     05  Layout
     06  Header & nav
     07  Hero
     08  Team
     09  Service list, booking slot & contact blocks
     10  Hours & map
     11  Form
     12  Footer
     13  Responsive
   ========================================================================== */

/* --------------------------------------------------------- 01  Tokens --- */

:root {
  --sand:        #ece4da;
  --sand-light:  #f6f3ec;
  --sand-dark:   #ded3c5;
  --brown:       #36302a;
  --brown-soft:  #6b6157;
  --brown-mute:  #8d8277;
  --white:       #ffffff;
  --line:        #d5c9ba;

  --font-head: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-body: "Almarai", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Big and airy, following the reference site: ~85px display, ~26px body. */
  --fs-hero:  clamp(2.75rem, 7.5vw, 5.3rem);
  --fs-h1:    clamp(2.25rem, 5vw, 3.5rem);
  --fs-h2:    clamp(1.875rem, 3.6vw, 2.75rem);
  --fs-h3:    clamp(1.3125rem, 2vw, 1.625rem);
  --fs-body:  clamp(1.0625rem, 0.45vw + 1rem, 1.3125rem);
  --fs-lead:  clamp(1.1875rem, 1.1vw + 1rem, 1.625rem);
  --fs-small: 0.875rem;

  --gutter:    clamp(1.25rem, 5vw, 3.5rem);
  --section-y: clamp(3.5rem, 8vw, 7rem);
  --max:       72rem;
  --max-text:  42rem;

  --pill: 300px;
}

/* ------------------------------------------------- 02  Reset & base ----- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--brown);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.2;
}

p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

ul { margin: 0; padding: 0; list-style: none; }

a { color: inherit; }

::selection {
  background: var(--brown);
  color: var(--sand);
}

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--brown);
  color: var(--sand-light);
  text-decoration: none;
  border-radius: var(--pill);
}

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

/* -------------------------------------------- 03  Type helpers ---------- */

.hero-title { font-size: var(--fs-hero); }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--brown-soft);
}

.muted { color: var(--brown-mute); }

.eyebrow {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown-mute);
}

.center { text-align: center; }

.text-block {
  max-width: var(--max-text);
  margin-inline: auto;
}

.text-block > * + * { margin-top: 1.25rem; }

/* ----------------------------------------------- 04  Buttons ------------ */

.btn {
  display: inline-block;
  padding: 1rem 2.25rem;
  border: 2px solid var(--brown);
  border-radius: var(--pill);
  background: var(--brown);
  color: var(--sand-light);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  background: transparent;
  color: var(--brown);
}

.btn--outline {
  background: transparent;
  color: var(--brown);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--brown);
  color: var(--sand-light);
}

.btn--small {
  padding: 0.6875rem 1.5rem;
  font-size: 0.9375rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.btn-row--center { justify-content: center; }

/* ------------------------------------------------ 05  Layout ------------ */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

.section--light { background: var(--sand-light); }
.section--dark  { background: var(--brown); color: var(--sand-light); }

.section--dark .lead,
.section--dark .muted { color: rgba(246, 243, 236, 0.75); }

.section--dark .eyebrow { color: rgba(246, 243, 236, 0.6); }

.section--dark .btn {
  background: var(--sand-light);
  border-color: var(--sand-light);
  color: var(--brown);
}

.section--dark .btn:hover,
.section--dark .btn:focus-visible {
  background: transparent;
  color: var(--sand-light);
}

.section-title {
  max-width: 20ch;
  margin-inline: auto;
  margin-bottom: 1.25rem;
}

.section-intro {
  max-width: 46ch;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

/* ------------------------------------------ 06  Header & nav ------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--sand);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.75rem;
}

.brand {
  font-family: var(--font-head);
  font-size: 1.375rem;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}

.brand span {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-body);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--brown-mute);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.nav__link {
  font-size: 1rem;
  text-decoration: none;
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
}

.nav__link:hover,
.nav__link[aria-current="page"] { border-bottom-color: var(--brown); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin-inline: auto;
  background: var(--brown);
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  display: none;
  padding: 1.5rem var(--gutter) 2.5rem;
  background: var(--sand);
  border-bottom: 1px solid var(--line);
}

.nav-drawer.is-open { display: block; }

.nav-drawer ul {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 1.75rem;
}

.nav-drawer a {
  display: block;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head);
  font-size: 1.375rem;
  text-decoration: none;
}

/* ------------------------------------------------- 07  Hero ------------- */

.hero__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 72vh;
  overflow: hidden;
  background: var(--sand-dark);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__text {
  padding-block: clamp(3rem, 7vw, 5.5rem);
  text-align: center;
}

.hero__text h1 {
  font-size: var(--fs-hero);
  line-height: 1.08;
}

.hero__text h1 span { display: block; }

.hero__tagline {
  max-width: 34ch;
  margin: 1.5rem auto 2.25rem;
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--brown-soft);
}

/* Small banner for interior pages */
.page-banner {
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: 24rem;
  overflow: hidden;
  background: var(--sand-dark);
}

.page-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ------------------------------------------------- 08  Team ------------- */

.team {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  text-align: center;
}

.team__photo {
  width: min(100%, 13rem);
  aspect-ratio: 1;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--sand-dark);
}

.team__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team__name {
  font-size: var(--fs-h3);
  margin-bottom: 0.3rem;
}

.team__role {
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brown-mute);
}

/* ----------------------------------------- 09  Service list ------------- */

/* Large plain list — the way the reference site lists its services */
.plain-list {
  max-width: 34rem;
  margin-inline: auto;
  text-align: center;
}

.plain-list li {
  padding-block: 1.0625rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  line-height: 1.3;
}

.plain-list li:first-child { border-top: 1px solid var(--line); }

/* Booking widget slot */
.booking-embed {
  min-height: 26rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px dashed var(--line);
  border-radius: 1.5rem;
  background: var(--sand-light);
  text-align: center;
}

/* Embedded Setmore booking page on appointments.html */
.booking-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: #fff;
}

.booking-frame iframe {
  display: block;
  width: 100%;
  height: min(85vh, 860px);
  min-height: 560px;
  border: 0;
}

.booking-frame__alt {
  margin-top: .875rem;
  font-size: .9375rem;
}

.booking-embed code {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: .875em;
  padding: .1em .35em;
  border-radius: .25rem;
  background: rgba(54, 48, 42, .08);
}

/* Centred contact blocks, each under its own heading */
.contact-stack {
  max-width: 34rem;
  margin-inline: auto;
  text-align: center;
}

.contact-stack > * + * { margin-top: clamp(2.25rem, 5vw, 3.25rem); }

.contact-stack h2 {
  font-size: var(--fs-h3);
  margin-bottom: .75rem;
}

.contact-stack p { font-size: var(--fs-lead); line-height: 1.5; }

.contact-stack a { text-decoration: none; }
.contact-stack a:hover { text-decoration: underline; }

/* ------------------------------------------- 10  Hours & map ------------ */

.hours {
  display: grid;
  gap: 0.4rem;
  margin: 0;
}

.hours div {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}

.section--dark .hours div { border-color: rgba(246, 243, 236, 0.25); }

.hours dt { color: var(--brown-soft); }
.section--dark .hours dt { color: rgba(246, 243, 236, 0.75); }

.hours dd { margin: 0; }

.map {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--line);
  background: var(--sand-dark);
}

.map iframe,
.map img {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 2rem;
  text-align: center;
}

.map-placeholder code {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.875em;
  padding: 0.1em 0.35em;
  border-radius: 0.25rem;
  background: rgba(54, 48, 42, 0.08);
}

/* ------------------------------------------------- 11  Form ------------- */

.form { display: grid; gap: 1.25rem; }

.form__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
}

.field { display: grid; gap: 0.45rem; }

.field label {
  font-size: 0.9375rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.875rem 1.125rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--white);
  color: var(--brown);
  font-family: var(--font-body);
  font-size: 1rem;
  -webkit-appearance: none;
  appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238d8277' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.125rem center;
  padding-right: 2.75rem;
}

.field textarea { min-height: 8.5rem; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--brown);
  box-shadow: 0 0 0 3px rgba(54, 48, 42, 0.12);
}

.form__status {
  margin: 0;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 1rem;
  line-height: 1.6;
}

.form__note {
  font-size: 0.9375rem;
  color: var(--brown-mute);
}

/* ----------------------------------------------- 12  Footer ------------- */

.site-footer {
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  background: var(--brown);
  color: rgba(246, 243, 236, 0.8);
  text-align: center;
}

.site-footer a { color: inherit; }

.site-footer .brand {
  display: inline-block;
  color: var(--sand-light);
  margin-bottom: 1.5rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  margin-bottom: 1.75rem;
}

.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }

.footer-meta {
  font-size: 1rem;
  line-height: 2;
  margin-bottom: 1.75rem;
}

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(246, 243, 236, 0.2);
  font-size: 0.875rem;
  color: rgba(246, 243, 236, 0.55);
}

/* ------------------------------------------- 13  Responsive ------------- */

@media (max-width: 54rem) {
  .nav__list { display: none; }
  .nav .btn { display: none; }
  .nav-toggle { display: flex; }
}

@media print {
  .site-header, .nav-drawer, .hero__media, .page-banner { display: none; }
  body { background: #fff; color: #000; }
}
