/* =========================================================================
   Ohmm Face & Body — CIS design system
   Token-driven; every marketing page (home, treatments, about, contact,
   pricing) shares these primitives. Colours/fonts confirmed with the owner.
   ========================================================================= */

:root {
  /* Palette — "CIS" */
  --bg: #f6f1dc;        /* warm ivory page */
  --surface: #fbf8ec;   /* cards / panels */
  --surface-2: #f1ead0; /* alt band */
  --ink: #2e2a1c;       /* near-black text */
  --muted: #756f55;     /* muted olive-grey */
  --line: #e3d4a0;      /* hairline / border */
  --accent: #6e7a42;    /* moss green — lead */
  --accent2: #c9a63e;   /* mustard gold — eyebrows/accents */
  --onaccent: #fbf8ec;  /* text on accent */

  /* Type */
  --font-head: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --maxw: 1120px;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 10px 30px rgba(46, 42, 28, 0.08);
  --shadow-sm: 0 4px 14px rgba(46, 42, 28, 0.06);
}

/* ---------- Base / reset ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: .01em;
}
h1 { font-style: italic; font-size: clamp(34px, 6vw, 60px); }
h2 { font-style: italic; font-size: clamp(26px, 4vw, 40px); }
h3 { font-size: clamp(19px, 2.4vw, 23px); }
p { margin: 0 0 1em; }

/* Two-tone display word treatment (green + gold), echoing the IG post style */
.tone-green { color: var(--accent); }
.tone-gold  { color: var(--accent2); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent2);
  margin: 0 0 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 14px; letter-spacing: .01em;
  padding: 13px 28px; border-radius: 999px; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--onaccent); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 86%, black); }
.btn-ghost { background: transparent; color: var(--accent); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.btn-onaccent { background: var(--onaccent); color: var(--accent); }
.btn-onaccent:hover { background: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: baseline; gap: 3px; text-decoration: none; color: var(--ink); font-family: var(--font-head); font-style: italic; font-size: 22px; letter-spacing: .01em; }
.brand .dot { color: var(--accent2); font-style: normal; }
.brand:hover { color: var(--ink); }
.nav-links { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block; text-decoration: none; color: var(--ink); font-size: 14.5px; font-weight: 600;
  padding: 8px 14px; border-radius: 999px; transition: background .15s, color .15s;
}
.nav-links a:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent); }
.nav-links a.active { color: var(--accent); }
.nav-links .nav-cta { margin-left: 6px; }
.nav-links .nav-cta a { background: var(--accent); color: var(--onaccent); padding: 9px 18px; }
.nav-links .nav-cta a:hover { background: color-mix(in srgb, var(--accent) 86%, black); color: var(--onaccent); }
.nav-toggle {
  display: none; background: transparent; border: 1.5px solid var(--line); color: var(--ink);
  font-family: var(--font-body); font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 999px; cursor: pointer;
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section.tight { padding: clamp(40px, 5vw, 64px) 0; }
.section-head { max-width: 640px; margin: 0 0 clamp(28px, 4vw, 48px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: clamp(16px, 1.6vw, 18px); color: var(--muted); }
.band { background: var(--surface-2); }
.band-surface { background: var(--surface); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(64px, 10vw, 128px) 0 clamp(56px, 8vw, 104px); }
.hero-inner { position: relative; max-width: 760px; }
.hero h1 { margin-bottom: 18px; }
.hero .lead { font-size: clamp(17px, 2vw, 20px); max-width: 52ch; margin-bottom: 30px; }
.hero .btn-row { margin-top: 6px; }
.hero-frond {
  position: absolute; right: -40px; top: 50%; transform: translateY(-50%);
  width: min(46vw, 520px); color: var(--accent); opacity: .16; pointer-events: none; z-index: 0;
}
.hero .container { position: relative; z-index: 1; }

/* ---------- Treatment tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.tile {
  display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px; transition: transform .18s, box-shadow .18s, border-color .18s;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.tile-icon { width: 40px; height: 40px; color: var(--accent); }
.tile h3 { margin: 0; }
.tile p { margin: 0; color: var(--muted); font-size: 14.5px; }
.tile .tile-link { margin-top: auto; padding-top: 6px; color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: .02em; }
.tile .tile-link::after { content: " →"; }

/* ---------- Welcome / founder ---------- */
.welcome-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.welcome-art { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; box-shadow: var(--shadow-sm); }
.welcome-art svg { width: 62%; color: var(--accent); opacity: .5; }
.welcome-art .art-tag { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.handover {
  margin-top: 20px; padding: 18px 22px; border-left: 3px solid var(--accent2);
  background: color-mix(in srgb, var(--accent2) 8%, transparent); border-radius: 0 var(--radius) var(--radius) 0;
}
.handover p { margin: 0; font-family: var(--font-head); font-style: italic; font-size: 18px; color: var(--ink); }
.handover .who { display: block; margin-top: 8px; font-family: var(--font-body); font-style: normal; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Instagram grid ---------- */
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.ig-item { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); display: block; }
.ig-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.ig-item:hover img { transform: scale(1.05); }
.ig-placeholder { display: grid; place-items: center; color: var(--accent); opacity: .35; }
.ig-placeholder svg { width: 46%; }
.ig-follow { margin-top: 22px; text-align: center; }

/* ---------- Info columns (location / hours) ---------- */
.info-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px; }
.info-card h3 { display: flex; align-items: center; gap: 10px; }
.info-card h3 svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.info-card p { color: var(--muted); font-size: 15px; margin: 0 0 .4em; }
.info-card a { font-weight: 600; }
.hours-list { list-style: none; margin: 0; padding: 0; }
.hours-list li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.hours-list li:last-child { border-bottom: 0; }
.hours-list .day { color: var(--ink); font-weight: 600; }
.hours-list .time { color: var(--muted); }

/* Placeholder-content flag (owner-supplied values still pending) */
.placeholder-flag { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent2); border: 1px solid var(--accent2); border-radius: 999px; padding: 2px 8px; margin-left: 8px; vertical-align: middle; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--accent); color: var(--onaccent); text-align: center; }
.cta-band h2 { color: var(--onaccent); }
.cta-band .lead { color: color-mix(in srgb, var(--onaccent) 82%, var(--accent)); }
.cta-band .btn-row { justify-content: center; margin-top: 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: color-mix(in srgb, var(--onaccent) 80%, var(--ink)); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer .brand { color: var(--onaccent); }
.site-footer h4 { font-family: var(--font-body); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent2); margin: 0 0 14px; }
.site-footer p { color: color-mix(in srgb, var(--onaccent) 72%, var(--ink)); font-size: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0 0 8px; }
.footer-links a { color: color-mix(in srgb, var(--onaccent) 82%, var(--ink)); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--onaccent); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--onaccent) 18%, var(--ink)); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: color-mix(in srgb, var(--onaccent) 60%, var(--ink)); }

