:root {
  --bg: #ece8df;
  --panel: rgba(255, 252, 246, 0.72);
  --panel-strong: rgba(255, 252, 246, 0.88);
  --text: #3f3a34;
  --muted: #6f6a63;
  --line: #d7d0c4;
  --olive: #8b8f5e;
  --olive-dark: #75794d;
  --shadow: 0 10px 30px rgba(90, 79, 63, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.18)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.45), transparent 40%),
    var(--bg);
  font-family: "Inter", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.12) 0,
      rgba(255, 255, 255, 0.12) 2px,
      transparent 2px,
      transparent 120px
    );
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(100% - 2rem, 1360px);
  margin: 3rem auto;
  background: rgba(255, 251, 246, 0.34);
  border: 1px solid rgba(210, 201, 189, 0.75);
  box-shadow: 0 8px 40px rgba(90, 79, 63, 0.05);
}

.container {
  width: min(100% - 3rem, var(--container));
  margin: 0 auto;
}

/* Header */

.site-header {
  border-bottom: 1px solid rgba(215, 208, 196, 0.9);
}

.nav {
  min-height: 86px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 2rem;
}

.logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.nav-links a {
  font-size: 1.05rem;
  color: var(--muted);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(139, 143, 94, 0.08);
}

.nav-links a.active {
  color: var(--olive-dark);
  background: rgba(139, 143, 94, 0.16);
}

.connect-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  background: var(--olive);
  color: #f7f4eb;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, transform 0.2s ease;
}

.connect-btn:hover {
  background: var(--olive-dark);
  transform: translateY(-1px);
}

/* Shared typography */

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8f867d;
  font-weight: 600;
}

.hero-copy h1,
.intro-copy h2,
.text-block h2,
.site-footer h2,
.section-label-row h3,
.inner-hero-copy h1,
.thought-label h2,
.principles-heading,
.closing-box h2,
.pull-quote-card p,
.principle-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
}

/* Home page */

.hero-section {
  padding: 4.5rem 0 3rem;
  border-bottom: 1px solid rgba(215, 208, 196, 0.65);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 3.75rem;
  align-items: center;
}

.hero-copy {
  padding: 1rem 0;
}

.hero-copy h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(3rem, 5vw, 5.1rem);
  line-height: 0.96;
  max-width: 13ch;
}

.hero-lead {
  max-width: 34ch;
  margin: 0 0 1.25rem;
  font-size: 1.35rem;
  color: var(--muted);
}

.hero-sub {
  margin: 0 0 2rem;
  font-size: 1.05rem;
  color: var(--muted);
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  background: var(--olive);
  color: #f8f5ee;
  font-size: 1.15rem;
  font-weight: 500;
  transition: background 0.2s ease, transform 0.2s ease;
}

.primary-btn:hover {
  background: var(--olive-dark);
  transform: translateY(-1px);
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portrait-card {
  position: relative;
  width: min(100%, 500px);
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255, 251, 246, 0.75);
  box-shadow: var(--shadow);
  z-index: 2;
}

.portrait-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-botanical {
  position: absolute;
  z-index: 1;
  opacity: 0.35;
  filter: blur(0.2px);
}

.hero-botanical-right {
  right: -1rem;
  bottom: 0.5rem;
  width: 170px;
  height: 260px;
  background:
    radial-gradient(circle at 30% 20%, rgba(194, 178, 151, 0.45) 0, transparent 24%),
    radial-gradient(circle at 55% 38%, rgba(194, 178, 151, 0.35) 0, transparent 19%),
    radial-gradient(circle at 72% 62%, rgba(194, 178, 151, 0.35) 0, transparent 22%),
    linear-gradient(transparent 0 35%, rgba(194, 178, 151, 0.24) 35% 100%);
}

.hero-botanical-left {
  left: -0.5rem;
  bottom: 0.75rem;
  width: 120px;
  height: 180px;
  background:
    radial-gradient(circle at 35% 30%, rgba(194, 178, 151, 0.3) 0, transparent 22%),
    radial-gradient(circle at 65% 55%, rgba(194, 178, 151, 0.25) 0, transparent 20%);
}

