/* ============================================================
   ENRIQUE OLVERA — "DEVOLUTION"
   Client devolution: NYT-style masthead · name in place of logo ·
   menu = P2 accordions · home = news, as a front-page mosaic that
   preserves each image's native aspect ratio (no crops).
   Type system: Lora (serif display/body accents) + Sofia Pro (sans, body + all labels).
   No build step. Vanilla.
   ============================================================ */

@font-face {
  font-family: "Sofia Pro";
  src: url("fonts/sofiapro-light.woff") format("woff");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Sofia Pro";
  src: url("fonts/sofiapro-regular.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Sofia Pro";
  src: url("fonts/sofiapro-medium.woff") format("woff");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Sofia Pro";
  src: url("fonts/sofiapro-semibold.woff") format("woff");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Sofia Pro";
  src: url("fonts/sofiapro-bold.woff") format("woff");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --paper:   #f4f3f1;     /* warm off-white */
  --ink:     #000000;
  --ink-2:   #000000;
  --grey:    #000000;
  --grey-2:  #000000;
  --line:    rgba(10,10,10,.18);
  --line-2:  rgba(10,10,10,.10);

  --display: "Lora", Georgia, "Times New Roman", serif;
  --sans:    "Sofia Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1320px;
  --pad:  clamp(1.15rem, 2.75vw, 37px);
  --ease: cubic-bezier(.16,1,.3,1);

  --col-gap: clamp(1.4rem, 2.4vw, 2.6rem);
  --row-gap: clamp(2rem, 3vw, 3.25rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px; line-height: 1.62;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.home {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--ink); color: var(--paper); }

/* film grain over everything (matches v4 atmosphere) */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  opacity: .04; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* hairline rules — the NYT signature */
.rule { width: 100%; }
.rule--hair   { height: 1px; background: var(--line); }

/* ===========================================================
   MASTHEAD
   =========================================================== */
.masthead {
  position: relative;       /* containing block for the mega dropdown */
  max-width: none;          /* full-width header */
  padding: clamp(1rem, 2.4vw, 1.8rem) var(--pad) 0;
}
.masthead::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--line);
}

/* name centred, language pinned to the top-right corner */
.masthead__top { position: relative; }
.lang {
  position: absolute; top: 0; right: 0;
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans);
  font-size: 12px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: .15em;
}
.lang__opt { color: rgba(0,0,0,.28); transition: color .2s; }
.lang__opt.is-active { color: var(--ink); }
.lang__sep { color: var(--ink); }
[data-i18n],
[data-lang-content] {
  transition: opacity .18s var(--ease);
}
body.is-lang-fading [data-i18n],
body.is-lang-fading [data-lang-content] {
  opacity: 0;
}

.masthead__title {
  display: block;
  text-align: center;
  font-family: var(--display);
  font-weight: 400;
  font-size: 42px;
  line-height: 43px;
  letter-spacing: .2em;
  padding: 57px 0 64px;
  transform: translateY(-8px);
  transform-origin: center;
}
.masthead__title span {
  display: inline;
}

.ribbon {
  display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between;
  gap: 0;
  width: 100%;
  padding: 0 0 16px;
  font-family: var(--sans);            /* Sofia Pro */
  font-size: 16px;
  line-height: 15px;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.ribbon__link { color: var(--ink-2); position: relative; z-index: 130; font-weight: 600; letter-spacing: 0.17em; transition: color .2s; }
.ribbon__link:hover { color: var(--ink); }
/* the hover underline drops down onto the menu line below, so the two coincide */
.ribbon__link::after {
  content: ""; position: absolute; left: 0; right: 100%;
  z-index: 131;
  bottom: calc(-1 * clamp(.7rem, 1.3vw, 1rem) - 1px); height: 1px;
  background: var(--ink); transition: right .3s var(--ease);
}
.ribbon__link:hover::after { right: 0; }
.ribbon__sep { width: 1px; height: 16px; background: var(--line); }

/* ===========================================================
   MEGA MENU — NYT-style full-width hover dropdown
   Hovering a ribbon group drops the full directory, no accordions.
   =========================================================== */
.mega {
  position: absolute; top: 100%;
  left: 0; right: 0;        /* full-bleed: the masthead spans the viewport, so 0/0 reaches its edges */
  z-index: 120;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 26px 44px -30px rgba(10,10,10,.4);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .26s var(--ease), transform .3s var(--ease), visibility .26s;
}
.mega.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }

.mega__inner { padding: 37px 37px 39px; }

.mega__panel { display: none; }
.mega__panel.is-active {
  display: grid;
  grid-template-columns: 300px 300px minmax(472px, 1fr);  /* links · links · image */
  gap: 37px;
  align-items: start;
  min-height: 277px;
}

