/* Shower Thought Studio — small multi-page company site.
   Same design tokens as website/ (MyTaste's "Refined Warm" system); trimmed to
   what these pages use. Mobile first; no JavaScript anywhere on the site, and no
   inline styles (the CSP in _headers only allows this stylesheet and Google Fonts).

   Caching: Cloudflare lets browsers keep CSS and images for 4 hours, so every page
   links them with a version tag (?v=YYYY-MM-DD). When you change this file or an
   asset, bump the tag in all the .html files so visitors get the new copy. */

:root {
  --cream: #FFF9F2;
  --ink: #33241F;
  --ink-soft: #7E6A5C;     /* 4.89:1 on cream */
  --ember: #D8452A;        /* button fill; white text passes AA at 19px bold (large text) */
  --coral: #FF6B4A;        /* decoration only, never text */
  --coral-text: #C93A20;   /* 4.89:1 on cream */
  --hairline: #F0E2D6;
  --edge: #E6D2C1;         /* slightly stronger hairline: tile edges on cream */
  --tile: #FFF6E3;
  --frame: #2B1F1D;        /* phone-frame bezel, as in the prototype */
  --water: #1F6FB2;        /* the studio's own color (shower water): monogram tile + studio name; 5.0:1 on cream, white on it 5.3:1 */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --gutter: 20px;
  --radius: 18px;
}

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

html {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 1.0625rem;   /* 17px body */
  line-height: 1.6;
  background: var(--cream);
  overflow-wrap: break-word;
}

img, svg { display: block; max-width: 100%; }

a {
  color: var(--coral-text);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.15em;
}
a:hover { color: var(--ink); }
a:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 10px;
  font-weight: 600;
}
.skip:focus { top: 12px; color: var(--cream); }

.wrap {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.prose { max-width: 38rem; }

main { flex: 1 0 auto; padding: 40px 0 48px; }

/* ---------- Header + nav ---------- */

.site-header { border-bottom: 1px solid var(--hairline); }
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 24px;
  padding-top: 14px;
  padding-bottom: 8px;
}
.lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--water);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1875rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.lockup:hover { color: var(--water); }
.lockup img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0 0 0 -10px;
  padding: 0;
  list-style: none;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  color: var(--ink);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
}
.site-nav a:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.3em; }
/* current page: bold + a coral underline — never color alone */
.site-nav a[aria-current="page"] {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--coral);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.35em;
}

/* ---------- Type ---------- */

h1, h2, h3 { font-family: var(--display); font-weight: 700; color: var(--ink); }
h1 {
  font-size: clamp(2rem, 8vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
h2 {
  font-size: clamp(1.5rem, 5.5vw, 1.875rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
h3 { font-size: 1.25rem; line-height: 1.2; margin: 0 0 6px; }
p { margin: 0 0 16px; }

.studio-name { max-width: 11ch; color: var(--water); }
.lede {
  font-size: 1.1875rem;
  color: var(--ink-soft);
  margin: 0 0 32px;
  max-width: 34rem;
}
.note { color: var(--ink-soft); font-size: 1rem; }

section { margin: 0 0 40px; }
section:last-child { margin-bottom: 0; }

/* ---------- Lists of short points ---------- */

.points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.points li {
  border: 1px solid var(--hairline);
  background: #FFFFFF;
  border-radius: var(--radius);
  padding: 18px 20px;
}
.points h3 { font-size: 1.125rem; }
.points p { margin: 0; }

/* ---------- Product card ---------- */

.product {
  border: 1px solid var(--hairline);
  background: var(--tile);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.product .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
}
.product .mark { width: 44px; height: 44px; }
.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--ink);
  margin: 0;
}
.wordmark .taste { color: var(--coral-text); }
.product p { max-width: 34rem; }
.product .status { color: var(--ink-soft); margin-bottom: 18px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--ember);
  color: #FFFFFF;
  font-family: var(--ui);
  font-weight: 700;
  font-size: 1.1875rem;   /* 19px bold = WCAG large text; white on ember is 4.37:1 */
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(216, 69, 42, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.btn:hover { color: #FFFFFF; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(216, 69, 42, 0.28); }
.btn:active { transform: translateY(0); }
.btn svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ---------- MyTaste product page ---------- */

.product-head { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; }
.product-head img { width: 56px; height: 56px; }

.phones {
  list-style: none;
  margin: 8px 0 12px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 16px;
}
.phones figure { margin: 0; }
.phone {
  border: 7px solid var(--frame);
  border-radius: 30px;
  overflow: hidden;
  background: var(--cream);
  box-shadow: 0 14px 34px rgba(61, 44, 41, 0.18);
}
.phone img { width: 100%; height: auto; }
.phones figcaption {
  margin-top: 10px;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--ink-soft);
  text-align: center;
}

/* ---------- Contact ---------- */

.contact-list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 14px;
}
.contact-list li {
  border: 1px solid var(--hairline);
  background: #FFFFFF;
  border-radius: var(--radius);
  padding: 16px 20px;
}
.contact-list .label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}
.contact-list .value { font-size: 1.1875rem; font-weight: 600; }
.contact-list a { word-break: break-word; }

/* ---------- Privacy notice ---------- */

.legal h2 { font-size: 1.375rem; margin-top: 28px; }
.legal ul { padding-left: 1.25rem; margin: 0 0 16px; }
.legal li { margin-bottom: 8px; }

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

.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 24px 0 40px;
  color: var(--ink-soft);
  font-size: 1rem;
}
.site-footer p { margin: 0; }

/* ---------- 404 ---------- */

.lost p { color: var(--ink-soft); max-width: 32rem; margin-bottom: 24px; }

@media (min-width: 640px) {
  :root { --gutter: 32px; }
  main { padding: 64px 0 64px; }
  .product { padding: 28px 28px; }
  .site-header .wrap { padding-top: 16px; padding-bottom: 16px; }
  .site-nav ul { margin: 0 -10px 0 0; }
  .points { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .phone { border-width: 8px; border-radius: 34px; }
}

@media (min-width: 860px) {
  .phones { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn:hover { transform: none; }
}

@media print {
  html, body { background: #fff; color: #000; }
  a { color: #000; }
  .btn, .phone { box-shadow: none; }
  .skip, .site-nav { display: none; }
}
