@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Manrope:wght@300;400;500;600&display=swap');

:root {
  --black: #111111;
  --ink: #171717;
  --white: #f8f7f3;
  --paper: #eeece6;
  --grey: #a8a7a2;
  --line: rgba(17, 17, 17, .18);
  --warm: #b9aa96;
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }
.sr-only, .skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  z-index: 100;
  padding: 1rem;
  background: white;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  max-width: var(--max);
  margin: auto;
  padding: 25px 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
}
.brand {
  display: inline-flex;
  gap: 13px;
  align-items: center;
  text-decoration: none;
  line-height: 1.1;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  display: grid;
  place-items: center;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  letter-spacing: .09em;
}
.brand strong {
  display: block;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .12em;
  font-weight: 600;
}
.brand small {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  letter-spacing: .12em;
  opacity: .68;
}
nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 36px);
}
nav a {
  text-decoration: none;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .11em;
}
.nav-call {
  border: 1px solid rgba(255,255,255,.65);
  padding: 11px 16px;
}
.menu-toggle { display: none; }

.hero {
  min-height: 94vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  color: white;
  overflow: hidden;
}
.hero-image, .profile-photo {
  position: absolute;
  inset: 0;
  background-image: url("https://marinarr5423.github.io/Babak/cabinet-babak-v2-bw.png");
  background-position: center 38%;
  background-size: cover;
  filter: grayscale(1);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.76) 0%, rgba(0,0,0,.42) 48%, rgba(0,0,0,.08) 78%),
    linear-gradient(0deg, rgba(0,0,0,.5), transparent 52%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(900px, 82vw);
  margin: 0 max(5vw, calc((100vw - var(--max)) / 2 + 5vw)) 8vh;
}
.eyebrow {
  margin: 0 0 24px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 35px;
  height: 1px;
  margin: 0 12px 3px 0;
  background: currentColor;
}
.light { color: white; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-family: "Manrope", sans-serif;
  font-weight: 300;
  line-height: .98;
  letter-spacing: -.055em;
}
h1 {
  font-size: clamp(58px, 8.2vw, 126px);
  margin: 0 0 30px;
}
.hero-intro {
  max-width: 610px;
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.55;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 38px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 26px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  transition: .25s ease;
}
.button-light {
  background: white;
  color: var(--black);
}
.button-light:hover { background: var(--warm); color: white; }
.button-outline { border: 1px solid rgba(255,255,255,.5); color: white; }
.button-outline:hover { background: white; color: var(--black); }
.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  font-size: 12px;
}
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translate(3px, -3px); }
.hero-index {
  position: absolute;
  z-index: 3;
  right: 4vw;
  bottom: 7vh;
  margin: 0;
  writing-mode: vertical-rl;
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero-index span {
  display: inline-block;
  width: 1px;
  height: 60px;
  margin: 12px 2px;
  background: white;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(90px, 10vw, 160px) 6vw;
}
h2 { font-size: clamp(43px, 5.5vw, 80px); margin-bottom: 0; }
.manifesto {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 10vw;
  align-items: start;
}
.manifesto-copy { padding-top: 40px; }
.lead {
  font-size: clamp(19px, 1.8vw, 27px);
  line-height: 1.45;
  letter-spacing: -.02em;
}
.manifesto-copy > p:not(.lead), .profile-content > p:not(.lead):not(.profile-role) {
  color: #555;
  max-width: 570px;
}

.care { background: var(--paper); max-width: none; }
.care > * { max-width: calc(var(--max) - 12vw); margin-left: auto; margin-right: auto; }
.section-heading { margin-bottom: 75px; }
.care-list { border-top: 1px solid var(--line); }
.care-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 70px;
  gap: 30px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}