/* directory split into two left-aligned text columns, followed by the preview. */
.mega__col { display: flex; flex-direction: column; }
.mega__panel[data-panel="Casamata"] .mega__col,
.mega__panel[data-panel="Teo"] .mega__col,
.mega__panel[data-panel="Casa Teo"] .mega__col,
.mega__panel[data-panel="Projects"] .mega__col {
  align-self: center;
  justify-content: center;
  width: 100%;
}
.mega__panel--about.is-active {
  display: flex;
  justify-content: flex-end;
  gap: clamp(1.5rem, 3vw, 3rem);
  min-height: 0;
}
.mega__panel--about .mega__item {
  position: relative;
  align-items: flex-end;
  min-width: 8rem;
  padding: .35rem 0;
  border-top: 0;
  text-align: right;
}
.mega__panel--about .mega__item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transition: right .3s var(--ease);
}
.mega__panel--about .mega__item:hover::after,
.mega__panel--about .mega__item:focus-visible::after {
  right: 0;
}
.mega__col--right {
  order: 2;
  text-align: left;
}
.mega__col--right .mega__item { align-items: flex-start; }
.mega__item {
  display: flex; flex-direction: column; gap: 0;
  padding: 6px 0;
  border-top: 1px solid var(--line-2);
  transition: opacity .2s;
}
.mega__item:first-child { border-top: 0; }
.mega__item--single-rule { border-bottom: 1px solid var(--line-2); }
/* roll over a link: it stays dark while its siblings dim (the reverse of before) */
.mega__panel:hover .mega__item { opacity: .4; }
.mega__panel:hover .mega__item:hover { opacity: 1; }
.mega__name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  line-height: 22px;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.mega__meta {
  font-family: var(--sans);
  font-size: 10px;
  line-height: 15px;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--grey);
}

/* preview pane — the third column. The image swaps as you hover a restaurant. */
/* centre column: empty at rest, shows only a hovered restaurant's photo.
   Two stacked layers crossfade as the pointer moves across links. */
.mega__preview {
  order: 3;
  position: relative;
  align-self: start;
  width: 472px;
  height: 280px;
  justify-self: end;
  overflow: hidden;
}
.mega__panel[data-panel="Casamata"] .mega__preview {
  height: 354px;
}
.mega__preview-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity .5s var(--ease);
}
.mega__preview-img.is-shown { opacity: 1; }

/* ribbon link highlighted while its mega panel is open */
.ribbon__link.is-current { color: var(--ink); }
.ribbon__link.is-current::after { right: 0; }

/* ===========================================================
   FRONT PAGE — news
   =========================================================== */
.paper { max-width: none; margin: 0; padding: clamp(1.6rem, 3vw, 3rem) var(--pad) 0; }
.home .paper {
  min-height: 0;
  padding: 0;
}

.front { scroll-margin-top: 1rem; }
.home .front {
  height: 100%;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  height: 100%;
  border-bottom: 1px solid var(--line);
}
.story {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--paper);
}
.story + .story { border-left: 1px solid var(--line); }
.story__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .45s var(--ease), transform .7s var(--ease);
}
.story::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(244, 243, 241, .60);
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.story:hover .story__image,
.story:focus-within .story__image {
  opacity: .40;
  transform: scale(1);
}
.story:hover::after,
.story:focus-within::after { opacity: 1; }
.story__inner {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.2rem, 2vw, 2rem);
  text-align: left;
}
.story__text { max-width: min(28rem, 86%); }
.story__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.4rem, 1.64vw, 2rem);
  line-height: 1.16;
  margin: 0;
}
.story__rule {
  display: block;
  width: 3rem;
  height: 1px;
  margin: clamp(1rem, 1.6vw, 1.45rem) 0;
  background: var(--ink);
}
.story__expert {
  font-family: var(--display);
  font-weight: 400;
  font-size: 15px;
  line-height: 22px;
  letter-spacing: 0;
  color: var(--ink-2);
  margin: 0;
}
.front__archive {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(3.25rem, 7vh, 4.75rem);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 15px;
  font-weight: 400;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.front__archive:hover {
  background: var(--ink);
  color: var(--paper);
}
@media (max-width: 920px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story,
  .story + .story { border-left: 0; }
  .story:nth-child(even) { border-left: 1px solid var(--line); }
  .story:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .news-grid { grid-template-columns: 1fr; }
  .story,
  .story:nth-child(even) { border-left: 0; }
  .story + .story { border-top: 1px solid var(--line); }
}

/* ===========================================================
   OPTION 2 — lead story + three secondary stories
   =========================================================== */
.option-home {
  min-height: 100svh;
  background: var(--paper);
}
.option-paper {
  padding: clamp(1.6rem, 3vw, 3rem) var(--pad) 0;
}
.option-front {
  display: grid;
}
.option-lead {
  display: block;
}
.option-lead__link {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--col-gap);
  align-items: stretch;
  color: inherit;
  text-decoration: none;
}
.option-lead__media {
  display: block;
  overflow: hidden;
  grid-column: span 2;
  height: clamp(430px, 37vw, 496px);
}
.option-lead__media img,
.option-card__media img {
  width: 100%;
  height: auto;
  filter: none;
  transition: opacity .4s var(--ease), transform .7s var(--ease);
}
.option-lead__media img {
  height: 100%;
  object-fit: cover;
}
.option-lead__media:hover img,
.option-card:hover .option-card__media img {
  opacity: .92;
  filter: grayscale(0) contrast(1.02);
}
.option-lead__body {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(.85rem, 1.6vw, 1.25rem);
  align-self: stretch;
}
.option-lead__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 38px;
  line-height: 43px;
  margin: 0;
  max-width: 320px;
}
.option-lead__dek {
  grid-row: 3;
  max-width: none;
  font-family: var(--display);
  font-weight: 400;
  font-size: 19px;
  line-height: 24px;
  letter-spacing: 0;
  color: var(--ink-2);
  margin: 0 0 clamp(.7rem, 1.2vw, 1rem);
}
.option-front__split {
  margin: clamp(1.6rem, 3vw, 2.8rem) 0;
}
.option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--col-gap);
  padding-bottom: clamp(1.6rem, 3vw, 2.8rem);
}
.option-home .option-grid {
  padding-bottom: 0;
}
.option-home .front__archive {
  width: auto;
  margin: 120px calc(-1 * var(--pad)) 0;
  border-top: 1px solid var(--line);
}
.option-front--single .option-lead__media {
  height: clamp(520px, 46vw, 640px);
}
.option-front--single .option-front__split,
.option-front--single .option-grid {
  display: none;
}
.option-home .option-front--single .front__archive {
  margin-top: clamp(2.5rem, 5vw, 5rem);
}
.option-card {
  min-width: 0;
}
.option-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.option-card__media {
  display: block;
  overflow: hidden;
  margin-bottom: .85rem;
  aspect-ratio: 4 / 3;
}
.option-card__media img {
  height: 100%;
  object-fit: cover;
}
.option-card__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 27px;
  line-height: 32px;
  letter-spacing: 0;
  margin: 0;
}
.option-card__excerpt {
  margin: .75rem 0 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: 17px;
  line-height: 22px;
  letter-spacing: 0;
  color: var(--ink-2);
}
@media (max-width: 900px) {
  .option-lead,
  .option-grid,
  .archive-grid {
    grid-template-columns: 1fr;
  }
}
/* ===========================================================
   NEWS ARCHIVE + POSTS
   =========================================================== */
