:root {
  --ink: #18302d;
  --ink-soft: #49605c;
  --green: #173f3a;
  --green-2: #2d625b;
  --mint: #dcebe6;
  --cream: #f7f2e9;
  --paper: #fffdf9;
  --terracotta: #cf7c58;
  --gold: #d6ad63;
  --lavender: #ded9ec;
  --line: rgba(24, 48, 45, 0.14);
  --shadow: 0 20px 60px rgba(25, 48, 44, 0.09);
  --radius: 22px;
  --shell: min(1120px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--mint); color: var(--ink); }
a { color: inherit; }
img { max-width: 100%; }

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  transform: translateY(-200%);
  padding: 10px 14px;
  background: #fff;
  border-radius: 8px;
  z-index: 1000;
}
.skip-link:focus { transform: translateY(0); }

.shell { width: var(--shell); margin-inline: auto; }
.narrow { max-width: 850px; }
.section { padding: 96px 0; }

a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 249, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(24, 48, 45, 0.08);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
}
.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.brand-copy { display: grid; line-height: 1.25; }
.brand-copy strong { font-size: 0.98rem; }
.brand-copy span { font-size: 0.78rem; color: var(--ink-soft); margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 28px; font-size: 0.91rem; }
.nav a { text-decoration: none; }
.nav a:not(.nav-cta):hover { color: var(--green-2); }
.nav-cta { padding: 10px 16px; border-radius: 999px; background: var(--ink); color: white; }

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 24%, rgba(222, 217, 236, 0.62), transparent 27%),
    radial-gradient(circle at 72% 70%, rgba(220, 235, 230, 0.7), transparent 28%),
    linear-gradient(180deg, var(--cream), #fbf8f1 72%, var(--paper));
  padding: 104px 0 92px;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 76px; }
