/* Slo · by Lo — styles
   Palette, type and logomark follow the design brief.
   No gradients, shadows or rounded corners. Motion: one slow fade on load. */

:root {
  --navy:   #16202E;
  --navyL:  #1E2D40;
  --navyM:  #253549;
  --navyXL: #0F1820;
  --cream:  #EDE8DE;
  --creamL: #F5F2EC;
  --creamD: #E0D9CB;
  --gold:   #C4A87A;
  --goldD:  #8A7A58;
  --muted:  #6A7A8A;
  --blue:   #4A6A8A;
  --logoBlue: #8CA8BF;  /* logo only: outer ring + dot on dark */

  --rule:   rgba(22, 32, 46, 0.10);
  --ruleDk: rgba(196, 168, 122, 0.14);

  /* text on light / dark, tuned for contrast */
  --ink:      rgba(22, 32, 46, 0.78);
  --ink-soft: rgba(22, 32, 46, 0.68);
  --pale:      rgba(237, 232, 222, 0.74);
  --pale-soft: rgba(237, 232, 222, 0.62);

  --serif: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --sans:  'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;

  --gutter: clamp(24px, 6vw, 72px);
  --nav-h: 64px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--creamL);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  line-height: 1.12;
  color: var(--navy);
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--navy); color: var(--cream); }

:focus-visible { outline: 1px solid var(--goldD); outline-offset: 4px; }

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 40;
  padding: 10px 16px;
  background: var(--cream);
  color: var(--navy);
  font-size: 0.8rem;
}
.skip:focus { top: 12px; }

.wrap { max-width: 1200px; margin: 0 auto; }

/* ───────── Navigation ───────── */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  padding: env(safe-area-inset-top, 0px) var(--gutter) 0;
  background: rgba(22, 32, 46, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ruleDk);
  color: var(--cream);
}

.nav__in {
  max-width: 1200px;
  height: var(--nav-h);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
}
.logo .mark {
  width: 30px;
  height: 30px;
  color: var(--cream);
  --ring: var(--logoBlue);
  --dot: var(--logoBlue);
}
.logo__word { display: inline-flex; align-items: baseline; gap: 8px; }
.logo__slo {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1.7rem;
  line-height: 1;
}
.logo__by {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav__links { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.nav__links a {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--pale);
  padding: 6px 0;
}
.nav__links a:hover { color: var(--cream); }

.nav__toggle {
  display: none;
  padding: 8px 0;
  background: none;
  border: 0;
  color: var(--cream);
  font: 400 0.8rem var(--sans);
  cursor: pointer;
}
.nav :focus-visible { outline-color: var(--gold); }

@media (max-width: 760px) {
  .nav__toggle { display: block; }
  .js .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px var(--gutter) 28px;
    background: var(--navy);
    border-bottom: 1px solid var(--ruleDk);
  }
  .js .nav[data-open="true"] .nav__links { display: flex; }
  .nav__links a { font-size: 1rem; padding: 10px 0; }
}

/* ───────── Hero ───────── */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 0 var(--gutter);
  background: var(--navy);
  color: var(--cream);
  overflow: hidden;
}

.hero__mark {
  position: absolute;
  top: 50%;
  right: calc(-1 * min(24vw, 300px));
  width: min(120vh, 110vw);
  height: auto;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero__body {
  position: relative;
  z-index: 1;
  align-self: end;
  width: 100%;
  padding: calc(var(--nav-h) + 72px) 0 clamp(48px, 8vh, 88px);
}

.hero__title {
  max-width: 13em;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1.06;
  color: var(--cream);
}

.hero__sub {
  max-width: 38em;
  margin-top: 28px;
  font-size: 0.95rem;
  color: var(--pale);
}

.hero__foot {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 20px 0 calc(20px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--ruleDk);
  font-size: 0.74rem;
  color: var(--pale-soft);
}
.hero__foot a { color: var(--pale); border-bottom: 1px solid transparent; }
.hero__foot a:hover { color: var(--cream); border-bottom-color: var(--gold); }
.hero :focus-visible { outline-color: var(--gold); }

@keyframes settle { from { opacity: 0; } to { opacity: 1; } }

.hero__title { animation: settle 1.6s ease both; animation-delay: .1s; }
.hero__sub   { animation: settle 1.6s ease both; animation-delay: .6s; }
.hero__foot  { animation: settle 1.6s ease both; animation-delay: 1.1s; }

/* ───────── Sections ───────── */

.sec { padding: clamp(72px, 9vw, 120px) var(--gutter); }
.sec--creamL { background: var(--creamL); }
.sec--cream  { background: var(--cream); }
.sec--navy   { background: var(--navy); color: var(--pale); }
.sec--navyXL { background: var(--navyXL); color: var(--pale); }

/* shorter band for supporting content */
.sec--compact { padding-top: clamp(48px, 6vw, 72px); padding-bottom: clamp(48px, 6vw, 72px); }

.sec--navy h2, .sec--navy h3 { color: var(--cream); }
.sec--navy :focus-visible, .sec--navyXL :focus-visible { outline-color: var(--gold); }

.h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); max-width: 22em; }