.archive-page,
.post-page {
  padding: clamp(1.8rem, 4vw, 3.6rem) var(--pad) 0;
}
.post-page { padding-bottom: 100px; }
.archive-head {
  display: block;
  padding-bottom: clamp(1.2rem, 2.4vw, 2rem);
  border-bottom: 1px solid var(--line);
}
.post__title {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.078;
  margin: 0;
}
.archive-head__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(40px, 2.9761904762vw, 76px);
  line-height: 1.075;
  letter-spacing: .2em;
  margin: 0;
  text-transform: uppercase;
}
.archive-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: .2rem 1rem;
  margin-top: clamp(1.2rem, 2.5vw, 2rem);
}
.archive-filter__button {
  padding: .35rem 0;
  font-family: var(--sans);
  font-size: 11px;
  line-height: 15px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--grey);
  border-bottom: 1px solid transparent;
}
.archive-filter__button:hover,
.archive-filter__button.is-active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--col-gap);
  padding: clamp(1.6rem, 3vw, 2.8rem) 0 100px;
}
.archive-card {
  min-width: 0;
  width: 100%;
}
.archive-card.is-hidden { display: none; }
.archive-card__link {
  display: block;
}
.archive-card__figure {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: .85rem;
}
.archive-card__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transition: transform .7s var(--ease), filter .45s var(--ease);
}
.archive-card__link:hover .archive-card__figure img {
  transform: scale(1.025);
  filter: contrast(1.02);
}
.archive-card__body {
  padding: 0;
  background: var(--paper);
}
.archive-card__meta,
.post__meta,
.post__back,
.post__external {
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--grey);
}
.archive-card__title {
  margin: .65rem 0 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 27px;
  line-height: 32px;
}
.archive-card__excerpt {
  margin-top: .9rem;
  max-width: 42rem;
  font-family: var(--display);
  font-weight: 400;
  font-size: 15px;
  line-height: 22px;
  letter-spacing: 0;
  color: var(--ink-2);
}
.post {
  max-width: 980px;
  margin: 0 auto;
}
.post__head {
  display: grid;
  gap: 1rem;
  padding: 0 var(--pad) clamp(1.5rem, 3vw, 2.6rem);
  text-align: center;
}
.post__back {
  justify-self: center;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.post__meta { color: var(--grey); }
.post__title {
  justify-self: center;
  max-width: 780px;
  font-weight: 400;
  font-size: clamp(1.26rem, 3.15vw, 2.88rem);
}
.story__title strong,
.option-lead__title strong,
.option-card__title strong,
.archive-card__title strong,
.post__title strong {
  font-weight: 600;
}
.post__dek {
  justify-self: center;
  max-width: 780px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 20px;
  line-height: 32px;
  letter-spacing: 0;
  color: var(--ink-2);
}
.post__figure {
  border-bottom: 1px solid var(--line);
}
.post__figure img {
  width: 100%;
  height: auto;
}
.post__body {
  max-width: 680px;
  margin: clamp(1.8rem, 4vw, 3rem) auto 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.02rem, 1.25vw, 1.12rem);
  line-height: 1.82;
  letter-spacing: 0;
  color: var(--ink-2);
}
.post__body p + p { margin-top: 1.35rem; }
.post__inline-figure {
  margin: clamp(1.8rem, 4vw, 3rem) 0;
}
.post__inline-figure img {
  display: block;
  width: 100%;
  height: auto;
}
.post__external {
  margin: clamp(1.5rem, 3vw, 2.4rem) auto 0;
  max-width: 680px;
}
.post__external a {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
}
@media (max-width: 900px) {
  .archive-head { grid-template-columns: 1fr; align-items: start; }
  .archive-filter { justify-content: flex-start; }
  .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .archive-grid {
    grid-template-columns: 1fr;
    border-left: 0;
  }
  .archive-card { border-right: 0; }
}
/* colophon — shared footer (lives outside .paper, full-width with --pad) */
.colophon {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 5rem);
  padding: 2.25rem var(--pad) 1.75rem;
  font-family: var(--sans);
  font-size: 10px;
  line-height: 15px;
  font-weight: 400;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink);
  background: #edecea;
}
.colophon__social { display: flex; gap: 1.4rem; }
.colophon__social a { color: var(--ink); transition: color .25s var(--ease); }
.colophon__social a:hover { color: var(--ink); }
.colophon__credits {
  order: 3;
  display: flex;
  align-items: baseline;
  gap: .55rem;
  margin-left: auto;
  white-space: nowrap;
}
.colophon__design {
  color: rgba(0, 0, 0, .55);
  text-transform: lowercase;
  transition: color .25s var(--ease);
}
.colophon__design:hover { color: var(--ink); }
.colophon__social { order: 1; }
body.home .colophon,
.option-home .colophon { margin-top: 0; }

