/* =========================================================
   MARLOW – hair salon and barber website template
   EDIT YOUR COLOURS AND FONTS HERE. Everything else follows.
   ========================================================= */
:root {
  --dark: #2b2326;       /* header button, headings, dark band */
  --paper: #faf6f3;      /* page background */
  --card: #ffffff;       /* cards and form boxes */
  --line: #eadfd8;       /* lines and borders */
  --accent: #b4685a;     /* main buttons */
  --on-accent: #ffffff;  /* text on main buttons */
  --accent-2: #9a5446;   /* small labels */
  --ink: #241e20;        /* body text */
  --muted: #6b6163;      /* secondary text */
  --muted-on-dark: #cdbfbc;
  --font-head: "Fraunces", Georgia, serif; --head-weight: 600;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --radius: 18px; --btn-radius: 999px;
}
@font-face { font-family: "Fraunces"; font-weight: 600; font-display: swap; src: url(fonts/fraunces-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url(fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2"); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--font-body); color-scheme: light; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: -0.01em; margin: 0; }
p { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
[id] { scroll-margin-top: 16px; }

/* ---------- Header ---------- */
.nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px max(20px, 5vw); border-bottom: 1px solid var(--line); background: var(--paper); }
.logo { font: var(--head-weight) 21px/1 var(--font-head); color: var(--dark); text-decoration: none; white-space: nowrap; }
.logo i { color: var(--accent); font-style: normal; }
.nav nav { display: flex; align-items: center; gap: 20px; }
.nav nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav .nav-btn { background: var(--dark); color: var(--paper); padding: 10px 16px; border-radius: var(--btn-radius); white-space: nowrap; }

/* ---------- Intro ---------- */
.intro { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; padding: 36px max(20px, 5vw); border-bottom: 1px solid var(--line); }
.kicker { font: 500 13px/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); }
.intro h1 { font-size: 32px; line-height: 1.15; color: var(--dark); margin-top: 12px; max-width: 22ch; }
.lede { font-size: 17px; color: var(--muted); max-width: 48ch; margin-top: 14px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--btn-radius); background: var(--accent); color: var(--on-accent); border: 0; font: 600 16px/1 var(--font-body); text-decoration: none; cursor: pointer; }
.btn:hover { filter: brightness(.95); }
.btn[disabled], .btn[aria-disabled] { opacity: .55; cursor: not-allowed; }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: var(--btn-radius); border: 1.5px solid var(--dark); color: var(--dark); font-weight: 600; text-decoration: none; background: transparent; cursor: pointer; font-size: 16px; }
.open-now { display: flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 14.5px; color: var(--dark); }
.open-now .dot { width: 9px; height: 9px; border-radius: 50%; background: #2f9e62; box-shadow: 0 0 0 4px rgba(47,158,98,.15); }
.open-now.closed .dot { background: #c0392b; box-shadow: 0 0 0 4px rgba(192,57,43,.14); }
.art { width: 100%; height: auto; border-radius: var(--radius); display: block; }

/* ---------- Sections ---------- */
.section { padding: 48px max(20px, 5vw); border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; }
.section-head h2 { font-size: 28px; color: var(--dark); }
.section-head p { color: var(--muted); max-width: 52ch; }
.dark-band { background: var(--dark); color: var(--paper); }
.dark-band h2, .dark-band h3 { color: var(--paper); }
.dark-band .section-head p, .dark-band .muted { color: var(--muted-on-dark); }

/* tabs */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tabs button { font: 500 15px/1 var(--font-body); padding: 10px 16px; border-radius: var(--btn-radius); border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--dark); border-color: var(--dark); color: var(--paper); }
.dark-band .tabs button { color: var(--paper); border-color: rgba(255,255,255,.2); }
.dark-band .tabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* price list */
.price-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.price-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.price-list h3 { font-size: 18px; color: var(--dark); }
.price-list .price { font: 500 16px/1.4 var(--font-mono); color: var(--dark); white-space: nowrap; }
.price-list p { grid-column: 1 / -1; color: var(--muted); font-size: 15px; }
.small { font-size: 14px; color: var(--muted); }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--card); display: grid; gap: 8px; align-content: start; }
.card h3 { font-size: 19px; color: var(--dark); }
.card p { color: var(--muted); font-size: 15px; }

/* visit + hours */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.visit h2 { font-size: 28px; margin-bottom: 14px; }
address { font-style: normal; font-size: 17px; line-height: 1.6; margin-bottom: 10px; }
.visit .small { margin-bottom: 18px; }
.hours { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.hours caption { text-align: left; font: 500 12.5px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); padding-bottom: 10px; }
.hours th, .hours td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; font-family: var(--font-mono); }
.hours tr.today th, .hours tr.today td { font-weight: 600; color: var(--dark); }
.dark-band .hours th, .dark-band .hours td { border-color: rgba(255,255,255,.14); }
.dark-band .hours tr.today th, .dark-band .hours tr.today td { color: var(--paper); }

/* forms */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; max-width: 760px; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: 14.5px; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { font: 400 16px/1.4 var(--font-body); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.form textarea { resize: vertical; min-height: 90px; }
.form button { justify-self: start; }
.opt-note { font-weight: 400; color: var(--muted); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.done { display: grid; gap: 4px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); max-width: 560px; }
.form-error { color: #b42318; font-weight: 500; margin-top: 10px; }

/* questions */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; background: var(--card); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--dark); }
.faq details p { margin-top: 8px; color: var(--muted); }

/* contact strip (Lite) */
.contact-strip { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ---------- Footer ---------- */
.footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 26px max(20px, 5vw); font-size: 14px; color: var(--muted); }
.footer a { color: inherit; }

/* ---------- Phones ---------- */
@media (max-width: 860px) {
  .intro, .visit { grid-template-columns: 1fr; gap: 28px; }
  .cards { grid-template-columns: 1fr; }
  .price-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav nav a:not(.nav-btn) { display: none; }
  .intro h1 { font-size: 28px; }
  .section { padding: 40px 20px; }
  .form { grid-template-columns: 1fr; }
  .section-head h2, .visit h2 { font-size: 25px; }
}

/* ---------- Marlow extras ---------- */
.face { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #f1e4dc; color: var(--accent-2); font: 600 20px/1 var(--font-head); object-fit: cover; }
.dark-band .btn { background: var(--paper); color: var(--dark); }
