:root {
  color-scheme: light;
  --ink: #0d0b0b;
  --body: #292524;
  --muted: #7d7470;
  --paper: #fffaf7;
  --veil: rgba(255, 250, 247, 0.88);
  --card: #f1e9e2;
  --line: #c8a99f;
  --accent: #a96d61;
  --accent-soft: #e7d7cc;
  --shadow: 0 18px 50px rgba(91, 61, 52, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--body);
  background:
    linear-gradient(rgba(255, 250, 247, 0.9), rgba(255, 250, 247, 0.9)),
    url("assets/soft-fabric-bg.png") center top / cover fixed;
  font-family: Avenir, Montserrat, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.45;
  overflow-x: clip;
}

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

h1,
h2,
h3,
.brand strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(460px, 1fr) auto minmax(188px, 0.7fr);
  align-items: center;
  gap: 24px;
  height: 74px;
  padding: 0 34px;
  background: rgba(255, 250, 247, 0.86);
  border-bottom: 1px solid rgba(200, 169, 159, 0.45);
  backdrop-filter: blur(14px);
}

.nav-left,
.socials {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.98rem;
  color: #8b8583;
  white-space: nowrap;
}

.nav-left a {
  position: relative;
  padding-block: 6px;
  transition: color 180ms ease;
}

.nav-left a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-left a:hover,
.nav-left a.is-active {
  color: var(--accent);
}

.nav-left a.is-active::after {
  transform: scaleX(1);
}

.brand {
  display: grid;
  grid-template-columns: 120px auto 120px;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.brand span {
  height: 1px;
  background: rgba(200, 169, 159, 0.48);
}

.brand strong {
  font-size: 1.55rem;
  white-space: nowrap;
}

.socials {
  justify-content: flex-end;
  gap: 10px;
}

.socials a {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 800;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.socials a:hover,
.socials a:focus,
.socials a:focus-visible {
  color: var(--paper);
  background: var(--accent);
  border-color: rgba(169, 109, 97, 0.42);
  box-shadow: 0 12px 26px rgba(169, 109, 97, 0.24);
  transform: translateY(-2px);
}

.socials a:focus-visible {
  outline: 2px solid rgba(169, 109, 97, 0.36);
  outline-offset: 3px;
}

.socials .email-link {
  font-size: 1.12rem;
  line-height: 1;
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(300px, 0.5fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 7vw, 120px);
  padding: 140px 32px 80px;
}

.hero-copy {
  order: 2;
  width: min(830px, 100%);
  justify-self: start;
  margin-left: 0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.1rem, 6vw, 6.6rem);
  line-height: 1.08;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  max-width: 780px;
  margin: 58px 0 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.2vw, 2.25rem);
  line-height: 1.28;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 10vw, 230px);
  margin-top: 68px;
}

.hero-portrait {
  order: 1;
  width: min(430px, 100%);
  aspect-ratio: 1;
  margin: 0;
  justify-self: end;
  border: 2px solid var(--accent);
  border-radius: 50%;
  padding: 8px;
  background: rgba(255, 250, 247, 0.7);
  box-shadow: var(--shadow);
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 32%;
}

.button {
  display: inline-flex;
  min-width: 128px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 28px;
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(91, 61, 52, 0.05);
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  color: #fffaf7;
  background: var(--accent);
  box-shadow: 0 16px 32px rgba(169, 109, 97, 0.24);
  transform: translateY(-2px);
}

.paper-panel,
.work-section,
.about-section,
.worked-with,
.value-section {
  width: min(1700px, calc(100% - 150px));
  margin-inline: auto;
}

.paper-panel {
  padding: 70px clamp(36px, 6vw, 120px) 92px;
  background: rgba(255, 250, 247, 0.78);
}

.section-title {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 34px;
  margin-bottom: 70px;
}

.section-title span,
.rule {
  height: 2px;
  background: var(--line);
}

.section-title h2,
.work-section h2,
.about-section h2,
.worked-with h2,
.value-section h2 {
  margin: 0;
  font-size: clamp(3rem, 5vw, 5.2rem);
  line-height: 1;
}

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