.note {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ───────── Services ledger ───────── */

.intro {
  max-width: 44ch;
  margin-top: 18px;
  font-size: 1rem;
  color: var(--ink);
}

.ledger {
  margin-top: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--rule);
}

.row {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(28px, 3.5vw, 40px) 0;
  border-bottom: 1px solid var(--rule);
}

.row h3 { font-size: clamp(1.6rem, 2.6vw, 2rem); }

.lead { max-width: 52ch; color: var(--navy); font-size: 1rem; line-height: 1.7; }
.small { max-width: 52ch; margin-top: 12px; font-size: 0.84rem; color: var(--ink-soft); }

@media (max-width: 760px) {
  .row { grid-template-columns: 1fr; gap: 14px; }
}

/* ───────── Pipeline ───────── */

.steps {
  margin-top: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 72px);
}

.steps li { position: relative; }

.steps li:not(:last-child)::after {
  content: "\2192";
  position: absolute;
  top: 0.25em;
  right: calc(-0.5 * clamp(32px, 5vw, 72px) - 0.5em);
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1;
  color: rgba(22, 32, 46, 0.2);
}

.steps__verb {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  line-height: 1;
  color: var(--navy);
}

.steps__title {
  margin-top: 18px;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--navy);
}

.steps li p:last-child { margin-top: 8px; max-width: 34ch; color: var(--ink); }

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 28px 0; border-top: 1px solid var(--rule); }
  .steps li:last-child { border-bottom: 1px solid var(--rule); }
  .steps li:not(:last-child)::after { content: none; }
}

/* ───────── The evening (sample run of show, kept compact) ───────── */

.run {
  margin-top: clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.run li {
  padding-top: 16px;
  border-top: 1px solid var(--ruleDk);
}

.run time {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  line-height: 1;
  font-variant-numeric: lining-nums;
  color: var(--cream);
}

.run h3 { margin-top: 12px; font-size: 1.3rem; }
.run p { max-width: 30ch; margin-top: 6px; font-size: 0.84rem; line-height: 1.65; color: var(--pale); }

.run__note { margin-top: 28px; font-size: 0.78rem; color: var(--gold); }

@media (max-width: 900px) {
  .run { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
}

@media (max-width: 520px) {
  .run { grid-template-columns: 1fr; row-gap: 20px; }
  .run p { max-width: none; }
}

/* ───────── Why Slo ───────── */

.pillars {
  margin-top: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1fr;
  row-gap: clamp(36px, 6vw, 64px);
}

.pillar h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.pillar p { max-width: 46ch; margin-top: 14px; color: var(--ink); }

@media (min-width: 761px) {
  .pillars { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
  .pillar:nth-child(1) { grid-column: 1 / span 6; }
  .pillar:nth-child(2) { grid-column: 4 / span 6; }
  .pillar:nth-child(3) { grid-column: 7 / span 6; }
}

/* ───────── Quote ───────── */

.quote { padding-top: clamp(88px, 12vw, 160px); padding-bottom: clamp(88px, 12vw, 160px); }

.quote blockquote { margin: 0 auto; max-width: 22em; text-align: center; }

.quote blockquote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  line-height: 1.25;
  color: var(--cream);
}

.quote cite {
  display: block;
  margin-top: 28px;
  font-style: normal;
  font-size: 0.78rem;
  color: var(--pale-soft);
}

/* ───────── About ───────── */

.about {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}

.portrait { margin: 0 0 28px; background: var(--creamD); }
.portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.88) contrast(0.98);
}

.creds { margin-top: 40px; max-width: 54ch; }
.creds li {
  position: relative;
  padding: 10px 0 10px 20px;
  border-top: 1px solid var(--rule);
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--ink);
}
.creds li:last-child { border-bottom: 1px solid var(--rule); }
.creds li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15em;
  width: 5px;
  height: 5px;
  background: var(--goldD);
  border-radius: 50%;
}

.pull {
  max-width: 20em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1.25;
  color: var(--navy);
}

.about__bio p + p { max-width: 54ch; margin-top: 20px; color: var(--ink); }
.about__bio .pull + p { margin-top: 32px; }

@media (max-width: 760px) {
  .about { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; }
}

/* ───────── Contact ───────── */

.contact__text { max-width: 44ch; margin-top: 22px; font-size: 1rem; color: var(--ink); }

.contact__mail {
  display: inline-block;
  margin: clamp(32px, 5vw, 56px) 0 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--goldD);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.8rem, 5.4vw, 3.8rem);
  line-height: 1.1;
  color: var(--navy);
  overflow-wrap: anywhere;
}
.contact__mail:hover { border-bottom-color: var(--navy); }
.contact .note { display: block; }

/* ───────── Footer ───────── */

.foot {
  padding: 32px var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  background: var(--creamL);
  border-top: 1px solid var(--rule);
}

.foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }

.logo--ink { color: var(--navy); }
.logo--ink .mark {
  color: var(--navy);
  --ring: var(--blue);
  --dot: var(--blue);
}

.foot__meta { display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: 0.74rem; color: var(--ink-soft); }
.foot__meta a:hover { color: var(--navy); }

/* ───────── Reduced motion ───────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__title, .hero__sub, .hero__foot { animation: none; }
}
