/* Studio Trace — cromirimpi.hair
   recipe: L14 H24 Y22 C17 S02 F12 N17 T07 A12 M10 K13 CB06 */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap");

:root {
  --st-ice: #e8f1f6;
  --st-ice-deep: #c9dde8;
  --st-mist: #f4f8fb;
  --st-graphite: #2a3036;
  --st-ink: #15181c;
  --st-slate: #5a6570;
  --st-line: rgba(42, 48, 54, 0.18);
  --st-accent: #3d6f8a;
  --st-paper: #f7fafc;
  --st-white: #ffffff;
  --st-header-h: 4.25rem;
  --st-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --st-max: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.st-body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-weight: 400;
  color: var(--st-graphite);
  background:
    radial-gradient(1200px 600px at 10% -10%, var(--st-ice) 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, var(--st-ice-deep) 0%, transparent 45%),
    var(--st-mist);
  line-height: 1.55;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--st-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--st-ink);
}

.st-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--st-ink);
  color: var(--st-white);
  padding: 0.5rem 1rem;
  z-index: 1000;
}

.st-skip:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* H24 — transparent header + section dots */
.st-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem clamp(1rem, 3vw, 2rem);
  background: transparent;
  transition: background 0.35s var(--st-ease), backdrop-filter 0.35s var(--st-ease);
}

.st-header.is-solid {
  background: rgba(244, 248, 251, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--st-line);
}

.st-brand {
  font-weight: 800;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  letter-spacing: -0.03em;
  color: var(--st-ink);
  text-decoration: none;
  line-height: 1;
}

.st-brand span {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--st-slate);
  margin-top: 0.2rem;
}

.st-dots {
  display: none;
  gap: 0.55rem;
  align-items: center;
}

@media (min-width: 900px) {
  .st-dots {
    display: flex;
  }
}

.st-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  border: 1px solid var(--st-graphite);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: transform 0.25s var(--st-ease), background 0.25s;
}

.st-dot.is-active,
.st-dot:hover {
  background: var(--st-graphite);
  transform: scale(1.25);
}

.st-menu-btn {
  border: 1px solid var(--st-line);
  background: rgba(255, 255, 255, 0.55);
  color: var(--st-ink);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
}

.st-menu-btn[aria-expanded="true"] {
  background: var(--st-ink);
  color: var(--st-white);
  border-color: var(--st-ink);
}

/* N17 — fade-in mega panel */
.st-mega {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(21, 24, 28, 0.42);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--st-ease), visibility 0.35s;
}

.st-mega.is-open {
  opacity: 1;
  visibility: visible;
}

.st-mega__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(32rem, 100%);
  height: 100%;
  background: var(--st-paper);
  padding: 5.5rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
  transform: translateY(-0.5rem);
  opacity: 0;
  transition: opacity 0.4s var(--st-ease) 0.05s, transform 0.4s var(--st-ease) 0.05s;
  overflow: auto;
}

.st-mega.is-open .st-mega__panel {
  opacity: 1;
  transform: none;
}

.st-mega__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
}

.st-mega__list a {
  display: block;
  text-decoration: none;
  color: var(--st-ink);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  letter-spacing: -0.03em;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--st-line);
}

.st-mega__list a:hover {
  color: var(--st-accent);
}

.st-mega__note {
  margin-top: 2rem;
  color: var(--st-slate);
  font-size: 0.95rem;
  font-weight: 300;
  max-width: 28ch;
}

.st-mega__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: none;
  background: transparent;
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  cursor: pointer;
  color: var(--st-slate);
}

/* Y22 layered paper frames + L14 full-bleed */
.st-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: calc(var(--st-header-h) + 1rem) 1rem 2rem;
  overflow: hidden;
}

.st-hero__stack {
  position: relative;
  width: min(100%, 58rem);
  aspect-ratio: 16 / 10;
}

.st-hero__sheet {
  position: absolute;
  inset: 0;
  background: var(--st-white);
  box-shadow: 0 18px 40px rgba(21, 24, 28, 0.12);
}

.st-hero__sheet--back {
  transform: rotate(-2.4deg) translate(-1.2%, 2%);
  background: var(--st-ice-deep);
}

.st-hero__sheet--mid {
  transform: rotate(1.6deg) translate(1.5%, -1%);
  background: #dfe9ef;
}

