@font-face {
  font-family: Manrope;
  src: url("manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --paper: #faf9fc;
  --white: #fff;
  --ink: #1e1a35;
  --muted: #555267;
  --line: #d6d3df;
  --blue: #006a94;
  --cyan: #00a7db;
  --pink: #bc005f;
  --gradient: linear-gradient(105deg, #0088bd, #34265c 50%, #e90083);
  --gutter: clamp(1.2rem, 5vw, 5rem);
  --shell: 83rem;
  font-family: Manrope, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { display: flex; flex-direction: column; min-height: 100vh; margin: 0; font-size: 1rem; line-height: 1.65; }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
main { flex: 1; }
main:focus { outline: none; }
address { font-style: normal; }
.shell { width: min(100% - var(--gutter) * 2, var(--shell)); margin-inline: auto; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  z-index: 2;
  top: .75rem;
  left: .75rem;
  padding: .7rem 1rem;
  transform: translateY(-160%);
  background: var(--white);
}
.skip-link:focus { transform: none; }

.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  min-height: 5.45rem;
}
.brand { display: block; flex: 0 1 13rem; }
.site-nav, .footer-meta nav { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem clamp(1rem, 3vw, 2.6rem); }
.site-nav a, .footer-meta a { text-decoration: none; }
.site-nav a {
  padding: .45rem 0;
  font-size: .9375rem;
  font-weight: 750;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav [aria-current="page"], .site-nav .active { border-color: var(--pink); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: .68rem 1.18rem;
  border: 1px solid transparent;
  border-radius: .2rem;
  font-size: .9375rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color .16s ease, color .16s ease;
}
.button-primary { background: var(--ink); color: var(--white); }
.button-primary:hover { background: #373153; }
.button-outline { border-color: var(--ink); color: var(--ink); }
.button-outline:hover { background: var(--ink); color: var(--white); }
.text-link {
  font-weight: 800;
  text-decoration-color: var(--pink);
  text-decoration-thickness: 2px;
  text-underline-offset: .28em;
}
.text-link:hover { color: var(--pink); }

h1, h2, h3 { font-weight: 800; }
h1 {
  max-width: 16ch;
  font-size: clamp(3rem, 6.05vw, 6.1rem);
  line-height: 1.01;
  letter-spacing: -.073em;
}
h2 { font-size: clamp(1.85rem, 3.2vw, 3.25rem); line-height: 1.12; letter-spacing: -.055em; }
h3 { line-height: 1.25; letter-spacing: -.032em; }
.lead { max-width: 42ch; color: var(--muted); font-size: clamp(1.0625rem, 1.65vw, 1.35rem); line-height: 1.55; }
.page-intro { padding-block: clamp(2.75rem, 5.2vw, 5rem) clamp(1.6rem, 3vw, 2.5rem); }
.page-intro .lead { margin-top: .85rem; }
.page-intro > .button { margin-top: 1.25rem; }

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5.5vw, 5.5rem);
  padding-block: clamp(2rem, 4.1vw, 4rem);
}
.hero-copy h1 { font-size: clamp(3rem, 5.3vw, 5.4rem); }
.hero-copy .lead { max-width: 25ch; margin-top: 1rem; color: var(--ink); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; margin-top: 1.55rem; }
.hero-feature a { display: block; text-decoration: none; }
.feature-image { overflow: hidden; aspect-ratio: 1.48; background: #edebf0; }
.feature-image img, .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .24s ease;
}
.feature-image img { object-position: 50% 51%; }
.hero-feature a:hover img, .project-card a:hover img, .selected-project a:hover img { transform: scale(1.025); }
.hero-feature figcaption { margin-top: .45rem; font-size: .9375rem; font-weight: 750; }

.selected-work { border-top: 1px solid var(--line); padding-block: 1.15rem clamp(2.8rem, 5vw, 4.75rem); }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: .65rem 1.5rem; margin-bottom: 1rem; }
.section-heading h2 { font-size: clamp(1.7rem, 2.7vw, 2.65rem); }
.selected-grid, .project-grid { padding: 0; margin: 0; list-style: none; }
.selected-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem clamp(1rem, 3vw, 2.7rem); }
.selected-project + .selected-project { padding-left: clamp(1rem, 3vw, 2.7rem); border-left: 1px solid var(--line); }
.selected-project a {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
  gap: .85rem 1.1rem;
  align-items: center;
  text-decoration: none;
}
.selected-project h3 { font-size: clamp(1rem, 1.8vw, 1.4rem); }
.selected-project h3::after { content: ""; display: block; width: 2.1rem; height: 2px; margin-top: .55rem; background: var(--pink); }
.selected-blue h3::after { background: var(--blue); }
.selected-project .card-image { aspect-ratio: 1.85; }
.selected-pink .card-image img { object-fit: contain; scale: 1.65; background: var(--white); }