/* Consent is deliberately quiet and only appears until a choice is made. */
.cookie-consent {
  --consent-ink: #68655f;
  position: fixed;
  z-index: 120;
  right: var(--pad);
  bottom: var(--pad);
  width: min(28rem, calc(100vw - (var(--pad) * 2)));
  padding: 1.2rem 1.3rem 1.25rem;
  border: 1px solid color-mix(in srgb, var(--consent-ink) 46%, transparent);
  background: var(--paper);
  color: var(--consent-ink);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
}
.cookie-consent[hidden] { display: none; }
.cookie-consent__title {
  margin: 0;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.cookie-consent__body {
  margin: .6rem 0 0;
  font-size: 13px;
  line-height: 1.45;
}
.cookie-consent__actions {
  display: flex;
  gap: .55rem;
  margin-top: 1rem;
}
.cookie-consent__button {
  appearance: none;
  border: 1px solid var(--consent-ink);
  border-radius: 0;
  background: var(--consent-ink);
  color: var(--paper);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .09em;
  line-height: 1;
  padding: .75rem .9rem;
  text-transform: uppercase;
}
.cookie-consent__button--quiet {
  background: transparent;
  color: var(--consent-ink);
}
.cookie-consent__button:hover,
.cookie-consent__button:focus-visible {
  background: var(--consent-ink);
  color: var(--paper);
}
.cookie-consent--inline {
  position: static;
  z-index: auto;
  display: flex;
  width: 100%;
  box-sizing: border-box;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding: .56rem var(--pad);
  border-right: 0;
  border-left: 0;
  border-color: var(--line);
  box-shadow: none;
}
/* The homepage consent lives inside the padded content column. Negative
   margins extend only its rules to the viewport edges without widening it. */
.option-home .cookie-consent--inline {
  width: auto;
  margin-right: calc(var(--pad) * -1);
  margin-left: calc(var(--pad) * -1);
}
.cookie-consent--inline + .colophon { margin-top: 0; }
.cookie-consent--inline .cookie-consent__copy {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: .65rem;
}
.cookie-consent--inline .cookie-consent__title {
  flex: none;
  font-size: 8px;
  letter-spacing: .12em;
}
.cookie-consent--inline .cookie-consent__body {
  margin: 0;
  font-size: 10px;
  line-height: 1.35;
}
.cookie-consent--inline .cookie-consent__actions {
  flex: none;
  gap: .4rem;
  margin: 0;
}
.cookie-consent--inline .cookie-consent__button {
  padding: .46rem .55rem;
  font-size: 8px;
}
@media (max-width: 680px) {
  .cookie-consent--inline {
    display: block;
  }
  .cookie-consent--inline .cookie-consent__copy {
    align-items: flex-start;
  }
  .cookie-consent--inline .cookie-consent__actions {
    margin-top: .65rem;
  }
}

/* ===========================================================
   ABOUT (page) — ported from proposal 3. Text column on the left,
   single FIXED portrait filling the right column (sticky, so it
   stays in view while the bio scrolls past). No slideshow.
   =========================================================== */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(560px, 45.6vw, 760px);
  align-items: stretch;
  gap: 0;
}
.about__text { padding: 37px var(--pad) clamp(2.5rem, 6vw, 5rem); }
.about__text > * { max-width: 690px; }
.about__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(38px, 2.8273809524vw, 74px);
  line-height: 1.075;
  letter-spacing: .2em;
  margin: 0 0 78px;
  text-transform: uppercase;
}
.about__body p {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 400;
  line-height: 21px;
  letter-spacing: 0;
  color: var(--ink-2);
}
.about__body p + p { margin-top: 1.3rem; }
.about__body p:first-child {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  font-style: normal;
  line-height: 21px;
  letter-spacing: 0;
  color: var(--ink);
  max-width: 30ch;
}
.about__portrait {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  background: #ececec;
}
.about__photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.about__credit {
  position: absolute; right: 1rem; bottom: 1rem;
  text-align: right;
  font-family: var(--sans); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase;
  color: #fff;
}
@media (max-width: 880px) {
  .about { grid-template-columns: 1fr; }
  .about__portrait { position: static; height: clamp(360px, 58vh, 600px); order: -1; }
  .about__photo { transform: scale(1.07); transform-origin: center center; }
  .about__text { padding: clamp(1.6rem, 5vw, 2.6rem) var(--pad) clamp(2rem, 6vw, 3.5rem); }
  .about__text > * { max-width: none; }
}
@media (min-width: 881px) {
  .about {
    min-height: calc(clamp(560px, 45.6vw, 760px) * 1645 / 1201 * 1.08);
  }
  .about__photo {
    position: absolute;
    inset: 0;
    object-position: 100% 50%;
  }
}
@media (min-width: 761px) and (max-width: 880px) {
  .about {
    display: grid;
    grid-template-columns: minmax(0, 35fr) minmax(0, 65fr);
    grid-template-rows: 1fr auto auto auto;
    column-gap: 0;
    row-gap: 0;
    padding: 0 0 58px var(--pad);
    min-height: 0;
  }
  .about__text,
  .about__body:not([hidden]) {
    display: contents;
  }
  .about__text > * {
    max-width: none;
  }
  .about__title {
    grid-column: 1;
    grid-row: 2;
    align-self: end;
    margin: 0 0 42px;
  }
  .about__body:not([hidden]) p:first-child {
    grid-column: 1;
    grid-row: 3;
    align-self: start;
    max-width: 22ch;
    margin: 0;
  }
  .about__portrait {
    grid-column: 2;
    grid-row: 1 / 4;
    align-self: stretch;
    position: relative;
    order: initial;
    width: 100%;
    height: auto;
    aspect-ratio: 1201 / 1645;
    margin: 0;
  }
  .about__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 100% 50%;
  }
  .about__body:not([hidden]) p:not(:first-child) {
    grid-column: 1 / -1;
    max-width: none;
    padding-right: var(--pad);
  }
  .about__body:not([hidden]) p:nth-child(2) {
    margin-top: 42px;
  }
}

