* {
  box-sizing: border-box;
}

:root {
  --page: #ecf0f1;
  --paper: rgba(255, 255, 255, 0.94);
  --paper-solid: #ffffff;
  --ink: #111111;
  --muted: #7a7f84;
  --line: rgba(17, 17, 17, 0.08);
  --dark: #0f1113;
  --dark-soft: #171a1d;
  --accent: #c9bfae;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #e8e4e0;
  font-family: "Inter", Arial, sans-serif;
}

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

button {
  font: inherit;
}

.page-shell {
  width: min(1260px, calc(100% - 48px));
  margin: 0 auto;
  padding: 20px 0 46px;
}

.topbar {
  min-height: 80px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 36px;
  background: linear-gradient(180deg, #fff 0%, #fff 75%, #FAF9F6 100%);
  border: 1px solid rgba(190, 190, 190, 0.35);
  border-radius: 28px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 2px 5px, rgba(0, 0, 0, 0.12) 0px 2px 10px;
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  justify-self: start;
  font-size: clamp(1.55rem, 2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.045em;
}

.main-nav {
  display: flex;
  gap: 34px;
  align-items: center;
}

.main-nav a {
  position: relative;
  padding: 28px 0;
  color: #343434;
  font-size: 18px;
  font-weight: 500;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: #696969;
  transform: translateX(-50%);
  transition: width .2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #696969;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 20px;
}

.search-button {
  justify-self: end;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(236, 240, 241, .78);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.search-button:hover {
  transform: translateY(-2px);
  background: #e4e9ea;
}

.search-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #111;
  stroke-width: 2;
  stroke-linecap: round;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 415px;
  gap: 24px;
  margin-top: 28px;
}

.hero-card {
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
  align-items: center;
  gap: 44px;
  padding: clamp(46px, 6vw, 72px);
  background: #fff;
  border: 1px solid rgba(190, 190, 190, 0.35);
  border-radius: 32px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 2px 5px, rgba(0, 0, 0, 0.12) 0px 2px 10px;
}

.eyebrow {
  margin: 0 0 18px;
  font-weight: 700;
  font-size: .98rem;
}

h1 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: .98;
  letter-spacing: -0.06em;
}

.lead,
.description {
  max-width: 600px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.75;
}

.lead {
  margin: 28px 0 0;
}

.description {
  margin: 12px 0 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.primary-button {
  padding: 13px 20px;
  border-radius: 14px;
  background: #111;
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  transition: transform .2s ease, box-shadow .2s ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,.13);
}

.text-link {
  color: #5e6367;
  font-weight: 600;
  font-size: .92rem;
}

.text-link span {
  display: inline-block;
  margin-left: 4px;
}

.portrait-wrap {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 1;
  justify-self: center;
}

.portrait-ring {
  width: 100%;
  height: 100%;
  padding: 10px;
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(221,225,224,.9));
  box-shadow:
    0 24px 50px rgba(31, 37, 41, .12),
    inset 0 1px 0 #fff;
}

.portrait-ring img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

.portrait-badge {
  position: absolute;
  left: -12px;
  bottom: 42px;
  min-width: 74px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(17,17,17,.78);
  color: #fff;
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .04em;
  backdrop-filter: blur(12px);
}

.portrait-dot {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: rgba(255,255,255,.78);
  box-shadow: 0 12px 24px rgba(0,0,0,.08);
}

.dot-one {
  width: 18px;
  height: 18px;
  right: 10px;
  top: 34px;
}

.dot-two {
  width: 10px;
  height: 10px;
  right: -12px;
  top: 74px;
}

.side-card {
  min-height: 590px;
  display: flex;
  flex-direction: column;
  padding: 34px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 5% 20%, rgb(57, 57, 57) 0%, rgb(0, 0, 0) 90%);
  color: #fff;
  box-shadow: 0 28px 60px rgba(8, 11, 13, .16);
}

.side-label {
  color: rgba(255,255,255,.42);
  font-size: 15;
  font-weight: 700;
  letter-spacing: .14em;
  margin-bottom: 26px;
}

.side-nav {
  display: grid;
  gap: 8px;
}

.side-nav a {
  display: grid;
  grid-template-columns: 3px 1fr;
  align-items: center;
  padding: 13px 12px;
  border-radius: 13px;
  color: #d8d8d8;
  font-size: 17px;
  font-weight: 600;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.side-nav a span {
  color: rgba(255,255,255,.28);
  font-size: .68rem;
}

.side-nav a:hover {
  color: #fff;
  background: rgba(255,255,255,.07);
  transform: translateX(4px);
}

.availability {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,.62);
  font-size: 15px;
  line-height: 1.4;
}

.status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #83c992;
  box-shadow: 0 0 0 5px rgba(131,201,146,.1);
}

@media (max-width: 1050px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .side-card {
    min-height: auto;
  }

  .side-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .availability {
    margin-top: 28px;
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: min(100% - 28px, 1260px);
    padding-top: 18px;
  }

  .topbar {
    grid-template-columns: 1fr auto;
    padding: 0 20px;
  }

  .main-nav {
    display: none;
  }

  .hero-card {
    grid-template-columns: 1fr;
    padding: 38px 28px;
  }

  .portrait-wrap {
    order: -1;
    width: min(78vw, 320px);
  }

  .hero-copy {
    text-align: left;
  }
}

@media (max-width: 540px) {
  .topbar {
    min-height: 70px;
    border-radius: 22px;
  }

  .brand {
    font-size: 1.4rem;
  }

  .hero-card,
  .side-card {
    border-radius: 24px;
  }

  .side-nav {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.6rem, 13vw, 4rem);
  }
}
