:root {
  --bg: #faf7f2;
  --panel: #fcfaf7;
  --ink: #151311;
  --muted: #666056;
  --line: #ded7cd;
  --soft-line: rgba(21, 19, 17, 0.08);
  --accent: #aea393;
  --shadow: 0 24px 50px rgba(17, 15, 12, 0.08);
  --display: "Avenir Next", "SF Pro Display", "Helvetica Neue", "Arial Nova", sans-serif;
  --body: "Avenir Next", "SF Pro Text", "Helvetica Neue", "Arial Nova", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

.shell {
  width: min(1460px, calc(100% - 3rem));
  margin: 0 auto;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 247, 242, 0.97);
  backdrop-filter: blur(12px);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
}

.brand {
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:not(.button) {
  position: relative;
}

.site-nav a:not(.button)::after,
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: currentColor;
  transition: transform 180ms ease;
}

.site-nav a:not(.button):hover::after,
.text-link:hover::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.3rem;
  border: 1px solid var(--ink);
  font-weight: 500;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-dark {
  background: var(--ink);
  color: #f6f2eb;
}

.button-dark:hover,
.button-dark:focus-visible {
  background: #27231f;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--ink);
  background: transparent;
  padding: 0.75rem 1rem;
}

.hero {
  padding: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  align-items: stretch;
  gap: 0;
  min-height: 585px;
}

.hero-copy,
.hero-visual {
  padding: 0;
}

.eyebrow,
.section-kicker,
.models-label {
  margin: 0 0 1.25rem;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 35rem;
  padding: 2.9rem 2.65rem 2.5rem 0;
}

.hero-copy h1,
.insight-card h2,
.case-study h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.4rem, 6vw, 5.5rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
  font-weight: 500;
}

.hero-copy h1 {
  font-size: clamp(3.15rem, 4.75vw, 4.55rem);
  line-height: 0.94;
  font-weight: 600;
}

.hero-summary,
.section-intro p,
.about-panel p,
.contact-panel p,
.testimonial-body,
.case-study p,
.service-card p,
.process-card p,
.expander-panel p,
.compact-list,
.details-panel dd {
  color: rgba(21, 19, 17, 0.92);
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero-summary {
  max-width: 31rem;
  margin: 1.5rem 0 1.45rem;
  font-size: 0.94rem;
  line-height: 1.56;
}

.status-note {
  margin: 1rem 0 0;
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: stretch;
  padding: 0 0 0 1.5rem;
}

.hero-image-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 100%;
  min-height: 585px;
}

.hero-image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(250, 247, 242, 0.98) 0%, rgba(250, 247, 242, 0.18) 14%, rgba(250, 247, 242, 0) 28%),
    linear-gradient(180deg, rgba(250, 247, 242, 0.08), rgba(250, 247, 242, 0));
  z-index: 1;
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.74) contrast(1.02);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
  padding: 0.15rem 0 0.35rem;
}

.process-section .shell {
  padding-top: 0.85rem;
}

.process-card {
  position: relative;
  padding: 0.8rem 0 0.15rem;
}

.process-line {
  position: absolute;
  top: 2.75rem;
  left: 4.2rem;
  right: 0;
  height: 1px;
  background: var(--accent);
  opacity: 0.8;
}

.process-icon,
.service-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--bg);
}

.process-icon svg,
.service-icon svg {
  width: 1.3rem;
  height: 1.3rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-index,
.service-index {
  margin: 0.95rem 0 0.2rem;
  font-size: 0.86rem;
  font-weight: 600;
}

.process-card h2,
.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.06rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.process-card p:last-child,
.service-card p:last-child {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
}

.process-card p:last-child {
  max-width: 15rem;
}

.insight-grid,
.showcase-grid,
.bottom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.insight-card,
.about-panel,
.contact-panel,
.details-panel {
  position: relative;
  padding: 1.25rem 1.7rem 1rem;
  min-height: 100%;
}

.insight-section {
  background: #f3f1ec;
}

.insight-grid > *:first-child,
.bottom-grid > *:first-child {
  border-right: 1px solid var(--line);
}

.insight-card h2,
.testimonial blockquote {
  font-size: clamp(1.7rem, 2.3vw, 2.5rem);
  line-height: 1.18;
  max-width: 27rem;
  letter-spacing: -0.045em;
  font-weight: 500;
}

.insight-card:first-child h2 {
  max-width: 18rem;
  font-size: clamp(1.45rem, 1.85vw, 2rem);
  line-height: 1.16;
}

.insight-card:last-child h2 {
  max-width: 27rem;
  font-size: clamp(1.35rem, 1.7vw, 1.8rem);
  line-height: 1.24;
  letter-spacing: -0.03em;
}

.expander {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.9rem;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0.88rem;
  text-decoration: underline;
  text-underline-offset: 0.18rem;
  cursor: pointer;
}

.expander-panel {
  max-width: 24rem;
  padding-top: 1rem;
}

.compact-list {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
}

.insight-figure {
  position: absolute;
  right: 1.1rem;
  bottom: 0;
  width: 14.5rem;
  height: 9rem;
  overflow: hidden;
}

.insight-figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.5;
  mix-blend-mode: multiply;
  filter: grayscale(1) brightness(1.03) contrast(0.92);
}

