/* ————————————————————————————————————————
   KETO MODA — fashion editorial, gallery white
   ———————————————————————————————————————— */

:root {
  --bg: #FBFAF7;
  --card: #FFFFFF;
  --line: #E6E2D8;
  --ink: #171512;
  --muted: #77716A;
  --blush: #D9A69A;
  --display: "Italiana", Georgia, serif;
  --body: "Jost", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--ink); color: var(--bg); }

a { color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--blush);
  outline-offset: 3px;
  border-radius: 2px;
}

/* header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px var(--gutter);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink);
}

.wordmark {
  font-family: var(--display);
  font-size: 23px;
  letter-spacing: 0.22em;
  color: var(--ink);
  text-decoration: none;
}

.wordmark span { color: var(--blush); }

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 28px);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-header nav a { text-decoration: none; color: var(--muted); transition: color 0.2s; }
.site-header nav a:hover { color: var(--ink); }

/* hero */

.hero {
  padding: clamp(84px, 14vh, 160px) var(--gutter) clamp(74px, 12vh, 130px);
  border-bottom: 1px solid var(--ink);
}

.kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--blush);
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(52px, 11vw, 140px);
  line-height: 0.98;
  letter-spacing: 0.01em;
  max-width: 13ch;
}

.hero h1 em { font-style: italic; color: var(--blush); }

.lede {
  max-width: 58ch;
  margin-top: 28px;
  font-size: clamp(16px, 1.7vw, 19px);
  color: var(--muted);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--ink);
  text-decoration: none;
  border-radius: 0;
  padding: 16px 34px;
  transition: background 0.2s, transform 0.15s;
}

.hero-cta:hover { background: #35302A; transform: translateY(-2px); }

/* sections */

.section {
  padding: clamp(64px, 10vh, 116px) var(--gutter);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 860px;
  margin-bottom: clamp(30px, 4vh, 48px);
}

.no {
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 44px);
  color: var(--blush);
}

.section-head h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(34px, 6vw, 62px);
  letter-spacing: 0.01em;
}

.section-head p {
  flex-basis: 100%;
  color: var(--muted);
  max-width: 56ch;
}

/* phases */

.phases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  border: 1px solid var(--ink);
}

.phase {
  padding: 30px 26px;
  border-right: 1px solid var(--ink);
  background: var(--card);
  transition: background 0.25s;
}

.phase:last-child { border-right: none; }

.phase:hover { background: #FAF5EE; }

.phase-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blush);
  margin-bottom: 14px;
}

.phase h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 28px;
  margin-bottom: 10px;
}

.phase p { color: var(--muted); font-size: 15px; }

/* capsule */

.capsule { list-style: none; max-width: 860px; }

.capsule li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}

.capsule li:first-child { border-top: 1px solid var(--line); }

.capsule strong {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(21px, 3vw, 30px);
  letter-spacing: 0.01em;
}

.capsule span { color: var(--muted); font-size: 14.5px; }

/* tailoring */

.tailor-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  max-width: 900px;
}

.t-col {
  background: var(--card);
  border: 1px solid var(--ink);
  padding: 26px 26px;
}

.t-col h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 26px;
  margin-bottom: 14px;
}

.t-col ul { list-style: none; }

.t-col li {
  position: relative;
  padding: 9px 0 9px 24px;
  color: var(--muted);
  font-size: 15px;
  border-bottom: 1px dashed var(--line);
}

.t-col li:last-child { border-bottom: none; }

.t-col li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--blush);
}

/* rituals */

.rituals { list-style: none; max-width: 780px; }

.rituals li {
  padding: 17px 4px;
  border-bottom: 1px dashed var(--line);
  color: var(--muted);
  font-size: 16px;
}

.rituals li:first-child { border-top: 1px dashed var(--line); }

.rituals strong { color: var(--ink); font-family: var(--display); font-weight: 400; font-size: 1.15em; }

/* footer */

.site-footer {
  padding: 36px var(--gutter) 52px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links span { color: var(--muted); }
.footer-links a { text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--blush); }
.footer-links a:hover { color: var(--blush); }

.site-footer > p { color: var(--muted); font-size: 13.5px; }

/* reveal */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-cta:hover { transform: none; }
}

@media (max-width: 900px) {
  .phase { border-right: none; border-bottom: 1px solid var(--ink); }
  .phase:last-child { border-bottom: none; }
}

@media (max-width: 760px) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .site-header nav { flex-wrap: wrap; row-gap: 8px; }
}
