/* MOND:STUDIO v2 — inner pages (Work, About, Start a project, Privacy, case studies).
   Loads after v2.css and uses its tokens: --u, --gutter, type scale (--t-*), colours, --radius. */

:root { --red: #fc3637; }

/* ---------- page frame ---------- */
.page .bar { --bar-y: var(--bar-top); }
.page main { padding-bottom: calc(40 * var(--u)); }
.wrap { margin: 0 calc(27 * var(--u)) 0 calc(33 * var(--u)); }
.label { font-size: var(--t-s); line-height: var(--lh-xs); letter-spacing: var(--track-tight); color: var(--muted); }
.label--dark { color: var(--black); }

.page-head {
  padding-top: calc(var(--gutter) * 2 + var(--bar-h) + 96 * var(--u));
  margin: 0 calc(27 * var(--u)) 0 calc(33 * var(--u));
}
.page-head__eyebrow { margin-bottom: 14px; }
.page-head__title {
  font-size: var(--t-2xl);
  line-height: var(--lh-2xl);
  font-weight: var(--w-regular);
  letter-spacing: var(--track-tight);
}
.page-head__title .is-muted { color: var(--muted-3); }
.page-head__lead {
  max-width: calc(914 * var(--u));
  margin-top: 24px;
  font-size: var(--t-l); line-height: var(--lh-l);
  font-weight: var(--w-strong); letter-spacing: var(--track-tight);
  color: var(--muted-2);
}

.section { margin-top: calc(110 * var(--u)); }
.card-white { background: var(--surface); border-radius: var(--radius); }

/* pill toggles (filters, view switch) */
.toggle {
  display: inline-grid; place-items: center;
  height: 28px; padding: 0 12px;
  font-size: var(--t-ui); font-weight: var(--w-strong); letter-spacing: var(--track-ui);
  background: var(--pill); color: var(--inactive);
  border-radius: var(--radius-s);
  transition: background .3s ease, color .3s ease;
}
.toggle:hover, .toggle[aria-pressed="true"] { background: var(--black); color: var(--white); }

/* =========================================================
   Work
   ========================================================= */
.work-tools {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  margin: calc(var(--gutter) * 2 + var(--bar-h) + 24px) var(--wg) 0;
}
.work-tools__filters { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.work-tools__filters .label { margin-right: 12px; }
.work-tools__right { display: flex; align-items: center; gap: 16px; }
.work-status { font-size: var(--t-xs); color: var(--muted); }
.work-view { display: flex; gap: 4px; }

/* Masonry grid, after mallerandmond.com: 3 columns, 10 px gaps, 3 px corners, caption on hover */
.page--work { --wg: var(--gutter); } /* same side gap as the logo */
.work-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: start;
  margin: 16px var(--wg) 0;
}
.work-col { display: grid; gap: 10px; align-content: start; min-width: 0; }
.work-card { position: relative; display: block; min-width: 0; border-radius: var(--radius); overflow: hidden; transition: opacity .45s; }
.work-card__img { position: relative; aspect-ratio: var(--ar); background: var(--grey); }
.work-card__img img, .work-card__img video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work-card__img video { opacity: 0; transition: opacity .6s ease; }
.work-card__img video.is-playing { opacity: 1; }
/* hover: a small zoom on the image; the tags appear (no dimming of the others) */
.work-card__img img, .work-card__img video { transition: transform .6s cubic-bezier(.65, 0, .35, 1), opacity .3s ease !important; }
.work-card:hover .work-card__img img, .work-card:hover .work-card__img video,
.work-card:focus-visible .work-card__img img, .work-card:focus-visible .work-card__img video { transform: scale(1.04) !important; }
/* Image tags after blond.cc: a frosted label top-left (client · project →),
   discipline · year bottom-left on hover. */
.work-card__body {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  padding: 12px;
  font-size: var(--t-xs); line-height: 1.2; letter-spacing: var(--track);
  color: var(--ink);
  pointer-events: none;
}
.work-card__tag {
  position: relative; display: inline-flex; align-items: center; gap: 22px;
  max-width: 100%; padding: 4px 8px;
  border-radius: var(--radius-s);
  background: rgba(249, 249, 249, .8);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.work-card__line { display: flex; align-items: center; gap: 4px; min-width: 0; white-space: nowrap; overflow: hidden; }
.work-card__line > span { overflow: hidden; text-overflow: ellipsis; }
.work-card__dot { flex: none; opacity: .5; }
.work-card__arrow { flex: none; width: 8px; height: 7px; opacity: .5; }
.work-card:hover .work-card__tag, .work-card:focus-visible .work-card__tag { background: var(--accent); }
.work-card:hover .work-card__arrow, .work-card:focus-visible .work-card__arrow { opacity: 1; }
.work-card__tag { visibility: hidden; }
.work-card:hover .work-card__tag, .work-card:focus-visible .work-card__tag { visibility: visible; }
.work-card__meta { display: none; padding: 4px 8px; border-radius: var(--radius-s); background: rgba(249, 249, 249, .8); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.work-card:hover .work-card__meta, .work-card:focus-visible .work-card__meta { display: flex; }
.work-card.is-soon .work-card__tag { background: rgba(249, 249, 249, .8); }
@media (max-width: 799px) { .work-card__body { padding: 8px; } }

.work-empty { margin: 40px var(--wg); font-size: var(--t-s); }
.work-empty button { text-decoration: underline; text-underline-offset: 2px; }

.work-list {
  margin: 16px var(--wg) 0;
  background: var(--surface); border-radius: var(--radius);
  padding: 8px calc(20 * var(--u));
}
.work-list table { width: 100%; border-collapse: collapse; }
.work-list th, .work-list td {
  text-align: left; padding: 16px 0;
  border-bottom: 1px solid var(--bg);
  font-size: var(--t-m); letter-spacing: var(--track-tight); font-weight: var(--w-regular);
}
.work-list th { font-size: var(--t-xs); color: var(--muted); padding: 12px 0; }
.work-list tr:last-child td { border-bottom: 0; }
.work-list td:nth-child(2), .work-list th:nth-child(2) { color: var(--muted); width: 40%; }
.work-list td:nth-child(3), .work-list th:nth-child(3) { width: 80px; text-align: right; font-variant-numeric: tabular-nums; }
.work-list a { display: inline-flex; gap: 10px; align-items: center; transition: color .3s ease; }
.work-list a::after { content: "→"; opacity: 0; transform: translateX(-6px); transition: opacity .3s ease, transform .4s var(--ease); }
.work-list a:hover::after { opacity: 1; transform: none; }
.work-list .is-soon { color: var(--muted-3); }
.work-list .is-soon small { font-size: var(--t-xs); color: var(--muted); margin-left: 8px; }
.work-peek {
  position: fixed; z-index: 40; left: 0; top: 0;
  width: 240px; aspect-ratio: 4 / 3;
  border-radius: var(--radius); overflow: hidden; background: var(--grey);
  pointer-events: none; opacity: 0; transform: scale(.94);
  transition: opacity .25s ease, transform .35s var(--ease);
}
.work-peek.is-on { opacity: 1; transform: none; }
.work-peek img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   About
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: calc(481 * var(--u)) calc(525 * var(--u)) calc(360 * var(--u));
  margin: calc(96 * var(--u)) 0 0 calc(33 * var(--u));
}
.about-info { display: flex; flex-direction: column; gap: 28px; padding-right: 40px; font-size: var(--t-s); line-height: var(--lh-s); letter-spacing: var(--track-tight); }
.about-info a { text-decoration: underline; text-underline-offset: 2px; }
.about-info .label { margin-bottom: 6px; }
.accordion__item { border-bottom: 1px solid var(--grey); }
.accordion__item:first-child { border-top: 1px solid var(--grey); }
.accordion__btn {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
  padding: 12px 0;
  font-size: var(--t-l); line-height: var(--lh-l); letter-spacing: var(--track-tight);
  color: var(--muted-3); text-align: left;
  transition: color .3s ease;
}
.accordion__btn:hover, .accordion__btn[aria-expanded="true"] { color: var(--black); }
.accordion__plus { font-size: var(--t-m); transition: transform .4s var(--ease); }
.accordion__btn[aria-expanded="true"] .accordion__plus { transform: rotate(45deg); }
.accordion__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.accordion__btn[aria-expanded="true"] + .accordion__panel { grid-template-rows: 1fr; }
.accordion__panel > ul { overflow: hidden; font-size: var(--t-s); line-height: var(--lh-s); letter-spacing: var(--track-tight); }
.accordion__panel li:last-child { padding-bottom: 16px; }
.about-figure .media { aspect-ratio: 360 / 479; }

.about-statement {
  margin: calc(140 * var(--u)) 0 0 calc(33 * var(--u));
  max-width: calc(1100 * var(--u));
  font-size: var(--t-l); line-height: var(--lh-l); font-weight: var(--w-strong); letter-spacing: var(--track-tight);
}
.about-cols {
  display: grid; grid-template-columns: repeat(3, minmax(0, 300px)); gap: calc(40 * var(--u));
  margin: calc(48 * var(--u)) 0 0 calc(514 * var(--u));
  font-size: var(--t-s); line-height: var(--lh-s); letter-spacing: var(--track-tight);
}
.team {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(20 * var(--u));
  margin-top: 20px;
}
.team__person .media { aspect-ratio: 4 / 5; }
.team__name { margin-top: 12px; font-size: var(--t-s); letter-spacing: var(--track-tight); }
.team__role { font-size: var(--t-xs); color: var(--muted); }
.wide-media { height: calc(640 * var(--u)); }
.talk { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 18px; font-size: var(--t-xl); line-height: var(--lh-xl); letter-spacing: var(--track-tight); }
.talk__label { color: var(--muted); }
.talk a { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .12em; }
.talk a:hover { color: var(--inactive); }

/* =========================================================
   Start a project
   ========================================================= */
.inquiry {
  display: grid;
  grid-template-columns: calc(481 * var(--u)) 1fr;
  gap: calc(20 * var(--u));
  margin: calc(56 * var(--u)) calc(27 * var(--u)) 0 calc(33 * var(--u));
  align-items: start;
}
.inquiry__side { position: sticky; top: calc(var(--gutter) * 2 + var(--bar-h) + 20px); display: grid; gap: 20px; padding-right: calc(40 * var(--u)); }
.call-card { padding: 22px; }
.call-card h2 { font-size: var(--t-l); line-height: var(--lh-l); font-weight: var(--w-strong); letter-spacing: var(--track-tight); }
.call-card p { margin-top: 8px; font-size: var(--t-s); line-height: var(--lh-s); letter-spacing: var(--track-tight); color: var(--muted); }
.call-card p a { color: var(--black); text-decoration: underline; text-underline-offset: 2px; }
.call-card__actions { display: flex; gap: 4px; margin-top: 22px; }
.call-card__actions a { width: auto; padding: 0 14px; }
.call-card__actions a:last-child { background: var(--accent-2); color: var(--on-accent-2); }

.inquiry__form { padding: calc(40 * var(--u)) calc(44 * var(--u)) calc(36 * var(--u)); }
.inquiry__form form { display: grid; gap: calc(44 * var(--u)); }
.inquiry__form .form-section { border: 0; margin: 0; padding: 0; min-width: 0; }
.inquiry__form .field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: calc(32 * var(--u)); }
.inquiry__form label:not(.service-option), .inquiry__form legend {
  display: block; padding: 0; margin-bottom: 8px;
  font-size: var(--t-s); line-height: var(--lh-xs); letter-spacing: var(--track-tight); color: var(--muted);
}
.inquiry__form input[type="text"], .inquiry__form input[type="email"], .inquiry__form input[type="tel"], .inquiry__form select {
  width: 100%;
  appearance: none; -webkit-appearance: none;
  padding: 6px 0 10px;
  border: 0; border-bottom: 1px solid var(--grey); border-radius: 0;
  background: transparent;
  font: inherit; font-size: var(--t-l); line-height: var(--lh-l); letter-spacing: var(--track-tight); color: var(--black);
  transition: border-color .3s ease;
}
.inquiry__form select {
  padding-right: 24px; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23000' stroke-width='1.3'/%3E%3C/svg%3E") right 4px center / 12px no-repeat;
}
.inquiry__form input::placeholder { color: var(--muted-3); }
.inquiry__form input:focus, .inquiry__form select:focus { outline: none; border-bottom-color: var(--black); }
.inquiry__form [aria-invalid="true"] { border-bottom-color: var(--red) !important; }
.inquiry__form .phone-fields { display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
.inquiry__form .phone-fields select { font-size: var(--t-m); }
.inquiry__form .field-error { margin-top: 6px; font-size: var(--t-xs); color: var(--red); }
.inquiry__form .service-options { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.inquiry__form .service-option { position: relative; cursor: pointer; }
.inquiry__form .service-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.inquiry__form .service-option > span {
  display: inline-flex; align-items: center; gap: 8px;
  height: 34px; padding: 0 14px;
  font-size: var(--t-s); letter-spacing: var(--track-tight);
  background: var(--pill); color: var(--inactive); border-radius: var(--radius-s);
  transition: background .3s ease, color .3s ease;
}
.inquiry__form .service-option:hover > span { color: var(--black); }
.inquiry__form .service-option input:checked + span { background: var(--black); color: var(--white); }
.inquiry__form .service-option input:focus-visible + span { outline: 2px solid var(--black); outline-offset: 2px; }
.inquiry__form .service-check { font-size: var(--t-xs); opacity: .7; }
.inquiry__form .inquiry-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inquiry__form .inquiry-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; }
.inquiry__form .inquiry-privacy { max-width: 360px; font-size: var(--t-xs); line-height: var(--lh-xs); color: var(--muted); }
.inquiry__form .inquiry-privacy a { color: var(--black); text-decoration: underline; text-underline-offset: 2px; }
.inquiry__form .inquiry-send {
  height: 40px; padding: 0 22px;
  font-size: var(--t-ui); font-weight: var(--w-strong); letter-spacing: var(--track-ui);
  background: var(--accent-2); color: var(--on-accent-2); border-radius: var(--radius-s);
  transition: opacity .3s ease, transform .4s var(--ease);
}
.inquiry__form .inquiry-send:hover { transform: translateY(-1px); }
.inquiry__form .inquiry-send:disabled { opacity: .35; cursor: default; transform: none; }
.inquiry__form .form-status { font-size: var(--t-s); color: var(--red); }
.inquiry-success {
  position: fixed; z-index: 60; left: 50%; bottom: 24px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px;
  width: min(440px, calc(100vw - 32px));
  padding: 16px 18px;
  background: var(--black); color: var(--white); border-radius: var(--radius);
  font-size: var(--t-s); line-height: var(--lh-xs); letter-spacing: var(--track-tight);
}
.inquiry-success[hidden] { display: none; }
.inquiry-success h2 { font-size: var(--t-s); font-weight: var(--w-strong); }
.inquiry-success p { color: rgba(255,255,255,.65); }
.inquiry-success__close { margin-left: auto; font-size: 20px; color: var(--white); }

/* =========================================================
   Privacy (long-form text)
   ========================================================= */
.prose-card { margin: calc(56 * var(--u)) calc(27 * var(--u)) 0 calc(33 * var(--u)); padding: calc(56 * var(--u)) calc(44 * var(--u)); display: grid; grid-template-columns: calc(437 * var(--u)) minmax(0, 680px); }
.prose { font-size: var(--t-s); line-height: 20px; letter-spacing: var(--track-tight); }
.prose > * + * { margin-top: 14px; }
.prose .privacy-intro { font-size: var(--t-l); line-height: var(--lh-l); font-weight: var(--w-strong); color: var(--black); }
.prose h2 { margin-top: 44px; font-size: var(--t-m); line-height: var(--lh-m); font-weight: var(--w-strong); }
.prose section > * + * { margin-top: 12px; }
.prose ul { padding-left: 18px; list-style: disc; }
.prose li + li { margin-top: 6px; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose address { font-style: normal; }

/* =========================================================
   Case studies: sticky info card + image mosaic
   (layout from mallerandmond.com project pages, in v2 tokens)
   ========================================================= */
.project {
  display: grid; grid-template-columns: minmax(300px, 30%) minmax(0, 1fr); gap: 10px; align-items: start;
  --info-top: calc(var(--bar-top) + var(--bar-h) + 56px);
  padding: var(--info-top) var(--gutter) 0;
}
.info {
  position: sticky; top: var(--info-top);
  height: calc(100vh - var(--info-top) - 16px); height: calc(100svh - var(--info-top) - 16px); min-height: 520px;
  display: flex; flex-direction: column; gap: 28px; min-width: 0;
  padding: 20px; overflow: auto; scrollbar-width: none;
  background: var(--surface); border-radius: var(--radius);
}
.info::-webkit-scrollbar { display: none; }
.info > * { flex: none; }
.info__top { display: flex; justify-content: space-between; gap: 10px; }
.ibtn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 33px; padding: 0 14px;
  background: var(--paper); border-radius: var(--radius-s);
  font-size: var(--t-ui); line-height: var(--lh-xs); letter-spacing: var(--track);
}
.ibtn:hover { background: var(--ink); color: #fff; }
.ibtn[hidden] { display: none; }
.info__title { margin: 0; font-family: var(--font-display); font-weight: var(--w-strong); font-size: var(--t-l); line-height: var(--lh-l); letter-spacing: var(--track-head); overflow-wrap: anywhere; }
.info__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; align-items: start; }
.info__meta dt, .info .cs-text__label, .cs-credits dt { font-size: var(--t-xs); line-height: var(--lh-xs); color: var(--muted-2); }
.info__meta dd { margin-top: 2px; font-size: var(--t-s); line-height: var(--lh-xs); overflow-wrap: anywhere; }
.info__body { margin-top: auto; display: grid; gap: 14px; justify-items: start; }
.cs-text__label { margin: 14px 0 4px; font-weight: var(--w-regular); }
.cs-text__label:first-child { margin-top: 0; }
.cs-text__body { font-size: var(--t-m); line-height: 22px; }
.cs-text__body a { text-decoration: underline; text-underline-offset: 2px; }
.cs-text__body .case-description__line { display: inline; }
.cs-credits { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: var(--t-s); line-height: var(--lh-xs); }
.info.is-collapsible:not(.open) .info__text > :nth-child(n + 3) { display: none; }
.info.is-collapsible:not(.open) .info__text > :nth-child(2) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; }
.info__more { width: 44px; padding: 0; font-size: var(--t-m); }

.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; min-width: 0; }
.shots__full { grid-column: 1 / -1; min-width: 0; }
.shots__col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.shots .media { width: 100%; aspect-ratio: var(--ar); }
.shots__solo { display: grid; place-items: center; padding: clamp(20px, 4vw, 64px); background: var(--surface); border-radius: var(--radius); }
.shots__solo .media { width: calc(50% - 5px); }

