/* Pacific Northwest inspired palette */
:root {
  --evergreen: #1f4d3a;
  --cedar: #285e4a;
  --deep-lake: #1b3a4b;
  --mist: #f0f4f5;
  --river: #5a8aaa;
  --driftwood: #e6e1dc;
  --stone: #3a3a3a;
  --cloud: #ffffff;
  --golden-hour: #d9a441;
}

/* Skip to content */
.skip-link { position: absolute; top: -100%; left: 1rem; background: var(--evergreen); color: var(--cloud); padding: .5rem 1rem; border-radius: 0 0 .4rem .4rem; z-index: 100; font-weight: 600; }
.skip-link:focus { top: 0; }

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Montserrat, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--stone);
  background: var(--mist);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: var(--deep-lake); text-decoration: none; transition: color .2s ease; }
a:hover { text-decoration: underline; }
a:focus-visible,
button:focus-visible { outline: 3px solid var(--river); outline-offset: 3px; border-radius: .25rem; }

.container { width: min(1100px, 92%); margin: 0 auto; }

/* Header */
.site-header { background: var(--cloud); border-bottom: 1px solid #dde4e6; position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 0; }
.brand { font-weight: 700; color: var(--evergreen); font-size: 1.05rem; display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; }
.brand img { height: 40px; width: auto; display: inline-block; }

.site-nav .nav-toggle { display: none; background: transparent; border: 0; font-size: 1.5rem; cursor: pointer; transition: transform .2s ease; }
.site-nav .nav-toggle[aria-expanded="true"] { transform: rotate(90deg); }
.site-nav > ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.site-nav a { padding: .5rem .6rem; border-radius: .4rem; white-space: nowrap; transition: background .2s ease, color .2s ease; }
.site-nav a.active, .site-nav a:hover { background: var(--driftwood); color: var(--evergreen); text-decoration: none; }

@media (max-width: 960px) {
  .site-nav .nav-toggle { display: inline-block; }
  .site-nav > ul { display: none; position: absolute; right: 4%; top: 56px; background: var(--cloud); border: 1px solid #dde4e6; border-radius: .5rem; padding: .5rem; flex-direction: column; min-width: 220px; box-shadow: 0 8px 24px rgba(0,0,0,.1); }
  .site-nav > ul.open { display: flex; animation: fadeSlideDown .2s ease; }
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero */
.hero { background: linear-gradient(135deg, rgba(27,58,75,.85), rgba(31,77,58,.85)), url('../images/hair1.jpg') center/cover no-repeat; color: var(--cloud); }
.hero-inner { padding: 5rem 0; text-align: center; }
.hero h1 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.8rem, 3.2vw + 1rem, 3rem); margin: 0 0 .5rem; }
.hero p { margin: 0 auto 1.25rem; max-width: 720px; opacity: .95; }
.hero-cta { display: inline-flex; gap: .75rem; flex-wrap: wrap; justify-content: center; }

/* Buttons */
.btn { display: inline-block; padding: .7rem 1rem; border-radius: .5rem; border: 2px solid transparent; font-weight: 600; transition: background .2s ease, transform .15s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.12); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--river); color: var(--cloud); }
.btn-primary:hover { background: #4a7a97; }
.btn-outline { border-color: var(--cloud); color: var(--cloud); }
.btn-outline:hover { background: rgba(255,255,255,.12); }

/* Feature */
.feature { background: var(--cloud); padding: 3rem 0; }
.feature-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center; }
.feature img { border-radius: .75rem; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.feature h2 { margin: 0 0 .5rem; font-family: 'Playfair Display', Georgia, serif; color: var(--evergreen); }
.feature-actions { display: flex; gap: .75rem; margin-top: 1rem; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } }

/* Cards */
.services-preview { padding: 2.5rem 0; }
.services-preview h2 { font-family: 'Playfair Display', Georgia, serif; color: var(--evergreen); margin-top: 0; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.team-grid { grid-template-columns: repeat(2, 1fr); }
.team-grid .card img { max-height: 561px; object-fit: cover; width: 100%; }
@media (max-width: 900px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }
.card { background: var(--cloud); border-radius: .75rem; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.08); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.14); }
.card-body { padding: 1rem; }
.card h3 { margin: .2rem 0 .3rem; color: var(--deep-lake); }
.link { color: var(--evergreen); font-weight: 600; transition: color .2s ease; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--cedar), var(--deep-lake)); color: var(--cloud); }
.cta-inner { padding: 2.5rem 0; text-align: center; }
.cta-inner h2 { margin: 0 0 .25rem; font-family: 'Playfair Display', Georgia, serif; }