/* ---------- Treatment detail page ---------- */
.detail-head { display: flex; align-items: flex-start; gap: 20px; }
.detail-icon { flex: none; width: 56px; height: 56px; color: var(--accent); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.detail-head h1 { margin: 0 0 10px; }
.detail-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.detail-body p { font-size: 16.5px; }
.detail-aside { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px; position: sticky; top: 92px; }
.detail-aside h3 { margin: 0 0 14px; }
.check-list { list-style: none; margin: 0 0 14px; padding: 0; }
.check-list li { position: relative; padding: 7px 0 7px 26px; border-bottom: 1px dashed var(--line); font-size: 14.5px; color: var(--ink); }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 8px; height: 8px; border-radius: 999px; background: var(--accent2); }
.aside-note { font-size: 13px; color: var(--muted); margin: 0; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(20px, 4vw, 40px); align-items: start; }
.contact-details { display: flex; flex-direction: column; gap: 18px; }
.contact-form-card h3 { margin-top: 0; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field span { font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--ink); }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: var(--radius); padding: 12px 14px; width: 100%; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.contact-form .btn { align-self: flex-start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 0; font-size: 14px; min-height: 1.2em; }
.form-status.success { color: var(--accent); font-weight: 600; }
.form-status.error { color: #a8442f; font-weight: 600; }

/* ---------- Price list ---------- */
.notice {
  background: color-mix(in srgb, var(--accent2) 12%, var(--surface));
  border: 1px solid var(--line); border-left: 3px solid var(--accent2);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 20px; font-size: 14.5px; color: var(--ink); margin-top: 4px;
}
.notice a { font-weight: 700; }
.price-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.price-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; }
.price-group-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 12px; }
.price-icon { flex: none; width: 40px; height: 40px; color: var(--accent); }
.price-group-head h3 { margin: 0 0 2px; }
.price-group-head p { margin: 0; font-size: 13.5px; color: var(--muted); }
.price-table { width: 100%; border-collapse: collapse; margin: 6px 0 14px; }
.price-table td { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; vertical-align: top; }
.price-table tr:last-child td { border-bottom: 0; }
.price-name { color: var(--ink); padding-right: 12px; }
.price-amt { text-align: right; white-space: nowrap; color: var(--muted); font-weight: 600; }
.price-book { margin-top: auto; color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: .02em; text-decoration: none; }
.price-book:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .welcome-grid { grid-template-columns: 1fr; }
  .welcome-art { max-width: 360px; margin: 0 auto; order: -1; aspect-ratio: 16 / 10; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-aside { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-toggle { display: inline-block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px 16px 16px;
    box-shadow: var(--shadow); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; border-radius: var(--radius); }
  .nav-links .nav-cta { margin: 6px 0 0; }
  .nav-links .nav-cta a { text-align: center; }
}
@media (max-width: 520px) {
  .ig-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero .btn-row .btn, .cta-band .btn-row .btn { width: auto; }
}

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