.care-number { color: #777; font-size: 10px; letter-spacing: .16em; }
.care-item > div {
  display: grid;
  grid-template-columns: minmax(240px, .7fr) 1fr;
  gap: 7vw;
}
.care-item h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(25px, 2.2vw, 34px);
  font-weight: 400;
  letter-spacing: -.035em;
}
.care-item p { color: #555; margin-bottom: 0; }
.care-symbol { font-size: 34px; font-weight: 300; text-align: right; }

.journey {
  max-width: none;
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 9vw;
  color: white;
  background: var(--black);
  padding-left: max(6vw, calc((100vw - var(--max)) / 2 + 6vw));
  padding-right: max(6vw, calc((100vw - var(--max)) / 2 + 6vw));
}
.journey-intro p:not(.eyebrow) { color: #aaa; max-width: 470px; margin: 35px 0; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid #444; }
.steps li {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 25px;
  padding: 27px 0;
  border-bottom: 1px solid #444;
}
.steps li > span { color: #888; font-size: 10px; letter-spacing: .16em; }
.steps strong { font-weight: 500; font-size: 18px; }
.steps p { color: #999; margin: 7px 0 0; }

.profile {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 9vw;
}
.profile-photo {
  position: relative;
  min-height: 690px;
  background-position: 67% center;
}
.profile-content { padding: 40px 0; }
.profile-role {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #777;
  margin: 25px 0 45px;
}
details { margin-top: 45px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
summary {
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .15em;
}
summary::-webkit-details-marker { display: none; }
details[open] summary span { transform: rotate(45deg); }
details ul { padding: 0 0 25px 18px; color: #555; }
details li { margin-bottom: 9px; }

.referrers {
  max-width: none;
  color: white;
  background: #282828;
  padding-left: max(6vw, calc((100vw - var(--max)) / 2 + 6vw));
  padding-right: max(6vw, calc((100vw - var(--max)) / 2 + 6vw));
}
.referrers-heading {
  display: grid;
  grid-template-columns: .6fr 1fr;
  gap: 8vw;
  align-items: end;
}
.referrers-heading .eyebrow { grid-column: 1 / -1; }
.referrers-heading p:last-child { color: #aaa; max-width: 480px; margin-bottom: 4px; }
.referrer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #555;
  margin-top: 80px;
}
.referrer-card {
  min-height: 270px;
  padding: 30px 4vw 30px 0;
  border-right: 1px solid #555;
}
.referrer-card + .referrer-card { padding-left: 4vw; }
.referrer-card:last-child { border-right: 0; }
.referrer-card > span { color: #888; font-size: 10px; letter-spacing: .16em; }
.referrer-card h3 { margin: 55px 0 18px; font-weight: 400; font-size: 20px; }
.referrer-card p { color: #aaa; font-size: 14px; }
.privacy-note { color: #858585; font-size: 11px; margin: 30px 0 0; }

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  padding-top: 38px;
}
.contact-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4vw;
}
.contact-details small {
  display: block;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 9px;
  color: #888;
  margin-bottom: 12px;
}
.contact-details p { font-size: 18px; margin-bottom: 30px; }
.contact-details p a { text-decoration: none; }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #888;
}
.form-field input,
.form-field textarea {
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 10px 0;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s;
  resize: none;
}
.form-field input:focus,
.form-field textarea:focus { border-bottom-color: var(--ink); }

footer {
  background: var(--black);
  color: white;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4vw;
  align-items: end;
  padding: 55px max(5vw, calc((100vw - var(--max)) / 2 + 5vw));
}
footer p { color: #777; font-size: 11px; margin: 0; }
.footer-links { display: flex; justify-content: flex-end; gap: 24px; }
.footer-links a, .footer-links span { color: #aaa; font-size: 10px; text-decoration: none; text-transform: uppercase; letter-spacing: .1em; }
.mobile-call { display: none; }

@media (max-width: 900px) {
  body { padding-bottom: 60px; }
  .site-header { position: absolute; padding: 18px 20px; }
  .menu-toggle {
    display: block;
    position: relative;
    z-index: 3;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.55);
    background: transparent;
  }
  .menu-toggle span:not(.sr-only) { display: block; width: 16px; height: 1px; background: white; margin: 5px auto; }
  nav {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--black);
    padding: 110px 30px 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  nav.open { display: flex; }
  nav a { font-size: 17px; }
  .nav-call { margin-top: auto; width: 100%; text-align: center; }
  .hero { min-height: 88vh; }
  .hero-image { background-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(0,0,0,.75), rgba(0,0,0,.23)), linear-gradient(0deg, rgba(0,0,0,.6), transparent 65%); }
  .hero-content { width: auto; margin: 0 25px 8vh; }
  .hero-intro { max-width: 90%; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .hero-index { display: none; }
  .manifesto, .journey, .profile, .contact { grid-template-columns: 1fr; }
  .manifesto { gap: 30px; }
  .manifesto-copy { padding-top: 0; }
  .care-item { grid-template-columns: 35px 1fr; }
  .care-item > div { grid-template-columns: 1fr; gap: 15px; }
  .care-symbol { display: none; }
  .profile-photo { min-height: 550px; }
  .referrers-heading { grid-template-columns: 1fr; gap: 25px; }
  .referrer-grid { grid-template-columns: 1fr; }
  .referrer-card, .referrer-card + .referrer-card { padding: 28px 0; min-height: 0; border-right: 0; border-bottom: 1px solid #555; }
  .referrer-card h3 { margin: 25px 0 10px; }
  footer { grid-template-columns: 1fr; gap: 35px; }
  .footer-links { justify-content: flex-start; }
  .mobile-call {
    position: fixed;
    display: flex;
    z-index: 50;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    padding: 0 20px;
    align-items: center;
    justify-content: space-between;
    background: white;
    color: var(--black);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: .12em;
    box-shadow: 0 -5px 25px rgba(0,0,0,.12);
  }
}

@media (max-width: 560px) {
  .section { padding: 85px 24px; }
  h1 { font-size: 56px; }
  h2 { font-size: 41px; }
  .eyebrow { margin-bottom: 18px; }
  .care { padding-left: 24px; padding-right: 24px; }
  .care-item { gap: 12px; }
  .journey, .referrers { padding-left: 24px; padding-right: 24px; }
  .profile { padding-left: 0; padding-right: 0; }
  .profile-content { padding: 70px 24px 0; }
  .profile-photo { min-height: 440px; }
  .contact-details { grid-template-columns: 1fr; }
  footer { padding: 50px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