.service-grid article {
  min-width: 0;
  min-height: 405px;
  display: grid;
  align-content: start;
  justify-items: center;
  padding: 34px 30px 36px;
  text-align: center;
  background: var(--card);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.icon {
  height: 54px;
  color: #ccb5ab;
  font-size: 2.4rem;
  line-height: 1;
}

.service-grid h3 {
  max-width: 100%;
  margin: 20px 0 30px;
  font-size: clamp(1.68rem, 1.75vw, 2.18rem);
  line-height: 1.08;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.service-grid p {
  max-width: 340px;
  margin: 0;
  color: var(--body);
  font-size: 1.35rem;
  line-height: 1.25;
  text-wrap: balance;
}

.work-section {
  padding: 78px 0 40px;
}

.work-section .rule,
.worked-with .rule,
.value-section .rule {
  width: 100%;
  margin-bottom: 34px;
}

.work-section h2,
.worked-with h2,
.value-section h2 {
  margin-bottom: 24px;
}

.section-intro {
  max-width: 760px;
  margin: 0 0 54px;
  font-size: 1.35rem;
}

.case-grid {
  display: grid;
  gap: 18px;
}

.case-card {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(430px, 0.95fr) minmax(0, 1.35fr);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(91, 61, 52, 0.04);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.case-card:nth-child(even) {
  grid-template-columns: minmax(430px, 0.95fr) minmax(0, 1.35fr);
}

.case-text {
  display: grid;
  align-content: center;
  padding: clamp(40px, 6vw, 84px);
  background: #fff;
}

.case-badge {
  width: fit-content;
  margin-bottom: 22px;
  padding: 9px 14px;
  border: 1px solid rgba(169, 109, 97, 0.22);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-text h3 {
  margin: 0 0 24px;
  color: var(--accent);
  font-size: clamp(3rem, 5vw, 5.6rem);
  line-height: 0.98;
}

.case-text p {
  max-width: 420px;
  margin: 0 0 22px;
  font-size: 1.35rem;
  line-height: 1.35;
}

.case-text small {
  color: var(--muted);
  font-size: 1rem;
}

.browser-mock,
.photo-wash,
.credential-mock,
.case-image {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 430px;
  padding: 58px;
  background: #f4f5f2;
}

.case-image {
  padding: 0;
  background: #f6f4ef;
}

.case-image img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  display: block;
  object-fit: cover;
  transition: transform 220ms ease;
}

.case-card:hover,
.case-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 22px 52px rgba(91, 61, 52, 0.12);
}

.case-card:hover .case-image img,
.case-card:focus-visible .case-image img {
  transform: scale(1.018);
}

.case-light .case-image,
.case-split .case-image {
  padding: clamp(20px, 3vw, 48px);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.95), rgba(246, 244, 239, 0.82) 68%),
    #f6f4ef;
}

.case-light .case-image img,
.case-split .case-image img {
  width: min(100%, 980px);
  height: auto;
  min-height: 0;
  max-height: 390px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 18px 45px rgba(91, 61, 52, 0.1);
}

.case-split .case-image img {
  width: min(100%, 920px);
  max-height: 360px;
}

.browser-mock {
  border-left: 28px solid #1b1f22;
  border-right: 28px solid #1b1f22;
}

.browser-top {
  width: min(780px, 92%);
  height: 36px;
  margin-bottom: 26px;
  border-radius: 8px;
  background: linear-gradient(90deg, #d9dedb, #ffffff);
}

.chart-layout,
.list-layout {
  width: min(780px, 92%);
  min-height: 270px;
  display: grid;
  grid-template-columns: 1fr 0.65fr 1.2fr;
  gap: 24px;
}

.chart-layout span,
.list-layout span {
  display: block;
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.4)),
    linear-gradient(135deg, #dce8ee, #fff5df);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.list-layout {
  grid-template-columns: 1fr;
}

.list-layout span {
  min-height: 48px;
}

.photo-wash {
  background:
    linear-gradient(rgba(178, 158, 147, 0.56), rgba(178, 158, 147, 0.56)),
    linear-gradient(135deg, #9fa58d, #dbc7b7 54%, #8c785f);
}

.event-wash {
  min-height: 430px;
  background:
    linear-gradient(rgba(124, 46, 38, 0.08), rgba(124, 46, 38, 0.28)),
    linear-gradient(135deg, #f3d4ca, #9e3f35 55%, #5a241f);
}

.credential-mock {
  justify-content: center;
  gap: 24px;
  background:
    radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.76), transparent 32%),
    linear-gradient(135deg, #eee4dc, #d8c4ba);
}

.credential-card {
  width: min(360px, 92%);
  display: grid;
  gap: 12px;
  padding: 34px;
  color: var(--ink);
  background: rgba(255, 250, 247, 0.88);
  border: 1px solid rgba(169, 109, 97, 0.18);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.credential-card span,
.credential-card small {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.credential-card strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 3vw, 3.8rem);
  line-height: 0.98;
}

.credential-lines {
  width: min(360px, 92%);
  display: grid;
  gap: 10px;
}

.credential-lines span {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 250, 247, 0.72);
}