.st-hero__photo {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
}

.st-hero__copy {
  position: absolute;
  z-index: 3;
  left: clamp(1rem, 4vw, 2rem);
  bottom: clamp(1rem, 4vw, 2rem);
  right: clamp(1rem, 4vw, 2rem);
  color: var(--st-white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
  max-width: 28rem;
}

.st-hero__brand {
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin: 0 0 0.65rem;
}

.st-hero__lead {
  margin: 0 0 1rem;
  font-weight: 300;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  max-width: 34ch;
}

.st-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  background: var(--st-ink);
  color: var(--st-white);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 0.75rem 1.15rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.st-btn:hover {
  background: var(--st-accent);
  color: var(--st-white);
}

.st-btn--ghost {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}

.st-btn--ghost:hover {
  background: var(--st-white);
  color: var(--st-ink);
  border-color: var(--st-white);
}

/* L14 thin caption bar */
.st-caption-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 0.85rem clamp(1rem, 3vw, 2rem);
  border-block: 1px solid var(--st-line);
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  color: var(--st-slate);
  font-weight: 500;
}

.st-caption-bar strong {
  color: var(--st-ink);
  font-weight: 700;
}

/* S02 hairline rules */
.st-rule {
  border: 0;
  border-top: 1px solid var(--st-line);
  margin: 0;
}

.st-wrap {
  width: min(100% - 2rem, var(--st-max));
  margin-inline: auto;
}

/* Three short chapters (L14) */
.st-chapters {
  display: grid;
  gap: 0;
  padding: 0;
}

.st-chapter {
  display: grid;
  gap: 1.25rem;
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  border-bottom: 1px solid var(--st-line);
}

@media (min-width: 800px) {
  .st-chapter {
    grid-template-columns: 0.35fr 1fr;
    align-items: start;
  }
}

.st-chapter__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--st-accent);
  margin: 0;
}

.st-chapter h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--st-ink);
  line-height: 1.1;
}

.st-chapter p {
  margin: 0 0 1rem;
  max-width: 54ch;
  font-weight: 300;
  font-size: 1.05rem;
  color: var(--st-slate);
}

.st-chapter img {
  width: 100%;
  max-height: 18rem;
  object-fit: cover;
  margin-top: 0.5rem;
}

/* C17 FAQ spine */
.st-faq {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.st-faq__head {
  margin-bottom: 1.75rem;
}

.st-faq__head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--st-ink);
}

.st-faq__head p {
  margin: 0.5rem 0 0;
  color: var(--st-slate);
  font-weight: 300;
  max-width: 42ch;
}

.st-faq details {
  border-top: 1px solid var(--st-line);
  padding: 1rem 0;
}

.st-faq details:last-child {
  border-bottom: 1px solid var(--st-line);
}

.st-faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--st-ink);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.st-faq summary::-webkit-details-marker {
  display: none;
}

.st-faq summary::after {
  content: "+";
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--st-accent);
}

.st-faq details[open] summary::after {
  content: "–";
}

.st-faq details p {
  margin: 0.75rem 0 0.25rem;
  color: var(--st-slate);
  font-weight: 300;
  max-width: 60ch;
}

/* M10 section reveal via clip-path */
.st-reveal {
  clip-path: inset(8% 0 8% 0);
  opacity: 0.35;
  transform: translateY(1.25rem);
  transition:
    clip-path 0.85s var(--st-ease),
    opacity 0.85s var(--st-ease),
    transform 0.85s var(--st-ease);
}

.st-reveal.is-in {
  clip-path: inset(0 0 0 0);
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .st-reveal {
    clip-path: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .st-mega,
  .st-mega__panel,
  .st-header,
  .st-dot {
    transition: none;
  }
}

/* K13 quiet colophon contact on home */
.st-colophon {
  padding: clamp(2rem, 5vw, 3rem) 0;
  text-align: left;
}

.st-colophon p {
  margin: 0 0 0.4rem;
  font-weight: 300;
  color: var(--st-slate);
}

.st-colophon strong {
  display: block;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--st-ink);
  margin-bottom: 0.65rem;
}

.st-colophon a {
  color: var(--st-graphite);
}

/* Inner pages */
.st-page {
  padding: calc(var(--st-header-h) + 2rem) 0 3rem;
}