/* Footer */
.site-footer { background: var(--deep-lake); color: var(--cloud); margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 2rem 0; }
.site-footer a { color: #dbeaf2; transition: color .2s ease; }
.site-footer a:hover { color: var(--cloud); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding: .75rem 0 1.25rem; text-align: center; }
.footer-note { font-style: italic; opacity: 0.8; }
.powered-by { margin-top: .5rem; display: flex; align-items: center; justify-content: center; gap: .4rem; opacity: .75; }
.powered-by:hover { opacity: 1; }
.powered-by small { font-size: .7rem; }
.powered-by-logo { height: 80px; width: auto; vertical-align: middle; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; } }

/* Utility */
.section { padding: 2rem 0; }
.lead { font-size: 1.05rem; opacity: .9; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.grid-2--top { align-items: start; }
.text-center-md { text-align: center; }
.list-unstyled { list-style: none; padding: 0; }
.mt-2 { margin-top: 2rem; }
.services-list {
  display: inline-block;
  text-align: left;
  margin: 0 auto;
  padding-left: 1.5rem;
  list-style: disc;
}
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; text-align: center; }
  .grid-2 img { margin: 0 auto; }
}

/* Forms */
form { display: grid; gap: .75rem; max-width: 680px; }
label { font-weight: 600; }
input, textarea, select { width: 100%; padding: .7rem .8rem; border-radius: .5rem; border: 1px solid #c7d2d6; background: #fff; font: inherit; transition: border-color .2s ease, box-shadow .2s ease; }
input:focus, textarea:focus, select:focus { border-color: var(--river); box-shadow: 0 0 0 3px rgba(90,138,170,.2); outline: none; }
textarea { min-height: 120px; }
button { font: inherit; cursor: pointer; }
.btn-secondary { background: var(--evergreen); color: var(--cloud); }
.btn-secondary:hover { background: #1a4232; }

.form-group { display: flex; flex-direction: column; gap: .25rem; }
.form-error { color: #c0392b; font-size: .85rem; min-height: 1.1em; }
input.invalid, textarea.invalid { border-color: #c0392b; }

.form-toast { margin-top: 1rem; padding: 1rem; border-radius: .5rem; background: var(--cedar); color: var(--cloud); animation: fadeSlideDown .3s ease; }
.form-toast--error { background: #c0392b; }

/* Product grid */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 900px) { .product-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .product-grid { grid-template-columns: 1fr; } }
.product-card { background: var(--cloud); border-radius: .75rem; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.08); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.14); }
.product-card .body { padding: 1rem; display: flex; flex-direction: column; flex-grow: 1; gap: .4rem; }
.product-card .body > *:last-child { margin-top: auto; padding-top: .5rem; }
.price { font-weight: 700; color: var(--evergreen); }
.badge { display: inline-block; background: var(--golden-hour); color: #3c2a00; padding: .15rem .5rem; border-radius: .4rem; font-size: .8rem; font-weight: 700; }

/* About page story section */
.story-image { margin-top: 10px; }
.story-heading { margin-top: 0; }

/* Page header */
.page-title {
  margin-bottom: .25rem;
  display: block;
  font-size: 2em;
}
.page-subtitle {
  font-size: 0.8em;
  color: #666;
  display: block;
  font-weight: bold;
  margin-top: 0;
}
.page-bold { font-weight: bold; }

/* Section heading */
.section-heading {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--evergreen);
  text-align: center;
  margin-bottom: 2rem;
}

/* Contact map */
.map-wrap { border-radius: .75rem; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.08); background: #fff; }
.map-iframe { border: 0; display: block; }
.map-link { margin: .5rem 0 0; font-size: .9rem; }

/* Service note */
.service-note { margin-top: 1rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* Coupon banner */
.coupon-banner { background: linear-gradient(135deg, var(--cedar), var(--deep-lake)); color: var(--cloud); text-align: center; padding: 1.25rem 1.5rem; border-radius: .75rem; margin: 1.5rem 0 2rem; }
.coupon-banner p { margin: 0; font-size: 1.1rem; }
.coupon-code { font-size: 1.3rem; color: var(--golden-hour); letter-spacing: .05em; }

/* Coming soon */
.coming-soon { text-align: center; max-width: 680px; margin: 2rem auto; padding: 2.5rem 2rem; background: var(--cloud); border-radius: .75rem; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.coming-soon p { margin: .75rem 0; }

/* Affiliate disclosure */
.affiliate-disclosure { margin-top: 2rem; font-size: .8rem; color: #888; text-align: center; font-style: italic; }