.credential-lines span:nth-child(2) {
  width: 76%;
}

.credential-lines span:nth-child(3) {
  width: 58%;
}

.about-section {
  min-height: 78svh;
  display: grid;
  place-items: center;
  padding: 110px 0 90px;
  text-align: center;
}

.about-copy {
  width: min(980px, 100%);
  margin: 84px auto 70px;
  text-align: left;
}

.about-copy p {
  margin: 0 0 24px;
  font-size: 1.25rem;
  line-height: 1.55;
}

.about-copy a {
  color: var(--accent);
  font-weight: 800;
}

.worked-with {
  padding: 30px 0 66px;
}

.worked-note {
  max-width: 760px;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
}

.worked-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(560px, 1.3fr);
  align-items: center;
  gap: clamp(48px, 8vw, 140px);
  margin-top: 62px;
}

.audience-card,
.contact-card {
  padding: 36px 46px;
  background: var(--card);
  border-radius: 22px;
}

.audience-card li,
.value-section li {
  margin: 0 0 12px;
  font-size: 1.45rem;
  line-height: 1.22;
}

.logo-cloud {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  align-items: center;
}

.logo-cloud a {
  min-height: 112px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(169, 109, 97, 0.12);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 250, 247, 0.68);
  box-shadow: 0 12px 28px rgba(91, 61, 52, 0.06);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.logo-cloud a:hover {
  transform: translateY(-3px);
  border-color: rgba(169, 109, 97, 0.32);
  box-shadow: 0 18px 38px rgba(91, 61, 52, 0.1);
}

.logo-cloud a.logo-tile-dark {
  background: linear-gradient(135deg, #12183b, #1b254f);
  border-color: rgba(255, 250, 247, 0.32);
  box-shadow: 0 14px 34px rgba(25, 34, 70, 0.18);
}

.logo-cloud a.logo-tile-dark:hover {
  border-color: rgba(255, 250, 247, 0.48);
  box-shadow: 0 18px 38px rgba(25, 34, 70, 0.26);
}

.logo-cloud img {
  max-width: 100%;
  max-height: 74px;
  display: block;
  object-fit: contain;
}

.value-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: clamp(46px, 9vw, 150px);
  align-items: center;
  padding: 20px 0 120px;
}

.rule.short {
  width: min(620px, 100%);
}

.value-section ul {
  margin: 60px 0 0;
  padding-left: 28px;
}

.value-note {
  max-width: 760px;
  margin: 34px 0 0;
  padding-left: 28px;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.4;
}

.contact-card {
  padding: clamp(36px, 5vw, 58px);
}

.contact-card h2 {
  font-size: clamp(2.4rem, 3vw, 4rem);
  line-height: 1.12;
}

.contact-card p {
  margin: 34px 0 36px;
  font-size: 1.35rem;
  line-height: 1.35;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--body);
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(169, 109, 97, 0.26);
  border-radius: 14px;
  padding: 13px 14px;
  color: var(--body);
  background: rgba(255, 250, 247, 0.72);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .button {
  justify-self: start;
  margin-top: 8px;
  cursor: pointer;
}

.back-top {
  position: fixed;
  right: 26px;
  bottom: 24px;
  z-index: 60;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  color: #fff;
  background: var(--accent-soft);
  border-radius: 50%;
  font-size: 2rem;
}

.case-page {
  background:
    linear-gradient(rgba(255, 250, 247, 0.94), rgba(255, 250, 247, 0.94)),
    url("assets/soft-fabric-bg.png") center top / cover fixed;
}

.case-page .site-header {
  position: sticky;
}

.study-main {
  width: min(1680px, calc(100% - 92px));
  margin: 0 auto;
  padding: 72px 0 120px;
}

.study-title {
  max-width: 1180px;
  padding: 48px 0 8px;
}

.study-title h1 {
  margin: 0;
  max-width: 1080px;
  color: var(--ink);
  font-size: clamp(3.35rem, 6vw, 6.8rem);
  line-height: 1.02;
}

.study-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 0;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.study-tags span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid rgba(169, 109, 97, 0.2);
  border-radius: 999px;
  padding: 0 16px;
  background: rgba(241, 233, 226, 0.72);
}