/* ===========================================================
   MOBILE MENU — hamburger (top-left) + full-screen accordion drawer.
   Hidden on desktop; shown ≤1032 so iPad/tablet portrait uses the drawer.
   =========================================================== */
.mham { display: none; }
.mham {
  position: absolute; top: 0; left: 0;
  width: 28px; height: 20px; padding: 0; border: 0; background: transparent; cursor: pointer; z-index: 210;
}
.mham span {
  position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.mham span:nth-child(1) { top: 1px; }
.mham span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.mham span:nth-child(3) { bottom: 1px; }
.mham.is-active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.mham.is-active span:nth-child(2) { opacity: 0; }
.mham.is-active span:nth-child(3) { bottom: auto; top: 50%; transform: translateY(-50%) rotate(-45deg); }

.mnav {
  position: fixed; inset: 0; z-index: 200; background: var(--paper);
  transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: transform .4s var(--ease), opacity .3s var(--ease), visibility .4s;
  overflow-y: auto; padding: clamp(4.5rem, 15vh, 6.5rem) var(--pad) 3rem;
}
.mnav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.mnav__inner { display: flex; flex-direction: column; }
html.mnav-open { overflow: hidden; }

.macc { border-bottom: 1px solid var(--line); }
.macc__head {
  width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; padding: 1.05rem 0;
  font-family: var(--display); font-size: 1.45rem; color: var(--ink);
}
.macc__head::after { content: "+"; font-family: var(--sans); font-size: 1.15rem; color: var(--grey); }
.macc.is-open .macc__head::after { content: "\2212"; }
.macc__body { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.macc__item {
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
  padding: .5rem 0 .5rem .1rem;
  font-family: var(--sans); font-size: .95rem; color: var(--ink);
}
.macc__item:last-child { padding-bottom: 1rem; }
.macc__item em { font-style: normal; font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); white-space: nowrap; }
.mnav__link {
  padding: 1.05rem 0; border-bottom: 1px solid var(--line);
  font-family: var(--display); font-size: 1.45rem; color: var(--ink);
}

@media (min-width: 761px) and (max-width: 1032px) {
  .ribbon,
  .mega {
    display: none;
  }
  .mham {
    display: block;
    top: 18px;
    left: 0;
    width: 29px;
    height: 21px;
  }
  .masthead__title {
    font-size: 48.51px;
    line-height: 49.67px;
  }
  .mnav {
    padding: 120px 32px 3rem;
  }
  .mnav__inner {
    gap: 0;
  }
  .macc,
  .mnav__link {
    border-bottom-color: var(--line);
  }
  .macc__head,
  .mnav__link {
    min-height: 82px;
    padding: 35.94px 0;
    font-family: var(--sans);
    font-size: 28px;
    line-height: 48px;
    font-weight: 600;
    letter-spacing: .10em;
    text-transform: uppercase;
  }
  .macc__head::after {
    font-size: 40px;
    line-height: 32px;
    font-weight: 300;
    letter-spacing: .15em;
    color: var(--ink-2);
  }
  .macc__body {
    padding: 0;
  }
  .macc.is-open .macc__body {
    padding: 0 0 30px;
  }
  .macc__item {
    padding: 6px 0;
    gap: .8rem;
    font-family: var(--display);
    font-size: 18px;
    line-height: 25px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-2);
  }
  .macc__item:first-child {
    padding-top: 0;
  }
  .macc__item:last-child {
    padding-bottom: 6px;
  }
  .macc__item em {
    font-family: var(--sans);
    font-size: 11px;
    line-height: 32.5px;
    font-weight: 400;
    letter-spacing: .18em;
    color: var(--grey);
  }
}

/* ===========================================================
   IMAGE FADE-IN — subtle entrance on content imagery.
   `backwards` so it doesn't override the news hover opacity.
   =========================================================== */
@keyframes imgFade { from { opacity: 0; } to { opacity: 1; } }
.about__photo { animation: imgFade .8s var(--ease) backwards; }
@media (prefers-reduced-motion: reduce) {
  .about__photo { animation: none; }
}

html { scroll-behavior: smooth; }
#bio, #contact { scroll-margin-top: 0; }

/* ===========================================================
   FORMS — Consulting + About/Contact. Framed box (proposal-3 style),
   posts to our own /api/contact. Honeypot is visually hidden.
   =========================================================== */
