:root {
  --paper: #f7f3dc;
  --ink: #102b29;
  --night: #08201f;
  --muted: #6d746c;
  --line: rgba(16, 43, 41, 0.16);
  --coral: #ef5c34;
  --sun: #ffd65a;
  --mint: #8fd8c5;
  --white: #fffef8;
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Noto Sans SC", sans-serif;
  line-height: 1.65;
}

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

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  color: var(--paper);
  background: rgba(8, 32, 31, 0.96);
  border-bottom: 1px solid rgba(247, 243, 220, 0.12);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.back {
  color: var(--sun);
  font-size: 13px;
  font-weight: 900;
}

.hero {
  padding: 72px 0 82px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 76px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: #08745f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(58px, 8vw, 108px);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

h1 span {
  display: block;
  margin-top: 16px;
  color: var(--coral);
  font-size: 0.44em;
  letter-spacing: -0.03em;
}

.lead {
  max-width: 700px;
  margin-bottom: 28px;
  color: #4f5952;
  font-size: clamp(18px, 2.1vw, 23px);
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-list span {
  padding: 9px 13px;
  border: 1px solid rgba(239, 92, 52, 0.22);
  border-radius: 999px;
  background: #fff7f4;
  color: #6c493e;
  font-size: 13px;
  font-weight: 800;
}

.portrait {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(239, 92, 52, 0.24);
  border-radius: 30px;
  background: #e9dfd6;
  box-shadow: 0 28px 70px rgba(8, 32, 31, 0.15);
}

.portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.portrait figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 9px 12px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(8, 32, 31, 0.76);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  backdrop-filter: blur(8px);
}

.section {
  padding: 82px 0;
  border-top: 1px solid var(--line);
}

.section.dark {
  color: var(--paper);
  background: var(--night);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.58fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 34px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.section-head > p {
  margin-bottom: 4px;
  color: var(--muted);
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.experience-card {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.experience-card b {
  display: block;
  margin-bottom: 38px;
  color: var(--coral);
  font: 900 12px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.1em;
}

.experience-card h3 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.2;
}

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

.services {
  background: #fffaf0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 390px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.service-card > span {
  display: block;
  margin-bottom: 22px;
  color: var(--coral);
  font: 900 11px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.09em;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 28px;
  line-height: 1.2;
}

.service-card p {
  color: var(--muted);
  font-size: 14px;
}

.service-card ul {
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  padding: 8px 0;
  border-top: 1px solid var(--line);
  color: #41524c;
  font-size: 13px;
}

.service-card li::before {
  content: "•";
  margin-right: 9px;
  color: var(--coral);
}

.service-card > b {
  display: block;
  color: #08745f;
  font-size: 12px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.work-card {
  display: block;
  min-height: 0;
  color: var(--paper);
  border: 1px solid rgba(247, 243, 220, 0.14);
  border-radius: var(--radius);
  background: #112c2a;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease;
}

.work-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 214, 90, 0.58);
}

.work-card img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.work-card.portrait-work img {
  object-position: center 28%;
}

.work-copy {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 20px;
}

.work-copy span {
  margin-bottom: 12px;
  color: var(--mint);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.work-copy h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.3;
}

.work-copy p {
  margin-bottom: 18px;
  color: rgba(247, 243, 220, 0.68);
  font-size: 13px;
}

.case-facts {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
  margin-bottom: 24px;
}

.case-fact {
  padding-top: 11px;
  border-top: 1px solid rgba(247, 243, 220, 0.14);
}

.case-fact b {
  display: block;
  margin: 0 0 4px;
  color: var(--mint);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.case-fact span {
  display: block;
  color: rgba(247, 243, 220, 0.78);
  font-size: 12px;
  line-height: 1.55;
}

.work-copy b {
  margin-top: auto;
  color: var(--sun);
  font-size: 13px;
}

.source-note {
  margin: 24px 0 0;
  color: rgba(247, 243, 220, 0.5);
  font-size: 12px;
}

.source-note a {
  color: var(--sun);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.project-index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.project-index-card {
  overflow: hidden;
  border: 1px solid rgba(247, 243, 220, 0.14);
  border-radius: 20px;
  background: #112c2a;
  transition: transform 220ms ease, border-color 220ms ease;
}

.project-index-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 214, 90, 0.58);
}

.project-index-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.project-index-card > div {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 20px;
}

.project-index-card span {
  margin-bottom: 12px;
  color: var(--mint);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.project-index-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.3;
}

.project-index-card p {
  margin-bottom: 18px;
  color: rgba(247, 243, 220, 0.64);
  font-size: 12px;
}

.project-index-card b {
  margin-top: auto;
  color: var(--sun);
  font-size: 12px;
}

.clients {
  background: #fffaf0;
}

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

.client-card {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 142px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}

.client-card img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border: 1px solid rgba(16, 43, 41, 0.08);
  border-radius: 16px;
  background: #fff;
}

.client-card span {
  display: block;
  margin-bottom: 5px;
  color: #08745f;
  font-size: 10px;
  font-weight: 900;
}

.client-card h3 {
  margin-bottom: 4px;
  font-size: 16px;
  line-height: 1.25;
}

.client-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.client-source {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.community-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 38px;
  color: var(--paper);
  border-radius: 30px;
  background: var(--night);
  box-shadow: 0 24px 60px rgba(8, 32, 31, 0.14);
}

.community-panel .eyebrow {
  color: var(--mint);
}

.community-panel h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4.5vw, 56px);
}