.insight-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(250, 247, 242, 0) 24%, rgba(250, 247, 242, 0) 82%, var(--bg) 100%),
    linear-gradient(90deg, var(--bg) 0%, rgba(250, 247, 242, 0) 18%, rgba(250, 247, 242, 0) 84%, var(--bg) 100%);
  pointer-events: none;
}

.signal-mark {
  position: absolute;
  right: 0.8rem;
  top: 1.05rem;
  display: grid;
  place-items: center;
  width: 10rem;
  height: 10rem;
}

.signal-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.9;
}

.services-section {
  padding-top: 1.4rem;
  padding-bottom: 0.75rem;
}

.section-intro {
  max-width: 44rem;
  margin-bottom: 1.2rem;
}

.section-intro p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  padding: 0.85rem 1rem 1rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(252, 250, 246, 0.6);
}

.service-card .service-icon {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  justify-content: start;
  place-items: start;
}

.service-card h3 {
  max-width: 15rem;
  font-size: 1rem;
}

.service-tag {
  margin: 0 0 0.55rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.engagement-models {
  display: grid;
  grid-template-columns: 1.1fr repeat(4, 1.55fr);
  gap: 0;
  align-items: stretch;
  margin-top: 0.85rem;
}

.models-label {
  position: relative;
  margin: 0;
  display: flex;
  align-items: flex-start;
  min-height: 4.35rem;
  padding: 0.9rem 1rem 0;
  line-height: 1.2;
}

.model-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 4.35rem;
  padding: 0.9rem 0.9rem 0;
  text-align: center;
}

.models-label::after,
.model-item::after {
  content: "";
  position: absolute;
  top: 0.6rem;
  right: 0;
  width: 1px;
  height: 2.8rem;
  background: var(--line);
}

.model-item:last-child::after {
  display: none;
}

.model-item strong,
.model-item span {
  display: block;
}

.model-item strong {
  font-size: 0.94rem;
  line-height: 1.2;
}