.cpage { padding: clamp(2.5rem, 7vh, 6rem) var(--pad); display: flex; justify-content: center; }
.cpage--contact { border-top: 1px solid var(--line); }
.cpage--contact {
  min-height: 0;
  align-items: stretch;
  justify-content: stretch;
  padding: clamp(2rem, 4vw, 3.4rem) var(--pad) clamp(1.8rem, 3.6vw, 3.06rem);
}
.cbox {
  width: 100%; max-width: 620px;
  border: 1px solid var(--line);
  padding: clamp(1.6rem, 4vw, 3rem);
  background: var(--paper);
}
.cpage--contact .cbox {
  display: grid;
  row-gap: .9rem;
  max-width: none;
  border: 0;
  min-height: 0;
  padding: 0;
}
.cpage--contact .cbox__title {
  font-weight: 400;
  margin-bottom: 0;
}
.cpage--contact .cbox__contact-line {
  margin: 0;
  font-family: var(--display);
  font-size: 14px;
  line-height: 14px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink-2);
}
.cpage--contact .cbox__contact-line a {
  color: var(--ink);
  border-bottom: 0;
  opacity: .72;
  transition: opacity .22s var(--ease), color .22s var(--ease);
}
.cpage--contact .cbox__contact-line a:hover {
  color: var(--ink);
  opacity: 1;
}
.cpage--consulting {
  min-height: calc(100svh - 256px);
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem) var(--pad);
  background: #fff;
}
.cpage--consulting .cbox {
  display: grid;
  justify-items: center;
  width: min(700px, 100%);
  max-width: none;
  border: 0;
  padding: 12px 0 64px;
  background: #fff;
  text-align: left;
}
.cpage--consulting .cbox__title,
.cpage--consulting .cbox__lead,
.cpage--consulting .cform,
.cpage--consulting .cbox__note {
  width: min(700px, 100%);
}
.cpage--consulting .cbox__title {
  margin-bottom: 4px;
}
.cpage--consulting .cbox__lead {
  max-width: none;
  margin-bottom: 0;
  font-family: var(--display);
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink);
}
.cpage--consulting .cbox__note {
  margin: clamp(1.1rem, 2vw, 1.5rem) 0 0;
  font-family: var(--sans);
  font-size: 12px;
  line-height: 15px;
  font-weight: 300;
  letter-spacing: .06em;
  color: var(--grey);
}
.cpage--consulting .cbox__note a {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 15px;
  font-weight: 300;
  letter-spacing: .06em;
  color: inherit;
  border-bottom: 0;
}
.cpage--consulting .cbox__note a:hover {
  color: var(--ink);
}
.cpage--consulting .cform {
  margin-top: clamp(1.3rem, 2.4vw, 2rem);
  justify-items: stretch;
}
.cpage--consulting .cform__inline-row {
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2vw, 1.35rem);
  width: 100%;
}
.cpage--consulting .cform__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  min-width: 164px;
  min-height: 42px;
  padding-top: .7rem;
  padding-bottom: .55rem;
  color: var(--ink);
  border-color: var(--line);
}
.cpage--consulting .cform__submit:hover {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.page-consulting .colophon {
  margin-top: 0;
}
.page-consulting .paper {
  padding-top: 0;
  background: #fff;
}
@media (min-width: 761px) {
  .page-consulting {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
  }
  .page-consulting .paper {
    flex: 1 1 auto;
    display: flex;
  }
  .page-consulting .cpage--consulting {
    flex: 1 1 auto;
    min-height: 0;
    box-sizing: border-box;
  }
}
.cbox__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(38px, 2.8273809524vw, 74px);
  line-height: 1.075;
  letter-spacing: .2em;
  margin: 0 0 15px;
  text-transform: uppercase;
}
.cbox__lead {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0;
  color: var(--ink-2);
  margin: 0 0 2rem;
  max-width: 52ch;
}
.cbox__note {
  margin-top: 1.4rem;
  font-family: var(--sans);
  font-size: 12px;
  line-height: 15px;
  font-weight: 400;
  letter-spacing: .06em;
  color: var(--grey);
}
.cbox__note a { color: var(--ink); border-bottom: 1px solid var(--line); }
.cbox__note a:hover { border-color: var(--ink); }