.community-panel p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(247, 243, 220, 0.72);
}

.community-panel strong {
  color: var(--sun);
}

.community-panel .button {
  flex: 0 0 auto;
}

.closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--sun);
  color: var(--night);
  font-size: 13px;
  font-weight: 900;
}

.button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

footer {
  padding: 28px 0;
  color: rgba(247, 243, 220, 0.58);
  background: var(--night);
  border-top: 1px solid rgba(247, 243, 220, 0.1);
  font-size: 12px;
}

@media (max-width: 940px) {
  .hero-grid,
  .section-head {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .portrait {
    max-width: 480px;
  }

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

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

  .project-index-grid,
  .client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .community-panel {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .hero,
  .section {
    padding: 58px 0;
  }

  h1 {
    font-size: 56px;
  }

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

  .service-card {
    min-height: 0;
    padding: 24px;
  }

  .project-index-grid,
  .client-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-card img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .case-facts {
    grid-template-columns: 1fr;
  }

  .community-panel {
    padding: 28px;
  }

  .closing {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .work-card {
    transition: none;
  }
}

/* Refined production portfolio direction */
:root {
  --paper: #f0f1ed;
  --ink: #18201e;
  --night: #0d1211;
  --muted: #626a66;
  --line: rgba(24, 32, 30, 0.16);
  --coral: #c96b4d;
  --sun: #d9c58e;
  --mint: #aebbb4;
  --white: #fafaf7;
  --radius: 0;
}

body {
  background: var(--paper);
}

.container {
  width: min(1240px, calc(100% - 72px));
}

.topbar {
  background: rgba(13, 18, 17, 0.96);
  border-bottom-color: rgba(217, 197, 142, 0.2);
}

.nav {
  min-height: 64px;
}

.brand img {
  border-radius: 6px;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.back::before {
  content: "←";
  color: var(--sun);
  font-size: 16px;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  padding: 68px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 84% 18%, rgba(217, 197, 142, 0.08), transparent 34%),
    var(--night);
  overflow: hidden;
}

.hero::before {
  content: "AMC / PARTNER PROFILE / 2026";
  position: absolute;
  left: 18px;
  top: 50%;
  color: rgba(246, 247, 242, 0.42);
  font: 700 10px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.18em;
  transform: rotate(-90deg) translateX(-50%);
  transform-origin: left top;
}

.hero::after {
  content: "SINGAPORE / PRODUCER / DIRECTOR";
  position: absolute;
  right: 24px;
  bottom: 20px;
  color: rgba(217, 197, 142, 0.72);
  font: 800 10px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.12em;
}

.hero-grid {
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  gap: clamp(52px, 6vw, 88px);
}

.hero .eyebrow {
  color: var(--sun);
}

.eyebrow {
  margin-bottom: 18px;
  color: #34635b;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
}

h1,
h2,
h3 {
  font-family: "Avenir Next Condensed", "Arial Narrow", "Noto Sans SC", sans-serif;
}

h1 {
  position: relative;
  z-index: 2;
  margin-right: -88px;
  margin-bottom: 34px;
  font-size: clamp(72px, 8.8vw, 126px);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.062em;
  text-transform: uppercase;
}

h1 span {
  margin-top: 24px;
  color: var(--coral);
  font-size: 0.32em;
  letter-spacing: 0.04em;
}

.lead {
  max-width: 610px;
  margin-bottom: 34px;
  color: rgba(250, 250, 247, 0.72);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.75;
}

.skill-list {
  gap: 0;
  border-top: 1px solid rgba(246, 247, 242, 0.24);
  border-bottom: 1px solid rgba(246, 247, 242, 0.24);
}

.skill-list span {
  position: relative;
  padding: 12px 16px 12px 0;
  color: rgba(246, 247, 242, 0.72);
  border: 0;
  border-radius: 0;
  background: transparent;
  font: 700 10px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
}

.skill-list span + span {
  padding-left: 16px;
  border-left: 1px solid rgba(246, 247, 242, 0.24);
}

.portrait {
  position: relative;
  padding: 12px;
  border: 1px solid rgba(217, 197, 142, 0.22);
  border-radius: 0;
  background: #161d1b;
  box-shadow: none;
}

.portrait::before,
.portrait::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.portrait::before {
  inset: 24px;
  border: 1px solid rgba(250, 250, 247, 0.46);
}

.portrait::after {
  width: 72px;
  height: 3px;
  left: -18px;
  bottom: 40px;
  background: var(--coral);
}

.portrait img {
  aspect-ratio: 5 / 6;
  max-height: 660px;
  filter: saturate(0.82) contrast(1.04);
}

.portrait figcaption {
  right: 30px;
  bottom: 30px;
  padding: 0;
  color: var(--white);
  border: 0;
  border-radius: 0;
  background: transparent;
  font: 800 10px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.18em;
  backdrop-filter: none;
}

.section {
  position: relative;
  counter-increment: partner-section;
  padding: 88px 0;
  border-top: 1px solid var(--line);
}

main {
  counter-reset: partner-section;
}

.section-head {
  position: relative;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.48fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 46px;
  padding-top: 28px;
  border-top: 1px solid var(--ink);
}

.section-head::before {
  display: none;
}

.dark .section-head {
  border-top-color: rgba(250, 250, 247, 0.48);
}

.dark .section-head::before {
  background: var(--night);
}

h2 {
  font-size: clamp(44px, 5.5vw, 70px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.045em;
}

.section-head > p {
  margin-bottom: 2px;
  padding-left: 18px;
  border-left: 2px solid var(--coral);
  line-height: 1.8;
}

.experience-grid {
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.experience-card {
  min-height: 240px;
  padding: 30px 28px 34px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.experience-card + .experience-card {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.experience-card b {
  margin-bottom: 58px;
  color: var(--coral);
}

.experience-card h3 {
  font-size: 27px;
}

.experience-card p {
  max-width: 320px;
  font-size: 14px;
}

.services {
  background: var(--white);
}

.services .section-head::before {
  background: var(--white);
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.service-card {
  min-height: 448px;
  padding: 28px 24px 30px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.service-card + .service-card {
  border-left: 1px solid var(--line);
}

.service-card > span {
  min-height: 34px;
  margin-bottom: 42px;
}

.service-card h3 {
  font-size: 29px;
}

.service-card li {
  padding: 9px 0;
}

.section.dark {
  background: var(--night);
}

.dark .section-head > p {
  color: rgba(246, 247, 242, 0.6);
}

.work-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 50px 28px;
  margin-bottom: 72px;
}

.work-card {
  grid-column: auto;
  position: relative;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.work-card:nth-child(1),
.work-card:nth-child(4) {
  grid-column: auto;
}

.work-card:nth-child(2),
.work-card:nth-child(3) {
  grid-column: auto;
}

.work-card:hover {
  transform: none;
}

.work-card img {
  aspect-ratio: 16 / 9;
  filter: saturate(0.82) contrast(1.04);
  transition: filter 220ms ease, transform 220ms ease;
}

.work-card:hover img {
  filter: saturate(1) contrast(1.02);
  transform: translateY(-5px);
}

.work-copy {
  min-height: 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(246, 247, 242, 0.18);
}

.work-copy span {
  margin-bottom: 7px;
  color: var(--coral);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.work-copy h3 {
  font-size: clamp(22px, 2.1vw, 30px);
}

.work-copy p {
  max-width: 560px;
  color: rgba(246, 247, 242, 0.62);
}

.work-copy b {
  color: var(--sun);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.06em;
}

.project-index-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1px;
  background: rgba(250, 250, 247, 0.16);
  border: 1px solid rgba(250, 250, 247, 0.16);
}

.project-index-card {
  grid-column: span 3;
  padding: 16px;
  border: 0;
  border-right: 0;
  border-bottom: 0;
  border-radius: 0;
  background: var(--night);
}

.project-index-card:nth-child(n + 9) {
  grid-column: span 4;
}

.project-index-card:nth-child(3n) {
  border-right: 0;
}

.project-index-card:hover {
  transform: none;
  border-color: rgba(246, 247, 242, 0.18);
  background: rgba(246, 247, 242, 0.04);
}

.project-index-card img {
  aspect-ratio: 16 / 9;
  filter: saturate(0.76) contrast(1.03);
  transition: filter 220ms ease;
}

.project-index-card:hover img {
  filter: saturate(1);
}

.project-index-card > div {
  min-height: 172px;
  padding: 16px 0 0;
}

.project-index-card span {
  color: var(--sun);
}

.project-index-card b {
  color: rgba(250, 250, 247, 0.8);
}

.source-note {
  padding-top: 20px;
  border-top: 1px solid rgba(246, 247, 242, 0.18);
}

.clients {
  background: #e7e9e4;
}

.clients .section-head::before {
  background: #e7e9e4;
}

.client-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: rgba(16, 22, 20, 0.22);
  border: 1px solid rgba(16, 22, 20, 0.22);
}

.client-card {
  display: block;
  min-height: 232px;
  padding: 18px;
  border: 0;
  border-radius: 0;
  background: #f7f7f3;
}

.client-card img {
  width: 100%;
  height: 100px;
  margin-bottom: 20px;
  padding: 14px;
  border: 0;
  border-radius: 0;
  filter: grayscale(1);
  transition: filter 200ms ease;
}

.client-card:hover img {
  filter: grayscale(0);
}

.client-card span {
  color: #4b5b55;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: 0.06em;
}

.client-card h3 {
  font-size: 17px;
}

.community-panel {
  position: relative;
  padding: 54px;
  border-radius: 0;
  background: #d2b779;
  box-shadow: none;
  overflow: hidden;
}

.community-panel::after {
  content: "AMC × PARTNERS";
  position: absolute;
  right: -26px;
  bottom: -30px;
  color: rgba(13, 18, 17, 0.1);
  font: 900 clamp(44px, 7vw, 92px)/1 "Avenir Next Condensed", "Arial Narrow", sans-serif;
  letter-spacing: -0.05em;
}

.community-panel .eyebrow,
.community-panel strong {
  color: var(--night);
}

.community-panel p:not(.eyebrow) {
  color: rgba(11, 17, 16, 0.72);
}

.community-panel .button {
  position: relative;
  z-index: 1;
  color: var(--white);
  background: var(--night);
}

.button {
  border-radius: 0;
  text-transform: none;
}

footer {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
}

@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(380px, 1fr);
    gap: 38px;
  }

  h1 {
    margin-right: -110px;
  }

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

  .service-card:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .service-card:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .client-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-index-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-index-card,
  .project-index-card:nth-child(n + 9) {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, 1240px);
  }

  .brand {
    gap: 8px;
    font-size: 11px;
    letter-spacing: 0.03em;
    white-space: nowrap;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .back {
    gap: 6px;
    font-size: 0;
    letter-spacing: 0.04em;
  }

  .back::before {
    font-size: 16px;
  }

  .hero {
    min-height: auto;
    padding: 46px 0 56px;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero-grid,
  .section-head {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 38px;
  }

  h1 {
    margin-right: 0;
    font-size: clamp(60px, 20vw, 84px);
  }

  .portrait {
    max-width: none;
  }

  .portrait img {
    max-height: none;
  }

  .skill-list span,
  .skill-list span + span {
    width: 50%;
    padding: 11px 10px 11px 0;
    border-left: 0;
    border-bottom: 1px solid rgba(246, 247, 242, 0.14);
  }

  .section {
    padding: 76px 0;
  }

  .section-head {
    gap: 28px;
    padding-top: 58px;
  }

  .section-head::before {
    left: 0;
    right: auto;
    padding: 7px 16px 0 0;
  }

  h2 {
    font-size: clamp(38px, 11vw, 50px);
  }

  .experience-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .client-grid,
  .project-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .experience-card,
  .experience-card + .experience-card {
    min-height: 0;
    padding: 28px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .experience-card:first-child {
    border-top: 0;
  }

  .experience-card b {
    margin-bottom: 42px;
  }

  .service-card,
  .service-card + .service-card,
  .service-card:nth-child(3),
  .service-card:nth-child(4) {
    min-height: 0;
    padding: 28px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .service-card:first-child {
    border-top: 0;
  }

  .service-card > span {
    min-height: 0;
    margin-bottom: 34px;
  }

  .work-grid {
    display: block;
  }

  .work-card {
    margin-bottom: 44px;
  }

  .project-index-card,
  .project-index-card:nth-child(3n) {
    padding: 12px;
    border-right: 0;
  }

  .project-index-card > div {
    min-height: 206px;
  }

  .client-card {
    min-height: 220px;
    padding: 12px;
  }

  .community-panel {
    padding: 34px 26px;
  }

  .community-panel::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .work-card img,
  .project-index-card img,
  .client-card img {
    transition: none;
  }
}

/* Xu Fugui: contact-sheet treatment for public WeChat work links */
.partner-xu-fugui-page .hero::after {
  content: "SINGAPORE / COMMERCIAL PHOTOGRAPHER";
}

.partner-xu-fugui-page .portrait img {
  object-position: 58% center;
}

.partner-xu-fugui-page .brand-wall {
  margin: 0;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid var(--line);
  background: #fff;
}

.partner-xu-fugui-page .brand-wall img {
  width: 100%;
}

.partner-xu-fugui-page .brand-wall figcaption {
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
}

.partner-xu-fugui-page .service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.partner-xu-fugui-page .service-card {
  min-height: 280px;
}

.public-work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(250, 250, 247, 0.16);
  background: rgba(250, 250, 247, 0.16);
}

.public-work-card {
  position: relative;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  color: var(--white);
  background: var(--night);
  overflow: hidden;
}

.public-work-card::after {
  content: "↗";
  position: absolute;
  top: 22px;
  right: 22px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--sun);
  border: 1px solid rgba(217, 197, 142, 0.5);
  font-size: 14px;
}

.public-work-card .work-number {
  position: relative;
  z-index: 1;
  color: rgba(250, 250, 247, 0.64);
  font: 800 10px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.12em;
}

.public-work-card .work-link-copy {
  position: relative;
  z-index: 1;
  padding-top: 28px;
}

.public-work-card h3 {
  margin-bottom: 6px;
  font-size: 21px;
}

.public-work-card b {
  color: var(--sun);
  font: 800 11px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
}

@media (max-width: 900px) {
  .partner-xu-fugui-page .service-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .public-work-grid {
    grid-template-columns: 1fr;
  }

  .public-work-card {
    min-height: 132px;
  }
}