.eyebrow {
  margin: 0 0 16px;
  font-size: 0.76rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: var(--green-2);
}
.hero h1 {
  margin: 0;
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.15rem, 6.4vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 500;
}
.hero-lede { max-width: 680px; margin: 28px 0 0; color: var(--ink-soft); font-size: 1.13rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 750;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--green); color: #fff; box-shadow: 0 12px 28px rgba(23,63,58,.18); }
.button.primary:hover { background: #0f352f; }
.button.secondary { border: 1px solid var(--line); background: rgba(255,255,255,.62); }
.button.secondary:hover { box-shadow: 0 10px 25px rgba(24,48,45,.08); }

.hero-proof {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero-proof div { display: grid; gap: 3px; }
.hero-proof strong { font-size: 0.94rem; }
.hero-proof span { font-size: 0.79rem; color: var(--ink-soft); line-height: 1.35; }

.hero-visual { min-height: 560px; position: relative; }
.visual-card {
  position: absolute;
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(24, 48, 45, 0.08);
}
.visual-card p { margin: 9px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; line-height: 1.3; }
.tiny-label { font-size: 0.67rem; font-weight: 850; letter-spacing: 0.15em; }
.visual-card-a { top: 34px; left: 10px; width: 74%; background: #fff; transform: rotate(-3deg); }
.visual-card-b { top: 216px; right: -6px; width: 73%; background: var(--mint); transform: rotate(2deg); }
.visual-card-c { bottom: 42px; left: 18px; width: 80%; background: var(--green); color: #fff; transform: rotate(-1deg); }
.mini-steps { display: flex; gap: 7px; margin-top: 14px; flex-wrap: wrap; }
.mini-steps span { border-radius: 999px; background: rgba(255,255,255,.7); padding: 6px 10px; font-size: .78rem; }
.visual-line { position: absolute; width: 2px; background: var(--terracotta); opacity: .75; transform-origin: top; }
.line-a { height: 110px; top: 140px; left: 46%; transform: rotate(20deg); }
.line-b { height: 125px; top: 337px; left: 48%; transform: rotate(-16deg); }

.intro-band { padding: 72px 0; background: var(--green); color: #fff; }
.statement { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.7rem, 3.2vw, 2.7rem); line-height: 1.28; text-align: center; }

.section-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: end; margin-bottom: 42px; }
.section-heading h2, .about-copy h2, .contact-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.035em;
}
.section-heading > p { margin: 0; color: var(--ink-soft); max-width: 500px; justify-self: end; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  min-height: 310px;
  box-shadow: 0 10px 30px rgba(24,48,45,.04);
}
.icon-box { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--cream); font-size: 1.35rem; color: var(--green); }
.service-card:nth-child(2) .icon-box { background: var(--mint); }
.service-card:nth-child(3) .icon-box { background: var(--lavender); }
.service-card h3 { margin: 26px 0 10px; font-size: 1.25rem; }
.service-card p { margin: 0; color: var(--ink-soft); }
.capability-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.capability-row span, .tool-list span { border: 1px solid var(--line); border-radius: 999px; padding: 7px 11px; font-size: .78rem; color: var(--ink-soft); background: rgba(255,255,255,.65); }

.work-section { background: #f2eee6; }
.work-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.work-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.work-card-featured { grid-row: span 2; display: flex; flex-direction: column; }
.work-kicker { color: var(--terracotta); font-size: .74rem; font-weight: 850; text-transform: uppercase; letter-spacing: .12em; }
.work-card h3 { font-size: 1.55rem; line-height: 1.2; margin: 13px 0 14px; }
.work-card p { color: var(--ink-soft); }
.work-points { padding-left: 20px; margin: 24px 0; }
.work-points li + li { margin-top: 8px; }
.work-points.compact { margin-bottom: 0; }
.metric-strip { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.metric-strip span { font-size: .77rem; color: var(--ink-soft); display: grid; }
.metric-strip strong { color: var(--ink); font-size: .93rem; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 23px 0 18px; }
.metric-grid div { background: var(--mint); border-radius: 14px; padding: 14px; display: grid; }
.metric-grid strong { font-size: 1.35rem; }
.metric-grid span { font-size: .72rem; color: var(--ink-soft); }
.small-copy { font-size: .87rem; }

.process-section { background: var(--paper); }
.process-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; counter-reset: step; }
.process-grid li { padding: 26px 24px; border-top: 3px solid var(--green); background: #f8f6f0; min-height: 230px; }
.process-grid li:nth-child(2) { border-top-color: var(--terracotta); }
.process-grid li:nth-child(3) { border-top-color: var(--gold); }
.process-grid li:nth-child(4) { border-top-color: #756a96; }
.process-number { font-family: Georgia, serif; font-size: 1.4rem; color: var(--ink-soft); }
.process-grid h3 { margin: 28px 0 8px; font-size: 1.15rem; }
.process-grid p { margin: 0; color: var(--ink-soft); font-size: .9rem; }

.about-section { padding-top: 110px; background: var(--cream); }
.about-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 64px; align-items: stretch; }
.about-panel { min-height: 480px; border-radius: 28px; padding: 34px; background: var(--green); color: #fff; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.about-panel::after { content: ""; position: absolute; width: 280px; height: 280px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; right: -70px; bottom: -60px; box-shadow: 0 0 0 50px rgba(255,255,255,.03), 0 0 0 100px rgba(255,255,255,.025); }
.about-initials { font-family: Georgia, serif; font-size: 7rem; line-height: .85; letter-spacing: -.08em; }
.about-tag { font-size: 1.1rem; max-width: 230px; position: relative; z-index: 1; }
.about-copy { padding: 20px 0; }
.about-copy p { color: var(--ink-soft); max-width: 700px; }
.about-copy h2 { margin-bottom: 24px; }
.tool-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }

.audience-section { background: var(--paper); }
.audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.audience-grid article { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.audience-grid article:first-child { background: var(--mint); }
.audience-grid article:last-child { background: var(--lavender); }
.audience-grid h3 { margin: 0 0 12px; font-family: Georgia, serif; font-size: 1.65rem; line-height: 1.25; font-weight: 500; }
.audience-grid p:last-child { margin-bottom: 0; color: var(--ink-soft); }

.contact-section { padding-top: 24px; }
.contact-card { border-radius: 30px; padding: 54px; background: var(--green); color: #fff; display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: center; }
.contact-card p:not(.eyebrow) { margin-bottom: 0; max-width: 630px; color: rgba(255,255,255,.75); }
.eyebrow.light { color: #c8e7df; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.light-button { background: #fff; color: var(--green); max-width: 100%; overflow-wrap: anywhere; text-align: center; }
.text-link { text-decoration-thickness: 1px; text-underline-offset: 4px; font-weight: 700; }
.light-link { color: #fff; }

.site-footer { padding: 34px 0 44px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; color: var(--ink-soft); font-size: .82rem; }
.footer-inner p { margin: 0; }

@media (max-width: 930px) {
  .nav a:not(.nav-cta) { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { min-height: 460px; max-width: 630px; width: 100%; margin-inline: auto; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .section-heading > p { justify-self: start; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card-featured { grid-row: auto; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-panel { min-height: 340px; }
  .contact-card { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 640px) {
  :root { --shell: min(100% - 28px, 1120px); }
  .section { padding: 72px 0; }
  .header-inner { min-height: 70px; }
  .brand-copy span { display: none; }
  .brand-copy strong { font-size: .88rem; }
  .nav-cta { padding: 8px 13px; font-size: .82rem; }
  .hero { padding: 76px 0 66px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.5rem); }
  .hero-lede { font-size: 1rem; }
  .hero-actions .button { width: 100%; }
  .hero-proof { grid-template-columns: 1fr; gap: 14px; }
  .hero-visual { min-height: 395px; }
  .visual-card { padding: 20px; }
  .visual-card-a { width: 82%; }
  .visual-card-b { top: 170px; width: 82%; }
  .visual-card-c { width: 88%; bottom: 20px; }
  .line-a { top: 123px; height: 80px; }
  .line-b { top: 275px; height: 90px; }
  .statement { font-size: 1.55rem; }
  .service-card, .work-card, .audience-grid article { padding: 24px; }
  .metric-strip, .metric-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid li { min-height: 0; }
  .audience-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 34px 24px; }
  .light-button { width: 100%; font-size: .85rem; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Revision: October 2026 */
.intro-band { text-align: left; }
.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: center; }
.intro-copy .statement { text-align: left; max-width: 690px; font-size: clamp(1.8rem, 3vw, 2.65rem); }
.intro-short { margin: 22px 0 0; max-width: 610px; color: rgba(255,255,255,.78); font-size: 1.03rem; }
.intro-image-wrap { border-radius: 24px; overflow: hidden; box-shadow: 0 22px 55px rgba(0,0,0,.18); background: #fff; }
.intro-image-wrap img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; }

.service-card { display: flex; flex-direction: column; color: inherit; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(24,48,45,.10); border-color: rgba(23,63,58,.28); }
.service-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.service-card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.price-marker { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 30px; padding: 0 10px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 850; letter-spacing: .06em; font-size: .76rem; }
.card-cta { margin-top: auto; padding-top: 24px; font-weight: 800; font-size: .82rem; color: var(--green-2); }

.about-panel { gap: 22px; }
.about-photo-slot { width: min(100%, 300px); aspect-ratio: 4 / 3; border-radius: 20px; border: 1px dashed rgba(255,255,255,.45); background: rgba(255,255,255,.08); display: grid; place-items: center; position: relative; z-index: 1; overflow: hidden; }
.about-photo-slot img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

@media (max-width: 930px) {
  .intro-grid { grid-template-columns: 1fr; }
  .intro-image-wrap { max-width: 760px; }
}
@media (max-width: 640px) {
  .intro-band { padding: 62px 0; }
  .intro-grid { gap: 32px; }
  .intro-short { font-size: .95rem; }
  .intro-image-wrap { border-radius: 18px; }
  .about-photo-slot { width: 100%; max-width: 280px; }
}


/* Visual polish revision */
.price-marker { display: none; }

.featured-work-image {
  margin: 8px 0 24px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(24,48,45,.10);
  background: #eef3f0;
}
.featured-work-image img {
  display: block;
  width: 100%;
  height: auto;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 24px 0 20px;
}
.metric-grid .metric-item {
  background: rgba(220,235,230,.78);
  border: 1px solid rgba(23,63,58,.08);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
}
.metric-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #fff;
  color: var(--green);
  box-shadow: 0 5px 14px rgba(24,48,45,.08);
}
.metric-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.metric-text { display: grid; gap: 1px; line-height: 1.2; }
.metric-text strong { font-size: 1.08rem; color: var(--ink); }
.metric-text span { font-size: .75rem; color: var(--ink-soft); }

.about-panel {
  justify-content: flex-start;
}
.about-initials { margin-bottom: 2px; }
.about-photo-slot {
  width: 132px;
  height: 132px;
  aspect-ratio: 1;
  border-radius: 18px;
  border: 2px solid rgba(255,255,255,.72);
  background: rgba(255,255,255,.10);
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
  margin-bottom: auto;
}
.about-photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.03) saturate(.94);
}
.about-tag { margin-top: 22px; }

.light-button {
  min-height: 58px;
  padding: 0 18px 0 22px;
  gap: 14px;
  border: 2px solid var(--gold);
  background: #fffdf9;
  color: var(--green);
  box-shadow: 0 0 0 4px rgba(214,173,99,.14), 0 14px 32px rgba(0,0,0,.16);
}
.light-button:hover {
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(214,173,99,.18), 0 18px 38px rgba(0,0,0,.2);
}
.button-arrow {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
}

@media (max-width: 640px) {
  .about-photo-slot { width: 112px; height: 112px; }
  .light-button { padding: 10px 13px 10px 17px; }
  .button-arrow { width: 28px; height: 28px; flex-basis: 28px; }
}


/* Combined portfolio site */
.work-card-link { color: inherit; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.work-card-link:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(24,48,45,.10); border-color: rgba(23,63,58,.26); }
.case-link { margin-top: auto; padding-top: 20px; font-size: .83rem; font-weight: 800; color: var(--green-2); }
.work-more { margin-top: 26px; display: flex; justify-content: flex-end; }

.subpage-hero, .case-hero { background: radial-gradient(circle at 80% 20%, rgba(222,217,236,.62), transparent 30%), linear-gradient(180deg,var(--cream),var(--paper)); padding: 92px 0 78px; }
.portfolio-hero-grid { display:grid; grid-template-columns: 1.2fr .8fr; gap:72px; align-items:end; }
.subpage-hero h1, .case-hero h1 { margin:0; font-family:Georgia,"Times New Roman",serif; font-size:clamp(3rem,6vw,5.6rem); line-height:.98; font-weight:500; letter-spacing:-.045em; }
.subpage-lede, .case-lede { max-width:760px; margin:26px 0 0; color:var(--ink-soft); font-size:1.12rem; }
.portfolio-note { border:1px solid var(--line); border-radius:var(--radius); padding:28px; background:rgba(255,255,255,.68); }
.portfolio-note strong { font-family:Georgia,serif; font-size:1.35rem; font-weight:500; }
.portfolio-note p { margin-bottom:0; color:var(--ink-soft); }
.portfolio-projects { background:#f2eee6; }
.portfolio-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.portfolio-card { color:inherit; text-decoration:none; background:var(--paper); border:1px solid var(--line); border-radius:28px; overflow:hidden; min-height:100%; display:flex; flex-direction:column; transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.portfolio-card:hover { transform:translateY(-5px); box-shadow:0 22px 52px rgba(24,48,45,.11); border-color:rgba(23,63,58,.25); }
.portfolio-card-featured { grid-column:1 / -1; display:grid; grid-template-columns:.9fr 1.1fr; }
.portfolio-card-copy { padding:34px; display:flex; flex-direction:column; }
.portfolio-card h2 { margin:10px 0 14px; font-family:Georgia,serif; font-size:clamp(1.8rem,3.1vw,2.8rem); line-height:1.08; font-weight:500; }
.portfolio-card p { color:var(--ink-soft); }
.portfolio-card-media { background:#e8efec; min-height:300px; display:grid; place-items:center; overflow:hidden; }
.portfolio-card-media img { width:100%; height:100%; object-fit:cover; }
.portfolio-card-featured .portfolio-card-media img { object-fit:contain; padding:18px; }
.portfolio-stats { display:flex; flex-wrap:wrap; gap:8px; margin:18px 0 4px; }
.portfolio-stats span { border-radius:999px; background:var(--mint); padding:8px 11px; font-size:.76rem; color:var(--ink-soft); }
.portfolio-stats strong { color:var(--ink); }
.portfolio-fit { background:var(--green); color:#fff; }
.fit-grid { display:grid; grid-template-columns:.9fr 1.1fr; gap:70px; align-items:start; }
.fit-grid h2 { margin:0; font-family:Georgia,serif; font-size:clamp(2.3rem,4.3vw,3.9rem); line-height:1.06; font-weight:500; }
.fit-list { display:grid; gap:12px; }
.fit-list span { padding:16px 18px; border:1px solid rgba(255,255,255,.18); background:rgba(255,255,255,.06); border-radius:14px; color:rgba(255,255,255,.86); }
.compact-contact { padding-top:72px; }

.back-link { display:inline-block; margin-bottom:34px; color:var(--ink-soft); font-size:.88rem; font-weight:700; text-decoration:none; }
.back-link:hover { color:var(--green); }
.case-hero { padding-top:72px; }
.case-hero-grid { display:grid; grid-template-columns:1fr .9fr; gap:68px; align-items:center; }
.case-hero-art { background:#eef3f0; border-radius:26px; border:1px solid var(--line); padding:16px; box-shadow:var(--shadow); overflow:hidden; }
.case-hero-art img { display:block; width:100%; border-radius:18px; }
.frame-art { padding:10px; }
.case-tags { display:flex; flex-wrap:wrap; gap:8px; margin-top:26px; }
.case-tags span { background:#fff; border:1px solid var(--line); border-radius:999px; padding:7px 10px; color:var(--ink-soft); font-size:.75rem; }
.case-metrics { border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:#fff; }
.case-metric-grid { display:grid; grid-template-columns:repeat(4,1fr); }
.case-metric-grid div { padding:24px 18px; display:grid; gap:3px; border-right:1px solid var(--line); }
.case-metric-grid div:last-child { border-right:0; }
.case-metric-grid strong { font-family:Georgia,serif; font-size:1.45rem; font-weight:500; }
.case-metric-grid span { color:var(--ink-soft); font-size:.8rem; }
.case-section h2, .case-section-heading h2, .visual-story h2, .result-section h2 { margin:0; font-family:Georgia,serif; font-weight:500; letter-spacing:-.03em; font-size:clamp(2.2rem,4.2vw,3.8rem); line-height:1.08; }
.case-two-col { display:grid; grid-template-columns:.85fr 1.15fr; gap:76px; align-items:start; }
.case-prose { color:var(--ink-soft); font-size:1.02rem; }
.case-prose p:first-child { margin-top:0; }
.case-prose p:last-child { margin-bottom:0; }
.case-tint { background:#f2eee6; }
.case-section-heading { max-width:850px; margin-bottom:38px; }
.contribution-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.contribution-grid.three { grid-template-columns:repeat(3,1fr); }
.contribution-grid article { border:1px solid var(--line); background:var(--paper); border-radius:20px; padding:28px; }
.contribution-grid article > span { display:grid; place-items:center; width:34px; height:34px; border-radius:50%; background:var(--green); color:#fff; font-weight:800; font-size:.75rem; }
.contribution-grid h3 { margin:20px 0 8px; font-size:1.12rem; }
.contribution-grid p { margin:0; color:var(--ink-soft); font-size:.91rem; }
.flow-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; counter-reset:flow; }
.flow-grid > div { position:relative; min-height:230px; padding:24px; border-radius:18px; border:1px solid var(--line); background:#fff; }
.flow-grid > div:nth-child(1){border-top:4px solid #0c8b82}.flow-grid > div:nth-child(2){border-top:4px solid #4375b3}.flow-grid > div:nth-child(3){border-top:4px solid #bd772a}.flow-grid > div:nth-child(4){border-top:4px solid #7964a1}
.flow-grid b { display:grid; place-items:center; width:32px; height:32px; border-radius:50%; background:var(--mint); color:var(--green); }
.flow-grid h3 { margin:24px 0 8px; font-size:1.08rem; }
.flow-grid p { margin:0; color:var(--ink-soft); font-size:.88rem; }
.visual-story { display:grid; grid-template-columns:.8fr 1.2fr; gap:64px; align-items:center; }
.visual-story p { color:var(--ink-soft); }
.visual-story blockquote { margin:28px 0 0; padding:18px 20px; border-left:4px solid var(--terracotta); background:var(--cream); font-family:Georgia,serif; font-size:1.22rem; line-height:1.35; }
.visual-story-image { border:1px solid var(--line); border-radius:24px; overflow:hidden; background:#fff; box-shadow:var(--shadow); }
.visual-story-image img { display:block; width:100%; }
.result-section { background:var(--green); color:#fff; }
.light-prose { color:rgba(255,255,255,.78); }
.confidentiality { padding-top:54px; padding-bottom:70px; }
.confidentiality p { max-width:880px; color:var(--ink-soft); font-size:.87rem; }
.case-nav { margin-top:34px; padding-top:22px; border-top:1px solid var(--line); display:flex; justify-content:space-between; gap:20px; }
.case-nav a { font-weight:800; text-decoration:none; }
.case-nav a:hover { color:var(--green-2); }

@media (max-width:930px) {
  .portfolio-hero-grid,.fit-grid,.case-hero-grid,.case-two-col,.visual-story { grid-template-columns:1fr; gap:34px; }
  .portfolio-card-featured { grid-template-columns:1fr; }
  .contribution-grid.three { grid-template-columns:1fr; }
  .flow-grid { grid-template-columns:repeat(2,1fr); }
  .case-hero-art { max-width:760px; }
}
@media (max-width:640px) {
  .subpage-hero,.case-hero { padding:64px 0 54px; }
  .portfolio-grid { grid-template-columns:1fr; }
  .portfolio-card-featured { grid-column:auto; }
  .portfolio-card-copy { padding:24px; }
  .portfolio-card-media { min-height:220px; }
  .case-metric-grid { grid-template-columns:repeat(2,1fr); }
  .case-metric-grid div:nth-child(2) { border-right:0; }
  .case-metric-grid div:nth-child(-n+2) { border-bottom:1px solid var(--line); }
  .contribution-grid { grid-template-columns:1fr; }
  .flow-grid { grid-template-columns:1fr; }
  .flow-grid > div { min-height:0; }
  .case-nav { flex-direction:column; }
}

/* Combined-site navigation refinements */
.audience-link { display:inline-block; margin-top:14px; font-weight:800; text-decoration:none; color:var(--green); }
.audience-link:hover { text-decoration:underline; text-underline-offset:4px; }
@media (max-width:930px) { .nav a[href="/work/"] { display:inline; } }

/* Portfolio depth + visual contrast revision: October 20, 2026 */
#services {
  background: linear-gradient(180deg, #fffdf9 0%, #f7f2e9 100%);
  border-top: 1px solid rgba(24,48,45,.06);
  border-bottom: 1px solid rgba(24,48,45,.06);
}
.service-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(24,48,45,.14);
  border-top: 5px solid var(--green-2);
  box-shadow: 0 16px 38px rgba(24,48,45,.085);
}
.service-card:nth-child(1) { background: linear-gradient(180deg,#ffffff,#fbf6ed); border-top-color: var(--terracotta); }
.service-card:nth-child(2) { background: linear-gradient(180deg,#ffffff,#eef7f4); border-top-color: #0c8b82; }
.service-card:nth-child(3) { background: linear-gradient(180deg,#ffffff,#f3f0fa); border-top-color: #7964a1; }
.service-card::after {
  content:"";
  position:absolute;
  width:150px;
  height:150px;
  border-radius:50%;
  right:-72px;
  bottom:-76px;
  background:rgba(23,63,58,.035);
  pointer-events:none;
}
.service-card:hover { box-shadow: 0 24px 52px rgba(24,48,45,.14); }
.icon-box { width:52px; height:52px; border-radius:15px; box-shadow:0 7px 18px rgba(24,48,45,.08); }
.card-cta { font-size:.86rem; }

.work-card-link { box-shadow: 0 12px 30px rgba(24,48,45,.055); }
.work-card-link:hover { box-shadow:0 22px 48px rgba(24,48,45,.13); }

/* Keep portfolio imagery fully visible and consistently aligned. */
.portfolio-card-media {
  min-height: 0;
  aspect-ratio: 16 / 9;
  padding: 18px;
  background: linear-gradient(135deg,#edf4f1,#f2eff8);
}
.portfolio-card-media img,
.portfolio-card-featured .portfolio-card-media img {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  padding:0;
}
.case-hero-art {
  aspect-ratio: 16 / 9;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#edf4f1,#f3f0f9);
}
.case-hero-art img {
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  border-radius:14px;
}

/* Long-form case studies */
.case-overview { background:#fff; border-bottom:1px solid var(--line); }
.case-detail-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.case-detail-grid > div { padding:20px; border:1px solid var(--line); border-radius:16px; background:var(--paper); }
.case-detail-grid strong { display:block; margin-bottom:5px; font-size:.74rem; text-transform:uppercase; letter-spacing:.1em; color:var(--green-2); }
.case-detail-grid span { display:block; color:var(--ink); font-size:.94rem; line-height:1.45; }

.case-band { padding:96px 0; }
.case-band-paper { background:var(--paper); }
.case-band-cream { background:#f4eee4; }
.case-band-mint { background:#eaf3ef; }
.case-band-lavender { background:#efedf6; }
.case-band-white { background:#fff; }
.case-band-deep { background:var(--green); color:#fff; }
.case-band-deep .case-prose, .case-band-deep p { color:rgba(255,255,255,.8); }
.case-band-deep h2, .case-band-deep h3 { color:#fff; }
.case-band-deep .eyebrow { color:#a8d7ce; }

.case-copy-wide { max-width:850px; }
.case-copy-wide > :first-child { margin-top:0; }
.case-copy-wide > :last-child { margin-bottom:0; }
.case-copy-wide p { color:var(--ink-soft); font-size:1.01rem; }
.case-band-deep .case-copy-wide p { color:rgba(255,255,255,.8); }
.case-section-title { margin:0 0 22px; font-family:Georgia,"Times New Roman",serif; font-size:clamp(2rem,4vw,3.35rem); line-height:1.08; font-weight:500; letter-spacing:-.03em; }
.case-subhead { margin:38px 0 10px; font-size:1.18rem; }

.case-evidence-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:32px; }
.case-evidence-card { padding:25px; border:1px solid rgba(24,48,45,.14); border-radius:18px; background:rgba(255,255,255,.78); }
.case-evidence-card .num { display:grid; place-items:center; width:34px; height:34px; border-radius:50%; background:var(--green); color:#fff; font-size:.74rem; font-weight:850; margin-bottom:20px; }
.case-evidence-card h3 { margin:0 0 8px; font-size:1.08rem; }
.case-evidence-card p { margin:0; color:var(--ink-soft); font-size:.92rem; }

.case-visual { margin-top:38px; border:1px solid var(--line); border-radius:22px; padding:16px; background:#fff; box-shadow:0 14px 35px rgba(24,48,45,.07); }
.case-visual img { display:block; width:100%; height:auto; border-radius:14px; }
.case-visual figcaption { margin-top:10px; color:var(--ink-soft); font-size:.78rem; line-height:1.45; }
.case-visual-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; margin-top:38px; }
.case-visual-grid .case-visual { margin-top:0; }
.case-visual-grid.single-wide { grid-template-columns:1fr; }

.case-table-wrap { margin-top:28px; overflow-x:auto; border:1px solid var(--line); border-radius:18px; background:#fff; }
.case-table { width:100%; border-collapse:collapse; min-width:620px; }
.case-table th { padding:14px 16px; text-align:left; background:#173f3a; color:#fff; font-size:.78rem; letter-spacing:.04em; }
.case-table td { padding:14px 16px; vertical-align:top; border-top:1px solid var(--line); color:var(--ink-soft); font-size:.9rem; }
.case-table tr:nth-child(even) td { background:#f8faf9; }

.case-callout { margin-top:28px; padding:22px 24px; border-left:5px solid var(--terracotta); border-radius:0 16px 16px 0; background:#fff; font-family:Georgia,serif; font-size:1.22rem; line-height:1.4; color:var(--ink); }
.case-band-deep .case-callout { background:rgba(255,255,255,.08); color:#fff; border-left-color:var(--gold); }

.skills-list { display:flex; flex-wrap:wrap; gap:8px; margin-top:24px; }
.skills-list span { padding:8px 11px; border:1px solid var(--line); border-radius:999px; background:#fff; color:var(--ink-soft); font-size:.78rem; }
.case-band-deep .skills-list span { background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.2); color:rgba(255,255,255,.9); }

.case-two-col-balanced { display:grid; grid-template-columns:1fr 1fr; gap:54px; align-items:start; }
.case-list { margin:14px 0 0; padding-left:20px; color:var(--ink-soft); }
.case-list li + li { margin-top:9px; }

@media (max-width:930px) {
  .case-detail-grid { grid-template-columns:repeat(2,1fr); }
  .case-evidence-grid { grid-template-columns:1fr; }
  .case-two-col-balanced { grid-template-columns:1fr; gap:30px; }
  .case-visual-grid { grid-template-columns:1fr; }
}
@media (max-width:640px) {
  .case-detail-grid { grid-template-columns:1fr; }
  .case-band { padding:64px 0; }
  .portfolio-card-media { aspect-ratio: 16 / 10; padding:12px; }
  .case-hero-art { aspect-ratio:16 / 10; padding:10px; }
  .case-table { min-width:560px; }
}

/* Homepage cards should read as deliberate choices, not background panels. */
.work-section { background: linear-gradient(180deg,#eee8de 0%,#f5f0e8 100%); }
.work-card-link { border-top:5px solid var(--green-2); background:#fffdf9; }
.work-card-link:nth-child(1) { border-top-color:var(--terracotta); }
.work-card-link:nth-child(2) { border-top-color:#0c8b82; }
.work-card-link:nth-child(3) { border-top-color:#7964a1; }
.work-card-link .case-link { display:inline-flex; align-items:center; gap:6px; color:var(--green); }
.portfolio-card-media img { border-radius:16px; }


/* Final portfolio visual polish: October 20, 2026 */

/* Richer callout buttons on the Work page */
.portfolio-fit .fit-list span {
  position: relative;
  overflow: hidden;
  padding: 18px 20px 18px 56px;
  border-width: 1px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  font-weight: 650;
  color: rgba(255,255,255,.96);
}
.portfolio-fit .fit-list span::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  border-radius: 6px;
  border: 2px solid currentColor;
  opacity: .9;
}
.portfolio-fit .fit-list span::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 50%;
  width: 7px;
  height: 4px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-65%) rotate(-45deg);
}
.portfolio-fit .fit-list span:nth-child(1) { background:linear-gradient(90deg,rgba(17,151,132,.42),rgba(255,255,255,.07)); border-color:rgba(133,224,207,.46); }
.portfolio-fit .fit-list span:nth-child(2) { background:linear-gradient(90deg,rgba(65,113,178,.40),rgba(255,255,255,.07)); border-color:rgba(150,186,231,.46); }
.portfolio-fit .fit-list span:nth-child(3) { background:linear-gradient(90deg,rgba(202,134,56,.38),rgba(255,255,255,.07)); border-color:rgba(236,187,111,.48); }
.portfolio-fit .fit-list span:nth-child(4) { background:linear-gradient(90deg,rgba(125,93,165,.42),rgba(255,255,255,.07)); border-color:rgba(190,163,224,.48); }

/* Work-page screenshots: preserve the approved compositions rather than cropping them. */
.portfolio-card:not(.portfolio-card-featured) .portfolio-card-media {
  aspect-ratio: 1.96 / 1;
  padding: 10px;
  background: linear-gradient(135deg,#eef5f2,#f5f1f8);
}
.portfolio-card:not(.portfolio-card-featured) .portfolio-card-media img {
  object-fit: contain;
  object-position: center;
  border-radius: 14px;
}

/* Case-study overview tiles: icons + distinct color cues. */
.case-detail-grid > div {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  padding: 22px 20px 22px 72px;
  border-top: 5px solid var(--green-2);
  box-shadow: 0 10px 26px rgba(24,48,45,.055);
}
.case-detail-grid > div:nth-child(1) { background:linear-gradient(180deg,#ffffff,#eaf5f1); border-top-color:#138b7f; }
.case-detail-grid > div:nth-child(2) { background:linear-gradient(180deg,#ffffff,#edf3fb); border-top-color:#3977b6; }
.case-detail-grid > div:nth-child(3) { background:linear-gradient(180deg,#ffffff,#fff3e7); border-top-color:#c5782f; }
.case-detail-grid > div:nth-child(4) { background:linear-gradient(180deg,#ffffff,#f3effa); border-top-color:#7658a0; }
.detail-icon {
  position:absolute;
  left:20px;
  top:20px;
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:#fff;
  box-shadow:0 6px 14px rgba(24,48,45,.08);
}
.detail-icon svg { width:22px; height:22px; }
.case-detail-grid > div:nth-child(1) .detail-icon { color:#138b7f; }
.case-detail-grid > div:nth-child(2) .detail-icon { color:#3977b6; }
.case-detail-grid > div:nth-child(3) .detail-icon { color:#c5782f; }
.case-detail-grid > div:nth-child(4) .detail-icon { color:#7658a0; }

/* Numbered project tiles use coordinated pastel families instead of identical white cards. */
.case-evidence-card {
  position:relative;
  overflow:hidden;
  border-top:5px solid var(--green-2);
  box-shadow:0 12px 28px rgba(24,48,45,.06);
}
.case-evidence-card::after {
  content:"";
  position:absolute;
  width:110px;
  height:110px;
  border-radius:50%;
  right:-48px;
  bottom:-52px;
  background:rgba(255,255,255,.46);
  pointer-events:none;
}
.case-evidence-card:nth-child(1) { background:#edf7f3; border-top-color:#138b7f; }
.case-evidence-card:nth-child(2) { background:#eef4fb; border-top-color:#3977b6; }
.case-evidence-card:nth-child(3) { background:#fff3e7; border-top-color:#c5782f; }
.case-evidence-card:nth-child(4) { background:#f3effa; border-top-color:#7658a0; }
.case-evidence-card:nth-child(1) .num { background:#138b7f; }
.case-evidence-card:nth-child(2) .num { background:#3977b6; }
.case-evidence-card:nth-child(3) .num { background:#c5782f; }
.case-evidence-card:nth-child(4) .num { background:#7658a0; }
.case-evidence-card .num { width:40px; height:40px; box-shadow:0 6px 14px rgba(24,48,45,.11); }

/* National Sales metrics become four colorful scan-friendly cards. */
.case-metrics {
  padding: 28px 0;
  background: linear-gradient(180deg,#f7f2e9,#fbf8f2);
}
.case-metric-grid { gap:14px; }
.case-metric-grid > div {
  position:relative;
  min-height:148px;
  padding:22px 20px;
  border:1px solid var(--line) !important;
  border-top:5px solid var(--green-2) !important;
  border-radius:18px;
  box-shadow:0 10px 26px rgba(24,48,45,.055);
}
.case-metric-grid > div:nth-child(1) { background:#edf7f3; border-top-color:#138b7f !important; }
.case-metric-grid > div:nth-child(2) { background:#eef4fb; border-top-color:#3977b6 !important; }
.case-metric-grid > div:nth-child(3) { background:#fff3e7; border-top-color:#c5782f !important; }
.case-metric-grid > div:nth-child(4) { background:#f3effa; border-top-color:#7658a0 !important; }
.metric-badge {
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:#fff;
  box-shadow:0 6px 14px rgba(24,48,45,.08);
  margin-bottom:14px;
}
.metric-badge svg { width:22px; height:22px; }
.case-metric-grid > div:nth-child(1) .metric-badge { color:#138b7f; }
.case-metric-grid > div:nth-child(2) .metric-badge { color:#3977b6; }
.case-metric-grid > div:nth-child(3) .metric-badge { color:#c5782f; }
.case-metric-grid > div:nth-child(4) .metric-badge { color:#7658a0; }
.case-metric-grid strong { font-size:1.65rem; }
.case-metric-grid span:not(.metric-badge) { font-size:.82rem; }

/* Larger, more legible hero visuals for ITGC and Self-Service. */
.case-hero-itgc-large .case-hero-grid,
.case-hero-self-large .case-hero-grid { grid-template-columns:.82fr 1.18fr; gap:54px; }
.case-hero-itgc-large .case-hero-art { aspect-ratio:1.996 / 1; padding:10px; }
.case-hero-self-large .case-hero-art { aspect-ratio:1.937 / 1; padding:10px; }
.case-hero-itgc-large .case-hero-art img,
.case-hero-self-large .case-hero-art img { object-fit:contain; }

/* National Sales feedback visual gets equal visual authority with the copy. */
.sales-feedback-layout { grid-template-columns:.72fr 1.28fr; align-items:center; gap:46px; }
.sales-feedback-visual { margin-top:0; padding:14px; }
.sales-feedback-visual img { width:100%; }

/* Recruiter-friendly PDF download control. */
.case-download-button {
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-top:18px;
  padding:11px 15px;
  border-radius:999px;
  border:1px solid rgba(23,63,58,.22);
  background:rgba(255,255,255,.78);
  color:var(--green);
  font-size:.83rem;
  font-weight:800;
  text-decoration:none;
  box-shadow:0 7px 18px rgba(24,48,45,.06);
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.case-download-button:hover { transform:translateY(-2px); background:#fff; box-shadow:0 11px 24px rgba(24,48,45,.1); }
.download-icon { width:20px; height:20px; display:grid; place-items:center; }
.download-icon svg { width:20px; height:20px; }

@media (max-width:930px) {
  .case-hero-itgc-large .case-hero-grid,
  .case-hero-self-large .case-hero-grid,
  .sales-feedback-layout { grid-template-columns:1fr; }
  .case-hero-itgc-large .case-hero-art,
  .case-hero-self-large .case-hero-art { max-width:900px; width:100%; }
}
@media (max-width:640px) {
  .case-detail-grid > div { min-height:0; padding:20px 18px 20px 68px; }
  .case-metric-grid > div { min-height:0; }
  .portfolio-fit .fit-list span { padding-left:52px; }
}


/* Revision: stronger ITGC memory anchor and prominent sales feedback */
.memory-anchor {
  margin: 30px 0 34px;
  padding: 24px 28px;
  border: 1px solid rgba(19,139,127,.28);
  border-left: 6px solid #138b7f;
  border-radius: 18px;
  background: linear-gradient(135deg, #e8f6f2 0%, #eef4fb 100%);
  box-shadow: 0 12px 30px rgba(24,48,45,.07);
}
.memory-anchor-label {
  display:block;
  margin-bottom:8px;
  color:#17675f;
  font-size:.76rem;
  font-weight:850;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.memory-anchor strong {
  display:block;
  color:var(--ink);
  font-family:Georgia,serif;
  font-size:clamp(1.8rem,3vw,2.7rem);
  font-weight:500;
  line-height:1.12;
  letter-spacing:-.025em;
}
.sales-feedback-feature {
  display:block;
}
.sales-feedback-heading {
  max-width:980px;
  margin-bottom:24px;
}
.sales-feedback-copy {
  max-width:900px;
}
.sales-feedback-prominent {
  max-width:1120px;
  margin:38px auto 0;
  padding:22px;
  border-color:rgba(118,88,160,.24);
  box-shadow:0 22px 48px rgba(67,50,94,.13);
}
.sales-feedback-prominent img {
  width:100%;
}
@media (max-width: 700px) {
  .memory-anchor { padding:20px; }
  .sales-feedback-prominent { padding:12px; }
}