.cform { display: grid; gap: 1.1rem; }
.cform__field { display: grid; gap: .4rem; }
.cform__label {
  font-family: var(--sans);
  font-size: 11px;
  line-height: 15px;
  font-weight: 400;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--grey);
}
.cform__input {
  font-family: var(--sans); font-size: .95rem; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: .55rem 0; transition: border-color .25s var(--ease);
}
.cform__input:focus { outline: none; border-bottom-color: var(--ink); }
.cform__textarea { resize: vertical; min-height: 4rem; line-height: 1.45; }
.cform--inline { gap: .45rem; }
.cform__inline-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(.9rem, 2vw, 1.4rem);
  align-items: end;
}
.cform--inline .cform__submit {
  margin-top: 0;
  white-space: nowrap;
}
.cform__hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cform__turnstile {
  min-height: 0;
  max-height: none;
  overflow: visible;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.cform__turnstile.is-verified { opacity: .48; }
.cform__turnstile.is-dismissed { opacity: 0; transform: translateY(-4px); }
.cform__turnstile iframe { max-width: 100%; }
.cform__submit {
  justify-self: start; margin-top: .6rem;
  font-family: var(--sans);
  font-size: 12px;
  line-height: 15px;
  font-weight: 400;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink); background: transparent;
  border: 1px solid var(--ink); padding: .7rem 1.6rem; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.cform__submit:hover { background: var(--ink); color: var(--paper); }
.cform__submit:disabled { opacity: .5; cursor: default; }
.cform__msg {
  min-height: 1.2em;
  display: flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .03em;
  color: var(--grey);
  transition: opacity .2s var(--ease);
}
.cform__msg::before { display: none; flex: 0 0 auto; }
.cform__msg.is-sending::before {
  content: '';
  display: block;
  width: .62rem;
  height: .62rem;
  border: 1px solid color-mix(in srgb, var(--grey) 35%, transparent);
  border-top-color: var(--grey);
  border-radius: 50%;
  animation: cform-spin .75s linear infinite;
}
.cform__msg.is-ok::before {
  content: '✓';
  display: block;
  font-size: .88rem;
  line-height: 1;
}
@keyframes cform-spin { to { transform: rotate(360deg); } }
.cform__msg.is-ok { color: var(--grey); }
.cform__msg.is-err { color: var(--ink); }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 760px) {
  :root {
    --pad: 25px;
  }

  /* the horizontal ribbon + hover mega are replaced by the hamburger drawer */
  .ribbon, .mega { display: none; }
  .masthead {
    padding: 24px var(--pad) 0;
  }
  .masthead__title {
    width: 242px;
    height: 126px;
    margin: 0 auto 0 calc(50% - 123px);
    padding: 10px 0 0;
    overflow: visible;
    text-indent: 0;
    font-family: var(--display);
    font-size: 34.5px;
    line-height: 39.1px;
    font-weight: 400;
    letter-spacing: .15em;
    transform: none;
  }
  .masthead__title span {
    display: block;
  }
  .lang {
    top: 15px;
    right: 0;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: .15em;
  }
  .mham { display: block; }
  .mham {
    top: 18px;
    left: 0;
    width: 29px;
    height: 21px;
  }
  .mham span {
    height: 1.5px;
  }
  .mham:focus,
  .mham:focus-visible {
    outline: none;
  }
  .option-paper {
    padding: 0 0 0;
  }
  .option-home .front__archive {
    margin-inline: 0;
  }
  .option-lead {
    display: block;
  }
  .option-lead__link {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .option-lead__media {
    grid-column: auto;
    width: 100%;
    height: 270px;
  }
  .option-front--single .option-lead__media {
    height: 340px;
  }
  .option-lead__body {
    display: block;
    padding: 56px var(--pad) 58px;
  }
  .option-lead__title {
    font-size: 23px;
    line-height: 26px;
    letter-spacing: 0;
  }
  .option-lead__title::after {
    content: "";
    display: block;
    width: 52px;
    height: 1px;
    margin: 28px 0 24px;
    background: var(--ink);
    opacity: .72;
  }
  .option-lead__dek {
    max-width: none;
    font-size: 16px;
    line-height: 21.333px;
    margin: 0;
  }
  .option-front__split {
    margin: 0 0 0;
  }
  .option-grid {
    padding: 0 0 clamp(2rem, 8vw, 3rem);
    gap: 0;
  }
  .option-card {
    display: grid;
  }
  .option-card__media {
    width: 100%;
    margin: 0;
    aspect-ratio: 393 / 270;
  }
  .option-card__title {
    padding: 56px var(--pad) 0;
    font-size: 23px;
    line-height: 26px;
  }
  .option-card__title::after {
    content: "";
    display: block;
    width: 52px;
    height: 1px;
    margin: 28px 0 24px;
    background: var(--ink);
    opacity: .72;
  }
  .option-card__excerpt {
    padding: 0 var(--pad) 58px;
    margin: 0;
    font-size: 16px;
    line-height: 21.333px;
  }
  .archive-page {
    padding: 34px 0 48px;
  }
  .archive-head {
    margin: 0 var(--pad);
    padding-bottom: 32px;
  }
  .archive-head__title {
    font-size: 36px;
    line-height: 42px;
    letter-spacing: .2em;
  }
  .archive-filter {
    margin-top: 28px;
    gap: 9px 16px;
  }
  .archive-filter__button {
    padding: 0 0 6px;
    font-size: 11px;
    line-height: 15px;
    font-weight: 300;
    letter-spacing: .1227em;
  }
  .archive-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 24px;
  }
  .archive-card__figure {
    aspect-ratio: 4 / 3;
    margin: 0 0 18px;
  }
  .archive-card__body {
    padding: 0 var(--pad);
  }
  .archive-card__meta {
    font-size: 11px;
    line-height: 15px;
    font-weight: 300;
    letter-spacing: .1227em;
  }
  .archive-card__title {
    margin-top: 10px;
    font-size: 20px;
    line-height: 25px;
  }
  .archive-card__excerpt {
    margin-top: 16px;
    font-size: 16px;
    line-height: 21.714px;
  }
  .post-page {
    padding: 11px 0 0;
  }
  .post {
    max-width: none;
  }
  .post__head {
    gap: 0;
    padding: 0 var(--pad) 38px;
    text-align: center;
  }
  .post__back,
  .post__meta {
    justify-self: center;
    font-family: var(--sans);
    font-size: 11px;
    line-height: 15px;
    font-weight: 300;
    letter-spacing: .1364em;
    text-transform: uppercase;
    color: var(--grey);
  }
  .post__back {
    margin-bottom: 12px;
    border-bottom: 1px solid var(--line);
  }
  .post__meta {
    margin-bottom: 35px;
  }
  .post__title {
    max-width: 293px;
    justify-self: center;
    font-size: 23px;
    line-height: 26px;
    letter-spacing: 0;
  }
  .post__dek {
    max-width: 293px;
    margin-top: 24px;
    font-size: 16px;
    line-height: 21.333px;
    letter-spacing: 0;
  }
  .post__figure {
    border-bottom: 0;
  }
  .post__figure img {
    width: 100%;
  }
  .post__body {
    max-width: none;
    margin: 0;
    padding: 42px var(--pad) 0;
    font-size: 16px;
    line-height: 21.333px;
    letter-spacing: 0;
  }
  .post__body p + p {
    margin-top: 28px;
  }
  .post__inline-figure {
    margin: 36px 0;
  }
  .post__external {
    margin: 44px auto 0;
    padding: 0 var(--pad) 78px;
    max-width: none;
    text-align: left;
  }
  .post__external a {
    display: inline-block;
  }
  .about {
    display: flex;
    flex-direction: column;
  }
  .about__portrait {
    order: 0;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    aspect-ratio: 1197 / 1600;
    height: auto;
  }
  .about__photo {
    object-fit: cover;
    object-position: 50% 50%;
  }
  .about__credit {
    display: none;
  }
  .about__text {
    order: 1;
    padding: 40px var(--pad) 54px;
  }
  .about__title {
    font-size: 33px;
    line-height: 42px;
    letter-spacing: .1835em;
    margin-bottom: 19.8px;
  }
  .about__body p:first-child {
    max-width: 290px;
    font-family: var(--display);
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    letter-spacing: 0;
  }
  .about__body p {
    font-family: var(--display);
    font-size: 16px;
    line-height: 21.333px;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--ink-2);
  }
  .about__body p + p {
    margin-top: 23.328px;
  }
  .cpage--contact {
    padding: 42px var(--pad) 58px;
  }
  .cpage--contact .cbox {
    border: 0;
    padding: 0;
    max-width: none;
    width: 100%;
  }
  .cpage--contact .cbox__title {
    font-size: 36px;
    line-height: 42px;
    letter-spacing: .2em;
  }
  .cpage--consulting {
    min-height: auto;
    align-items: flex-start;
    padding: 48px var(--pad) 36px;
  }
  .page-consulting .paper {
    padding-left: 0;
    padding-right: 0;
  }
  .cpage--consulting .cbox {
    grid-template-columns: 1fr;
    justify-items: stretch;
    width: 100%;
    max-width: none;
    padding: 0;
  }
  .cpage--consulting .cbox__title,
  .cpage--consulting .cbox__lead,
  .cpage--consulting .cform,
  .cpage--consulting .cbox__note {
    width: 100%;
  }
  .cpage--consulting .cbox__lead,
  .cpage--consulting .cform {
    width: 100%;
  }
  .cpage--consulting .cbox__title {
    font-size: 33px;
    line-height: 42px;
    letter-spacing: .1835em;
    margin-bottom: 18px;
  }
  .cpage--consulting .cbox__lead {
    font-size: 16px;
    line-height: 21.333px;
    letter-spacing: 0;
  }
  .cpage--consulting .cform {
    margin-top: 54px;
  }
  .cpage--consulting .cform__label {
    font-size: 12px;
    line-height: 15px;
    letter-spacing: .15em;
  }
  .cpage--consulting .cform__inline-row {
    margin-top: 36px;
    gap: 48px;
  }
  .cpage--consulting .cform__input {
    padding: 0;
  }
  .cpage--consulting .cform__submit {
    justify-self: start;
    min-width: 139px;
    min-height: 49px;
    padding: .95rem 1.35rem .82rem;
  }
  .cpage--consulting .cbox__note {
    margin-top: 82px;
    font-size: 12px;
    line-height: 15px;
    letter-spacing: .06em;
  }
  .cform__inline-row {
    grid-template-columns: 1fr;
  }
  .mnav {
    padding: 96px var(--pad) 3rem;
  }
  .mnav__inner {
    gap: 0;
  }
  .macc,
  .mnav__link {
    border-bottom-color: var(--line);
  }
  .macc__head,
  .mnav__link {
    min-height: 82px;
    padding: 25px 0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 32px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
  }
  .macc__head::after {
    font-size: 18px;
    line-height: 32px;
    font-weight: 300;
    letter-spacing: .15em;
    color: var(--ink-2);
  }
  .macc__body {
    padding: 0;
  }
  .macc.is-open .macc__body {
    padding: 0 0 30px;
  }
  .macc__item {
    padding: 5px 0;
    gap: .8rem;
    font-family: var(--display);
    font-size: 14px;
    line-height: 25px;
    font-weight: 500;
    letter-spacing: .10em;
    text-transform: uppercase;
    color: var(--ink-2);
  }
  .macc__item:first-child {
    padding-top: 0;
  }
  .macc__item:last-child {
    padding-bottom: 5px;
  }
  .macc__item em {
    font-family: var(--sans);
    font-size: 9px;
    line-height: 25px;
    font-weight: 400;
    letter-spacing: .0675em;
    color: var(--grey);
  }
  .colophon {
    margin-top: 0;
    padding: 36px var(--pad) 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    font-size: 11px;
    line-height: 15px;
    font-weight: 300;
    letter-spacing: .0655em;
  }
  .colophon__social {
    justify-content: space-between;
    gap: 0;
    min-width: 0;
    width: 100%;
    justify-self: stretch;
    order: 0;
  }
  .colophon__copy {
    white-space: nowrap;
    font-size: 8px;
    line-height: 10px;
    letter-spacing: .06em;
  }
  .colophon__credits {
    order: 0;
    grid-column: 1;
    justify-self: center;
    gap: .4rem;
    margin-left: 0;
    font-size: 8px;
    line-height: 10px;
    letter-spacing: .06em;
  }
}

/* ===========================================================
   MOTION PREFERENCES
   =========================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; }
}
