:root {
  --page-bg: #f6f6f5;
  --resume-bg: #ffffff;
  --ink: #101010;
  --muted: #6f6f6f;
  --line: rgba(0,0,0,.18);
  --line-strong: rgba(0,0,0,.34);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  font-family: Arial, Helvetica, sans-serif;
}

body { overflow-x: hidden; }

/* Landing page: approved visual */
.page-shell {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: var(--page-bg);
}

.approved-design {
  display: block;
  width: min(100%, 1024px);
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.hotspot {
  position: absolute;
  display: block;
  text-decoration: none;
}

.hotspot.resume {
  left: calc(50% - 245px);
  top: 51.5%;
  width: 185px;
  height: 54px;
}

.hotspot.contact {
  left: calc(50% - 35px);
  top: 51.5%;
  width: 185px;
  height: 54px;
}

/* Resume page */
.resume-body {
  background: var(--resume-bg);
  color: var(--ink);
  letter-spacing: 0.01em;
}

.resume-header {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-strong);
  background: #fff;
}

.brand img {
  width: 166px;
  height: auto;
  display: block;
}

.resume-nav {
  display: flex;
  gap: 38px;
  align-items: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .18em;
}

.resume-nav a,
.download-btn {
  color: var(--ink);
  text-decoration: none;
}

.download-btn {
  border: 1px solid var(--ink);
  padding: 14px 22px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .16em;
  background: #fff;
}

.resume-page {
  width: min(1040px, calc(100% - 56px));
  margin: 0 auto 60px;
}

.resume-intro,
.resume-section {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 36px;
  padding: 58px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  background: #fff;
}

.resume-intro {
  min-height: 310px;
  align-items: center;
  overflow: hidden;
}

.resume-intro:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 350px;
  height: 270px;
  background: url('assets/landing-approved.png') center 75% / 760px auto no-repeat;
  opacity: .065;
  filter: grayscale(1);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.section-index {
  padding-top: 4px;
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--ink);
}

.section-index span:after {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: var(--ink);
  margin-top: 14px;
}

.eyebrow {
  margin: 0 0 20px;
  font-size: 14px;
  letter-spacing: .46em;
  text-transform: uppercase;
}

.resume-intro h1 {
  margin: 0;
  font-size: clamp(42px, 5.6vw, 70px);
  line-height: 1;
  letter-spacing: .10em;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
}

.lead {
  max-width: 670px;
  margin: 36px 0 0;
  font-size: 16px;
  line-height: 1.9;
}

.resume-section h2 {
  margin: 0 0 34px;
  font-size: 20px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .30em;
  font-weight: 700;
}

.simple-list article {
  padding: 22px 0;
  border-top: 1px solid rgba(0,0,0,.12);
}

.simple-list.compact article { padding: 14px 0; }
.simple-list article:first-child { border-top: 0; padding-top: 0; }

.simple-list h3,
.timeline h3,
.experience-list h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.45;
}

.simple-list p,
.timeline p,
.experience-list p,
.carousel-meta span {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.timeline article,
.experience-list article {
  position: relative;
  padding: 0 0 32px 30px;
  border-left: 1px solid rgba(0,0,0,.28);
}

.timeline article:last-child,
.experience-list article:last-child { padding-bottom: 0; }

.timeline article:before,
.experience-list article:before {
  content: "";
  position: absolute;
  left: -5px;
  top: 3px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--ink);
  background: #fff;
  border-radius: 50%;
}

.company-site {
  display: inline-block;
  margin: 0 0 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.company-site:hover { color: var(--ink); }

.role {
  font-weight: 700;
  color: var(--ink) !important;
  margin-bottom: 6px !important;
}

ul {
  margin: 12px 0 0 18px;
  padding: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #222;
}

.project-section { padding-bottom: 72px; }

.project-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(260px, 420px) 58px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 8px;
}

.project-frame {
  width: min(420px, 100%);
  aspect-ratio: 210 / 297;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,0,0,.18);
  box-shadow: 0 22px 70px rgba(0,0,0,.08);
}

