:root {
  --bg: #f4f6f8;
  --surface: #e9eff4;
  --card: #edf3f7;
  --text: #20263a;
  --muted: #4b5575;
  --primary: #5a4dff;
  --accent: #ff2f7e;
  --stroke: #ccd8e4;
  --teal: #0b7779;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

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

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

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.narrow {
  width: min(760px, calc(100% - 2rem));
}

.section-pad {
  padding: 6rem 0;
}

h1,
h2,
h3 {
  margin: 0 0 0.9rem;
  line-height: 1.15;
}

h1,
h2 {
  font-family: "Fraunces", serif;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.3rem, 6vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

p {
  margin: 0 0 1rem;
}

.eyebrow {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  transition: 180ms ease;
  border: 1px solid transparent;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-solid {
  background: var(--primary);
  color: #fff;
}

.hero-cta .btn-solid {
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  padding: 0.9rem 1.55rem;
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-ghost:hover {
  border-color: var(--primary);
  background: rgba(90, 77, 255, 0.08);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-navy {
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  padding: 0.9rem 1.55rem;
}

.btn-outline-navy {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 9;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid #e6eaef;
  backdrop-filter: blur(10px);
}

.nav-wrap {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  line-height: 1;
}

.brand-text {
  font-family: "Fraunces", serif;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1a2332;
}

.main-nav {
  display: flex;
  gap: 2rem;
  font-weight: 600;
  color: #353d57;
}

.main-nav a:hover {
  color: var(--primary);
}

.hero {
  background:
    radial-gradient(circle at 0% 10%, #cce6f6 0%, transparent 45%),
    radial-gradient(circle at 85% 20%, #dbe1ff 0%, transparent 40%),
    var(--surface);
  padding: 5rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(1.9rem, 4vw, 3.45rem);
  line-height: 1.1;
  max-width: 14.5ch;
}

.hero-highlight {
  color: var(--primary);
}

.hero-line {
  display: block;
}

.hero-line-nowrap {
  white-space: nowrap;
}

.lede {
  color: var(--muted);
  font-size: 1.14rem;
  max-width: 53ch;
}

.hero-cta {
  margin-top: 2rem;
  display: flex;
  gap: 0.85rem;
  align-items: center;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  max-width: 30rem;
  width: 100%;
  justify-self: end;
}

.hero-image-wrap {
  position: relative;
  border-radius: 1.6rem;
  overflow: hidden;
  background: #dfe8f1;
  aspect-ratio: 4 / 5;
  min-height: 0;
  border: 1px solid var(--stroke);
  box-shadow: 0 8px 20px rgba(33, 45, 76, 0.1);
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  filter: saturate(0.95);
}

.hero-badge {
  position: absolute;
  top: 1.1rem;
  right: -0.45rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #d4deea;
  border-radius: 0.75rem;
  box-shadow: 0 8px 20px rgba(36, 45, 70, 0.1);
  backdrop-filter: blur(4px);
  padding: 0.58rem 0.7rem 0.62rem;
  width: 9.7rem;
  z-index: 2;
}

.hero-badge ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.24rem;
}

.hero-badge li {
  color: #33415f;
  font-size: 0.77rem;
  line-height: 1.28;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero-badge li strong {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 800;
  margin-right: 0.22rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.skill-card,
.project-card,
.quote-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 0.7rem;
}

.skill-card {
  padding: 1.3rem;
  border-bottom: 3px solid transparent;
}

.skill-card:hover {
  border-bottom-color: var(--primary);
}

.skill-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.7rem;
}

.skill-card p {
  color: var(--muted);
}

.expertise {
  background: #1a2332;
  padding-top: 7.5rem;
  padding-bottom: 7.5rem;
}

.expertise h2 {
  color: #f3f7ff;
}

.expertise-grid {
  margin-top: 2.7rem;
  margin-bottom: 2.4rem;
}

.expertise-card {
  background: #212d41;
  border: 1px solid #34445f;
  border-bottom: 1px solid #34445f;
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  height: 100%;
}

.expertise-card:hover {
  border-bottom-color: #34445f;
}

.expertise-card h3 {
  color: #f3f7ff;
  font-size: 1.5rem;
  margin-bottom: 0;
}

.expertise-card p {
  color: #d2dcee;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
  min-height: 5.7rem;
}

.expertise-stat {
  margin-top: auto;
  padding-top: 1.1rem;
}

.expertise-stat strong {
  display: block;
  color: #7d86ff;
  font-size: clamp(2rem, 2.1vw, 2.45rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.expertise-stat span {
  display: block;
  color: #bccae0;
  font-size: 0.9rem;
  line-height: 1.5;
  min-height: 2.7em;
}

.how-work-intro {
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 1.2rem;
}

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

.how-work {
  background: #f3f7fb;
}

.how-work-timeline {
  position: relative;
  margin-top: 1.6rem;
  padding-left: 2.6rem;
}

.how-work-timeline::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.2rem;
  bottom: 0.2rem;
  width: 2px;
  background: #c8d4e2;
}

.timeline-step {
  position: relative;
  padding: 0.2rem 0 2rem 0.9rem;
  max-width: 70ch;
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.timeline-step::before {
  content: "";
  position: absolute;
  left: -2.38rem;
  top: 0.7rem;
  width: 0.78rem;
  height: 0.78rem;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px #e5edf7;
}

.timeline-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.55rem;
}

.timeline-step h3 {
  margin-bottom: 0.65rem;
  font-size: 1.5rem;
}

.timeline-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.why-do {
  background:
    radial-gradient(circle at 80% 20%, #e4e2ff 0%, transparent 45%),
    #e9eef4;
}

.why-do {
  padding-top: 5rem;
}

.why-do-body {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 1.1rem 0.4rem 1.1rem 1.1rem;
  margin-top: 0;
}

.why-do-body p {
  color: var(--muted);
  max-width: 60ch;
  font-size: 1.04rem;
  line-height: 1.78;
  margin-bottom: 1.15rem;
}

.why-do-body h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(1.75rem, 2.75vw, 2.6rem);
  line-height: 1.12;
  max-width: 18ch;
}

.about-intro {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.76;
  margin-bottom: 1.25rem;
  max-width: 58ch;
}

.story-pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.story-pillar {
  border: 1px solid #d2dceb;
  border-radius: 0.75rem;
  background: #f6f9fd;
  padding: 0.92rem 0.95rem;
}

.story-pillar h3 {
  font-size: 1rem;
  margin-bottom: 0.42rem;
}

.story-pillar p {
  margin: 0;
  max-width: none;
  font-size: 0.96rem;
  line-height: 1.55;
}

.story-read-more {
  margin-top: 1.15rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.25rem;
  align-items: start;
}

.about-photo img {
  border-radius: 0.9rem;
  border: 1px solid var(--stroke);
  min-height: 31rem;
  max-height: 42rem;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-copy p {
  color: var(--muted);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}

.portfolio {
  padding-top: 7.2rem;
  padding-bottom: 7.2rem;
}

.portfolio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  margin-top: 2.8rem;
}

.project-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #f8fbff;
  border: 1px solid #d7e1eb;
}

.project-body {
  padding: 1.55rem 1.45rem 1.55rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.project-body h3 {
  font-size: 1.7rem;
  line-height: 1.1;
  margin-bottom: 0.1rem;
  min-height: 3.8rem;
}

.project-subtitle {
  color: #26324a;
  font-weight: 600;
  margin: 0;
  min-height: 4.2rem;
}

.project-challenge {
  color: #3d4b69;
  font-size: 0.96rem;
  margin: 0;
  min-height: 4.2rem;
}

.challenge-label {
  font-weight: 800;
  color: var(--text);
}

.project-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1rem;
  margin-top: 0.75rem;
}

.project-stat strong {
  display: block;
  font-size: 1.32rem;
  line-height: 1;
  color: var(--text);
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.project-stat span {
  display: block;
  font-size: 0.78rem;
  color: #61708f;
  line-height: 1.35;
}

.project-accent {
  height: 0.48rem;
  width: 100%;
}

.project-card-blue .project-accent {
  background: linear-gradient(90deg, #193a91, #2d67e8);
}

.project-card-orange .project-accent {
  background: linear-gradient(90deg, #cb6615, #f4a13f);
}

.project-card-green .project-accent {
  background: linear-gradient(90deg, #177153, #43b282);
}

.project-body a {
  color: var(--teal);
  font-weight: 700;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
}

.project-body a:hover {
  color: var(--primary);
}

.portfolio-nudge {
  text-align: center;
  padding: 2.3rem 0 0.2rem;
}

.portfolio-nudge p {
  color: var(--muted);
  margin-bottom: 0.95rem;
}

.btn-portfolio-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-portfolio-outline:hover {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.blog {
  background: #eef3f8;
  padding-top: 6.6rem;
  padding-bottom: 6.8rem;
}

.blog-grid {
  display: flex;
  align-items: stretch;
  gap: 1.2rem;
  margin-top: 2.6rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.blog-grid::-webkit-scrollbar {
  display: none;
}

.blog-carousel {
  position: relative;
}

.blog-nav {
  position: absolute;
  top: calc(50% + 1.3rem);
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #c5d2e2;
  border-radius: 999px;
  background: #ffffff;
  color: #2f3b58;
  font-size: 1.15rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(38, 52, 86, 0.12);
  z-index: 2;
}

.blog-nav:hover:not(:disabled) {
  color: var(--primary);
  border-color: #9db1cc;
}

.blog-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.blog-nav-prev {
  left: -3.25rem;
}

.blog-nav-next {
  right: -3.25rem;
}

.blog-all-posts {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--text);
  font-weight: 700;
  padding-bottom: 0.42rem;
  border-bottom: 2px solid var(--primary);
  line-height: 1;
}

.blog-all-posts:hover {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

.blog-card {
  background: #f8fbff;
  border: 1px solid #d7e1eb;
  border-radius: 0.75rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: calc((100% - 2.4rem) / 3);
  scroll-snap-align: start;
}

.blog-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid #d7e1eb;
}

.blog-card-body {
  padding: 1rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
  height: 100%;
}

.blog-meta {
  color: #61708f;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
}

.blog-title {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.35;
}

.blog-excerpt {
  margin: 0;
  color: #4b5575;
  font-size: 0.95rem;
  line-height: 1.55;
}

.blog-link {
  margin-top: auto;
  color: var(--teal);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

.blog-link:hover {
  color: var(--primary);
}

.blog-status {
  margin: 0;
  color: #4b5575;
  font-weight: 600;
}

.testimonials {
  background: #1a2332;
  min-height: 34rem;
  padding-top: 7.2rem;
  padding-bottom: 7.2rem;
}

.testimonials h2 {
  color: #f3f7ff;
}

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

.quote-card {
  background: #212d41;
  border-color: #34445f;
  padding: 1.3rem;
}

.quote-card p {
  color: #d5deee;
}

.quote-card h3 {
  margin: 1.2rem 0 0.2rem;
  font-size: 1.05rem;
  color: #f3f7ff;
}

.quote-card span {
  color: #bccae0;
  font-size: 0.92rem;
}

.rating {
  display: inline-block;
  position: relative;
  line-height: 1;
}

.rating .rating-stars {
  color: #7d86ff;
  letter-spacing: 0.14rem;
  font-size: 1.08rem;
  line-height: 1;
}

.contact-copy {
  text-align: center;
  color: var(--muted);
  max-width: 60ch;
  margin: 0 auto 2rem;
}

.contact {
  padding-top: 7.2rem;
  padding-bottom: 7.2rem;
  background: var(--bg);
  min-height: 34rem;
}

.contact h2,
.contact .eyebrow {
  text-align: center;
}

.contact-actions {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.contact-support {
  margin-top: 1.55rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.contact-support p {
  margin: 0;
  color: #61708f;
  font-size: 0.92rem;
}

.contact-support p a {
  color: var(--primary);
  font-weight: 700;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 0.48rem;
  border: 1px solid #8778ff;
  background: #fff;
  border-radius: 0.45rem;
  padding: 0.85rem;
  font: inherit;
}

.terms {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  margin-top: 1rem;
  color: var(--muted);
}

.terms input {
  width: 1rem;
  margin: 0;
}

.contact-form button {
  margin: 1.3rem auto 0;
  display: flex;
  min-width: 6.5rem;
}

.site-footer {
  background: #1a2332;
  border-top: 1px solid #2f3e55;
  padding-top: 2.3rem;
  color: #f3f7ff;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 1.6rem;
}

.site-footer .brand-text {
  color: #f3f7ff;
}

.footer-top nav {
  display: flex;
  gap: 1.4rem;
  justify-self: center;
}

.footer-top nav a:hover,
.socials a:hover {
  color: var(--primary);
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f3f7ff;
}

.socials {
  display: flex;
  gap: 0.8rem;
  justify-self: end;
}

.socials a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-bottom {
  margin-top: 1.3rem;
  padding: 1rem 0 2rem;
  border-top: 1px solid #2f3e55;
  color: #b9c7dc;
}

.story-page-hero {
  background:
    radial-gradient(circle at 86% 12%, #ddd9ff 0%, transparent 42%),
    radial-gradient(circle at 10% 72%, #d6edf2 0%, transparent 34%),
    #eef3f8;
  padding: 4.6rem 0 3.2rem;
}

.story-page-hero h1 {
  max-width: 18ch;
}

.story-page-hero p {
  color: var(--muted);
  max-width: 65ch;
  font-size: 1.04rem;
}

.story-content {
  padding: 4.4rem 0 5.4rem;
}

.story-content .narrow {
  width: min(860px, calc(100% - 2rem));
}

.story-content p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.reveal,
.reveal-delay {
  opacity: 0;
  transform: translateY(20px);
}

.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: 700ms ease;
}

.reveal-delay.is-visible {
  transition-delay: 120ms;
}

/* Case Study Pages */
.sub-hero {
  padding: 4.8rem 0 3rem;
  background:
    radial-gradient(circle at 90% 10%, #e2defe 0%, transparent 35%),
    radial-gradient(circle at 10% 70%, #d6eff0 0%, transparent 30%),
    #f1f4f8;
}

.sub-hero h1 {
  max-width: 15ch;
}

.sub-hero p {
  color: var(--muted);
  max-width: 70ch;
  font-size: 1.1rem;
}

.case-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: #2a3551;
  margin-bottom: 1rem;
  padding: 0.42rem 0.72rem;
  border: 1px solid #bcc9da;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
}

.case-back:hover {
  color: var(--primary);
  border-color: #9db0c7;
  background: rgba(255, 255, 255, 0.85);
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.meta-item {
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: 0.55rem;
  padding: 0.85rem;
}

.meta-item strong {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.content-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.content-wrap section {
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: 0.7rem;
  padding: 1.3rem;
}

.content-wrap ul {
  margin: 0;
  padding-left: 1rem;
}

.content-wrap li {
  margin-bottom: 0.55rem;
}

@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .how-work-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .main-nav,
  .btn-outline {
    display: none;
  }

  .section-pad {
    padding: 4rem 0;
  }

  .testimonials,
  .contact,
  .portfolio,
  .blog {
    min-height: auto;
    padding-top: 5.4rem;
    padding-bottom: 5.4rem;
  }

  .cards-grid,
  .portfolio-grid,
  .testimonials-grid,
  .how-work-grid,
  .field-grid,
  .meta-grid {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    flex-direction: column;
  }

  .how-work-timeline {
    padding-left: 2.2rem;
  }

  .timeline-step {
    padding-left: 0.65rem;
  }

  .timeline-step::before {
    left: -2.05rem;
  }

  .hero {
    padding: 3.5rem 0;
  }

  .hero-image-wrap {
    aspect-ratio: 4 / 5;
  }

  .hero-image-wrap img {
    object-position: center 16%;
  }

  .about-photo img {
    min-height: 21.5rem;
    object-position: center 24%;
  }

  .expertise-grid,
  .portfolio-grid,
  .blog-grid {
    margin-top: 1.7rem;
  }

  .blog .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .blog-nav {
    display: none;
  }

  .blog-card {
    min-width: 82%;
  }

  .expertise-card {
    padding: 1.45rem;
    gap: 0.85rem;
  }

  .expertise-card p {
    min-height: auto;
    font-size: 1rem;
  }

  .expertise-stat {
    padding-top: 0.8rem;
  }

  .project-body {
    padding: 1.25rem 1.1rem 1.2rem;
    gap: 0.72rem;
  }

  .project-body h3,
  .project-subtitle,
  .project-challenge {
    min-height: auto;
  }

  .project-stats {
    gap: 0.7rem;
    margin-top: 0.4rem;
  }

  .quote-card {
    padding: 1.15rem;
  }

  .timeline-step p {
    line-height: 1.6;
  }

  .hero-badge {
    right: 0.18rem;
    top: 0.6rem;
    width: 8.8rem;
    padding: 0.48rem 0.56rem;
  }

  .hero-badge li {
    font-size: 0.71rem;
  }

  .hero-badge li strong {
    font-size: 0.84rem;
  }

  .why-do-body h2 {
    font-size: clamp(1.6rem, 8.1vw, 2.15rem);
    line-height: 1.2;
    max-width: none;
  }

  .why-do-body {
    padding: 0;
  }

  .why-do-body p {
    max-width: none;
    font-size: 1rem;
    line-height: 1.72;
    margin-bottom: 1rem;
  }

  .story-pillars {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .story-pillar {
    padding: 0.86rem;
  }

  .story-page-hero {
    padding: 3.5rem 0 2.6rem;
  }

  .story-content {
    padding: 3.2rem 0 4.2rem;
  }

  .story-content p {
    font-size: 1rem;
    line-height: 1.75;
  }

  .about-photo img {
    min-height: auto;
    max-height: none;
    aspect-ratio: 4 / 5;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.15rem;
    align-items: center;
    text-align: center;
    padding-top: 0.4rem;
  }

  .footer-top nav,
  .socials {
    justify-self: center;
  }

  .footer-top nav {
    gap: 1.8rem;
    font-size: 1.04rem;
  }

  .socials {
    gap: 1rem;
  }

  .socials a {
    width: 42px;
    height: 42px;
    border: 1px solid #3a4a63;
    border-radius: 999px;
  }

  .socials a svg {
    width: 20px;
    height: 20px;
  }

  .footer-bottom {
    margin-top: 1rem;
    padding-top: 1rem;
    padding-bottom: 1.6rem;
    text-align: center;
    font-size: 0.92rem;
  }

  .site-footer .brand {
    justify-content: center;
  }
}