.st-page__title {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--st-ink);
  line-height: 1.05;
}

.st-page__deck {
  margin: 0 0 2rem;
  max-width: 48ch;
  font-weight: 300;
  font-size: 1.1rem;
  color: var(--st-slate);
}

.st-prose {
  max-width: 62ch;
}

.st-prose p {
  font-weight: 300;
  color: var(--st-slate);
}

.st-prose h2 {
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--st-ink);
  margin: 2rem 0 0.6rem;
  font-size: 1.35rem;
}

.st-split {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .st-split {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}

.st-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.st-list li {
  padding: 1rem 0;
  border-top: 1px solid var(--st-line);
}

.st-list li:last-child {
  border-bottom: 1px solid var(--st-line);
}

.st-list h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--st-ink);
}

.st-list p {
  margin: 0;
  font-weight: 300;
  color: var(--st-slate);
}

.st-media {
  width: 100%;
  max-height: 24rem;
  object-fit: cover;
}

.st-note {
  font-size: 0.9rem;
  color: var(--st-slate);
  border-left: 2px solid var(--st-accent);
  padding-left: 0.85rem;
  margin: 1.5rem 0;
}

/* Contact form */
.st-form {
  display: grid;
  gap: 0.9rem;
  max-width: 32rem;
}

.st-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--st-ink);
}

.st-form input,
.st-form textarea,
.st-form select {
  font: inherit;
  font-weight: 400;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--st-line);
  background: var(--st-white);
  color: var(--st-graphite);
}

.st-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.st-form__success {
  display: none;
  padding: 1rem;
  border: 1px solid var(--st-accent);
  background: var(--st-ice);
  color: var(--st-ink);
  font-weight: 500;
}

.st-form.is-sent .st-form__success {
  display: block;
}

.st-form.is-sent .st-form__fields {
  display: none;
}

.st-visit dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  margin: 0;
}

.st-visit dt {
  font-weight: 700;
  color: var(--st-ink);
}

.st-visit dd {
  margin: 0;
  font-weight: 300;
  color: var(--st-slate);
}

/* F12 four equal unlabeled columns */
.st-footer {
  border-top: 1px solid var(--st-line);
  background: rgba(255, 255, 255, 0.5);
  padding: 2rem clamp(1rem, 3vw, 2rem) 1.25rem;
  margin-top: 2rem;
}

.st-footer__grid {
  display: grid;
  gap: 1.5rem;
  width: min(100%, var(--st-max));
  margin-inline: auto;
}

@media (min-width: 720px) {
  .st-footer__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.st-footer__grid p,
.st-footer__grid a {
  margin: 0 0 0.4rem;
  display: block;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--st-slate);
  text-decoration: none;
}

.st-footer__grid a:hover {
  color: var(--st-ink);
}

.st-footer__grid strong {
  display: block;
  font-weight: 800;
  color: var(--st-ink);
  margin-bottom: 0.55rem;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.st-footer__base {
  width: min(100%, var(--st-max));
  margin: 1.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--st-line);
  font-size: 0.78rem;
  color: var(--st-slate);
}

/* CB06 slim bottom bar */
.st-cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.7rem clamp(0.85rem, 2.5vw, 1.5rem);
  background: var(--st-ink);
  color: var(--st-ice);
  font-size: 0.82rem;
}

.st-cookie.is-visible {
  display: flex;
}

.st-cookie p {
  margin: 0;
  flex: 1 1 14rem;
  font-weight: 300;
}

.st-cookie a {
  color: var(--st-ice-deep);
}

.st-cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.st-cookie__actions button {
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(232, 241, 246, 0.35);
  background: transparent;
  color: var(--st-ice);
  padding: 0.45rem 0.7rem;
  cursor: pointer;
}

.st-cookie__actions button[data-cookie="accept"] {
  background: var(--st-ice);
  color: var(--st-ink);
  border-color: var(--st-ice);
}

.st-cookie__settings {
  display: none;
  width: 100%;
  gap: 0.75rem;
  padding-top: 0.35rem;
}

.st-cookie.is-settings .st-cookie__settings {
  display: flex;
  flex-wrap: wrap;
}

.st-cookie__settings label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 400;
}

body.st-menu-open {
  overflow: hidden;
}

.st-adult {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--st-accent);
  margin: 0 0 0.75rem;
}
