:root {
  --paper: #f5f1ea;
  --paper-deep: #e6ded1;
  --ink: #191614;
  --muted: #6f6961;
  --line: rgba(25, 22, 20, 0.16);
  --red: #9e2f27;
  --green: #2f5f57;
  --gold: #a87937;
  --white: #fffaf2;
  --shadow: 0 22px 60px rgba(25, 22, 20, 0.18);
  --display: "Didot", "Bodoni 72", "Times New Roman", "Noto Serif SC", serif;
  --sans: "Inter", "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.7;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(25, 22, 20, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(25, 22, 20, 0.026) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 85%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 clamp(20px, 4vw, 58px);
  background: rgba(245, 241, 234, 0.76);
  border-bottom: 1px solid rgba(25, 22, 20, 0.1);
  backdrop-filter: blur(18px);
}

.brand-mark {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0;
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: clamp(18px, 3.4vw, 48px);
  color: var(--muted);
  font-size: 13px;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  text-decoration: none;
}

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

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
  padding: 112px clamp(22px, 6vw, 88px) 70px;
  background: #161411;
  color: var(--white);
}

.hero-gallery {
  position: absolute;
  inset: 0;
}

.hero-art {
  position: absolute;
  object-fit: cover;
  filter: saturate(0.86) contrast(0.96);
}

.hero-art-main {
  top: 0;
  right: 0;
  width: 62vw;
  height: 100%;
}

.hero-art-top {
  top: 12%;
  left: 46%;
  width: 22vw;
  aspect-ratio: 1 / 1.18;
  box-shadow: var(--shadow);
}

.hero-art-bottom {
  right: 4vw;
  bottom: 8%;
  width: 25vw;
  aspect-ratio: 1.18 / 1;
  box-shadow: var(--shadow);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 42%, rgba(158, 47, 39, 0.34), transparent 34%),
    linear-gradient(90deg, rgba(14, 12, 10, 0.94) 0%, rgba(14, 12, 10, 0.82) 50%, rgba(14, 12, 10, 0.56) 100%),
    linear-gradient(0deg, rgba(14, 12, 10, 0.45), transparent 44%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

.hero-portrait-frame {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(440px, 100%);
  margin: 0;
  border: 1px solid rgba(255, 250, 242, 0.22);
  border-radius: 10px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.hero-portrait-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  box-shadow: inset 0 0 0 1px rgba(255, 250, 242, 0.08);
  pointer-events: none;
}

.hero-portrait {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 52% center;
  filter: saturate(0.94) contrast(1.02);
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--gold);
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(56px, 7.2vw, 112px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lede {
  width: min(620px, 100%);
  margin: 28px 0 0;
  color: rgba(255, 250, 242, 0.82);
  font-size: clamp(18px, 2vw, 24px);
}

.hero-subtitle {
  margin: 18px 0 0;
  color: rgba(255, 250, 242, 0.9);
  font-size: clamp(18px, 2.1vw, 26px);
  font-weight: 500;
}

.hero-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: min(860px, 100%);
  margin-top: 30px;
}

.hero-credentials span {
  padding: 8px 12px;
  color: rgba(255, 250, 242, 0.86);
  background: rgba(255, 250, 242, 0.09);
  border: 1px solid rgba(255, 250, 242, 0.2);
  border-radius: 4px;
  font-size: 13px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 36px;
}

.text-link {
  position: relative;
  text-decoration: none;
  font-size: 15px;
}

.text-link::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  content: "";
  background: currentColor;
}

.text-link.muted {
  color: rgba(255, 250, 242, 0.68);
}

.hero-index {
  position: absolute;
  right: clamp(20px, 4vw, 56px);
  bottom: 26px;
  margin: 0;
  color: rgba(255, 250, 242, 0.62);
  font-family: var(--display);
  font-size: 12px;
}

.section {
  padding: clamp(58px, 7vw, 104px) 0;
}