.slides {
  height: 100%;
  display: flex;
  transition: transform .55s ease;
}

.slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: grayscale(1);
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  font-family: Georgia, serif;
}

.carousel-meta {
  margin-top: 26px;
  display: grid;
  gap: 4px;
  text-align: center;
}

.carousel-meta p {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .04em;
}

.dots {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 11px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.dot.active { background: var(--ink); }

.publication-list h3 { max-width: 850px; }

.contact-grid {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 16px;
}

.contact-grid a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
}

@media (max-width: 900px) {
  .hotspot { display: none; }
  .approved-design { width: 100%; max-width: 1024px; }

  .resume-header,
  .resume-page { width: min(100% - 34px, 720px); }
  .resume-header { height: 92px; }
  .brand img { width: 132px; }
  .resume-nav { display: none; }
  .download-btn { padding: 12px 16px; font-size: 10px; }

  .resume-intro,
  .resume-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 48px 0;
  }

  .resume-intro { min-height: 460px; align-items: start; }
  .resume-intro:after { right: -40px; bottom: 0; width: 280px; height: 220px; }
  .resume-intro h1 { white-space: normal; font-size: 42px; letter-spacing: .09em; }
  .lead { margin-top: 28px; }
  .section-index span:after { margin-top: 10px; }
  .resume-section h2 { font-size: 18px; letter-spacing: .24em; }

  .project-carousel {
    grid-template-columns: 32px minmax(230px, 360px) 32px;
    gap: 4px;
  }
  .carousel-btn { font-size: 32px; width: 32px; }
  .contact-grid { flex-direction: column; }
}