.home-services {
  padding-block: clamp(2.4rem, 5vw, 4.75rem);
  border-top: 1px solid var(--line);
  background: #f0eef5;
}
.home-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.45rem clamp(1rem, 3.25vw, 3rem); }
.home-service { padding-top: .95rem; border-top: 1px solid var(--line); }
.home-service h3 { font-size: clamp(1.2rem, 2.05vw, 1.65rem); }
.home-service ul { margin: .65rem 0 0; padding-left: 1.1rem; color: var(--muted); }
.home-service li + li { margin-top: .24rem; }
.home-service li::marker { color: var(--pink); }

.portfolio-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: .75rem 2rem;
  padding-block: clamp(2.8rem, 6vw, 5rem) clamp(1.4rem, 3vw, 2.3rem);
  border-bottom: 1px solid var(--line);
}
.portfolio-intro .lead { margin-top: .85rem; }
.portfolio-count { flex-shrink: 0; font-size: .9375rem; font-weight: 800; color: var(--blue); }
.portfolio-work { padding-block: clamp(1.5rem, 3vw, 2.7rem) clamp(3.2rem, 6.4vw, 5.5rem); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.8rem) clamp(1rem, 2.6vw, 2.35rem); }
.project-card a { display: block; text-decoration: none; }
.card-image { overflow: hidden; aspect-ratio: 1.25; background: #edecf0; }
.project-card h3 {
  margin-top: .65rem;
  font-size: clamp(1.05rem, 1.65vw, 1.4rem);
  text-decoration-color: transparent;
  text-underline-offset: .25em;
}
.project-card a:hover h3 { text-decoration: underline; text-decoration-color: var(--pink); }

.case-study { padding-block: clamp(2rem, 5vw, 4.25rem) clamp(3rem, 6vw, 5.25rem); }
.case-feature-layout {
  display: grid;
  grid-template-columns: minmax(0, .68fr) minmax(0, 1.12fr);
  grid-template-rows: auto 1fr;
  grid-template-areas: "lead heading" "lead details";
  column-gap: clamp(1.15rem, 3.65vw, 3.65rem);
  row-gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: start;
}
.case-heading { grid-area: heading; }
.case-heading > a { display: inline-block; font-size: .9375rem; margin-bottom: 1rem; }
.case-heading-grid.has-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .86fr);
  align-items: start;
  gap: 1rem clamp(1rem, 2vw, 1.7rem);
}
.case-heading h1 { max-width: none; font-size: clamp(2.2rem, 3.55vw, 4.35rem); overflow-wrap: break-word; }
.case-summary { border-left: 1px solid var(--line); padding-left: clamp(.85rem, 1.6vw, 1.5rem); }
.case-summary p { font-size: clamp(1rem, 1.65vw, 1.4rem); line-height: 1.45; font-weight: 650; }
.tags { display: flex; flex-wrap: wrap; column-gap: .55rem; row-gap: .18rem; list-style: none; padding: 0; margin: 0; font-size: .875rem; font-weight: 750; }
.case-summary p + .tags { margin-top: .6rem; }
.tags li + li::before { content: "·"; margin-right: .55rem; color: var(--pink); }
.case-lead { grid-area: lead; }
.case-lead a, .case-gallery a { display: block; }
.case-lead img { width: 100%; aspect-ratio: .8; object-fit: cover; background: #edecf0; }
.case-gallery { grid-area: details; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.75rem, 1.8vw, 1.6rem); }
.case-gallery img { width: 100%; aspect-ratio: 1.38; object-fit: contain; background: #edecf0; }
.case-gallery figcaption, .service-example span { margin-top: .48rem; font-size: .875rem; color: var(--muted); }
.case-story {
  max-width: 65ch;
  margin-top: clamp(2.25rem, 5.15vw, 4.5rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.case-story h2 { margin: 1.5rem 0 .55rem; font-size: clamp(1.45rem, 2.2vw, 2rem); }
.case-story h2:first-child { margin-top: 0; }
.case-story p + p { margin-top: .75rem; }
.case-story p { color: var(--muted); }
.case-banner { margin-top: clamp(1.6rem, 3vw, 2.6rem); }
.case-banner img { width: 100%; }
.case-pagination {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 2rem;
  margin-top: clamp(2rem, 4.5vw, 4rem);
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.case-pagination a { text-decoration: none; }
.case-pagination span { display: block; color: var(--muted); font-size: .875rem; }
.case-pagination strong { font-size: clamp(1rem, 1.7vw, 1.375rem); line-height: 1.3; }
.case-pagination a:hover strong { text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: .2em; }

.services { padding-bottom: clamp(3rem, 6vw, 5.25rem); }
.service-list { margin-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.1fr) minmax(0, .8fr);
  align-items: center;
  gap: clamp(.9rem, 3.1vw, 2.8rem);
  padding-block: 1rem;
  border-top: 1px solid var(--line);
}
.service-row h2 { font-size: clamp(1.4rem, 2.65vw, 2.45rem); }
.service-copy { padding-left: 1rem; border-left: 1px solid var(--line); color: var(--muted); }
.service-copy p + p { margin-top: .35rem; }
.service-copy .service-specialties { color: var(--ink); font-weight: 800; }
.service-example { text-decoration: none; }
.service-example div { overflow: hidden; aspect-ratio: 3.3; background: var(--white); }
.service-example img { width: 100%; height: 100%; object-fit: cover; }
.service-row:first-child .service-example img { object-fit: contain; scale: 1.9; }
.service-row:nth-child(2) .service-example img { object-position: 50% 36%; }
.service-example span { display: block; margin-top: .2rem; }
.service-example:hover span { text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: .23em; }

.contact-page {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}
main:has(.contact-page) { display: grid; align-content: center; }
.contact-actions { background: var(--ink); color: var(--white); }
.contact-actions, .contact-prompt { padding: clamp(1.65rem, 5vw, 4.65rem); }
.contact-actions::before, .contact-prompt::before { content: ""; display: block; width: 3.2rem; height: 4px; margin-bottom: 1.4rem; background: var(--cyan); }
.contact-actions h1 { font-size: clamp(3rem, 6vw, 6.3rem); }
.contact-actions > p { max-width: 24ch; margin-top: .8rem; font-size: clamp(1.1rem, 2.15vw, 1.65rem); line-height: 1.36; }
.contact-buttons { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.5rem; }
.contact-email { background: var(--white); color: var(--ink); }
.contact-email:hover { background: #e9e6f4; }
.contact-phone { border-color: var(--white); color: var(--white); }
.contact-phone:hover { background: var(--white); color: var(--ink); }
.contact-actions address { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; color: #e5e2ee; margin-top: 1rem; font-size: .875rem; }
.contact-actions address a { overflow-wrap: anywhere; }
.contact-actions a:focus-visible, .site-footer a:focus-visible { outline-color: #ff79b7; }
.contact-prompt { align-content: center; background: var(--white); }
.contact-prompt::before { background: var(--pink); }
.contact-prompt h2 { max-width: 14ch; font-size: clamp(1.75rem, 3.3vw, 3.35rem); font-weight: 650; }

.standard-page { padding-bottom: clamp(2.9rem, 5.5vw, 5.25rem); }
.section-image img { width: 100%; max-height: 25rem; object-fit: cover; }
.process { margin-block: 2.6rem 1.6rem; }
.process ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem clamp(1rem, 3vw, 2.5rem);
  list-style: none;
  margin: 1.3rem 0 0;
  padding: 0;
}
.process li { padding-top: .9rem; border-top: 1px solid var(--line); }
.process p { margin-top: .45rem; color: var(--muted); }
.blog-layout { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.55fr); gap: 1.75rem clamp(1.5rem, 5vw, 5rem); margin-top: 2rem; }
.blog-layout nav ul { display: grid; gap: .7rem; margin: .25rem 0 0; padding: 0; list-style: none; }
.blog-layout nav a { text-decoration-color: var(--pink); text-underline-offset: .22em; }
.blog-articles article { max-width: 68ch; padding-block: 1.2rem 2.2rem; border-top: 1px solid var(--line); }
.blog-articles h2 { margin-bottom: .7rem; font-size: clamp(1.55rem, 3vw, 2.6rem); }
.blog-articles h3 { margin-top: .85rem; }
.blog-articles p + p, .blog-articles h3 + p { margin-top: .65rem; }
.blog-articles p, .blog-articles li { color: var(--muted); }
.blog-articles li + li { margin-top: .4rem; }
.examples-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1rem; }

.site-footer { position: relative; padding-block: 1.7rem; color: var(--white); background: var(--ink); }
.site-footer::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 3px; background: var(--gradient); }
.footer-content { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .7rem 1.45rem; border-bottom: 1px solid #514d68; margin-bottom: 1.1rem; }
.footer-content h2 { font-size: clamp(1.65rem, 3.2vw, 3rem); }
.home-contact { gap: 1rem 2rem; padding-block: clamp(1rem, 2.6vw, 2.35rem); }
.home-contact p { margin-top: .5rem; color: #dfdce9; }
.home-contact address { display: grid; gap: .42rem; font-weight: 750; }
.home-contact address a { overflow-wrap: anywhere; text-underline-offset: .22em; }
.footer-button { color: var(--ink); background: var(--white); flex-shrink: 0; }
.footer-button:hover { background: #e9e6f4; }
.footer-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-brand { display: inline-flex; align-items: center; gap: .6rem; font-size: .9375rem; font-weight: 800; }
.footer-brand img { width: 1.55rem; height: 1.55rem; object-fit: contain; }
.footer-meta nav { gap: .35rem 1rem; font-size: .875rem; color: #dfdce9; }
.footer-meta a:hover { text-decoration: underline; text-underline-offset: .25em; }

@media (max-width: 64rem) {
  .case-heading-grid.has-summary { grid-template-columns: 1fr; }
}

@media (max-width: 45rem) {
  .header-inner { flex-wrap: wrap; min-height: 0; padding-block: .65rem .45rem; gap: .25rem 1rem; }
  .brand { flex-basis: 10.75rem; margin-block: .15rem; }
  .site-nav { width: 100%; gap: .25rem clamp(.7rem, 4vw, 1.65rem); }
  .site-nav a { padding-block: .32rem; }
  .home-hero { grid-template-columns: 1fr; gap: 1.35rem; padding-block: 1.8rem 1.45rem; }
  .hero-copy h1 { max-width: 14ch; }
  .hero-copy .lead { margin-top: .55rem; }
  .hero-actions { margin-top: .95rem; }
  .feature-image { aspect-ratio: 1.58; }
  .selected-project a { grid-template-columns: 1fr; gap: .45rem; }
  .selected-project + .selected-project { border: 0; padding-left: 0; }
  .selected-project .card-image { aspect-ratio: 1.4; }
  .selected-pink .card-image img { scale: 1.25; }
  .home-service-grid { grid-template-columns: 1fr; }
  .home-contact { flex-direction: column; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-feature-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: "heading" "lead" "details";
  }
  .case-lead img { aspect-ratio: 1.16; }
  .service-row { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); column-gap: .9rem; }
  .service-row h2 { grid-column: 1 / -1; }
  .service-copy { padding-left: 0; border-left: 0; }
  .service-copy p + p { margin-top: .25rem; }
  .service-example div { aspect-ratio: 1.5; }
  .service-row:first-child .service-example img { scale: 1.25; }
  .contact-page, .blog-layout, .process ol { grid-template-columns: 1fr; }
  .contact-page { padding-block: 1.6rem 2.45rem; }
  .contact-prompt h2 { max-width: 23ch; }
  .footer-content, .footer-meta { align-items: start; }
}

@media (max-width: 25rem) {
  h1, .hero-copy h1 { font-size: clamp(2.45rem, 11vw, 3rem); }
  .project-card h3 { font-size: 1rem; }
  .portfolio-intro, .footer-content { flex-direction: column; align-items: start; }
}

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