.section-inner {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
}

.section-inner.wide {
  width: min(1360px, calc(100% - 44px));
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 42px;
}

.section-heading h2,
.about-copy h2,
.contact-layout h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0;
}

.compact-heading {
  margin-bottom: 22px;
}

.compact-heading h2 {
  font-size: clamp(30px, 3.4vw, 48px);
}

.section-heading p:not(.section-kicker),
.about-copy p,
.contact-layout p {
  color: var(--muted);
  font-size: 16px;
}

.professional-section {
  background: var(--paper);
}

.professional-body {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(380px, 0.88fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
}

.professional-copy > p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(20px, 2.3vw, 30px);
  line-height: 1.76;
  font-weight: 500;
}

.specialty-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.professional-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: clamp(128px, 12vw, 164px);
  gap: 10px;
}

.professional-media-card {
  position: relative;
  overflow: hidden;
  min-height: 0;
  padding: 0;
  color: var(--white);
  background: #171412;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.professional-media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.professional-media-card:hover img {
  transform: scale(1.035);
}

.professional-media-card span {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 7px 9px;
  background: rgba(14, 12, 10, 0.66);
  border: 1px solid rgba(255, 250, 242, 0.12);
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.35;
  text-align: left;
  backdrop-filter: blur(10px);
}

.specialty-card,
.credential-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.54);
}

.specialty-card {
  min-height: 154px;
  padding: 20px;
}

.specialty-card span,
.credential-card span {
  color: var(--red);
  font-family: var(--display);
  font-size: 15px;
}

.specialty-card h3,
.credential-card h3 {
  margin: 10px 0 8px;
  font-size: 20px;
  line-height: 1.35;
}

.specialty-card p,
.credential-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.credentials-section {
  background: #eef1eb;
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.credential-card {
  min-height: 166px;
  padding: 20px;
}

.highlights-section {
  background: #1c2521;
  color: var(--white);
}

.highlight-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 250, 242, 0.18);
}

.highlight-item {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 250, 242, 0.18);
}

.highlight-item strong {
  color: var(--gold);
  font-size: 18px;
}

.highlight-item p {
  margin: 0;
  color: rgba(255, 250, 242, 0.78);
  font-size: 17px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric {
  min-height: 138px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  color: var(--red);
  font-family: var(--display);
  font-size: clamp(38px, 5vw, 70px);
  font-weight: 400;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 16px;
  color: var(--muted);
}

.award-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 26px;
  margin-top: 30px;
  counter-reset: award;
}

.award-item {
  position: relative;
  min-height: 112px;
  padding: 18px 0 18px 50px;
  border-top: 1px solid var(--line);
  counter-increment: award;
}

.award-item::before {
  position: absolute;
  top: 20px;
  left: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--red);
  content: counter(award, decimal-leading-zero);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 13px;
}

.award-item time {
  flex: 0 0 auto;
  color: var(--gold);
  font-family: var(--display);
  font-size: 15px;
}

.award-heading {
  display: block;
}

.award-item h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
}

.award-item p {
  margin: 12px 0 0;
  color: var(--red);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.52;
  text-align: left;
}

.works-section {
  background: #211d1a;
  color: var(--white);
}

.work-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  width: 100%;
}

.work-heading > p {
  width: min(420px, 100%);
  margin: 0;
  color: rgba(255, 250, 242, 0.66);
}

.filter-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 18px;
  scrollbar-width: thin;
}

.filter-row button {
  flex: 0 0 auto;
  padding: 10px 16px;
  color: rgba(255, 250, 242, 0.7);
  background: transparent;
  border: 1px solid rgba(255, 250, 242, 0.18);
  border-radius: 4px;
  font: inherit;
  cursor: pointer;
}

.filter-row button[aria-selected="true"] {
  color: var(--white);
  border-color: var(--gold);
  background: rgba(168, 121, 55, 0.12);
}