.project-pager {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px;
  margin: calc(110 * var(--u)) var(--gutter) 0; padding-top: 18px; border-top: 1px solid var(--grey);
}
.project-pager a { display: grid; justify-items: start; gap: 8px; }
.project-pager .project-pager__next { justify-items: end; margin-left: auto; text-align: right; }
.project-pager span { font-size: var(--t-s); color: var(--muted-2); }
.project-pager b { padding: 0 8px; margin: 0 -8px; border-radius: var(--radius-s); font-family: var(--font-display); font-weight: var(--w-strong); font-size: var(--t-xl); line-height: var(--lh-xl); letter-spacing: var(--track-head); }
.project-pager a:hover b, .project-pager a:focus-visible b { background: var(--accent); color: var(--on-accent); }

/* About: landscape image, lead text, collaborators, services + slider, get in touch */
.about-hero { margin: calc(var(--bar-top) + var(--bar-h) + 80px) var(--gutter) 0; aspect-ratio: 2.2; max-height: calc(100svh - 190px); width: calc(100% - 2 * var(--gutter)); }
.about-lead { margin: 20px var(--gutter) 0; font-family: var(--font-display); font-size: var(--t-l); line-height: var(--lh-l); letter-spacing: var(--track-head); }
.about-svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: calc(80 * var(--u)); align-items: start; }
.about-svc__lead { max-width: 50vw; margin-top: 8px; font-family: var(--font-display); font-size: var(--t-l); line-height: var(--lh-l); letter-spacing: var(--track-head); }
.about-svc__text { margin-top: 20px; max-width: 52ch; font-size: var(--t-m); line-height: var(--lh-m); color: var(--muted-2); }
.about-svc__sub { margin: 56px 0 10px; }
/* small section titles: baby blue highlight */
.page--about #svc-label, .page--about .about-svc__sub, .page--about #touch-label { display: block; width: fit-content; padding: 2px 8px; background: var(--accent); color: #0c0c0d; border-radius: 0; }
.about-svc__list { max-width: 52ch; font-size: var(--t-m); line-height: var(--lh-m); }
.slider { aspect-ratio: 4 / 5; }
.slider > img { opacity: 0; }
.slider > img.is-current { opacity: 1; }
.slider__ui { position: absolute; z-index: 1; top: 16px; left: 16px; display: flex; gap: 4px; }
.slider__ui > * { display: grid; place-items: center; height: 33px; min-width: 36px; padding: 0 10px; border-radius: var(--radius-s); background: rgba(12, 12, 13, .78); color: #fff; font-size: var(--t-ui); font-variant-numeric: tabular-nums; }
.slider__ui button:hover { background: var(--accent); color: var(--on-accent); }
.about-touch .talk { margin-top: 10px; }
.about-touch__info { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px 64px; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--grey); font-size: var(--t-s); line-height: var(--lh-s); }
.about-touch__info .label { margin-bottom: 4px; }
.about-touch__actions { display: flex; gap: 4px; margin-left: auto; }
.page--about .about-touch .btn { background: rgba(247, 247, 247, .12); color: #f7f7f7; }
.page--about .about-touch .btn:hover { background: var(--accent); color: #0c0c0d; }
.page--about .about-touch .btn[href*="start-a-project"] { background: var(--accent); color: #0c0c0d; }
.page--about .about-touch .btn[href*="start-a-project"]:hover { background: #f7f7f7; }

/* =========================================================
   Mobile
   ========================================================= */
@media (max-width: 899px) {
  .wrap, .page-head, .inquiry, .prose-card { margin-left: var(--g); margin-right: var(--g); }
  .page-head { padding-top: calc(var(--gutter) * 2 + var(--bar-h) + 48px); }
  .section { margin-top: 72px; }

  .work-list td:nth-child(2), .work-list th:nth-child(2) { display: none; }
  .page--work { --wg: var(--gutter); }
  .work-peek { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; margin: 48px var(--g) 0; }
  .about-figure { max-width: 360px; }
  .about-statement { margin: 72px var(--g) 0; }
  .about-cols { grid-template-columns: 1fr; margin: 28px var(--g) 0; gap: 16px; }
  .team { grid-template-columns: 1fr 1fr; gap: 24px 10px; }
  .about-hero { margin-top: calc(var(--bar-top) + var(--bar-h) + 56px); margin-left: var(--g); margin-right: var(--g); width: calc(100% - 2 * var(--g)); aspect-ratio: 4 / 3; }
  .about-lead { margin-left: var(--g); margin-right: var(--g); }
  .about-svc { grid-template-columns: 1fr; gap: 32px; }
  .about-svc__lead { max-width: none; }
  .about-touch__actions { margin-left: 0; }
  .wide-media { height: 60vw; }

  .inquiry { grid-template-columns: 1fr; }
  .inquiry__side { position: static; padding-right: 0; }
  .inquiry__form { padding: 24px 18px; }
  .inquiry__form form { gap: 36px; }
  .inquiry__form .field-pair { grid-template-columns: 1fr; gap: 28px; }

  .prose-card { grid-template-columns: 1fr; padding: 28px 20px; }

  .project { grid-template-columns: 1fr; padding: var(--info-top) var(--g) 0; }
  .info { position: static; height: auto; min-height: 0; overflow: visible; }
  .info__body { margin-top: 0; }
  .shots__solo .media { width: min(100%, 360px); }
  .project-pager { margin: 64px var(--g) 0; }
}

@media (max-width: 700px) {
  .shots { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
}
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.page-head__title, .page-head__lead, .about-statement, .talk, .call-card h2, .accordion__btn, .prose .privacy-intro { font-family: var(--font-display); }

@media (hover: none) { .work-card__tag { visibility: visible; } }

/* =========================================================
   Services page
   ========================================================= */
.svc-intro { max-width: 50vw; margin-top: 48px; font-family: var(--font-display); font-size: var(--t-l); line-height: var(--lh-l); letter-spacing: var(--track-head); }
.svc-intro p + p { color: var(--ink-2); }
.svc-jump { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 32px; }
.svc-jump a { display: flex; align-items: center; height: 33px; padding: 0 14px; background: var(--pill); border-radius: var(--radius-s); font-size: var(--t-ui); }
.svc-jump a:hover { background: var(--ink); color: #fff; }
/* service cards that stack on scroll; --top is refined in v2-pages.js */
.stack { --step: 22px; --base: calc(var(--bar-top) + var(--bar-h) + 16px); display: grid; gap: 40px; margin: calc(96 * var(--u)) var(--gutter) 0; }
.svc {
  position: sticky; top: var(--top, var(--base));
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: calc(40 * var(--u));
  min-height: calc(100vh - var(--base) - 5 * var(--step) - 16px); min-height: calc(100svh - var(--base) - 5 * var(--step) - 16px);
  padding: calc(40 * var(--u));
  background: var(--card, #3a3e44); color: #fefefe;
  border-radius: 28px; box-shadow: 0 -8px 30px rgba(0, 0, 0, .12);
  transform-origin: 50% 0;
}
.svc:nth-child(odd) { --card: #121b1f; }
.svc:nth-child(even) { --card: #3a3e44; }
.svc__copy { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-width: 0; }
.svc__title { font-family: var(--font-display); font-weight: var(--w-regular); font-size: max(40px, calc(80 * var(--u))); line-height: 1; letter-spacing: -.035em; }
.svc__title span { display: block; color: rgba(255, 255, 249, .5); }
.svc__bottom { display: grid; gap: 24px; justify-items: start; }
.svc__tags { display: flex; flex-wrap: wrap; gap: 4px; }
.svc__tags li { padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 249, .09); font-size: var(--t-ui); line-height: var(--lh-xs); }
.svc__about { display: flex; gap: 12px; max-width: 58ch; }
.svc__star { font-size: 20px; line-height: var(--lh-m); }
.svc__lead { font-weight: var(--w-regular); font-size: var(--t-m); line-height: var(--lh-m); }
.svc__text { font-size: var(--t-m); line-height: var(--lh-m); color: rgba(255, 255, 249, .7); }
.svc__links { display: flex; flex-wrap: wrap; gap: 4px; }
.svc .btn { background: rgba(255, 255, 249, .12); color: #fefefe; }
.svc .btn:hover { background: #fefefe; color: #0c0c0d; }
.svc-contact .svc__links { margin-top: 24px; }
.svc__media { align-self: stretch; min-height: 280px; border-radius: 16px; }
.svc :focus-visible { outline-color: #fefefe; }
.svc-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); gap: calc(32 * var(--u)); padding-top: 18px; border-top: 1px solid var(--grey); }
.svc-split__text { font-size: var(--t-m); line-height: var(--lh-m); }
.svc-split__text p + p { margin-top: 16px; color: var(--ink-2); }
.svc-contact .page-head__title { margin-top: 10px; }
.svc-contact .svc-contact__main { background: var(--ink); color: #fff; }
.svc-contact .svc-contact__main:hover { background: var(--accent); color: var(--ink); }
@media (max-width: 899px) {
  .svc-split { grid-template-columns: 1fr; gap: 20px; margin-top: 56px; }
  .stack { --step: 10px; gap: 24px; margin-top: 56px; }
  .svc { grid-template-columns: 1fr; gap: 24px; padding: 20px; border-radius: 20px; }
  .svc__media { min-height: 0; aspect-ratio: 4 / 3; }
  .svc-intro { max-width: none; margin-top: 28px; }
}
.about-intro { margin: 20px var(--gutter) 0; max-width: 50vw; }
@media (max-width: 899px) { .about-intro { margin-inline: var(--g); max-width: none; } }
.svc__lead { margin: 0; }
.svc__text { margin-top: 12px; }
@media (max-width: 899px) { .page--services .bar::before { content: ""; position: absolute; z-index: -1; inset: -40px 0 -8px; background: var(--paper); } }

/* Services refinement: smaller semibold titles, small image bottom right, baby blue shades */
.page--services .page-head__title { font-size: var(--t-xl); font-weight: 600; }
.page--services .svc-split .svc__title { font-size: var(--t-l); line-height: var(--lh-l); font-weight: 600; }
.svc { color: #0c0c0d; box-shadow: 0 -8px 30px rgba(24, 52, 92, .08); }
.svc:nth-child(1) { --card: #eef5ff; }
.svc:nth-child(2) { --card: #e2eefe; }
.svc:nth-child(3) { --card: #d6e7fe; }
.svc:nth-child(4) { --card: #cae0fe; }
.svc:nth-child(5) { --card: #bed8fd; }
.svc:nth-child(6) { --card: #b0cefa; }
.svc:nth-child(7) { --card: #a2c4f6; }
.svc .svc__title { font-size: max(28px, calc(44 * var(--u))); line-height: 1.05; font-weight: 600; letter-spacing: -.03em; }
.svc__title span { color: rgba(12, 12, 13, .5); }
.svc__lead { font-weight: 600; }
.svc__text { color: rgba(12, 12, 13, .72); }
.svc__tags li { background: rgba(255, 255, 249, .7); }
.svc .btn { background: #fefefe; color: #0c0c0d; }
.svc .btn:hover { background: #0c0c0d; color: #fefefe; }
.svc :focus-visible { outline-color: #0c0c0d; }
.svc__media { align-self: end; justify-self: end; width: min(100%, calc(360 * var(--u))); min-height: 0; aspect-ratio: 4 / 3; }
@media (max-width: 899px) { .svc__media { width: 62%; } }

/* all service cards: one dark brown, light text */
.page--services .svc { --card: #2e1e16; color: #fefefe; box-shadow: 0 -1px 0 rgba(255, 255, 249, .14), 0 -10px 30px rgba(20, 10, 5, .22); }
.page--services .svc__title span { color: rgba(255, 255, 249, .55); }
.page--services .svc__text { color: rgba(255, 255, 249, .72); }
.page--services .svc__tags li { background: rgba(255, 255, 249, .1); }
.page--services .svc .btn { background: rgba(255, 255, 249, .14); color: #fefefe; }
.page--services .svc .btn:hover { background: #fefefe; color: #2e1e16; }
.page--services .svc :focus-visible { outline-color: #fefefe; }

/* About: heading and description in one size, as wide as the hero image */
.page--about .about-lead, .page--about .about-intro { max-width: none; margin-left: var(--gutter); margin-right: var(--gutter); font-family: var(--font-display); font-size: var(--t-l); line-height: var(--lh-l); font-weight: var(--w-regular); letter-spacing: var(--track-head); }
.page--about .about-intro { margin-top: 0; }

/* service cards in the About page black */
.page--services .svc { --card: #0c0c0d; }
.page--services .svc .btn:hover { color: #0c0c0d; }

/* service cards: light grey, dark text */
.page--services .svc { --card: #ececec; color: #0c0c0d; box-shadow: 0 -1px 0 rgba(12, 12, 13, .08), 0 -10px 30px rgba(12, 12, 13, .07); }
.page--services .svc__title span { color: rgba(12, 12, 13, .45); }
.page--services .svc__text { color: rgba(12, 12, 13, .7); }
.page--services .svc__tags li { background: #fefefe; }
.page--services .svc .btn { background: #fefefe; color: #0c0c0d; }
.page--services .svc .btn:hover { background: #0c0c0d; color: #fefefe; }
.page--services .svc :focus-visible { outline-color: #0c0c0d; }

/* About: one running white text block under the hero */
.about-block { margin: 20px var(--gutter) 0; color: #fff; font-family: var(--font-display); font-size: 30px; line-height: 36px; letter-spacing: var(--track-head); }
.about-block h1, .about-block p { display: inline; font: inherit; letter-spacing: inherit; }
@media (max-width: 899px) { .about-block { margin-inline: var(--g); } }

/* no shadows on service cards; a hairline separates stacked cards */
.page--services .svc { box-shadow: none; border-top: 1px solid #d6d6d6; }

/* top part set on the same three columns as the process section under the cards */
.page--services .svc-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); gap: calc(32 * var(--u)); align-items: start; padding-top: calc(var(--bar-top) + var(--bar-h) + 80px); }
.page--services .svc-top > * { border-top: 1px solid var(--grey); padding-top: 18px; align-self: stretch; }
.page--services .svc-top .label { margin-bottom: 10px; }
.page--services .svc-top .svc__title { font-size: var(--t-l); line-height: var(--lh-l); font-weight: 600; }
.svc-top .svc-jump { display: block; margin: 0; }
.svc-top .svc-jump a { display: inline-block; height: auto; padding: 0; background: none; font-size: var(--t-m); line-height: var(--lh-m); }
.svc-top .svc-jump a:hover { background: none; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.page--services .stack { margin-top: calc(72 * var(--u)); }
/* cards: lower, one-line black titles, capabilities as a plain list */
.page--services .svc { min-height: 440px; padding: calc(32 * var(--u)); }
.page--services .svc__copy { gap: 28px; }
.page--services .svc .svc__title { white-space: nowrap; font-size: max(28px, calc(40 * var(--u))); }
.page--services .svc .svc__title span { display: inline; color: inherit; }
.page--services .svc__bottom { gap: 20px; }
.page--services .svc__tags { display: block; columns: 2; column-gap: 24px; width: 100%; }
.page--services .svc__tags li { padding: 0; background: none; border-radius: 0; font-size: var(--t-s); line-height: var(--lh-s); break-inside: avoid; }
.page--services .svc__media { width: min(100%, calc(320 * var(--u))); }
@media (max-width: 899px) {
  .page--services .svc-top { grid-template-columns: 1fr; gap: 24px; padding-top: calc(var(--bar-top) + var(--bar-h) + 48px); }
  .page--services .stack { margin-top: 48px; }
  .page--services .svc { min-height: 0; padding: 20px; }
  .page--services .svc .svc__title { font-size: min(28px, 5.7vw); }
  .page--services .svc__tags { columns: 1; }
  .page--services .svc__media { width: 62%; }
}

/* service cards: site radius, very light baby blue, taller */
.page--services .svc { --card: var(--accent); border-radius: var(--radius); border-top-color: #9dbff2; min-height: max(520px, calc(100svh - var(--base) - 6 * var(--step) - 16px)); }
.page--services .svc__media { border-radius: var(--radius); }
@media (max-width: 899px) { .page--services .svc { min-height: 0; } }

/* card order: title, description, then capabilities just above the project buttons */
.page--services .svc__copy { justify-content: flex-start; gap: 28px; }
.page--services .svc__bottom { margin-top: auto; gap: 28px; }

/* capability columns start on the same line as the top of the image */
@media (min-width: 900px) {
  .page--services .svc { --shot: max(195px, calc(240 * var(--u))); }
  .page--services .svc__media { width: auto; height: var(--shot); aspect-ratio: 4 / 3; max-width: 100%; }
  .page--services .svc__bottom { height: auto; min-height: var(--shot); align-content: space-between; grid-template-rows: auto auto; gap: 16px; }
  .page--services .svc .svc__links .btn { padding: 0 14px; font-size: var(--t-s); }
}

/* hanging-indent setting: title flush left, everything that follows steps in */
.page--services .svc { --ind: calc(110 * var(--u)); --head: max(22px, calc(30 * var(--u))); }
.page--services .svc__copy { gap: 0; }
.page--services .svc .svc__title { font-size: var(--head); line-height: 1.15; letter-spacing: var(--track-head); }
.page--services .svc__about { display: block; max-width: none; padding-left: var(--ind); }
.page--services .svc__lead { max-width: 24em; font-family: var(--font-display); font-weight: var(--w-regular); font-size: var(--head); line-height: 1.15; letter-spacing: var(--track-head); }
.page--services .svc__text { max-width: 52ch; margin-top: 14px; }
.page--services .svc__bottom { padding-left: var(--ind); }
.page--services .svc .svc__links { gap: 4px 20px; }
.page--services .svc .svc__links .btn { height: auto; padding: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 0; font-size: var(--t-s); line-height: var(--lh-s); text-decoration: underline; text-underline-offset: 3px; }
.page--services .svc .svc__links .btn:hover { background: none; color: var(--ink-2); }
@media (max-width: 899px) {
  .page--services .svc { --ind: 36px; --head: min(22px, 5.6vw); }
  .page--services .svc__bottom { margin-top: 28px; }
}

/* card layout from David's mockup (2026-12-03): small grey service name, large sentence with
   hanging indent, indented text and columns, project links flush left at the bottom */
.page--services .svc { --ind: calc(92 * var(--u)); --head: max(22px, calc(30 * var(--u))); --copy: max(15px, calc(20 * var(--u))); grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); padding: calc(40 * var(--u)) calc(40 * var(--u)) calc(32 * var(--u)) calc(60 * var(--u)); }
.page--services .svc .svc__title { font-size: max(14px, calc(18 * var(--u))); line-height: 1.3; font-weight: 600; letter-spacing: var(--track); color: rgba(12, 12, 13, .35); }
.page--services .svc__about { padding: 0; margin-top: calc(24 * var(--u)); }
.page--services .svc__lead { max-width: calc(var(--ind) + 22em); padding-left: var(--ind); text-indent: calc(-1 * var(--ind)); font-size: var(--head); line-height: 1.4; font-weight: 600; }
.page--services .svc__text { margin: calc(52 * var(--u)) 0 0 var(--ind); max-width: 29em; font-size: var(--copy); line-height: 1.3; font-weight: 600; color: #0c0c0d; }
.page--services .svc__bottom { padding: 0; margin-top: calc(48 * var(--u)); }
.page--services .svc__tags { padding-left: var(--ind); column-gap: calc(32 * var(--u)); font-weight: 600; }
.page--services .svc__tags li { font-size: var(--copy); line-height: 1.3; }
.page--services .svc .svc__links { gap: 8px calc(72 * var(--u)); }
.page--services .svc .svc__links .btn { font-size: max(13px, calc(18 * var(--u))); line-height: 1.4; font-weight: 600; }
@media (min-width: 900px) { .page--services .svc { --shot: max(240px, calc(300 * var(--u))); } }
@media (max-width: 899px) {
  .page--services .svc { --ind: 36px; --head: min(22px, 5.6vw); --copy: 15px; grid-template-columns: 1fr; padding: 20px; }
  .page--services .svc__about { margin-top: 16px; }
  .page--services .svc__text { margin-top: 24px; }
  .page--services .svc__bottom { margin-top: 28px; gap: 28px; }
  .page--services .svc .svc__links { gap: 8px 24px; }
}
/* keep the columns + links block on the bottom edge (level with the image) on tall screens */
@media (min-width: 900px) { .page--services .svc__about { margin-bottom: calc(48 * var(--u)); } .page--services .svc__bottom { margin-top: auto; } }

/* sizes from the v2 type system: columns and text as in the process section (--t-m), sentence --t-l */
.page--services .svc { --head: var(--t-l); --copy: var(--t-m); }
.page--services .svc .svc__title { font-size: var(--t-m); line-height: var(--lh-m); font-weight: var(--w-regular); }
.page--services .svc__lead { font-size: var(--t-l); line-height: var(--lh-l); }
.page--services .svc__text, .page--services .svc__tags li, .page--services .svc .svc__links .btn { font-size: var(--t-m); line-height: var(--lh-m); font-weight: var(--w-regular); }
.page--services .svc__tags { font-weight: var(--w-regular); }
@media (max-width: 899px) { .page--services .svc { --head: var(--t-l); --copy: var(--t-m); } }

/* about: no highlight boxes; the very small titles are simply baby blue */
.page--about #svc-label, .page--about .about-svc__sub, .page--about #touch-label { width: auto; padding: 0; background: none; }
.page--about main .label { color: var(--accent); }

/* work grid: the title tag stays neutral on hover (the image zoom is enough) */
.work-card:hover .work-card__tag, .work-card:focus-visible .work-card__tag { background: rgba(249, 249, 249, .8); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }

/* owner request: service names in light blue rectangles */
.page--services .svc .svc__title { width: fit-content; max-width: 100%; padding: 2px 8px; background: #e0edff; color: #0c0c0d; border-radius: 0; }

/* owner request: email turns baby blue on hover */
.talk a { transition: color .15s ease; }
.talk a:hover, .page--about .talk a:hover { color: var(--accent); }

/* owner request: each card holds in front for an extra scroll before the next arrives */
.page--services .svc + .svc { margin-top: 55vh; margin-top: 55svh; }
@media (max-width: 899px) { .page--services .svc + .svc { margin-top: 35vh; margin-top: 35svh; } }

.about-block { color: var(--ink); }
/* Phones: the opening text in the same size as the longer texts below it */
@media (max-width: 899px) { .about-block { font-size: var(--t-l); line-height: var(--lh-l); } }