.study-overview,
.study-split {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(480px, 1.18fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
  margin-top: 72px;
}

.study-overview {
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
  max-width: 1120px;
}

.study-overview > img,
.study-split > img,
.study-figure img {
  width: 100%;
  display: block;
  border: 1px solid rgba(169, 109, 97, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.study-figure {
  margin: 0;
}

.study-figure figcaption {
  margin: 10px 4px 0;
  color: var(--muted);
  font-size: clamp(0.78rem, 0.84vw, 0.94rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.42;
}

.study-stack {
  display: grid;
  gap: clamp(24px, 3vw, 42px);
}

.study-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.study-pair .study-figure img {
  border-radius: 12px;
}

.study-pair .study-figure figcaption {
  font-size: clamp(0.78rem, 0.84vw, 0.94rem);
  font-weight: 500;
  line-height: 1.42;
}

.study-gallery .study-figure figcaption {
  font-size: clamp(0.78rem, 0.84vw, 0.94rem);
  font-weight: 500;
  line-height: 1.42;
}

.study-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
}

.study-meta h2,
.study-split h2,
.more-work h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(1.8rem, 2.3vw, 3rem);
  font-weight: 900;
}

.study-meta p,
.study-split p,
.study-split li {
  margin: 0;
  color: var(--body);
  font-size: clamp(1.05rem, 1.25vw, 1.36rem);
  line-height: 1.45;
}

.study-split article {
  display: grid;
  gap: 18px;
  padding: clamp(0px, 2vw, 18px) 0;
}

.study-split ul {
  margin: 0 0 18px;
  padding-left: 26px;
}

.study-split.reverse {
  grid-template-columns: minmax(480px, 1.18fr) minmax(360px, 0.82fr);
}

.study-split.reverse article {
  order: 2;
}

.research-split {
  grid-template-columns: minmax(0, 1fr);
  max-width: 1320px;
}

.research-split article {
  order: 0;
  max-width: 980px;
}

.research-insight {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  grid-template-rows: var(--research-visual-height) minmax(var(--research-caption-height), auto);
  grid-template-areas:
    "persona stats"
    "copy copy";
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(169, 109, 97, 0.14);
  border-radius: 18px;
  background: rgba(255, 250, 247, 0.9);
  box-shadow: var(--shadow);
}

.research-insight-copy {
  grid-area: copy;
  display: grid;
  min-height: var(--research-caption-height);
  align-content: center;
  gap: 10px;
  padding: clamp(18px, 2.2vw, 30px) clamp(22px, 3vw, 42px);
  color: var(--paper);
  background:
    linear-gradient(rgba(169, 109, 97, 0.92), rgba(169, 109, 97, 0.92)),
    url("assets/soft-fabric-bg.png") center / cover;
}

.research-insight-copy p {
  margin: 0;
  color: inherit;
  font-size: clamp(0.78rem, 0.84vw, 0.94rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.42;
}

.research-visual-grid {
  --research-visual-height: clamp(300px, 29vw, 360px);
  --research-caption-height: clamp(132px, 13vw, 168px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 42px);
  align-items: stretch;
  margin-top: clamp(36px, 5vw, 72px);
}

.research-visual-grid .research-persona {
  min-height: 0;
}

.research-visual-grid .research-stat {
  gap: clamp(10px, 1.3vw, 18px);
  padding: clamp(14px, 2.1vw, 28px);
}

.research-visual-grid .research-stat span {
  width: clamp(62px, 6vw, 88px);
  font-size: clamp(1.28rem, 2vw, 1.86rem);
}

.research-visual-grid .research-stat p {
  font-size: clamp(0.78rem, 0.9vw, 1rem);
}

.research-persona {
  grid-area: persona;
  min-height: 430px;
  margin: 0;
  background: var(--accent-soft);
}

.research-persona img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 43% 50%;
}

.research-stats {
  grid-area: stats;
  display: grid;
  grid-template-rows: 1fr 1fr;
  align-content: stretch;
  gap: 0;
  padding: 0;
  background:
    linear-gradient(rgba(255, 250, 247, 0.92), rgba(255, 250, 247, 0.92)),
    radial-gradient(circle at 86% 18%, rgba(169, 109, 97, 0.12), transparent 32%),
    var(--paper);
}

.research-stat {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  padding: clamp(24px, 4vw, 52px);
  border-bottom: 1px solid rgba(169, 109, 97, 0.14);
}

.research-stat:last-child {
  border-bottom: 0;
}

.research-stat span {
  width: clamp(94px, 8vw, 128px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(169, 109, 97, 0.22);
  border-radius: 50%;
  color: var(--accent);
  background:
    radial-gradient(circle, rgba(255, 250, 247, 0.88) 58%, transparent 60%),
    repeating-radial-gradient(circle, rgba(169, 109, 97, 0.28) 0 1px, transparent 1px 7px),
    var(--accent-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3.15rem);
  font-weight: 900;
  line-height: 1;
}

.research-stat p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.08rem, 1.45vw, 1.7rem);
  line-height: 1.24;
}

.research-prototype-figure {
  display: grid;
  grid-template-rows: var(--research-visual-height) minmax(var(--research-caption-height), auto);
  height: 100%;
  overflow: hidden;
  margin-top: 0;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.research-prototype-figure img {
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: none;
}

.research-prototype-figure figcaption {
  display: grid;
  min-height: var(--research-caption-height);
  align-content: center;
  margin: 0;
  padding: clamp(14px, 1.8vw, 22px) clamp(18px, 2.4vw, 30px);
  border: 1px solid rgba(169, 109, 97, 0.14);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  color: var(--paper);
  background:
    linear-gradient(rgba(169, 109, 97, 0.92), rgba(169, 109, 97, 0.92)),
    url("assets/soft-fabric-bg.png") center / cover;
  box-shadow: none;
  font-size: clamp(0.72rem, 0.76vw, 0.86rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.36;
}

.feature-summary {
  grid-template-columns: minmax(0, 980px);
}

.study-gallery-section {
  margin-top: 92px;
}

.study-gallery-section.compact {
  margin-top: 72px;
}

.study-gallery-intro {
  max-width: 900px;
}

.study-gallery-intro h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(2rem, 3vw, 4rem);
  font-weight: 900;
}

.study-gallery-intro p {
  margin: 0;
  color: var(--body);
  font-size: clamp(1.1rem, 1.35vw, 1.38rem);
  line-height: 1.45;
}

.study-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  margin-top: 34px;
}

.study-gallery-wide {
  grid-column: 1 / -1;
}

.more-work {
  margin-top: 92px;
}

.mini-work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.study-note {
  max-width: 860px;
  margin: 26px 0 0;
  color: var(--body);
  font-size: clamp(1.18rem, 1.7vw, 1.55rem);
  line-height: 1.4;
}

.artifact-board {
  display: grid;
  gap: 18px;
  min-height: 520px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(169, 109, 97, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(rgba(255, 250, 247, 0.86), rgba(255, 250, 247, 0.86)),
    radial-gradient(circle at 18% 20%, rgba(169, 109, 97, 0.16), transparent 32%),
    linear-gradient(135deg, #f5eee8, #e6d6cd);
  box-shadow: var(--shadow);
}

.artifact-card {
  display: grid;
  gap: 8px;
  align-content: center;
  padding: 22px;
  border-radius: 16px;
  color: var(--body);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 32px rgba(91, 61, 52, 0.08);
}

.artifact-card strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.1vw, 2.5rem);
  line-height: 1.05;
}

.artifact-card span {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mini-work-grid a {
  display: grid;
  gap: 8px;
  min-height: 150px;
  align-content: center;
  padding: 28px;
  background: var(--card);
  border-radius: 18px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 800;
}

.mini-work-grid span {
  color: var(--muted);
  font-family: Avenir, Montserrat, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.placeholder-study {
  width: min(900px, calc(100% - 48px));
  min-height: 100svh;
  display: grid;
  align-content: center;
  gap: 24px;
  margin: 0 auto;
}

.placeholder-study h1 {
  margin: 0;
  color: var(--accent);
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.95;
}

.placeholder-study p {
  max-width: 720px;
  margin: 0;
  font-size: 1.35rem;
}

.text-link {
  color: var(--accent);
  font-weight: 900;
}

@media (max-width: 1500px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
  }

  .service-grid article {
    min-height: 320px;
  }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr;
    height: auto;
    padding: 16px 20px;
  }

  .brand {
    grid-row: 1;
    grid-template-columns: 80px auto 80px;
    justify-self: center;
  }

  .nav-left,
  .socials {
    justify-content: center;
  }

  .hero {
    grid-template-columns: minmax(210px, 0.38fr) minmax(0, 1fr);
    gap: 28px;
    padding: 190px 24px 80px;
  }

  .study-overview,
  .study-split,
  .study-split.reverse {
    grid-template-columns: 1fr;
  }

  .study-split.reverse article {
    order: 0;
  }

  .research-insight {
    grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  }

  .research-stats {
    gap: 0;
  }

  .hero-copy {
    justify-self: start;
  }

  .hero-portrait {
    width: min(280px, 32vw);
    justify-self: start;
  }

  .paper-panel,
  .work-section,
  .about-section,
  .worked-with,
  .value-section {
    width: min(100% - 40px, 980px);
  }

  .service-grid,
  .worked-grid,
  .value-section {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  body {
    background-attachment: scroll;
  }

  .nav-left {
    gap: 16px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .socials {
    display: none;
  }

  .hero {
    min-height: 88svh;
    grid-template-columns: minmax(190px, 0.36fr) minmax(0, 1fr);
    gap: 22px;
    padding: 180px 20px 70px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 8vw, 4.6rem);
  }

  .hero p {
    margin-top: 28px;
    font-size: 1.18rem;
  }

  .hero-actions {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 34px;
  }

  .paper-panel {
    padding: 54px 20px 64px;
  }

  .section-title {
    gap: 16px;
    margin-bottom: 42px;
  }

  .service-grid,
  .worked-grid,
  .value-section,
  .case-card,
  .case-card:nth-child(even),
  .study-meta,
  .study-gallery,
  .mini-work-grid {
    grid-template-columns: 1fr;
  }

  .study-main {
    width: min(100% - 36px, 980px);
    padding-top: 40px;
  }

  .study-tags {
    flex-wrap: wrap;
    gap: 14px 24px;
    margin-bottom: 44px;
  }

  .study-overview,
  .study-split {
    margin-top: 48px;
  }

  .research-visual-grid {
    grid-template-columns: 1fr;
  }

  .research-persona {
    min-height: 360px;
  }

  .research-stats {
    padding: 0;
  }

  .research-stat {
    gap: 16px;
    padding: 24px;
  }

  .research-stat span {
    width: 88px;
    font-size: 1.86rem;
  }

  .research-stat p {
    font-size: 1rem;
  }

  .service-grid article {
    min-height: auto;
  }

  .case-card {
    min-height: auto;
  }

  .browser-mock,
  .photo-wash,
  .credential-mock,
  .case-image {
    min-height: 280px;
    padding: 36px 18px;
    border-left-width: 16px;
    border-right-width: 16px;
  }

  .case-image {
    padding: 0;
  }

  .case-image img {
    min-height: 280px;
  }

  .chart-layout {
    min-height: 190px;
    grid-template-columns: 1fr;
  }

  .about-copy {
    margin-top: 50px;
  }

  .logo-cloud {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .hero {
    grid-template-columns: 1fr;
    align-content: start;
    min-height: auto;
    padding-top: 170px;
  }

  .hero-portrait {
    width: min(230px, 58vw);
    justify-self: center;
  }

  .hero-copy {
    justify-self: center;
    text-align: center;
  }

  .hero p {
    margin-inline: auto;
  }

  .hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .study-pair {
    grid-template-columns: 1fr;
  }

  .research-insight {
    grid-template-columns: 1fr;
    grid-template-areas:
      "persona"
      "stats"
      "copy";
  }

  .research-stat {
    grid-template-columns: auto minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .brand {
    grid-template-columns: 48px auto 48px;
  }

  .brand strong {
    font-size: 1.25rem;
  }

  .nav-left {
    justify-content: flex-start;
    font-size: 0.95rem;
  }

  .paper-panel,
  .work-section,
  .about-section,
  .worked-with,
  .value-section {
    width: calc(100% - 40px);
    max-width: 980px;
  }

  .section-title h2,
  .work-section h2,
  .about-section h2,
  .worked-with h2,
  .value-section h2 {
    font-size: 3rem;
  }

  .case-text h3 {
    font-size: 2.4rem;
  }

  .service-grid h3 {
    font-size: clamp(1.95rem, 9vw, 2.35rem);
  }

  .service-grid p,
  .case-text p,
  .audience-card li,
  .value-section li,
  .contact-card p {
    font-size: 1.12rem;
  }

  .case-text {
    padding: 36px 24px;
  }

  .back-top {
    right: 16px;
    bottom: 18px;
    width: 52px;
    height: 52px;
    font-size: 1.65rem;
  }
}