.work-groups {
  display: grid;
  gap: clamp(42px, 6vw, 72px);
}

.work-group-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 250, 242, 0.16);
}

.work-group-header p {
  margin: 0 0 6px;
  color: var(--gold);
  font-family: var(--display);
  font-size: 13px;
}

.work-group-header h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  line-height: 1;
}

.work-toggle {
  flex: 0 0 auto;
  padding: 10px 14px;
  color: rgba(255, 250, 242, 0.82);
  background: rgba(255, 250, 242, 0.06);
  border: 1px solid rgba(255, 250, 242, 0.24);
  border-radius: 4px;
  font: inherit;
  cursor: pointer;
}

.work-toggle:hover {
  color: var(--white);
  border-color: var(--gold);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.work-card {
  overflow: hidden;
  color: var(--white);
  background: rgba(255, 250, 242, 0.045);
  border: 1px solid rgba(255, 250, 242, 0.1);
  border-radius: 8px;
}

.work-button {
  display: block;
  width: 100%;
  padding: 0;
  color: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.work-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: rgba(255, 250, 242, 0.08);
}

.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.work-card:hover img {
  transform: scale(1.035);
}

.work-info {
  min-height: 156px;
  padding: 16px;
}

.work-category {
  color: var(--gold);
  font-family: var(--display);
  font-size: 12px;
}

.work-info h3 {
  margin: 8px 0;
  font-size: 17px;
  line-height: 1.42;
}

.work-info p {
  margin: 0;
  color: rgba(255, 250, 242, 0.64);
  font-size: 14px;
}

.about-section {
  background: var(--paper-deep);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.7fr);
  gap: clamp(38px, 7vw, 86px);
}

.discipline-list {
  border-top: 1px solid var(--line);
}

.discipline-list div {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.discipline-list span {
  color: var(--red);
  font-family: var(--display);
}

.discipline-list strong {
  display: block;
  margin-top: 8px;
  font-size: 20px;
}

.discipline-list p {
  margin: 8px 0 0;
  color: var(--muted);
}

.activity-section {
  background: #f9f6ef;
}

.activity-section .work-heading > p {
  color: var(--muted);
}

.activity-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 300px);
  gap: 16px;
  overflow-x: auto;
  padding: 8px 0 18px;
  scrollbar-width: thin;
}

.activity-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.activity-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.activity-card p {
  margin: 0;
  padding: 14px;
  color: var(--muted);
  font-size: 14px;
}

.contact-section {
  background: #171412;
  color: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
}

.contact-layout p {
  color: rgba(255, 250, 242, 0.7);
}

.contact-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.qr-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: rgba(255, 250, 242, 0.96);
  border: 1px solid rgba(255, 250, 242, 0.38);
  border-radius: 8px;
  color: rgba(255, 250, 242, 0.76);
  text-align: center;
}

.qr-placeholder img {
  width: 100%;
  height: 100%;
  padding: 10px;
  object-fit: contain;
}

.qr-placeholder span,
.qr-placeholder small {
  display: block;
}

.contact-links {
  display: grid;
  grid-column: 1 / -1;
  gap: 12px;
}

.contact-link {
  display: flex;
  align-items: center;
  min-height: 80px;
  padding: 0 18px;
  text-decoration: none;
  border: 1px solid rgba(255, 250, 242, 0.18);
  border-radius: 6px;
}

.contact-link.disabled {
  color: rgba(255, 250, 242, 0.5);
  pointer-events: none;
}

.image-viewer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 72px clamp(18px, 5vw, 70px) 36px;
  background: rgba(14, 12, 10, 0.93);
}

.image-viewer[hidden] {
  display: none;
}

.viewer-figure {
  display: grid;
  gap: 18px;
  width: min(1120px, 100%);
  margin: 0;
}

.viewer-figure img {
  max-height: 78svh;
  width: 100%;
  object-fit: contain;
}

