/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background: #f8f8f8;
  color: #1a1a1a;
  min-height: 100vh;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
svg {
  display: block;
}

/* ============================================
   BASE = DESKTOP (1024px+)
   Left sidebar + 2-col grid main
   ============================================ */
.page {
  display: flex;
  flex-direction: row;
  min-height: 100vh;
  overflow-x: hidden;
}

/* --- Sidebar (left panel) --- */
.sidebar {
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 12.5rem;
  flex-shrink: 0;
  min-height: 100vh;
  padding: 2.25rem 1.75rem 6.25rem;
  border-right: 0.0625rem solid #e8e8e8;
  position: relative;
}
.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.logo a {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.logo-img {
  height: 3rem;
  width: auto;
}
.logo-caption {
  font-size: 0.6rem;
  font-weight: 600;
  color: #aaa;
  letter-spacing: 0.0625rem;
  margin-top: 0.25rem;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  margin-top: 0;
  flex: 1;
  justify-content: center;
  width: 100%;
}
.nav a {
  font-size: 0.82rem;
  font-weight: 500;
  color: #999;
  padding: 0.5625rem 0;
  border-bottom: 0.0625rem solid transparent;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav a:hover {
  color: #111;
  border-bottom-color: #b80742;
}
.sidebar-bottom {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
}

/* --- Main (2-col grid) --- */
.main {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 25rem;
  grid-template-rows: 1fr auto;
  padding: 0;
  overflow: visible;
  background: #f8f8f8;
  position: relative;
}

/* --- Hero --- */
.hero {
  grid-column: 1;
  grid-row: 1;
  padding: 3.5rem 1.5rem 2rem 3.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: visible;
  position: relative;
  z-index: 2;
  margin-bottom: 0;
}
.hero-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.25rem;
  text-transform: uppercase;
  color: #b80742;
  margin-bottom: 0.875rem;
}
.hero-name {
  font-size: 5.7rem;
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: 0;
  color: #111;
  position: relative;
  z-index: 1;
  margin-right: -4rem;
}
.hero-meta {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.hero-email {
  font-size: 0.75rem;
  font-weight: 500;
  color: #888;
  letter-spacing: 0.0125rem;
  text-transform: lowercase;
}
.hero-number {
  position: absolute;
  bottom: 1.25rem;
  right: 5rem;
  width: 18.75rem;
  pointer-events: none;
  z-index: 0;
}
.hero-number img {
  width: 100%;
  height: auto;
  filter: grayscale(100%) opacity(0.15);
}

/* --- Photo Diamond --- */
.photo-area {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 6.25rem 0 0;
  margin: 0 0 0 -2.5rem;
  background: #f8f8f8;
  overflow: visible;
  position: relative;
  z-index: 1;
}
.photo-diamond {
  position: relative;
  width: 20rem;
  height: 30rem;
  flex-shrink: 0;
}
.photo-diamond::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #b80742, #8e0533);
  box-shadow: 0 1rem 3rem rgba(184, 7, 66, 0.32);
  z-index: 0;
  clip-path: polygon(50% 33%, 100% 67%, 50% 100%, 0% 67%);
}
.photo-diamond picture,
.photo-diamond img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.photo-diamond img {
  object-fit: cover;
  object-position: top center;
  z-index: 1;
  clip-path: polygon(0% 0%, 100% 0%, 100% 67%, 50% 100%, 0% 67%);
}

/* --- Info Strip (row at bottom) --- */
.info-strip {
  grid-column: 1 / 3;
  grid-row: 2;
  display: flex;
  flex-direction: row;
  gap: 0;
  margin-bottom: 0;
  border-top: 0.0625rem solid #e8e8e8;
  background: #fff;
  position: relative;
  z-index: 1;
}
.info-block {
  flex: 1;
  border: none;
  border-right: 0.0625rem solid #e8e8e8;
  border-radius: 0;
  padding: 1.75rem 2rem;
  background: transparent;
  position: relative;
}
.info-block:last-child {
  border-right: none;
}
.info-num {
  position: absolute;
  top: 0.875rem;
  right: 1rem;
  font-size: 0.58rem;
  font-weight: 700;
  color: #ddd;
  letter-spacing: 0.0625rem;
}
.info-block h3 {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15625rem;
  color: #b80742;
  margin-bottom: 0.625rem;
}
.info-block p {
  font-size: 0.82rem;
  font-weight: 500;
  color: #333;
  line-height: 1.8;
}

/* --- CTA --- */
.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1.625rem 0.75rem;
  margin: 0;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 0;
  font-family: inherit;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09375rem;
  cursor: pointer;
  transition:
    background 0.25s,
    transform 0.15s,
    box-shadow 0.25s;
  position: relative;
  z-index: 1;
}
.cta:hover {
  background: #b80742;
  transform: translateY(-0.125rem);
  box-shadow: 0 0.625rem 1.875rem rgba(184, 7, 66, 0.28);
}
.cta:active {
  transform: scale(0.98);
}

