/* imbuedwellness.com. Values come from the Phase 0 capture of the old site
   (ImbuedSite/_capture/styles.txt and screenshots/). One stylesheet, no build step. */

/* ---- Fonts: self-hosted, latin subset, only the weights the old site displays (plan D11) ---- */
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/roboto-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/assets/fonts/roboto-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Zilla Slab'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('/assets/fonts/zilla-slab-latin-500-normal.woff2') format('woff2'); }

:root {
  --sienna: #a0522d;       /* brand colour: manifest theme_color and section headings */
  --ink: #1b1b1b;
  --body: #5e5e5e;
  --bar: #161616;          /* header and footer */
  --footer-text: #a9a9a9;
  --line: #d5d5d5;
  --serif: 'Zilla Slab', Georgia, serif;
  --sans: 'Roboto', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.5; color: var(--body); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sienna); }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
:focus-visible { outline: 3px solid var(--sienna); outline-offset: 2px; }

.wrap { max-width: 1112px; margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Buttons ---- */
.btn { display: inline-block; font: 700 14px/1 var(--sans); letter-spacing: .071em; text-transform: uppercase;
  text-decoration: none; padding: 20px 32px; border: 0; border-radius: 0; cursor: pointer; }
.btn-light { background: #fff; color: #000; }
.btn-dark  { background: #000; color: #fff; }
.btn:hover { opacity: .85; }
.btn[disabled] { opacity: .5; cursor: progress; }

/* ---- Header ---- */
.site-header { background: var(--bar); }
.site-header .wrap { max-width: none; padding: 24px 48px; display: flex; align-items: center; gap: 24px; }
.brand { flex: 0 0 auto; order: 2; margin: 0 auto; }
.brand img { width: 300px; height: auto; }
.site-nav { display: contents; }
.site-nav a { font: 400 14px/24px var(--sans); letter-spacing: .071em; text-transform: uppercase; color: #f7f7f7; text-decoration: none; }
.site-nav a[aria-current="page"] { font-weight: 700; }
.site-nav a:hover { text-decoration: underline; }
.nav-left  { order: 1; display: flex; gap: 32px; flex: 1 1 0; }
.nav-right { order: 3; display: flex; gap: 32px; flex: 1 1 0; justify-content: flex-end; }
.nav-toggle { display: none; }

/* Home: the header sits over the hero photo, as on the old site. */
.home .site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 2; background: transparent; }

/* ---- Hero ---- */
.hero { position: relative; min-height: 760px; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; color: #fff; padding: 240px 24px 56px;
  background: linear-gradient(rgba(0,0,0,.12), rgba(0,0,0,.12)), url('/assets/img/hero.webp') center 60% / cover no-repeat; }
.hero h1 { font: 500 62px/1.2 var(--serif); }
.hero-sub { font-size: 22px; line-height: 33px; margin: 12px 0 40px; }
.hero-phone { margin-top: auto; padding-top: 80px; font-size: 22px; line-height: 33px; }
.hero-phone a { color: #fff; text-decoration: none; }

/* ---- Sections ---- */
.section { padding: 64px 0; }
.section-title { font: 500 44px/1.4 var(--serif); color: var(--sienna); text-align: center; }
.section-title::after { content: ''; display: block; width: 48px; height: 1px; background: var(--line); margin: 24px auto 0; }
.section-lede { font-size: 22px; line-height: 1.25; color: var(--ink); text-align: center; margin: 32px 0 24px; }

.philosophy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 40px; }
.philosophy-grid h3 { font: 400 22px/1.25 var(--sans); color: var(--ink); text-align: center; margin-bottom: 20px; }
.philosophy-grid p { text-align: center; margin: 0; }
.philosophy-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.band { position: relative; color: #fff; text-align: center; padding: 56px 24px;
  background: linear-gradient(rgba(0,0,0,.24), rgba(0,0,0,.24)), url('/assets/img/reviews.webp') center / cover no-repeat; }
.band h2 { font: 500 44px/1.25 var(--serif); }
.reviews-note { max-width: 680px; margin: 40px auto 0; padding: 14px; background: rgba(60,60,60,.85); font-size: 14px; }

/* ---- Contact ---- */
.contact-form { max-width: 680px; margin: 0 auto; display: grid; gap: 16px; }
.contact-form label, .subscribe-form label { display: grid; gap: 6px; font-size: 14px; color: var(--ink); }
.contact-form input, .contact-form textarea { font: 400 16px var(--sans); color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 4px; padding: 16px; width: 100%; }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button { justify-self: center; margin-top: 8px; }
.form-note { margin: 0; font-size: 14px; color: var(--body); }
.form-status { min-height: 1.5em; margin: 0; text-align: center; color: var(--ink); }
.form-done { font-size: 18px; }

/* Honeypot. Off-screen rather than display:none, which some bots skip. Plan 6.4 and 7.2. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-intro { text-align: center; margin: 48px 0 40px; }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 760px; margin: 0 auto; text-align: center; }
.contact-details h3 { font: 400 22px/1.25 var(--sans); color: var(--ink); margin-bottom: 16px; }
.contact-details p { margin: 0; }
.contact-details a { text-decoration: none; }
.hours { margin: 0 auto; border-collapse: collapse; text-align: left; }
.hours th, .hours td { font-weight: 400; padding: 1px 6px; }
.contact-details .hours-note { margin-top: 20px; }

/* ---- Subscribe ---- */
.subscribe { color: #fff; text-align: center; padding: 56px 24px;
  background: linear-gradient(rgba(0,0,0,.24), rgba(0,0,0,.24)), url('/assets/img/hero.webp') center 60% / cover no-repeat; }
.subscribe h2 { font: 500 44px/1.25 var(--serif); }
.subscribe > p { margin: 24px 0; }
.subscribe-form { max-width: 680px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; }
.subscribe-form label { flex: 1 1 300px; color: #fff; text-align: left; }
.subscribe-form input { font: 400 16px var(--sans); color: #fff; background: transparent; border: 1px solid #fff;
  border-radius: 4px; padding: 16px; width: 100%; }
.subscribe-form .form-status { flex-basis: 100%; color: #fff; }

/* ---- Footer ---- */
.site-footer { background: var(--bar); color: var(--footer-text); font-size: 14px; padding: 40px 0 48px; }
.site-footer p { margin: 0 0 32px; }
.site-footer nav { display: flex; justify-content: center; gap: 16px; }
.site-footer nav a { color: #fff; text-decoration: none; text-transform: uppercase; letter-spacing: .071em; }
.site-footer nav a:hover { text-decoration: underline; }

/* ---- Legal pages: the old site rendered the policy text in this style (Arial on #f9f9f9) ---- */
.legal-wrap { max-width: 1112px; margin: 56px auto; padding: 0 24px; }
.legal { background: #f9f9f9; color: #222; font-family: Arial, sans-serif; line-height: 1.5; padding: 1em 0; }
.legal h1, .legal h2, .legal h3 { color: #2c3e50; font-family: Arial, sans-serif; font-weight: 700; margin: .67em 0; }
.legal h1 { font-size: 2em; }
.legal h2 { font-size: 1.5em; }
.legal h3 { font-size: 1.17em; }
.legal section { margin-bottom: 2em; }
.legal ul { margin-left: 1.5em; }
.legal a { color: #1a5dab; }

/* ---- 404 and unsubscribe ---- */
.notfound { text-align: center; padding: 160px 24px; }
.notfound h1 { font: 500 44px/1.25 var(--serif); color: var(--ink); }
.notfound p { font-size: 22px; margin: 24px 0 32px; }

/* ---- Phone width ---- */
@media (max-width: 767px) {
  .site-header .wrap { padding: 16px; }
  .brand { order: 2; margin: 0 auto; }
  .brand img { width: 220px; }
  .nav-toggle { display: block; order: 1; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; }
  .site-nav { display: none; order: 3; flex-basis: 100%; }
  .site-nav.is-open { display: flex; flex-direction: column; gap: 12px; padding: 12px 0; }
  .site-header .wrap { flex-wrap: wrap; }
  .nav-left, .nav-right { flex-direction: column; gap: 12px; }
  .home .site-header { background: rgba(0,0,0,.35); }
  .home .site-nav.is-open { background: var(--bar); margin: 0 -16px; padding: 12px 16px; }

  .hero { min-height: 480px; padding: 120px 16px 32px; }
  .hero h1 { font-size: 40px; }
  .hero-sub { font-size: 20px; margin: 8px 0 24px; }
  .hero-phone { padding-top: 40px; }
  .section-title, .band h2, .subscribe h2, .notfound h1 { font-size: 34px; }
  .philosophy-grid, .contact-details { grid-template-columns: 1fr; gap: 24px; }
  .btn { width: 100%; text-align: center; }
  .contact-form button { justify-self: stretch; }
  .notfound .btn { width: auto; }
  .site-footer { text-align: center; }
}
