:root {
  --bg: #fdfcf9;
  --chrome-bg: #fdfcf9;
  --surface: #ffffff;
  --text: #151515;
  --muted: #6f6a62;
  --line: #ded8ce;
  --dark: #111111;
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  cursor: crosshair;
}

a,
button,
[role="button"] {
  cursor: pointer;
}

input,
textarea {
  cursor: text;
}

select,
label {
  cursor: default;
}

.site-marker-canvas {
  position: fixed;
  inset: 0;
  z-index: 2;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 6vw;
  background: rgba(253, 252, 249, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(222, 216, 206, 0.8);
}

.site-search {
  position: relative;
  display: flex;
  align-items: center;
}

.search-toggle {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.search-toggle:hover,
.site-search.is-open .search-toggle {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.42);
}

.search-toggle svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.search-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 20;
  width: min(360px, calc(100vw - 12vw));
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(247, 245, 240, 0.98);
  box-shadow: 0 24px 70px rgba(17, 17, 17, 0.12);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.site-search.is-open .search-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.search-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-input {
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid rgba(111, 106, 98, 0.34);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.2s ease;
}

.search-input:focus {
  border-color: rgba(21, 21, 21, 0.56);
  background: transparent;
}

.search-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.search-suggestions button {
  padding: 7px 10px;
  border: 1px solid rgba(111, 106, 98, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: rgba(111, 106, 98, 0.58);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.search-suggestions button:hover {
  border-color: rgba(21, 21, 21, 0.28);
  background: rgba(255, 255, 255, 0.42);
  color: rgba(21, 21, 21, 0.74);
}

.search-results {
  display: grid;
  gap: 2px;
  margin-top: 12px;
}

.search-result {
  display: grid;
  gap: 3px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(222, 216, 206, 0.72);
  color: var(--text);
  text-decoration: none;
}

.search-result:hover strong {
  color: #000000;
}

.search-result span {
  color: var(--muted);
  font-size: 12px;
}

.search-result strong {
  font-size: 15px;
  font-weight: 600;
}

.search-empty {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.logo {
  color: var(--text);
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.logo span {
  color: var(--muted);
  font-weight: 400;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.nav a.active {
  color: var(--text);
  font-weight: 700;
}

.page-intro {
  min-height: 38vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 54px;
}

.about-page-intro {
  display: block;
}

.about-page-intro .section-heading {
  max-width: 760px;
}

.coming-soon {
  padding: 0 0 110px;
  text-align: left;
  color: var(--muted);
}

.blog-message-section {
  padding-top: 50px;
  margin-top: -96px;
}

.coming-soon p {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.coming-soon span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
}

.section {
  padding: 100px 6vw;
}

.hero {
  min-height: 86vh;
  display: flex;
  align-items: center;
}

.hero-home {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 76px);
  overflow: hidden;
}

.hero-home::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(253, 252, 249, 0.96) 0%, rgba(253, 252, 249, 0.74) 38%, rgba(253, 252, 249, 0.08) 68%),
    linear-gradient(180deg, rgba(253, 252, 249, 0.88) 0%, transparent 38%, rgba(253, 252, 249, 0.22) 100%);
  content: "";
  pointer-events: none;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: -2;
  margin: 0;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  opacity: 0.86;
  filter: contrast(0.98) saturate(0.72);
  mix-blend-mode: multiply;
  transform: translateX(15%) scale(1.3);
  transform-origin: center bottom;
}

.hero-home .hero-content {
  position: relative;
  z-index: 1;
  max-width: min(820px, 68vw);
}

.hero-home h1 {
  text-wrap: balance;
}

.hero-content {
  max-width: 860px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 700;
}

.eyebrow a {
  color: inherit;
  text-decoration: none;
}

.eyebrow a:hover {
  color: var(--text);
}

.breadcrumb {
  text-transform: none;
  letter-spacing: 0.04em;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

h2 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1;
  letter-spacing: -0.06em;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.hero-text,
.wide-text {
  max-width: 740px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.button.primary {
  background: var(--dark);
  color: white;
}

.button.secondary {
  color: var(--dark);
  background: transparent;
}

.section-heading {
  margin-bottom: 42px;
}

.resume-page-heading {
  display: flex;
  width: 100%;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.resume-page-heading h1 {
  margin-bottom: 0;
}

.resume-page-heading .resume-download {
  flex: 0 0 auto;
  min-height: 46px;
  margin-bottom: 12px;
  gap: 10px;
  padding: 0 20px;
  border-color: rgba(17, 17, 17, 0.92);
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.12);
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.resume-page-heading .resume-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(17, 17, 17, 0.16);
}

.resume-page-heading .resume-download svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.intro-section,
.contact-section {
  border-top: 1px solid var(--line);
}

.intro-section .section-heading {
  margin-bottom: 150px;
}

.about-layout {
  max-width: 760px;
}

.about-copy {
  max-width: 700px;
}

.about-copy .wide-text {
  max-width: 700px;
  margin-bottom: 18px;
  color: #5f5a52;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.74;
  font-weight: 400;
  letter-spacing: 0;
}

.work-intro-text {
  max-width: 700px;
  margin-bottom: 0;
  color: #5f5a52;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.74;
  font-weight: 400;
  letter-spacing: 0;
}

.about-copy .wide-text strong {
  color: #111111;
  font-weight: 600;
}

.toolkit {
  max-width: 760px;
  margin-top: 48px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.work-areas {
  max-width: 760px;
  margin-top: 64px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.subsection-title {
  margin-bottom: 18px;
  font-size: clamp(21px, 2.4vw, 27px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.tool-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 34px;
}

.tool-list span {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: #3d3934;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.project-link-card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-link-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(17, 17, 17, 0.1);
}

.project-link-card:hover .category-cover-image img {
  transform: scale(1.035);
}

.category-card {
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(17, 17, 17, 0.1);
}

.resume-section {
  border-top: 1px solid var(--line);
  padding-top: 76px;
}

.resume-document {
  max-width: 1040px;
  margin: 0 auto;
}

.resume-summary {
  padding-bottom: 64px;
}

.resume-summary h2 {
  max-width: none;
  margin-bottom: 10px;
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 600;
  letter-spacing: -0.055em;
}

.resume-summary p {
  max-width: 580px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.resume-summary a {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.resume-group {
  padding: 62px 0;
  border-top: 1px solid var(--line);
}

.resume-group-title {
  margin-bottom: 24px;
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.resume-entry {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 48px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.resume-entry:last-child {
  border-bottom: 0;
}

.resume-meta {
  display: grid;
  align-content: start;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.resume-meta strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.resume-meta span {
  letter-spacing: 0.015em;
}

.resume-entry h3,
.resume-skill-grid h3 {
  margin-bottom: 9px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.resume-entry p,
.resume-entry li,
.resume-skill-grid p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.resume-entry p {
  margin-bottom: 8px;
}

.resume-entry ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.resume-entry li {
  position: relative;
  padding-left: 18px;
}

.resume-entry li + li {
  margin-top: 5px;
}

.resume-entry li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--line);
}

.resume-skill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 44px;
}

.resume-skill-grid > div {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.resume-skill-grid p {
  margin-bottom: 0;
}

.resume-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.resume-block {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.resume-block > :last-child {
  margin-bottom: 0;
}

.resume-block p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.project-image {
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  background: linear-gradient(135deg, #e5ded2, #bdb4a5);
  color: rgba(17, 17, 17, 0.38);
  font-size: 82px;
  font-weight: 800;
  letter-spacing: -0.08em;
}

.category-cover-image {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 0;
  background: #1d315d;
}

.category-cover-image img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease;
}

.bakhru-card-cover img {
  transform: scale(1.18);
  object-position: center 12%;
}

.project-link-card:hover .bakhru-card-cover img {
  transform: scale(1.22);
}

.kinetic-facade-card-cover {
  background: #fff;
}

.kinetic-facade-card-cover img {
  object-fit: contain;
  object-position: center;
  background: #fff;
  padding: 12px;
}

.mather-square-card-cover img {
  object-position: center 54%;
}

.courtyard-card-cover img {
  object-position: center 46%;
}

.ghps-card-cover img {
  object-position: center 28%;
}

.category-cover-image span {
  position: absolute;
  left: 22px;
  bottom: 16px;
  color: white;
  font-size: 58px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.architecture-page .category-cover-image span {
  display: none;
}

.project-template-image {
  position: relative;
  display: flex;
  min-height: 260px;
  align-items: flex-end;
  padding: 22px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.08), rgba(17, 17, 17, 0.02)),
    repeating-linear-gradient(45deg, rgba(111, 106, 98, 0.18) 0 1px, transparent 1px 18px),
    #f3efe7;
}

.project-template-image span {
  color: rgba(21, 21, 21, 0.34);
  font-size: 58px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
}

.category-card:hover .category-cover-image img {
  transform: scale(1.035);
}

.project-content {
  padding: 28px;
}

.project-content p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}


.project-content .project-card-credit {
  margin: -6px 0 4px;
  color: #3d3934;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.project-type {
  margin-bottom: 12px;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.project-hero {
  width: 100%;
  min-height: 58vh;
  background: #1d315d;
}

.project-hero img {
  display: block;
  width: 100%;
  height: 58vh;
  min-height: 380px;
  object-fit: cover;
  object-position: center;
}


.villa-complex-project-hero {
  min-height: clamp(360px, 54vh, 620px);
  overflow: hidden;
}

.villa-complex-project-hero img {
  display: block;
  width: 100%;
  height: clamp(360px, 54vh, 620px);
  object-fit: cover;
  object-position: center center;
}
.mather-square-project-hero {
  min-height: clamp(360px, 54vh, 620px);
  overflow: hidden;
}

.mather-square-project-hero img {
  display: block;
  width: 100%;
  height: clamp(360px, 54vh, 620px);
  object-fit: cover;
  object-position: center center;
}
.moma-project-hero {
  min-height: clamp(360px, 54vh, 620px);
  overflow: hidden;
}

.moma-project-hero img {
  display: block;
  width: 100%;
  height: clamp(360px, 54vh, 620px);
  min-height: 0;
  object-fit: cover;
  object-position: center center;
}
.project-template-hero {
  display: grid;
  place-items: center;
  height: 58vh;
  min-height: 380px;
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.08), rgba(17, 17, 17, 0.02)),
    repeating-linear-gradient(45deg, rgba(111, 106, 98, 0.18) 0 1px, transparent 1px 26px),
    #f3efe7;
}

.project-hero-placeholder {
  color: rgba(21, 21, 21, 0.42);
  font-size: clamp(32px, 7vw, 86px);
  font-weight: 700;
  letter-spacing: -0.06em;
}

.project-detail-section {
  padding-top: 84px;
}

.project-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 72px;
  align-items: start;
}

.project-detail-layout h1 {
  max-width: 720px;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.07em;
}


.project-credit {
  margin: -10px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  letter-spacing: 0;
}
.project-facts {
  display: grid;
  gap: 0;
  margin: 0;
}

.project-facts div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.project-facts div:first-child {
  border-top: 1px solid var(--line);
}

.project-facts dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.project-facts dd {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
}

.project-scope {
  max-width: 860px;
  margin-top: 72px;
  margin-left: auto;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.project-scope h2 {
  margin-bottom: 22px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.project-scope p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.project-scope p + p {
  margin-top: 14px;
}

.research-article-section {
  padding-top: 132px;
  padding-bottom: 88px;
}

.research-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 72px;
  align-items: start;
}

.research-article {
  max-width: 820px;
}

.research-article h1 {
  margin-bottom: 64px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.research-lede {
  max-width: 720px;
  margin-bottom: 56px;
  color: var(--text);
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.research-intro {
  max-width: 760px;
  margin: 0 0 58px;
  padding: 24px 28px;
  border-left: 3px solid rgba(21, 21, 21, 0.86);
  background: rgba(255, 255, 255, 0.58);
  color: var(--text);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.62;
}

.research-article h2 {
  margin: 54px 0 24px;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -0.03em;
}

.research-article h2:first-of-type {
  margin-top: 0;
}

.research-article p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.research-article p + p {
  margin-top: 16px;
}

.design-method-flow {
  position: relative;
  display: grid;
  gap: 16px;
  max-width: 760px;
  margin: 0 0 42px;
  padding-left: 26px;
}

.design-method-flow::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 7px;
  width: 1px;
  background: linear-gradient(180deg, rgba(21, 21, 21, 0.18), rgba(21, 21, 21, 0.42), rgba(21, 21, 21, 0.18));
}

.method-flow-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 230px) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(58, 88, 97, 0.05), rgba(176, 146, 97, 0.04)),
    rgba(255, 255, 255, 0.64);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.method-flow-row:hover {
  border-color: rgba(21, 21, 21, 0.28);
  transform: translateY(-2px);
}

.method-flow-row::before {
  content: "";
  position: absolute;
  top: 24px;
  left: -24px;
  width: 13px;
  height: 13px;
  border: 2px solid var(--bg);
  border-radius: 50%;
  background: var(--text);
  box-shadow: 0 0 0 1px rgba(21, 21, 21, 0.2);
}

.method-step,
.method-note {
  min-height: 72px;
}

.method-step {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  color: var(--text);
}

.method-step span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(21, 21, 21, 0.2);
  border-radius: 50%;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.method-step strong {
  display: block;
  max-width: 190px;
  font-size: 18px;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.method-note {
  display: flex;
  align-items: center;
  padding: 20px 22px;
  border-left: 1px solid rgba(21, 21, 21, 0.14);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

.method-step-wide {
  width: auto;
}

.research-facts {
  display: grid;
  gap: 0;
  margin-top: 44px;
}

.research-facts div {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.research-facts div:first-child {
  border-top: 1px solid var(--line);
}

.research-facts span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.research-facts strong {
  display: block;
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}

.project-gallery-section {
  padding: 0 0 96px;
  overflow: hidden;
}

.project-gallery-viewport {
  width: 100%;
  overflow: hidden;
}

.project-gallery-track {
  display: flex;
  width: max-content;
  gap: 22px;
  padding: 0 6vw;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.project-gallery-card {
  position: relative;
  flex: 0 0 clamp(280px, 38vw, 520px);
  height: clamp(220px, 34vw, 420px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  cursor: zoom-in;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.project-gallery-card:hover,
.project-gallery-card:focus-visible {
  border-color: rgba(17, 17, 17, 0.38);
  outline: 0;
  transform: translateY(-3px);
}

.project-gallery-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-image-source {
  display: none;
}

.project-lightbox-source {
  position: absolute;
  right: 12px;
  bottom: 10px;
  padding: 3px 6px;
  background: rgba(17, 17, 17, 0.58);
  color: rgba(255, 255, 255, 0.92);
  font-size: 9px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}

.project-lightbox-image img {
  display: block;
  width: auto;
  max-width: 92vw;
  max-height: 82vh;
  object-fit: contain;
  cursor: zoom-in;
}

.project-lightbox-image.is-zoomed {
  display: block;
  overflow: auto;
  padding: 24px;
}

.project-lightbox-image.is-zoomed img {
  width: 220%;
  max-width: none;
  max-height: none;
  height: auto;
  cursor: zoom-out;
}
.project-gallery-placeholder {
  display: grid;
  min-height: clamp(220px, 34vw, 420px);
  place-items: center;
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.08), rgba(17, 17, 17, 0.02)),
    repeating-linear-gradient(45deg, rgba(111, 106, 98, 0.18) 0 1px, transparent 1px 18px),
    #f3efe7;
  color: rgba(21, 21, 21, 0.42);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 6vw;
  background: rgba(17, 17, 17, 0.82);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.project-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.project-lightbox-frame {
  position: relative;
  width: fit-content;
  max-width: 92vw;
  max-height: 86vh;
  overflow: auto;
  border-radius: 8px;
  background: transparent;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.32);
}

.project-lightbox-image {
  display: grid;
  width: fit-content;
  max-width: 92vw;
  min-height: 0;
  place-items: center;
  background: transparent;
  color: rgba(21, 21, 21, 0.42);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-lightbox-nav {
  position: fixed;
  top: 50%;
  z-index: 51;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.5);
  color: #fff;
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.project-lightbox-nav:hover,
.project-lightbox-nav:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  outline: 0;
  transform: translateY(-50%) scale(1.05);
}

.project-lightbox-nav-prev {
  left: 24px;
}

.project-lightbox-nav-next {
  right: 24px;
}
.project-lightbox-close {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 51;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.48);
  color: #ffffff;
  font: inherit;
  font-size: 13px;
}

.project-lightbox-close:hover,
.project-lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  outline: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.small-text {
  font-size: 15px;
}

.contact-email {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--text);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.contact-email:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.social-links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 46px;
  height: 46px;
  min-height: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  background: var(--surface);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
  border-color: var(--dark);
  color: white;
  background: var(--dark);
  transform: translateY(-2px);
}

.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  font-weight: 800;
  line-height: 1;
}

.linkedin-icon { font-size: 19px; }
.behance-icon { font-size: 16px; }
.github-icon { font-size: 11px; letter-spacing: -0.04em; }

.social-brand-svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.github-svg {
  width: 22px;
  height: 22px;
}

.behance-svg {
  width: 25px;
  height: 22px;
}

.instagram-icon {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.instagram-icon .instagram-dot {
  fill: currentColor;
  stroke: none;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  padding: 15px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  outline: none;
  font: inherit;
  background: #fbfaf7;
}

input::placeholder,
textarea::placeholder {
  color: #9a948a;
  font-weight: 300;
  opacity: 1;
}

input:focus,
textarea:focus {
  border-color: var(--dark);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 34px 6vw;
  background: #111111;
  border-top: 1px solid #111111;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer p {
  margin-bottom: 0;
}

.footer-social {
  display: flex;
  gap: 9px;
}

.footer-social a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.78);
  transform: translateY(-2px);
}

.footer-social .social-brand-svg,
.footer-social .instagram-icon {
  width: 16px;
  height: 16px;
}

.footer-social .behance-svg {
  width: 18px;
}

@media (max-width: 900px) {
  .project-grid,
  .contact-layout,
  .about-layout,
  .project-detail-layout,
  .resume-grid {
    grid-template-columns: 1fr;
  }

  .about-page-intro {
    grid-template-columns: 1fr;
  }

  .about-page-intro .section-heading {
    grid-column: 1;
  }

  .resume-page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .resume-page-heading .resume-download {
    width: 100%;
    margin-bottom: 0;
  }

  .resume-entry {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .resume-skill-grid {
    grid-template-columns: 1fr;
  }

  .toolkit,
  .work-areas {
    margin-left: 0;
  }

  .tool-list {
    grid-template-columns: 1fr;
  }

  .nav {
    gap: 14px;
  }

  .section {
    padding: 80px 5vw;
  }

  .project-hero,
  .project-hero img {
    min-height: 340px;
    height: 52vh;
  }

  .project-detail-layout {
    gap: 34px;
  }

  .research-article-section {
    padding-top: 108px;
  }

  .research-article-layout {
    grid-template-columns: 1fr;
  }

  .design-method-flow {
    padding-left: 22px;
  }

  .method-flow-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .method-flow-row::before {
    left: -21px;
  }

  .method-note {
    min-height: 0;
    padding: 14px 0 2px;
    border-top: 1px solid rgba(21, 21, 21, 0.1);
    border-left: 0;
  }

  .method-step {
    min-height: 0;
    padding-bottom: 14px;
  }

  .research-facts {
    margin-top: 0;
  }

}

@media (max-width: 560px) {
  .site-header {
    align-items: stretch;
    gap: 16px;
    flex-direction: column;
    padding: 18px 5vw;
  }

  .nav {
    width: 100%;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
  }

  .nav a {
    font-size: 13px;
  }

  .site-search {
    margin-left: auto;
  }

  .search-toggle {
    width: 32px;
    height: 32px;
  }

  .search-panel {
    position: fixed;
    top: 116px;
    right: 5vw;
    left: 5vw;
    width: auto;
    max-height: calc(100vh - 136px);
    overflow-y: auto;
  }

  .search-suggestions {
    gap: 7px;
  }

  .search-suggestions button {
    padding: 7px 9px;
    font-size: 11px;
  }

  .project-facts div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .research-article h1 {
    font-size: clamp(40px, 14vw, 58px);
  }

  .research-lede {
    margin-bottom: 42px;
  }

  .hero {
    min-height: 72vh;
  }

  .hero-home {
    min-height: calc(100vh - 134px);
    align-items: flex-start;
    padding-top: 72px;
    padding-bottom: 250px;
  }

  .hero-home::after {
    background:
      linear-gradient(180deg, rgba(253, 252, 249, 0.98) 0%, rgba(253, 252, 249, 0.82) 48%, rgba(253, 252, 249, 0.12) 78%),
      linear-gradient(90deg, rgba(253, 252, 249, 0.68), transparent 80%);
  }

  .hero-home .hero-content {
    max-width: 100%;
  }

  .hero-home h1 {
    font-size: clamp(43px, 13vw, 64px);
  }

  .hero-visual img {
    object-position: 38% bottom;
    opacity: 0.76;
    transform: translateX(17%) scale(1.22);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media print {
  .site-header,
  .page-intro,
  .site-footer,
  .resume-download {
    display: none;
  }

  body {
    background: #ffffff;
    color: #111111;
  }

  .section,
  .resume-section {
    padding: 0;
    border-top: 0;
  }

  .resume-document {
    max-width: none;
  }
}

@media (max-width: 700px) {
  .project-gallery-viewport {
    margin-inline: calc(var(--side-pad) * -1);
    padding-inline: var(--side-pad);
  }

  .project-gallery-track {
    gap: 14px;
  }

  .project-gallery-card {
    flex-basis: min(86vw, 420px);
    height: min(58vw, 320px);
  }

  .project-lightbox {
    padding: 64px 12px 20px;
  }

  .project-lightbox-frame,
  .project-lightbox-image {
    max-width: 94vw;
  }

  .project-lightbox-image img {
    max-width: 94vw;
    max-height: 76vh;
  }

  .project-lightbox-image.is-zoomed {
    padding: 12px;
  }

  .project-lightbox-image.is-zoomed img {
    width: 170%;
  }

  .project-lightbox-nav {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }

  .project-lightbox-nav-prev {
    left: 10px;
  }

  .project-lightbox-nav-next {
    right: 10px;
  }

  .project-lightbox-close {
    top: 14px;
    right: 12px;
  }
}