/* --- CTA mobile (hidden on desktop) --- */
.cta-mobile {
  display: none;
}

/* --- Socials --- */
.socials {
  display: flex;
  gap: 0.625rem;
}
.socials a {
  width: 2.125rem;
  height: 2.125rem;
  border-radius: 50%;
  background: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.socials a svg {
  width: 0.9375rem;
  height: 0.9375rem;
  fill: none;
  stroke: #555;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.social-img {
  width: 0.9375rem;
  height: 0.9375rem;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(33%) sepia(0%) saturate(0%)
    hue-rotate(0deg) brightness(60%);
  transition: filter 0.2s;
}
.socials a:hover .social-img {
  filter: brightness(0) invert(1);
}
.socials a:hover {
  background: #b80742;
}
.socials a:hover svg {
  stroke: #fff;
}

/* ============================================
   WIDE 1400px+
   ============================================ */
@media (min-width: 87.5rem) {
  .sidebar {
    width: 15rem;
    padding: 2.75rem 2.25rem;
  }
  .logo-img {
    height: 3.25rem;
  }
  .main {
    grid-template-columns: 1fr 28.75rem;
  }
  .hero {
    padding: 4rem 1.5rem 2.5rem 4rem;
  }
  .hero-name {
    font-size: 6.5rem;
    letter-spacing: 0;
  }
  .photo-area {
    padding: 0 3rem 0 0;
  }
  .photo-diamond {
    width: 23.75rem;
    height: 35.625rem;
  }
  .info-block {
    padding: 2rem 2.5rem;
  }
  .info-block p {
    font-size: 0.86rem;
  }
}

/* ============================================
   iPad Pro portrait 1024x1366
   ============================================ */
@media (width: 1024px) and (height: 1366px) {
  html {
    font-size: 1.2rem;
  }
  .main {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
    overflow: visible;
  }
  .hero {
    grid-column: 1;
    grid-row: 1;
    padding-top: 2rem;
    padding-bottom: 0;
    z-index: 1;
  }
  .hero-label {
    font-size: 0.8rem;
    margin-bottom: 0;
  }
  .hero-number {
    bottom: -10rem;
    right: -1rem;
    width: 22rem;
    z-index: 1;
  }
  .hero-email {
    font-size: 1rem;
  }
  .photo-area {
    grid-column: 1;
    grid-row: 2;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    padding-bottom: 2rem;
    z-index: 3;
    background: transparent;
  }
  .photo-diamond {
    width: 28rem;
    height: 42rem;
    z-index: 3;
  }
  .info-strip {
    grid-column: 1;
    grid-row: 3;
    align-self: end;
    z-index: 3;
  }
  .info-block {
    border-right: 0.0625rem solid #e8e8e8;
    border-bottom: none;
  }
  .info-block:last-child {
    border-right: none;
  }
}

/* iPad Pro landscape 1366x1024 */
@media (width: 1366px) and (height: 1024px) {
  html {
    font-size: 1.24rem;
  }
  .photo-area {
    padding-right: 0rem;
    padding-bottom: 2rem;
  }
}

/* ============================================
   SMALL TABLET PORTRAIT (680px–839px, portrait)
   No sidebar nav, CTA above info strip
   ============================================ */
@media (max-width: 52.4375rem) and (min-width: 42.5rem) and (orientation: portrait) {
  .page {
    flex-direction: column;
    position: relative;
  }

  /* Hide sidebar bar, but keep logo visible */
  .sidebar {
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
    width: auto;
    min-height: auto;
    padding: 0;
    border: none;
    background: transparent;
    z-index: 20;
    display: block;
  }
  .logo {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
  }
  .logo-img {
    height: 2.75rem;
  }
  .logo-caption {
    font-size: 0.7rem;
  }
  .nav {
    display: none;
  }
  .sidebar-bottom {
    display: none;
  }

  .main {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: 100vh;
    overflow: visible;
    padding: 0;
    position: relative;
  }
  .hero {
    grid-column: 1;
    grid-row: 1;
    padding: 1.25rem 2rem 0;
    z-index: 1;
  }
  .hero-label {
    font-size: 0.72rem;
    margin-bottom: 0.5rem;
  }
  .hero-name {
    font-size: 4rem;
    letter-spacing: 0;
    line-height: 1;
    margin-right: 0;
  }
  .hero-number {
    bottom: -14rem;
    right: -1rem;
    width: 22rem;
    z-index: 1;
  }
  .hero-email {
    font-size: 0.85rem;
  }
  .photo-area {
    grid-column: 1;
    grid-row: 2;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    padding-bottom: 1.5rem;
    z-index: 3;
    background: transparent;
  }
  .photo-diamond {
    width: 26rem;
    height: 39rem;
    z-index: 3;
  }

  /* CTA mobile visible, absolute positioned above info strip */
  .cta-mobile {
    display: flex;
    position: absolute;
    bottom: 9rem;
    right: 1.5rem;
    width: auto;
    border-radius: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-size: 0.65rem;
    z-index: 10;
  }

  .info-strip {
    grid-column: 1;
    grid-row: 3;
    align-self: end;
    border-top: 0.0625rem solid #e8e8e8;
    z-index: 3;
  }
  .info-block {
    padding: 1.5rem 1.75rem;
  }
}

/* ============================================
   iPad Air portrait (820x1180)
   ============================================ */
@media (min-width: 51.25rem) and (max-width: 52.4375rem) and (orientation: portrait) {
  .hero-label {
    font-size: 0.78rem;
  }
  .hero-name {
    font-size: 4.5rem;
  }
  .hero-email {
    font-size: 0.9rem;
  }
  .photo-diamond {
    width: 28rem;
    height: 42rem;
  }
  .info-block h3 {
    font-size: 0.65rem;
  }
  .info-block p {
    font-size: 0.85rem;
  }
  .logo-img {
    height: 3rem;
  }
  .logo-caption {
    font-size: 0.75rem;
  }
  .socials a {
    width: 2.375rem;
    height: 2.375rem;
  }
}

/* ============================================
   LARGE TABLET PORTRAIT (840px–1023px, portrait)
   Sidebar + single-col grid (iPad Pro portrait style)
   ============================================ */
@media (max-width: 63.9375rem) and (min-width: 52.5rem) and (orientation: portrait) {
  .sidebar {
    width: 12.5rem;
  }
  .logo-img {
    height: 2.625rem;
  }
  .main {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
    overflow: visible;
  }
  .hero {
    grid-column: 1;
    grid-row: 1;
    padding: 2rem 2rem 0;
    z-index: 1;
  }
  .hero-label {
    font-size: 0.72rem;
    margin-bottom: 0.5rem;
  }
  .hero-name {
    font-size: 4rem;
    letter-spacing: 0;
    line-height: 1;
    margin-right: 0;
  }
  .hero-number {
    bottom: -10rem;
    right: -1rem;
    width: 18rem;
    z-index: 1;
  }
  .hero-email {
    font-size: 0.85rem;
  }
  .photo-area {
    grid-column: 1;
    grid-row: 2;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    padding-bottom: 2rem;
    z-index: 3;
    background: transparent;
  }
  .photo-diamond {
    width: 22rem;
    height: 33rem;
    z-index: 3;
  }
  .info-strip {
    grid-column: 1;
    grid-row: 3;
    align-self: end;
    border-top: 0.0625rem solid #e8e8e8;
    z-index: 3;
  }
  .info-block {
    padding: 1.5rem 1.75rem;
  }
  .cta-mobile {
    display: none;
  }
}

/* ============================================
   TABLET LANDSCAPE (680px–1023px, landscape)
   Sidebar + 2-col grid (iPad Pro landscape style)
   ============================================ */
@media (max-width: 63.9375rem) and (min-width: 42.5rem) and (orientation: landscape) {
  .sidebar {
    width: 12.5rem;
  }
  .logo-img {
    height: 2.625rem;
  }
  .main {
    grid-template-columns: 1fr 20rem;
  }
  .hero {
    padding: 3rem 1.5rem 2rem 2.5rem;
  }
  .hero-label {
    font-size: 0.68rem;
  }
  .hero-name {
    font-size: 4rem;
    letter-spacing: 0;
    margin-right: -3rem;
  }
  .hero-number {
    width: 14rem;
    bottom: 1rem;
    right: 3rem;
  }
  .photo-area {
    padding: 0 2rem 0 0;
    margin: 0;
  }
  .photo-diamond {
    width: 16rem;
    height: 24rem;
  }
  .info-block {
    padding: 1.5rem 1.75rem;
  }
  .info-block h3 {
    font-size: 0.6rem;
  }
  .info-block p {
    font-size: 0.82rem;
  }
}

/* ============================================
   MOBILE (320px – 500px)
   Stacked layout, no sidebar nav, sticky CTA
   ============================================ */
@media (max-width: 31.25rem) {
  .page {
    flex-direction: column;
  }

  /* Sidebar becomes top bar */
  .sidebar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: auto;
    padding: 1rem 1.25rem;
    border-right: none;
    border-bottom: 0.0625rem solid #ebebeb;
  }
  .logo-img {
    height: 2.375rem;
  }
  .nav {
    display: none;
  }
  .sidebar-bottom {
    display: none;
  }

  /* Main stacked */
  .main {
    display: block;
    flex: 1;
    padding: 1.75rem 1.25rem 5rem;
    overflow-x: hidden;
  }

  /* Hero */
  .hero {
    position: relative;
    z-index: 1;
    margin-bottom: 0.5rem;
    padding: 0;
  }
  .hero-label {
    font-size: 0.62rem;
    letter-spacing: 0.1875rem;
    margin-bottom: 0.5rem;
  }
  .hero-name {
    font-size: 3rem;
    letter-spacing: 0;
    line-height: 1;
    margin-right: 0;
  }
  .hero-email {
    font-size: 0.75rem;
  }
  .hero-number {
    bottom: -6rem;
    right: -3rem;
    width: 14rem;
    z-index: 0;
  }

  /* Photo */
  .photo-area {
    display: flex;
    justify-content: center;
    margin: 0 0 2rem;
    padding: 0;
    z-index: 2;
    background: transparent;
  }
  .photo-diamond {
    width: 16rem;
    height: 24rem;
  }

  /* Info strip stacked cards */
  .info-strip {
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
    border-top: none;
    background: transparent;
  }
  .info-block {
    background: #fff;
    border: 0.0625rem solid #ebebeb;
    border-radius: 0.875rem;
    padding: 1.125rem 1.25rem;
  }
  .info-block h3 {
    margin-bottom: 0.5rem;
  }
  .info-block p {
    font-size: 0.85rem;
    line-height: 1.7;
  }

  /* CTA */
  .cta {
    padding: 1.625rem 1.0625rem;
    font-size: 0.78rem;
    letter-spacing: 0.15625rem;
  }

  /* Mobile sticky CTA */
  .cta-mobile {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
  }
}

@media (min-width: 2000px) {
  html {
    font-size: 1.5rem;
  }
}

@media (min-width: 2500px) {
  html {
    font-size: 1.9rem;
  }
}

@media (min-width: 3000px) {
  html {
    font-size: 2.2rem;
  }
}