.intro-work-section {
  padding: 3.5rem 0 4rem;
}

.intro-work-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: start;
}

.intro-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  line-height: 1;
}

.intro-copy p {
  max-width: 27ch;
  margin: 0;
  font-size: 1.3rem;
  color: var(--muted);
}

.section-label-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.section-label-row h3 {
  margin: 0;
  font-size: 2.2rem;
  white-space: nowrap;
}

.section-line {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--line);
}

.work-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.work-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.4rem;
  background: rgba(255, 251, 246, 0.72);
  border: 1px solid rgba(215, 208, 196, 0.75);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.work-card:hover {
  transform: translateY(-2px);
  border-color: #c9beaf;
  background: rgba(255, 251, 246, 0.9);
}

.work-card span:first-child {
  max-width: 24ch;
  font-size: 1.15rem;
  color: var(--text);
}

.arrow {
  font-size: 2rem;
  line-height: 1;
  color: #b8ae9f;
}

.content-section {
  padding: 4.5rem 0;
  border-top: 1px solid rgba(215, 208, 196, 0.5);
}

.soft-panel-section {
  background: rgba(255, 251, 246, 0.42);
}

.text-block {
  max-width: 760px;
}

.text-block h2,
.site-footer h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 0.98;
}

.text-block p:not(.eyebrow),
.site-footer p:not(.eyebrow) {
  margin: 0 0 1rem;
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 60ch;
}

/* How I Think page */

.inner-hero {
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid rgba(215, 208, 196, 0.65);
}

.inner-hero-grid {
  display: grid;
  grid-template-columns: 1.32fr 0.68fr;
  gap: 2.75rem;
  align-items: start;
}

.inner-hero-copy {
  max-width: none;
}

.inner-hero-copy h1 {
  margin: 0 0 1.2rem;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.96;
  max-width: 15ch;
}

.inner-hero-lead {
  margin: 0;
  max-width: 42ch;
  font-size: 1.25rem;
  color: var(--muted);
}

.pull-quote-card {
  background: rgba(255, 251, 246, 0.72);
  border: 1px solid rgba(215, 208, 196, 0.75);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.pull-quote-card p {
  margin: 0;
  font-size: 2rem;
  line-height: 1.12;
}

.thought-section {
  padding: 4rem 0;
  border-top: 1px solid rgba(215, 208, 196, 0.45);
}

.alt-band {
  background: rgba(255, 251, 246, 0.36);
}

.thought-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.section-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8f867d;
  font-weight: 600;
}

.thought-label h2 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 0.98;
  max-width: 12ch;
}

.thought-copy p {
  margin: 0 0 1rem;
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 62ch;
}

.principles-section {
  padding: 4.5rem 0;
  border-top: 1px solid rgba(215, 208, 196, 0.45);
}