/* v3 refinements requested by Arian */
.resume-body,
.resume-header,
.resume-page,
.resume-section,
.profile-summary { background: #fff; }

.resume-page {
  width: min(1080px, calc(100% - 64px));
}

.profile-summary {
  min-height: 260px;
  align-items: center;
  overflow: hidden;
}

.profile-summary:after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 0;
  width: 370px;
  height: 265px;
  background: url('assets/landing-approved.png') center 73% / 760px auto no-repeat;
  opacity: .07;
  filter: grayscale(1);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.profile-name {
  margin: 0 0 26px;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.08;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 800;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.profile-summary .lead {
  max-width: 650px;
  margin: 0;
  font-size: 15px;
  line-height: 1.95;
  position: relative;
  z-index: 1;
}

.profile-summary h2 { margin-bottom: 26px; }

.brand img {
  background: transparent;
  mix-blend-mode: multiply;
}

.project-section { padding-bottom: 80px; }
.section-note {
  margin: -18px 0 28px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.project-gallery {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 64px minmax(280px, 480px) 64px;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin: 12px auto 0;
}

.project-frame {
  width: min(480px, 100%);
  aspect-ratio: 210 / 297;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,0,0,.22);
  box-shadow: 0 30px 90px rgba(0,0,0,.10);
}

.slides {
  height: 100%;
  display: flex;
  transition: transform .55s ease;
}

.slide {
  min-width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: grayscale(1);
}

.carousel-btn {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(0,0,0,.20);
  background: #fff;
  color: var(--ink);
  font-size: 38px;
  line-height: .8;
  cursor: pointer;
  font-family: Georgia, serif;
  transition: transform .2s ease, border-color .2s ease;
}

.carousel-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(0,0,0,.55);
}

.carousel-meta {
  width: min(620px, 100%);
  margin: 28px auto 0;
  display: grid;
  gap: 6px;
  text-align: center;
}

.carousel-meta p {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: .05em;
}

.project-kicker {
  color: var(--muted) !important;
  font-size: 12px !important;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.carousel-meta span {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.dots {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 900px) {
  .profile-name { white-space: normal; font-size: 34px; letter-spacing: .08em; }
  .profile-summary:after { right: -80px; width: 310px; height: 230px; }
  .project-gallery { grid-template-columns: 38px minmax(220px, 360px) 38px; gap: 8px; }
  .project-frame { width: min(360px, 100%); }
  .carousel-btn { width: 34px; height: 44px; font-size: 30px; border: 0; }
}

/* v4 refinements: quieter typography, corrected profile motif, larger A4 project viewer */
:root {
  --page-bg: #f6f6f5;
  --resume-bg: #ffffff;
  --ink: #111111;
  --muted: #5f5f5f;
  --soft: #f7f7f6;
  --line: rgba(0,0,0,.16);
  --line-strong: rgba(0,0,0,.30);
}

html, body {
  font-family: "Segoe UI Variable", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

.resume-body,
.resume-header,
.resume-page,
.resume-section,
.profile-summary {
  background: #fff !important;
}

.resume-body {
  color: var(--ink);
  letter-spacing: 0;
}

.resume-header {
  width: min(1180px, calc(100% - 60px));
  height: 106px;
  border-bottom: 1px solid rgba(0,0,0,.22);
}

.brand img {
  width: 156px;
  mix-blend-mode: multiply;
}

.resume-nav {
  gap: 34px;
  font-size: 10.5px;
  letter-spacing: .16em;
  font-weight: 500;
}

.download-btn {
  font-size: 10.5px;
  letter-spacing: .14em;
  padding: 13px 20px;
}

.resume-page {
  width: min(1040px, calc(100% - 64px));
  margin: 0 auto 64px;
}

.resume-section {
  grid-template-columns: 58px 1fr;
  gap: 38px;
  padding: 56px 0;
  border-bottom: 1px solid rgba(0,0,0,.16);
}

.section-index {
  font-size: 12px;
  letter-spacing: .12em;
  font-weight: 500;
}

.section-index span:after {
  width: 24px;
  margin-top: 14px;
}

.resume-section h2 {
  margin: 0 0 26px;
  font-size: 19px;
  line-height: 1.05;
  letter-spacing: .34em;
  text-transform: uppercase;
  font-weight: 650;
}

.profile-summary {
  min-height: 250px;
  align-items: center;
  overflow: hidden;
  grid-template-columns: 58px minmax(0, 1fr) 360px;
  gap: 38px;
}

.profile-summary:after { display: none !important; }

.profile-copy {
  position: relative;
  z-index: 2;
}

.profile-summary .lead {
  max-width: 540px;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.95;
  color: #222;
}

.profile-pyramid {
  align-self: end;
  justify-self: end;
  width: min(360px, 100%);
  height: auto;
  opacity: .55;
  filter: grayscale(1);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.simple-list h3,
.timeline h3,
.experience-list h3 {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: .01em;
}

.simple-list p,
.timeline p,
.experience-list p,
.company-site,
.carousel-meta span,
.contact-grid a {
  font-size: 13.5px;
  line-height: 1.75;
}

ul {
  font-size: 13.5px;
  line-height: 1.82;
}

.project-section {
  padding-bottom: 90px;
}

.project-section .section-content {
  overflow: visible;
}

.project-gallery {
  width: 100%;
  display: grid;
  grid-template-columns: 42px minmax(320px, 620px) 42px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin: 10px auto 0;
}

.project-frame {
  width: min(620px, 100%);
  aspect-ratio: 210 / 297;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,0,0,.18);
  box-shadow: none;
}

.slides {
  height: 100%;
  display: flex;
  transition: transform .48s cubic-bezier(.22,.8,.22,1);
}

.slide {
  min-width: 100%;
  height: 100%;
  background: #fff;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: none;
}

.carousel-btn {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 300;
  cursor: pointer;
  opacity: .78;
  transition: opacity .18s ease, transform .18s ease;
}

.carousel-btn:hover {
  opacity: 1;
  transform: translateX(0);
}

.carousel-btn.prev:hover { transform: translateX(-3px); }
.carousel-btn.next:hover { transform: translateX(3px); }

.carousel-meta {
  width: min(720px, 100%);
  margin: 30px auto 0;
  display: grid;
  gap: 6px;
  text-align: center;
  font-family: "Segoe UI Variable", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.carousel-meta p {
  margin: 0;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: .03em;
}

.project-kicker {
  color: var(--muted) !important;
  font-size: 11.5px !important;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.carousel-meta span {
  color: var(--muted);
}

.dots {
  margin-top: 18px;
  gap: 9px;
}

.dot {
  width: 6px;
  height: 6px;
  border: 1px solid rgba(0,0,0,.75);
  background: transparent;
}

.dot.active {
  background: var(--ink);
}

@media (max-width: 900px) {
  .resume-header,
  .resume-page { width: min(100% - 34px, 720px); }
  .resume-header { height: 88px; }
  .brand img { width: 132px; }

  .resume-section,
  .profile-summary {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 46px 0;
  }

  .profile-summary { min-height: auto; }
  .profile-pyramid {
    width: 260px;
    justify-self: end;
    margin-top: -10px;
  }

  .resume-section h2 {
    font-size: 17px;
    letter-spacing: .24em;
  }

  .project-gallery {
    grid-template-columns: 28px minmax(240px, 420px) 28px;
    gap: 4px;
  }

  .project-frame { width: min(420px, 100%); }
  .carousel-btn { width: 28px; height: 42px; font-size: 25px; }
}

/* v5: redesigned Profile Summary from scratch */
:root {
  --font-ui: "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Aptos Display", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

html, body,
.resume-body,
.resume-section,
.resume-header,
.resume-nav,
.download-btn,
.carousel-meta {
  font-family: var(--font-ui) !important;
}

.profile-section-v5 {
  min-height: 300px !important;
  grid-template-columns: 58px minmax(0, 600px) minmax(260px, 360px) !important;
  align-items: center !important;
  gap: 48px !important;
  overflow: hidden !important;
  padding-top: 58px !important;
  padding-bottom: 58px !important;
  background: #fff !important;
}

.profile-section-v5 .profile-copy {
  position: relative;
  z-index: 2;
}

.profile-name-v5 {
  margin: 0 0 24px;
  font-family: var(--font-display) !important;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.05;
  font-weight: 760;
  letter-spacing: .055em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

.profile-section-v5 .lead {
  max-width: 590px !important;
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.95 !important;
  font-weight: 400;
  color: #222;
}

.profile-motif-v5 {
  position: relative;
  justify-self: end;
  align-self: stretch;
  width: 340px;
  min-height: 230px;
  opacity: .34;
  pointer-events: none;
}

.profile-motif-v5 .motif-triangle {
  position: absolute;
  right: 10px;
  bottom: -4px;
  width: 285px;
  height: 230px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background:
    linear-gradient(118deg, transparent 0 48.8%, rgba(0,0,0,.10) 49.1% 49.8%, transparent 50.2% 100%),
    linear-gradient(62deg, transparent 0 49%, rgba(0,0,0,.10) 49.3% 50%, transparent 50.4% 100%),
    repeating-linear-gradient(63deg, rgba(0,0,0,.075) 0 1px, transparent 1px 13px),
    linear-gradient(180deg, rgba(0,0,0,.09), rgba(0,0,0,.015));
}

.profile-motif-v5 .motif-triangle:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 49.2%, rgba(0,0,0,.16) 49.7% 50.2%, transparent 50.8%);
}

.profile-motif-v5 .motif-line {
  position: absolute;
  background: rgba(0,0,0,.13);
  transform-origin: left center;
}

.profile-motif-v5 .motif-line.one { width: 150px; height: 1px; right: 72px; bottom: 112px; transform: rotate(28deg); }
.profile-motif-v5 .motif-line.two { width: 120px; height: 1px; right: 92px; bottom: 86px; transform: rotate(-20deg); }
.profile-motif-v5 .motif-line.three { width: 180px; height: 1px; right: 54px; bottom: 58px; transform: rotate(13deg); }

.profile-pyramid { display: none !important; }

@media (max-width: 900px) {
  .profile-section-v5 {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    min-height: auto !important;
  }
  .profile-name-v5 {
    white-space: normal;
    font-size: 28px;
    letter-spacing: .045em;
  }
  .profile-motif-v5 {
    width: 250px;
    min-height: 170px;
    justify-self: end;
    margin-top: -8px;
  }
  .profile-motif-v5 .motif-triangle {
    width: 230px;
    height: 170px;
  }
}


/* v6 final requested refinements */
.page-shell {
  background: #f4f4f4;
}

.profile-section-v6 {
  min-height: 310px !important;
  grid-template-columns: 58px minmax(0, 620px) minmax(240px, 330px) !important;
  align-items: center !important;
  gap: 56px !important;
}

.profile-logo-symbol {
  justify-self: end;
  align-self: center;
  width: min(320px, 100%);
  opacity: .055;
  mix-blend-mode: multiply;
  pointer-events: none;
  transform: translateY(4px);
}

.profile-logo-symbol img {
  width: 100%;
  height: auto;
  display: block;
}

.profile-section-v6 .profile-name-v5 {
  font-size: clamp(24px, 2.35vw, 32px);
  letter-spacing: .045em;
  font-weight: 760;
  margin-bottom: 22px;
}

.profile-section-v6 .lead {
  max-width: 610px !important;
}

.profile-section-v6 .profile-motif-v5,
.profile-section-v6 .motif-triangle,
.profile-section-v6 .motif-line {
  display: none !important;
}

.project-section {
  padding-bottom: 98px !important;
}

.project-gallery {
  grid-template-columns: 34px minmax(340px, 700px) 34px !important;
  gap: 24px !important;
  margin-top: 16px !important;
}

.project-frame {
  width: min(700px, 100%) !important;
  aspect-ratio: 210 / 297 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.slide,
.slide img {
  background: transparent !important;
}

.slide img {
  object-fit: contain !important;
}

.carousel-btn {
  width: 34px !important;
  height: 56px !important;
  font-size: 34px !important;
  font-weight: 200 !important;
  opacity: .55 !important;
}

.carousel-btn:hover {
  opacity: 1 !important;
}

.carousel-meta {
  margin-top: 24px !important;
}

.carousel-meta p {
  font-size: 18px !important;
  font-weight: 650 !important;
}

.dots {
  margin-top: 18px !important;
  gap: 8px !important;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.resume-nav a[href="#licenses"] {
  display: inline-block;
}

@media (max-width: 900px) {
  .profile-section-v6 {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  .profile-logo-symbol {
    width: 210px;
    justify-self: end;
    margin-top: -4px;
  }
  .project-gallery {
    grid-template-columns: 28px minmax(250px, 500px) 28px !important;
    gap: 2px !important;
  }
  .project-frame {
    width: min(500px, 100%) !important;
  }
}

/* v7: project image + extracted-data table redesign */
.page-shell .hamburger-cover {
  position: absolute;
  width: 62px;
  height: 60px;
  left: calc(50% + 428px);
  top: 56px;
  background: #f4f4f4;
  pointer-events: none;
}

.profile-section-v7 {
  min-height: 300px !important;
  grid-template-columns: 58px minmax(0, 650px) minmax(170px, 250px) !important;
  gap: 52px !important;
  align-items: center !important;
  overflow: hidden !important;
}

.profile-section-v7 .profile-name-v5 {
  font-size: clamp(25px, 2.3vw, 32px) !important;
  letter-spacing: .042em !important;
  font-weight: 760 !important;
  margin-bottom: 22px !important;
}

.profile-section-v7 .profile-logo-symbol {
  width: min(220px, 100%) !important;
  opacity: .045 !important;
  transform: none !important;
  justify-self: end !important;
}

.project-section-table .section-content {
  overflow: visible;
}

.project-gallery-table {
  grid-template-columns: 28px minmax(760px, 980px) 28px !important;
  gap: 18px !important;
  width: 100%;
  justify-content: center;
}

.project-frame-table {
  width: min(980px, 100%) !important;
  aspect-ratio: auto !important;
  min-height: 530px;
  border: 0 !important;
  background: transparent !important;
  overflow: hidden;
}

.project-card-slide {
  background: #fff !important;
}

.project-card {
  width: 100%;
  min-height: 530px;
  display: grid;
  grid-template-columns: minmax(330px, 48%) minmax(360px, 52%);
  gap: 28px;
  align-items: stretch;
}

.project-image-wrap {
  margin: 0;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.project-image-wrap img {
  width: min(100%, 520px);
  height: min(100%, 520px);
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
}

.project-info-table {
  width: 100%;
  height: 100%;
  border-collapse: collapse;
  border-top: 1px solid rgba(0,0,0,.42);
  border-bottom: 1px solid rgba(0,0,0,.42);
  font-family: var(--font-ui) !important;
}

.project-info-table th,
.project-info-table td {
  border-top: 1px solid rgba(0,0,0,.18);
  vertical-align: top;
  text-align: left;
  padding: 16px 0 16px 22px;
  font-size: 13.2px;
  line-height: 1.72;
}

.project-info-table tr:first-child th,
.project-info-table tr:first-child td {
  border-top: 0;
}

.project-info-table th {
  width: 126px;
  padding-left: 0;
  padding-right: 22px;
  color: #777;
  font-size: 10.5px;
  line-height: 1.4;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 650;
}

.project-info-table td {
  color: #151515;
  font-weight: 400;
}

.project-info-table tr:first-child td {
  font-size: 17px;
  line-height: 1.45;
  font-weight: 720;
  letter-spacing: .01em;
}

.project-info-table tr:nth-child(2) td,
.project-info-table tr:nth-child(4) td {
  font-weight: 620;
}

.project-section-table .carousel-btn {
  width: 28px !important;
  font-size: 30px !important;
  opacity: .46 !important;
}

.project-section-table .carousel-btn:hover {
  opacity: 1 !important;
}

.project-section-table .dots {
  margin-top: 24px !important;
}

@media (max-width: 1050px) {
  .project-gallery-table {
    grid-template-columns: 26px minmax(260px, 1fr) 26px !important;
    gap: 4px !important;
  }
  .project-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .project-frame-table,
  .project-card { min-height: auto; }
  .project-image-wrap { min-height: auto; }
  .project-image-wrap img { width: min(100%, 470px); height: auto; }
}

@media (max-width: 900px) {
  .profile-section-v7 {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }
  .profile-section-v7 .profile-logo-symbol {
    width: 150px !important;
    justify-self: start !important;
  }
  .project-info-table th,
  .project-info-table td {
    display: block;
    width: 100%;
    padding: 9px 0;
  }
  .project-info-table th {
    border-top: 1px solid rgba(0,0,0,.18);
    padding-top: 15px;
  }
  .project-info-table td {
    border-top: 0;
    padding-bottom: 14px;
  }
}


/* v8 small visual refinements requested */
.profile-section-v7 .profile-logo-symbol {
  width: min(168px, 100%) !important;
  max-height: 168px !important;
  overflow: visible !important;
  opacity: .045 !important;
}
.profile-section-v7 .profile-logo-symbol img {
  width: 100% !important;
  height: auto !important;
  max-height: 168px !important;
  object-fit: contain !important;
  display: block !important;
}
.project-gallery-table {
  grid-template-columns: 24px minmax(860px, 1120px) 24px !important;
  gap: 16px !important;
}
.project-frame-table {
  width: min(1120px, 100%) !important;
  min-height: 640px !important;
}
.project-card {
  min-height: 640px !important;
  grid-template-columns: minmax(430px, 52%) minmax(390px, 48%) !important;
  gap: 34px !important;
  align-items: stretch !important;
}
.project-image-wrap {
  height: 100% !important;
  min-height: 640px !important;
  align-self: stretch !important;
}
.project-image-wrap img {
  width: 100% !important;
  height: 100% !important;
  max-height: 640px !important;
  object-fit: contain !important;
}
.project-info-table {
  height: 100% !important;
  align-self: stretch !important;
}
@media (max-width: 1050px) {
  .project-gallery-table { grid-template-columns: 22px minmax(260px, 1fr) 22px !important; }
  .project-card { grid-template-columns: 1fr !important; min-height: auto !important; gap: 22px !important; }
  .project-frame-table { min-height: auto !important; }
  .project-image-wrap { min-height: auto !important; height: auto !important; }
  .project-image-wrap img { height: auto !important; max-height: none !important; }
}
@media (max-width: 900px) {
  .profile-section-v7 .profile-logo-symbol { width: 112px !important; max-height: 112px !important; }
  .profile-section-v7 .profile-logo-symbol img { max-height: 112px !important; }
}


/* v10 requested corrections: white landing background, remove faint profile logo, replace project images */
:root { --page-bg: #ffffff !important; }
body, html { background: #ffffff !important; }
.page-shell {
  background: #ffffff !important;
}
.page-shell .hamburger-cover {
  background: #ffffff !important;
}
.profile-section-v7 {
  grid-template-columns: 58px minmax(0, 1fr) !important;
}
.profile-section-v7 .profile-logo-symbol {
  display: none !important;
}
.project-image-wrap {
  overflow: hidden !important;
}
.project-image-wrap img {
  transform: scale(1.08);
  transform-origin: center center;
}
@media (max-width: 900px) {
  .profile-section-v7 { grid-template-columns: 1fr !important; }
}

/* v11 test: move project information below the image */
.project-gallery-table {
  grid-template-columns: 28px minmax(760px, 1060px) 28px !important;
  gap: 18px !important;
}
.project-frame-table {
  width: min(1060px, 100%) !important;
  min-height: 0 !important;
}
.project-card {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 28px !important;
  min-height: 0 !important;
}
.project-image-wrap {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  align-self: auto !important;
  justify-content: center !important;
  padding: 0 !important;
}
.project-image-wrap img {
  width: min(100%, 760px) !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  transform: none !important;
  mix-blend-mode: multiply !important;
}
.project-info-table {
  width: min(100%, 900px) !important;
  margin: 0 auto !important;
  height: auto !important;
}
.project-info-table th,
.project-info-table td {
  padding-top: 13px !important;
  padding-bottom: 13px !important;
}
.project-info-table th {
  width: 150px !important;
}
.project-info-table tr:first-child td {
  font-size: 18px !important;
}
.project-section-table .dots {
  margin-top: 28px !important;
}
@media (max-width: 1050px) {
  .project-gallery-table {
    grid-template-columns: 22px minmax(260px, 1fr) 22px !important;
    gap: 8px !important;
  }
  .project-image-wrap img {
    width: min(100%, 720px) !important;
  }
}
@media (max-width: 700px) {
  .project-info-table {
    width: 100% !important;
  }
}


/* v13 fix: landing hotspots are now locked to the approved artwork, not to viewport height.
   This keeps buttons clickable in portrait and landscape monitors. */
.page-shell {
  background: #ffffff !important;
  min-height: 100vh;
  align-items: flex-start !important;
  justify-content: center !important;
}
.landing-canvas {
  position: relative;
  width: min(100%, 1024px);
  line-height: 0;
  background: #ffffff !important;
}
.landing-canvas .approved-design {
  display: block;
  width: 100%;
  height: auto;
}
.landing-canvas .hotspot {
  position: absolute;
  z-index: 5;
  display: block;
}
.landing-canvas .hotspot.resume {
  left: 28.1%;
  top: 51.6%;
  width: 18.9%;
  height: 3.4%;
}
.landing-canvas .hotspot.contact {
  left: 49.3%;
  top: 51.6%;
  width: 18.9%;
  height: 3.4%;
}
.landing-canvas .hamburger-cover {
  position: absolute;
  right: 8.4%;
  top: 5.7%;
  width: 4.8%;
  height: 4.4%;
  background: #ffffff !important;
  z-index: 4;
  pointer-events: none;
}