.model-item span {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.showcase-grid {
  align-items: stretch;
}

.case-study,
.testimonial {
  min-height: 100%;
  padding: 1.65rem 1.65rem;
}

.case-study {
  background: #11100e;
  color: #f7f2ea;
}

.case-study p,
.case-study .section-kicker,
.case-study .logo-row span {
  color: rgba(247, 242, 234, 0.85);
}

.case-kicker {
  color: rgba(247, 242, 234, 0.75);
}

.case-study .text-link,
.case-study .text-link::after {
  color: #f7f2ea;
}

.case-meta {
  margin-top: 0.8rem;
  color: rgba(247, 242, 234, 0.76);
  font-size: 0.82rem;
}

.case-study h2 {
  font-size: clamp(1.75rem, 2.2vw, 2.35rem);
  line-height: 1.1;
}

.case-body {
  margin-top: 1rem;
}

.case-study-panel p {
  margin: 0 0 0.8rem;
  color: rgba(247, 242, 234, 0.88);
  font-size: 0.96rem;
  line-height: 1.62;
}

.case-study-panel p:last-child {
  margin-bottom: 0;
}

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

.logo-row span {
  font-family: var(--display);
  font-size: 1.1rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.case-expander {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.case-study-panel {
  max-width: 100%;
  width: 100%;
}


.testimonial {
  background: linear-gradient(180deg, rgba(251, 249, 246, 0.75), rgba(255, 255, 255, 0.45));
}

.quote-mark {
  margin: 0.2rem 0 -1.5rem;
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
}

.testimonial blockquote {
  margin: 0;
  max-width: 30rem;
  font-size: 2.05rem;
  line-height: 1.15;
}

.testimonial-body {
  max-width: 34rem;
  margin: 1rem 0 1rem;
  font-size: 0.84rem;
  line-height: 1.55;
}

.testimonial-body p {
  margin: 0 0 0.75rem;
}

.testimonial-body p:last-child {
  margin-bottom: 0;
}

.testimonial-meta {
  color: var(--muted);
  font-size: 0.8rem;
}

.bottom-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(16rem, 0.8fr);
}

.bottom-grid > *:nth-child(2) {
  border-right: 1px solid var(--line);
}

.text-link,
.contact-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: 0.94rem;
}

.contact-link {
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.contact-link::after {
  display: none;
}

.contact-icon,
.link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
}

.contact-icon svg,
.link-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-icon {
  width: 0.95rem;
  height: 0.95rem;
}

.service-icon svg path,
.service-icon svg circle,
.service-icon svg polyline,
.service-icon svg line,
.service-icon svg rect {
  vector-effect: non-scaling-stroke;
}

.contact-meta {
  margin-bottom: 0;
}

.about-expander {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.about-more {
  max-width: 42rem;
}

.about-more p,
.about-list {
  font-size: 0.92rem;
  line-height: 1.62;
}

.about-more p {
  margin: 0 0 0.85rem;
}

.about-list {
  margin: 0 0 0.85rem 1.1rem;
  padding: 0;
}

.about-list li {
  margin-bottom: 0.25rem;
}

.details-panel dl {
  margin: 0;
  display: grid;
  gap: 1rem;
}

.details-panel div {
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--soft-line);
}

.details-panel dt {
  margin-bottom: 0.3rem;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.details-panel dd {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
}

.site-footer {
  background: #11100e;
  color: rgba(247, 242, 234, 0.82);
}

.footer-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
  min-height: 72px;
  font-size: 0.92rem;
}

.footer-bar p,
.footer-bar a {
  margin: 0;
}

.footer-bar p:nth-child(2) {
  text-align: center;
}

.footer-bar a {
  justify-self: end;
}

.legal-page {
  padding: 4rem 0 5rem;
}

.legal-page .shell {
  max-width: 52rem;
}

.legal-page h1 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.legal-page p {
  font-size: 1.06rem;
  line-height: 1.7;
}

.fade-in {
  opacity: 1;
  transform: none;
  animation: none;
}

@media (max-width: 1080px) {
  .process-grid,
  .services-grid,
  .engagement-models {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .insight-grid,
  .showcase-grid,
  .bottom-grid {
    grid-template-columns: 1fr;
  }

  .insight-grid > *:first-child,
  .bottom-grid > *:first-child,
  .bottom-grid > *:nth-child(2) {
    border-right: 0;
  }

  .hero {
    padding-top: 0;
  }

  .hero-grid {
    min-height: 0;
  }

  .hero-copy {
    padding: 2rem 0 1.2rem;
  }

  .hero-visual {
    padding: 0;
  }

  .hero-image-frame {
    min-height: 420px;
  }

  .signal-mark,
  .insight-figure {
    position: relative;
    top: auto;
    right: auto;
    margin-top: 1.5rem;
  }

  .signal-mark {
    width: 8rem;
    height: 8rem;
  }

  .insight-figure {
    width: 12rem;
    height: 7rem;
  }

  .engagement-models {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 1.5rem, 42rem);
  }

  .header-bar {
    flex-wrap: wrap;
    min-height: 72px;
    padding: 0.8rem 0;
  }

  .brand {
    font-size: 1.7rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 1rem;
    padding: 0.5rem 0 0.4rem;
    border-top: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
  }

  .hero-copy h1,
  .insight-card h2,
  .case-study h2,
  .testimonial blockquote {
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .process-grid,
  .services-grid,
  .engagement-models,
  .footer-bar {
    grid-template-columns: 1fr;
  }

  .process-line {
    display: none;
  }

  .process-card,
  .insight-card,
  .case-study,
  .testimonial,
  .about-panel,
  .contact-panel,
  .details-panel {
    padding-left: 0;
    padding-right: 0;
  }

  .service-card {
    padding-left: 1rem;
    padding-right: 1rem;
  }

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

  .footer-bar {
    padding: 1rem 0;
    text-align: left;
  }

  .footer-bar p:nth-child(2),
  .footer-bar a {
    text-align: left;
    justify-self: start;
  }
}