.principles-heading {
  margin: 0 0 2rem;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 0.98;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.principle-card {
  background: rgba(255, 251, 246, 0.72);
  border: 1px solid rgba(215, 208, 196, 0.75);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.principle-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.9rem;
  line-height: 1;
}

.principle-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.closing-section {
  padding: 0 0 4.5rem;
}

.closing-box {
  background: rgba(255, 251, 246, 0.52);
  border: 1px solid rgba(215, 208, 196, 0.75);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.closing-box h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  line-height: 0.98;
}

.closing-box p:not(.eyebrow) {
  margin: 0;
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.12rem;
}

/* Footer */

.site-footer {
  padding: 4.5rem 0 5rem;
  border-top: 1px solid rgba(215, 208, 196, 0.7);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  padding-top: 2.3rem;
}

.footer-links a {
  font-size: 1.1rem;
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Responsive */

@media (max-width: 1100px) {
  .hero-grid,
  .intro-work-grid,
  .footer-inner,
  .nav,
  .inner-hero-grid,
  .thought-grid,
  .principles-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    justify-items: start;
    padding: 1.1rem 0 1.25rem;
    gap: 1rem;
  }

  .hero-copy h1,
  .inner-hero-copy h1,
  .thought-label h2 {
    max-width: 100%;
  }

  .hero-lead,
  .intro-copy p,
  .inner-hero-lead,
  .thought-copy p {
    max-width: 100%;
  }

  .footer-links {
    padding-top: 0;
  }
}

@media (max-width: 700px) {
  .page-shell {
    width: min(100% - 1rem, 1360px);
    margin: 0.5rem auto;
  }

  .container {
    width: min(100% - 1.5rem, var(--container));
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 0.85rem 1.25rem;
  }

  .logo {
    font-size: 2.35rem;
  }

  .hero-section,
  .intro-work-section,
  .content-section,
  .site-footer,
  .inner-hero,
  .thought-section,
  .principles-section,
  .closing-section {
    padding: 3rem 0;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-copy h1,
  .inner-hero-copy h1 {
    font-size: 2.85rem;
  }

  .hero-lead,
  .intro-copy p,
  .text-block p:not(.eyebrow),
  .site-footer p:not(.eyebrow),
  .work-card span:first-child,
  .thought-copy p,
  .principle-card p,
  .closing-box p:not(.eyebrow) {
    font-size: 1rem;
  }

  .pull-quote-card p {
    font-size: 1.55rem;
  }

  .section-label-row h3 {
    font-size: 1.8rem;
  }

  .primary-btn,
  .connect-btn {
    font-size: 1rem;
  }

  .principles-grid {
    gap: 1rem;
  }
}

/* Resume page */

.resume-hero {
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid rgba(215, 208, 196, 0.65);
}

.resume-hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 3rem;
  align-items: start;
}

.resume-hero-copy h1,
.resume-section-heading,
.experience-card h3,
.resume-badge-card h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
}

.resume-hero-copy h1 {
  margin: 0 0 1.2rem;
  font-size: clamp(3rem, 5vw, 4.8rem);
  line-height: 0.96;
  max-width: 12ch;
}

.resume-hero-lead {
  margin: 0 0 1rem;
  max-width: 38ch;
  font-size: 1.22rem;
  color: var(--muted);
}

.resume-hero-sub {
  margin: 0 0 2rem;
  max-width: 48ch;
  font-size: 1.02rem;
  color: var(--muted);
}

.resume-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  border: 1px solid rgba(215, 208, 196, 0.95);
  background: rgba(255, 251, 246, 0.4);
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 500;
  transition: background 0.2s ease, transform 0.2s ease;
}

.secondary-btn:hover {
  background: rgba(255, 251, 246, 0.8);
  transform: translateY(-1px);
}