.viewer-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 250, 242, 0.82);
}

.viewer-figure span {
  color: rgba(255, 250, 242, 0.58);
}

.viewer-close,
.viewer-nav {
  position: fixed;
  color: var(--white);
  background: rgba(255, 250, 242, 0.08);
  border: 1px solid rgba(255, 250, 242, 0.22);
  border-radius: 6px;
  cursor: pointer;
}

.viewer-close {
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 30px;
  line-height: 1;
}

.viewer-nav {
  top: 50%;
  width: 48px;
  height: 64px;
  font-size: 46px;
  transform: translateY(-50%);
}

.viewer-prev {
  left: 18px;
}

.viewer-next {
  right: 18px;
}

@media (max-width: 1100px) {
  .works-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .award-list,
  .credential-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .specialty-grid {
    grid-template-columns: 1fr;
  }

  .professional-body {
    grid-template-columns: 1fr;
  }

  .professional-media-grid {
    grid-auto-rows: minmax(138px, 20vw);
  }

  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 62px;
    padding: 0 18px;
  }

  .site-nav {
    gap: 13px;
    font-size: 12px;
    max-width: calc(100vw - 98px);
  }

  .hero {
    min-height: 86svh;
    grid-template-columns: 1fr;
    padding: 98px 20px 60px;
  }

  .hero-art-main {
    width: 100%;
    opacity: 0.62;
  }

  .hero-art-top,
  .hero-art-bottom {
    display: none;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(14, 12, 10, 0.94), rgba(14, 12, 10, 0.62));
  }

  .hero-portrait-frame {
    justify-self: start;
    width: min(320px, 100%);
  }

  .hero-portrait {
    aspect-ratio: 4 / 3;
  }

  .hero-lede {
    font-size: 17px;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .hero-credentials {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 24px;
  }

  .hero-credentials span {
    padding: 7px 10px;
    font-size: 12px;
  }

  .section-inner,
  .section-inner.wide {
    width: min(100% - 28px, 680px);
  }

  .section-heading h2,
  .about-copy h2,
  .contact-layout h2 {
    font-size: clamp(38px, 13vw, 58px);
  }

  .metric-grid,
  .award-list,
  .about-layout,
  .contact-layout,
  .professional-layout,
  .credential-grid,
  .highlight-item {
    grid-template-columns: 1fr;
  }

  .specialty-grid {
    grid-template-columns: 1fr;
  }

  .professional-copy > p,
  .highlight-item p {
    font-size: 18px;
  }

  .professional-body {
    grid-template-columns: 1fr;
  }

  .professional-media-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
  }

  .credential-card,
  .specialty-card {
    min-height: auto;
    padding: 18px;
  }

  .highlight-item {
    gap: 8px;
  }

  .award-item {
    min-height: auto;
    padding-left: 46px;
  }

  .metric {
    min-height: 110px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .work-heading {
    display: block;
  }

  .work-heading > p {
    margin-top: 12px;
  }

  .work-group-header {
    display: grid;
    align-items: start;
  }

  .works-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .work-info {
    min-height: 176px;
    padding: 12px;
  }

  .work-info h3 {
    font-size: 15px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .qr-placeholder {
    width: min(260px, 100%);
  }

  .viewer-nav {
    top: auto;
    bottom: 20px;
    width: 48px;
    height: 48px;
    font-size: 38px;
    transform: none;
  }

  .viewer-prev {
    left: 20px;
  }

  .viewer-next {
    right: 20px;
  }

  .viewer-figure figcaption {
    display: block;
  }
}

@media (max-width: 480px) {
  .brand-mark {
    font-size: 18px;
  }

  .site-nav {
    gap: 10px;
  }

  .site-nav a {
    font-size: 11px;
  }

  .hero h1 {
    font-size: clamp(58px, 18vw, 82px);
  }

  .professional-media-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 136px;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }
}