.resume-badge-card {
  background: rgba(255, 251, 246, 0.72);
  border: 1px solid rgba(215, 208, 196, 0.75);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.resume-badge-label {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8f867d;
  font-weight: 600;
}

.resume-badge-card h2 {
  margin: 0 0 0.45rem;
  font-size: 2.5rem;
  line-height: 1;
}

.resume-badge-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.resume-section {
  padding: 4.25rem 0;
  border-top: 1px solid rgba(215, 208, 196, 0.45);
}

.narrow-container {
  max-width: 840px;
}

.resume-section-heading {
  margin: 0 0 1.5rem;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 0.98;
}

.resume-section-heading.small {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.resume-summary {
  margin: 0 0 1rem;
  max-width: 64ch;
  font-size: 1.1rem;
  color: var(--muted);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.skill-chip {
  padding: 1rem 1.05rem;
  background: rgba(255, 251, 246, 0.72);
  border: 1px solid rgba(215, 208, 196, 0.75);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.98rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.experience-list {
  display: grid;
  gap: 1.25rem;
}

.experience-card {
  background: rgba(255, 251, 246, 0.72);
  border: 1px solid rgba(215, 208, 196, 0.75);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.experience-header {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 1rem;
}

.experience-card h3 {
  margin: 0 0 0.3rem;
  font-size: 2rem;
  line-height: 1;
}

.experience-company {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
}

.experience-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 160px;
  text-align: right;
  color: var(--muted);
  font-size: 0.95rem;
}

.experience-summary {
  margin: 0 0 1rem;
  max-width: 70ch;
  color: var(--muted);
  font-size: 1.03rem;
}

.experience-bullets {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.experience-bullets li + li {
  margin-top: 0.6rem;
}

.resume-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.simple-list-card {
  background: rgba(255, 251, 246, 0.72);
  border: 1px solid rgba(215, 208, 196, 0.75);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.simple-list-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.simple-list-card p + p {
  margin-top: 0.8rem;
}

@media (max-width: 1100px) {
  .resume-hero-grid,
  .skills-grid,
  .resume-bottom-grid {
    grid-template-columns: 1fr;
  }

  .resume-hero-copy h1,
  .resume-hero-lead,
  .resume-hero-sub {
    max-width: 100%;
  }

  .experience-header {
    flex-direction: column;
  }

  .experience-meta {
    text-align: left;
    min-width: 0;
  }
}

@media (max-width: 700px) {
  .resume-hero,
  .resume-section {
    padding: 3rem 0;
  }

  .resume-hero-copy h1 {
    font-size: 2.85rem;
  }

  .resume-hero-lead,
  .resume-hero-sub,
  .resume-summary,
  .skill-chip,
  .experience-summary,
  .experience-bullets,
  .simple-list-card p {
    font-size: 1rem;
  }

  .experience-card h3 {
    font-size: 1.65rem;
  }
}


/* About page */

.about-hero {
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid rgba(215, 208, 196, 0.65);
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 3rem;
  align-items: center;
}

.about-hero-copy h1,
.about-story-label h2,
.about-principles-heading,
.about-closing-box h2,
.about-principle-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
}

.about-hero-copy h1 {
  margin: 0 0 1.2rem;
  font-size: clamp(3rem, 5vw, 4.95rem);
  line-height: 0.96;
  max-width: 14ch;
}

.about-hero-lead {
  margin: 0 0 1rem;
  max-width: 40ch;
  font-size: 1.22rem;
  color: var(--muted);
}

.about-hero-sub {
  margin: 0;
  max-width: 42ch;
  font-size: 1.05rem;
  color: var(--muted);
}

.about-photo-wrap {
  display: flex;
  justify-content: center;
}

.about-photo-card {
  width: min(100%, 470px);
  background: rgba(255, 251, 246, 0.72);
  border: 1px solid rgba(215, 208, 196, 0.75);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-photo-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-section {
  padding: 4rem 0;
  border-top: 1px solid rgba(215, 208, 196, 0.45);
}

.about-story-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 3rem;
  align-items: start;
}

.about-story-label h2 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.15rem);
  line-height: 0.98;
  max-width: 12ch;
}

.about-story-copy p {
  margin: 0 0 1rem;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.1rem;
}

.about-principles {
  padding: 4.5rem 0;
  border-top: 1px solid rgba(215, 208, 196, 0.45);
}

.about-principles-heading {
  margin: 0 0 2rem;
  font-size: clamp(2.2rem, 4vw, 3.75rem);
  line-height: 0.98;
}

.about-principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.about-principle-card {
  background: rgba(255, 251, 246, 0.72);
  border: 1px solid rgba(215, 208, 196, 0.75);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.about-principle-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.9rem;
  line-height: 1;
}

.about-principle-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.about-closing {
  padding: 0 0 4.5rem;
}

.about-closing-box {
  background: rgba(255, 251, 246, 0.52);
  border: 1px solid rgba(215, 208, 196, 0.75);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.about-closing-box h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  line-height: 0.98;
}

.about-closing-box p:not(.eyebrow) {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.12rem;
}

@media (max-width: 1100px) {
  .about-hero-grid,
  .about-story-grid,
  .about-principles-grid {
    grid-template-columns: 1fr;
  }

  .about-hero-copy h1,
  .about-hero-lead,
  .about-hero-sub,
  .about-story-label h2,
  .about-story-copy p {
    max-width: 100%;
  }

  .about-photo-wrap {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .about-hero,
  .about-section,
  .about-principles,
  .about-closing {
    padding: 3rem 0;
  }

  .about-hero-copy h1 {
    font-size: 2.85rem;
  }

  .about-hero-lead,
  .about-hero-sub,
  .about-story-copy p,
  .about-principle-card p,
  .about-closing-box p:not(.eyebrow) {
    font-size: 1rem;
  }

  .about-principles-grid {
    gap: 1rem;
  }
}

/* Selected Work page */

.work-hero {
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid rgba(215, 208, 196, 0.65);
}

.work-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: start;
}

.work-hero-copy h1,
.featured-work-card h2,
.work-closing-box h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
}

.work-hero-copy h1 {
  margin: 0 0 1.2rem;
  font-size: clamp(3rem, 5vw, 4.95rem);
  line-height: 0.96;
  max-width: 13ch;
}

.work-hero-lead {
  margin: 0 0 1rem;
  max-width: 38ch;
  font-size: 1.22rem;
  color: var(--muted);
}

.work-hero-sub {
  margin: 0;
  max-width: 55ch;
  font-size: 1.05rem;
  color: var(--muted);
}

.work-intro-card {
  background: rgba(255, 251, 246, 0.72);
  border: 1px solid rgba(215, 208, 196, 0.75);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.work-intro-label {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8f867d;
  font-weight: 600;
}

.work-intro-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.work-intro-list li + li {
  margin-top: 0.55rem;
}

.work-cards-section {
  padding: 4.25rem 0;
  border-top: 1px solid rgba(215, 208, 196, 0.45);
}

.work-cards-grid {
  display: grid;
  gap: 1.4rem;
}

.featured-work-card {
  background: rgba(255, 251, 246, 0.72);
  border: 1px solid rgba(215, 208, 196, 0.75);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.featured-work-top {
  margin-bottom: 1rem;
}

.featured-work-tag {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(139, 143, 94, 0.14);
  color: var(--olive-dark);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-work-card h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.98;
}

.featured-work-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 55ch;
}

.featured-work-body p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 66ch;
}

.featured-work-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(215, 208, 196, 0.75);
}

.featured-work-shows {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1rem;
}

.featured-work-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.work-closing {
  padding: 0 0 4.5rem;
}

.work-closing-box {
  background: rgba(255, 251, 246, 0.52);
  border: 1px solid rgba(215, 208, 196, 0.75);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.work-closing-box h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  line-height: 0.98;
}

.work-closing-box p:not(.eyebrow) {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.12rem;
}

@media (max-width: 1100px) {
  .work-hero-grid {
    grid-template-columns: 1fr;
  }

  .work-hero-copy h1,
  .work-hero-lead,
  .work-hero-sub {
    max-width: 100%;
  }
}

@media (max-width: 700px) {
  .work-hero,
  .work-cards-section,
  .work-closing {
    padding: 3rem 0;
  }

  .work-hero-copy h1 {
    font-size: 2.85rem;
  }

  .work-hero-lead,
  .work-hero-sub,
  .featured-work-subtitle,
  .featured-work-body p,
  .featured-work-shows,
  .work-closing-box p:not(.eyebrow) {
    font-size: 1rem;
  }

  .featured-work-card {
    padding: 1.5rem;
  }
}

.demo-embed {
  width: 100%;
  margin-top: 2rem;
  border: 1px solid rgba(215, 208, 196, 0.75);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 251, 246, 0.72);
  box-shadow: var(--shadow);
}

.demo-embed iframe {
  display: block;
  width: 100%;
  height: 800px;
  border: 0;
}
.demo-button {
  margin-top: 32px;
}
.dashboard-wrap {
  margin-bottom: 32px;
}

.case-study-demo-actions {
  margin-top: 32px !important;
}