/*
Theme Name: Rabadan Studio v3
Theme URI: https://rabadandigi.local
Author: Rabadan Studio
Author URI: https://rabadandigi.local
Description: Tema editorial para Rabadan Studio. Version 3: copys reescritos, formulario de contacto nativo, menu movil accesible y mejoras de accesibilidad.
Version: 3.4.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: rabadan-digital
*/

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@supports (animation-timeline: view()) {
  .selected-work-heading,
  .project-case-copy,
  .project-tile,
  .web-depth-heading,
  .web-depth-grid article,
  .agency-heading > *,
  .compact-journey-heading,
  .compact-timeline article,
  .portfolio-new-closing .section-inner > *:not(.portfolio-new-trace) {
    animation: revealUp linear both;
    animation-timeline: view();
    animation-range: entry 8% cover 32%;
  }

  .portfolio-new-trace path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: traceDraw linear both;
    animation-timeline: view();
    animation-range: entry 5% cover 48%;
  }
}

@media (max-width: 1180px) {
  .selected-work-heading h2,
  .web-depth-heading h2,
  .compact-journey-heading h2 {
    font-size: 4.8rem;
  }

  .agency-heading h2 {
    font-size: 4.15rem;
  }

  .portfolio-new-closing h2 {
    font-size: 5.4rem;
  }
}

@media (max-width: 980px) {
  .portfolio-hero-bottom,
  .selected-work-heading,
  .project-case-copy,
  .web-depth-heading,
  .agency-heading,
  .compact-journey-heading {
    grid-template-columns: 1fr;
  }

  .portfolio-hero-bottom {
    gap: 24px;
  }

  .portfolio-hero-bottom p:last-child {
    max-width: 300px;
  }

  .selected-work,
  .web-depth,
  .compact-journey {
    padding-block: 108px;
  }

  .selected-work-heading,
  .web-depth-heading,
  .agency-heading,
  .compact-journey-heading {
    gap: 26px;
  }

  .project-case-copy {
    gap: 28px;
  }

  .project-case-copy > div:last-child {
    max-width: 680px;
  }

  .agency-experience {
    padding-top: 108px;
  }

  .agency-heading > p:last-child {
    max-width: 680px;
  }

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

  .compact-timeline article:nth-child(2) {
    border-right: 0;
  }

  .compact-timeline article:nth-child(-n+2) {
    border-bottom: 1px solid var(--line-dark);
  }
}

@media (max-width: 680px) {
  .portfolio-new-hero {
    min-height: 92svh;
  }

  .portfolio-hero-bottom {
    margin-top: 32px;
  }

  .selected-work,
  .web-depth,
  .compact-journey {
    padding: 84px 18px;
  }

  .selected-work-heading h2,
  .web-depth-heading h2,
  .agency-heading h2,
  .compact-journey-heading h2 {
    font-size: 3.45rem;
  }

  .project-case {
    margin-top: 68px;
  }

  .project-case-media img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .project-case-copy {
    padding-top: 24px;
  }

  .project-case-copy h2 {
    font-size: 3.45rem;
  }

  .project-pair {
    grid-template-columns: 1fr;
    gap: 78px;
    margin-top: 88px;
  }

  .project-pair-secondary {
    margin-top: 88px;
    padding-top: 88px;
  }

  .project-tile-copy h2 {
    font-size: 3rem;
  }

  .project-in-progress .project-tile-media > span {
    top: 14px;
    right: 14px;
  }

  .web-depth-grid {
    grid-template-columns: 1fr;
    margin-top: 58px;
  }

  .web-depth-grid article {
    min-height: 260px;
    padding: 28px 6px 32px;
    border-right: 0;
    border-bottom: 1px solid rgba(40, 35, 36, 0.2);
  }

  .web-depth-grid article:last-child {
    border-bottom: 0;
  }

  .web-depth-grid strong {
    font-size: 4.5rem;
  }

  .web-depth-grid p {
    margin-top: 74px;
  }

  .agency-experience {
    padding-top: 84px;
  }

  .agency-heading {
    padding-inline: 18px;
  }

  .agency-experience .brand-marquee {
    margin-top: 72px;
  }

  .compact-timeline {
    grid-template-columns: 1fr;
    margin-top: 58px;
  }

  .compact-timeline article,
  .compact-timeline article:nth-child(2) {
    min-height: 270px;
    padding: 28px 6px 32px;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .compact-timeline article:last-child {
    border-bottom: 0;
  }

  .compact-timeline h3 {
    margin-top: 68px;
  }

  .portfolio-new-closing {
    min-height: 88svh;
    padding: 88px 18px;
  }

  .portfolio-new-closing h2 {
    font-size: 4rem;
  }

  .portfolio-new-trace {
    right: -48%;
    bottom: -8%;
    width: 150vw;
  }
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/instrument-serif-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/instrument-serif-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/instrument-serif-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/instrument-serif-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #282324;
  --charcoal: #44393b;
  --paper: #f7ecec;
  --paper-soft: #fffaf7;
  --rose: #b86f79;
  --blush: #edcdd1;
  --oxblood: #80464e;
  --olive: #68705f;
  --line-dark: rgba(40, 35, 36, 0.18);
  --line-light: rgba(255, 250, 247, 0.32);
  --sans: Montserrat, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Arsenica, "Arsenica Trial", "Instrument Serif", Georgia, "Times New Roman", serif;
}

@font-face {
  font-family: Arsenica;
  src: local("Arsenica"), local("Arsenica Trial");
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper-soft);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}

body.admin-bar .site-header {
  --header-top-offset: 32px;
}

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

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

.site-shell {
  overflow: clip;
}

.site-header {
  position: fixed;
  inset: var(--header-top-offset, 0) 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding: 14px 4vw;
  color: var(--ink);
  background: rgba(255, 250, 247, 0.84);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(14px);
  transition: top 180ms ease;
  animation: headerIn 700ms ease both;
}

.brand {
  display: block;
  flex: 0 0 auto;
  width: 190px;
  padding: 5px 7px;
  background: transparent;
}

.brand img {
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.main-nav .nav-cta {
  padding: 11px 15px;
  border: 1px solid var(--line-dark);
}

.main-nav .nav-cta::after {
  display: none;
}

.hero {
  position: relative;
  min-height: 94svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 126px 4vw 34px;
  color: var(--ink);
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  isolation: isolate;
  animation: heroBreathe 15s ease-in-out infinite alternate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(248, 242, 240, 0.2);
}

.hero-meta,
.project-label {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-meta p,
.project-label p {
  margin: 0;
}

.hero-wordmark {
  margin: auto 0 0;
}

.hero-monogram {
  position: absolute;
  top: 38%;
  left: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 158px;
  height: auto;
  padding: 0;
  background: transparent;
  border: 0;
  filter: drop-shadow(0 3px 12px rgba(247, 243, 235, 0.22));
  transform: translate(-50%, -50%);
  animation: monogramFloat 5s ease-in-out infinite;
}

.hero-monogram img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}

.studio-trace {
  pointer-events: none;
}

.studio-trace path {
  fill: none;
  stroke: var(--rose);
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.studio-trace path:nth-child(even) {
  stroke: var(--ink);
  opacity: 0.48;
}

.hero-trace {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 330px;
  max-width: none;
  opacity: 0.9;
  transform: translate(-50%, -50%);
}

.hero-trace path {
  stroke-width: 1.6;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: traceDraw 1.8s cubic-bezier(0.33, 1, 0.68, 1) 500ms forwards;
}

.hero-trace path:nth-child(2) {
  animation-delay: 850ms;
}

.hero-whisper {
  width: min(520px, 100%);
  margin: 0 auto 22px;
  color: #211c1d;
  text-align: center;
  text-wrap: balance;
  font-family: var(--serif);
  font-size: 2.15rem;
  font-weight: 500;
  line-height: 1.04;
  text-shadow:
    0 1px 0 rgba(248, 242, 240, 0.96),
    0 0 12px rgba(248, 242, 240, 0.92),
    0 0 28px rgba(248, 242, 240, 0.78);
}

.hero h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 9rem;
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
}

.hero h1 em,
.project-title h2 em {
  color: var(--blush);
  font-weight: inherit;
}

.hero h1 em {
  color: var(--rose);
}

.statement-screen h2 em {
  color: var(--rose);
  font-weight: inherit;
}

.hero-scroll {
  align-self: flex-start;
  display: inline-flex;
  gap: 14px;
  align-items: center;
  margin-top: 44px;
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-scroll span {
  animation: arrowDrop 1.8s ease-in-out infinite;
}

.statement-screen,
.closing-scene {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 120px 6vw;
}

.statement-screen {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
}

.statement-screen::before {
  content: "";
  position: absolute;
  top: 15%;
  left: 5vw;
  width: 62px;
  height: 62px;
  border-top: 1px solid rgba(184, 111, 121, 0.55);
  border-left: 1px solid rgba(184, 111, 121, 0.55);
}

.statement-screen::after {
  content: "";
  position: absolute;
  right: 6vw;
  bottom: 16%;
  width: 38px;
  height: 38px;
  background:
    linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(128, 70, 78, 0.4) 50%, transparent calc(50% + 0.5px)),
    linear-gradient(transparent calc(50% - 0.5px), rgba(128, 70, 78, 0.4) 50%, transparent calc(50% + 0.5px));
  border: 1px solid rgba(128, 70, 78, 0.4);
  border-radius: 50%;
}

.statement-inner {
  width: min(1080px, 100%);
  text-align: center;
}

.section-kicker {
  margin: 0 0 28px;
  color: var(--rose);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.statement-screen h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 5.8rem;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

.statement-screen .statement-inner > p:last-child {
  width: min(670px, 100%);
  margin: 48px auto 0;
  color: rgba(40, 35, 36, 0.66);
  font-size: 1rem;
}

.founder-scene {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper);
}

.founder-image {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
}

.founder-image::after,
.journey-image::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 30px;
  right: 30px;
  width: 42px;
  height: 42px;
  background:
    linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(255, 250, 247, 0.78) 50%, transparent calc(50% + 0.5px)),
    linear-gradient(transparent calc(50% - 0.5px), rgba(255, 250, 247, 0.78) 50%, transparent calc(50% + 0.5px));
  border: 1px solid rgba(255, 250, 247, 0.78);
  border-radius: 50%;
}

.founder-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 900ms ease;
}

.founder-scene:hover .founder-image img {
  transform: scale(1.02);
}

.founder-image p {
  position: absolute;
  right: 22px;
  bottom: 18px;
  left: 22px;
  margin: 0;
  color: rgba(247, 243, 235, 0.86);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.founder-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 7vw;
}

.founder-copy h2,
.services-intro h2,
.closing-scene h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 4.6rem;
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: 0;
}

.founder-lede {
  margin: 42px 0 18px;
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.08;
}

.founder-copy > p:not(.section-kicker, .founder-lede) {
  max-width: 570px;
  margin: 0;
  color: rgba(18, 18, 20, 0.68);
}

.studio-film {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 70px 5vw;
  color: var(--paper-soft);
  isolation: isolate;
}

.studio-film video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-film-wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(18, 18, 20, 0.42);
}

.studio-film-copy {
  width: min(840px, 100%);
}

.studio-film-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 5.6rem;
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0;
}

.studio-film-copy > p:last-child {
  max-width: 580px;
  margin: 28px 0 0;
  color: rgba(247, 243, 235, 0.72);
  font-size: 0.82rem;
}

.text-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 42px;
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: gap 220ms ease;
}

.text-link:hover {
  gap: 28px;
}

.services-scene {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(520px, 1.15fr);
  gap: 7vw;
  align-items: center;
  padding: 120px 5vw;
  background: #f4dfe1;
  color: var(--ink);
}

.services-scene > *:not(.service-thread) {
  position: relative;
  z-index: 1;
}

.service-thread {
  position: absolute;
  z-index: 0;
  top: 8%;
  left: 42%;
  width: 160px;
  height: 84%;
  opacity: 0.34;
}

.services-intro h2 {
  font-size: 4.9rem;
}

.services-intro > p:last-child {
  max-width: 530px;
  margin: 34px 0 0;
  color: rgba(40, 35, 36, 0.64);
}

.service-index {
  border-top: 1px solid var(--line-dark);
}

.service-index a {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) minmax(170px, 0.7fr);
  gap: 22px;
  align-items: center;
  min-height: 118px;
  border-bottom: 1px solid var(--line-dark);
  transition: color 220ms ease, padding 220ms ease, background 220ms ease;
}

.service-index a:hover {
  padding-inline: 16px;
  background: var(--paper);
  color: var(--ink);
}

.service-index span,
.service-index small {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-index small {
  color: currentColor;
  opacity: 0.6;
}

.service-index strong {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 400;
  line-height: 1;
}

.project-scene {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--paper-soft);
  isolation: isolate;
}

.project-scene > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.project-scene:hover > img {
  transform: scale(1.025);
}

.project-wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(22, 14, 14, 0.42);
}

.project-label {
  padding: 36px 4vw 0;
}

.project-title {
  position: absolute;
  right: 5vw;
  bottom: 7vh;
  left: 5vw;
}

.project-title h2 {
  max-width: 980px;
  margin: 0;
  font-family: var(--serif);
  font-size: 7rem;
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: 0;
}

.text-link-light {
  color: var(--paper-soft);
}

.closing-scene {
  justify-items: start;
  align-content: center;
  background: var(--paper);
  color: var(--ink);
}

.closing-scene h2 {
  max-width: 1060px;
  font-size: 7rem;
}

.closing-scene > p:not(.section-kicker) {
  max-width: 580px;
  margin: 42px 0 0;
  color: rgba(18, 18, 20, 0.66);
  font-size: 1.05rem;
}

/* Inner pages */
.section {
  padding: 112px 5vw;
  background: var(--paper-soft);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.page-hero {
  position: relative;
  min-height: 82svh;
  display: flex;
  align-items: flex-end;
  padding: 170px 5vw 88px;
  background: #f1dadd;
  color: var(--ink);
  border-bottom: 1px solid var(--line-dark);
}

.page-hero .section-inner {
  margin-inline: 0;
}

.page-title,
.section-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 6.4rem;
  font-weight: 400;
  line-height: 0.91;
  letter-spacing: 0;
}

.page-title {
  max-width: 1060px;
}

.contact-page .page-title {
  position: relative;
}

.contact-page .page-title::after {
  content: "";
  position: absolute;
  right: 4%;
  bottom: -22px;
  width: 64%;
  height: 24px;
  border-top: 1px solid rgba(128, 70, 78, 0.58);
  border-radius: 50%;
  transform: rotate(-1.4deg);
}

.section-title {
  max-width: 900px;
  font-size: 5.2rem;
}

.section-lede {
  max-width: 720px;
  margin: 34px 0 0;
  color: rgba(18, 18, 20, 0.66);
  font-size: 1.08rem;
}

.page-hero .section-lede {
  color: rgba(40, 35, 36, 0.66);
}

.services-page-hero {
  min-height: 94svh;
  align-items: center;
  overflow: hidden;
  padding-top: 146px;
  padding-bottom: 54px;
}

.services-page-hero .section-inner {
  margin-inline: auto;
}

.services-hero-layout {
  display: grid;
  grid-template-columns: minmax(480px, 0.95fr) minmax(520px, 1.05fr);
  gap: 2vw;
  align-items: center;
}

.services-hero-copy {
  position: relative;
  z-index: 2;
}

.services-hero-copy .page-title {
  max-width: 590px;
  font-size: 4.75rem;
}

.services-hero-copy .section-lede {
  max-width: 620px;
}

.services-sketch {
  position: relative;
  min-height: 560px;
  margin-right: -5vw;
}

.services-sketch::before {
  content: "";
  position: absolute;
  inset: 9% 5% 6% 12%;
  background: #f1dadd;
  border-radius: 50%;
  opacity: 0.48;
  transform: rotate(-7deg);
}

.services-sketch svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 560px;
  overflow: visible;
}

.sketch-window,
.sketch-piece {
  stroke: rgba(40, 35, 36, 0.76);
  stroke-width: 1.2;
}

.sketch-block {
  fill: rgba(255, 252, 248, 0.66);
}

.sketch-block-main {
  fill: rgba(219, 174, 180, 0.4);
}

.sketch-thread {
  stroke: var(--rose);
  stroke-width: 2;
}

.sketch-piece-left circle {
  fill: #fbf8f4;
}

.sketch-piece-left path,
.sketch-piece-right path {
  stroke: var(--rose);
}

.sketch-piece-right rect {
  fill: #fbf8f4;
}

.sketch-dot {
  fill: var(--rose);
  opacity: 0.82;
}

.service-feature {
  position: relative;
  padding: 138px 5vw;
}

.service-number {
  margin: 0;
  color: var(--oxblood);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-feature-heading {
  display: grid;
  grid-template-columns: minmax(150px, 0.25fr) minmax(0, 1fr);
  gap: 4vw;
  align-items: start;
  margin-bottom: 94px;
}

.service-feature-heading h2,
.service-feature-care h2,
.service-feature-extra h2,
.service-process-heading h2,
.services-closing h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 5.5rem;
  font-weight: 400;
  line-height: 0.93;
  letter-spacing: 0;
}

.service-feature-heading h2 {
  max-width: 940px;
}

.service-feature-web {
  background: var(--paper-soft);
}

.service-feature-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(300px, 360px);
  gap: 8vw;
  align-items: start;
}

.service-intro {
  margin: 0;
  color: rgba(40, 35, 36, 0.68);
  font-size: 1.05rem;
}

.service-detail-list {
  margin: 54px 0 0;
  padding: 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}

.service-detail-list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-dark);
  color: rgba(40, 35, 36, 0.72);
  font-size: 0.82rem;
}

.service-detail-list span {
  color: var(--rose);
  font-size: 0.66rem;
  font-weight: 700;
}

.service-proof {
  width: min(360px, 100%);
  margin: 0;
  justify-self: end;
}

.service-proof > a {
  display: block;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--line-dark);
}

.service-proof img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 700ms ease, opacity 700ms ease;
}

.service-proof > a:hover img {
  transform: scale(1.018);
  opacity: 0.92;
}

.service-proof figcaption {
  display: block;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}

.service-proof figcaption span {
  display: block;
  margin-bottom: 7px;
  color: var(--rose);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-proof figcaption strong {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
}

.service-proof figcaption p {
  margin: 16px 0 0;
  color: rgba(40, 35, 36, 0.62);
  font-size: 0.78rem;
}

.service-feature-care {
  background: #e6ebe4;
}

.service-care-grid,
.service-extra-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(420px, 0.82fr);
  gap: 9vw;
  align-items: center;
}

.service-feature-care h2,
.service-feature-extra h2 {
  margin-top: 28px;
}

.service-feature-care .service-intro {
  max-width: 660px;
  margin-top: 38px;
}

.care-board {
  padding: 34px 38px 28px;
  background: #fbf8f4;
  border: 1px solid rgba(40, 35, 36, 0.22);
  box-shadow: 18px 18px 0 rgba(104, 112, 95, 0.13);
}

.care-board-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-dark);
}

.care-board-head span,
.care-board-head strong {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.care-board-head strong {
  color: var(--olive);
}

.care-board ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.care-board li {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line-dark);
  color: rgba(40, 35, 36, 0.72);
  font-size: 0.78rem;
}

.care-board li strong {
  color: var(--olive);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
}

.care-board li i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  background: var(--olive);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(104, 112, 95, 0.12);
}

.care-board > p {
  margin: 25px 0 0;
  color: rgba(40, 35, 36, 0.54);
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.1;
}

.service-feature-extra {
  overflow: hidden;
  background: #f1dadd;
}

.service-feature-extra h2 {
  max-width: 700px;
}

.service-feature-extra h2 + p {
  max-width: 620px;
  margin: 38px 0 0;
  color: rgba(40, 35, 36, 0.64);
}

.extra-index {
  border-top: 1px solid var(--line-dark);
}

.extra-index p {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin: 0;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--serif);
  font-size: 2.15rem;
  line-height: 1;
}

.extra-index span {
  color: var(--oxblood);
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
}

.service-process {
  padding: 138px 5vw;
  background: #fbf8f4;
}

.service-process-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.34fr);
  gap: 6vw;
  align-items: end;
}

.service-process-heading .section-kicker {
  grid-column: 1 / -1;
}

.service-process-heading h2 {
  max-width: 900px;
}

.service-process-heading > p:last-child {
  margin: 0;
  color: rgba(40, 35, 36, 0.62);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 94px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.process-grid article {
  min-height: 310px;
  padding: 30px 30px 34px;
  border-right: 1px solid var(--line-dark);
}

.process-grid article:last-child {
  border-right: 0;
}

.process-grid article > span {
  color: var(--rose);
  font-size: 0.66rem;
  font-weight: 700;
}

.process-grid h3 {
  margin: 84px 0 18px;
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1;
}

.process-grid p {
  margin: 0;
  color: rgba(40, 35, 36, 0.62);
  font-size: 0.78rem;
}

.services-closing {
  position: relative;
  overflow: hidden;
  min-height: 82svh;
  display: flex;
  align-items: center;
  padding: 120px 5vw;
  background: #dbaeb4;
}

.services-closing .section-inner {
  position: relative;
}

.services-closing h2 {
  max-width: 1000px;
  font-size: 6.5rem;
}

.services-closing .section-inner > p:not(.section-kicker) {
  max-width: 650px;
  margin: 38px 0 0;
  color: rgba(40, 35, 36, 0.66);
}

.services-closing .button {
  margin-top: 42px;
}

.services-closing-trace {
  position: absolute;
  right: -8%;
  bottom: -18%;
  width: min(760px, 68vw);
  opacity: 0.5;
}

.section-lede + .section-lede {
  margin-top: 16px;
}

.inline-link {
  border-bottom: 1px solid currentColor;
}

.split,
.media-split,
.contact-panel,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 7vw;
  align-items: start;
}

.story-panel {
  position: sticky;
  top: 128px;
}

.pullquote {
  margin: 38px 0 0;
  color: var(--oxblood);
  font-family: var(--serif);
  font-size: 3.7rem;
  line-height: 1;
}

.check-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}

.check-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--line-dark);
  color: rgba(18, 18, 20, 0.68);
}

.check-list li::before {
  content: "\2192";
  margin-right: 14px;
  color: var(--rose);
}

.service-list {
  position: relative;
  border-top: 1px solid var(--line-dark);
}

.service-list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 27px;
  width: 1px;
  background: rgba(184, 111, 121, 0.34);
  transform-origin: top;
}

.service-row {
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr) minmax(230px, 0.42fr);
  gap: 4vw;
  padding: 72px 0;
  border-bottom: 1px solid var(--line-dark);
}

.service-row > span {
  position: relative;
  z-index: 1;
  color: var(--oxblood);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.service-row > span::after {
  content: "";
  position: absolute;
  top: 25px;
  left: 22px;
  width: 9px;
  height: 9px;
  background: var(--paper-soft);
  border: 1px solid var(--rose);
  border-radius: 50%;
}

.service-row h2 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 4.2rem;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0;
}

.service-row p {
  max-width: 680px;
  margin: 0;
  color: rgba(18, 18, 20, 0.66);
}

.service-row ul,
.maintenance-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-row li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line-dark);
  color: rgba(18, 18, 20, 0.64);
  font-size: 0.86rem;
}

.contact {
  background: var(--blush);
  color: var(--ink);
}

.contact .section-lede {
  color: rgba(40, 35, 36, 0.65);
}

.contact-card {
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
}

.contact-card p {
  margin: 0 0 28px;
  color: rgba(40, 35, 36, 0.68);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid currentColor;
  border-radius: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 220ms ease, color 220ms ease;
}

.button:hover {
  background: var(--paper-soft);
  color: var(--ink);
}

.button-dark {
  background: var(--ink);
  color: var(--paper-soft);
}

.button-light {
  background: var(--paper-soft);
  color: var(--ink);
}

.section-lede + .button,
.section-lede + .section-lede + .button,
.section-button {
  margin-top: 34px;
}

.portfolio-new-hero {
  min-height: 88svh;
}

.portfolio-new-hero .page-title {
  max-width: 1120px;
}

.portfolio-hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 660px) minmax(220px, 0.36fr);
  justify-content: space-between;
  gap: 7vw;
  align-items: end;
  margin-top: 46px;
}

.portfolio-hero-bottom p {
  margin: 0;
  color: rgba(40, 35, 36, 0.64);
}

.portfolio-hero-bottom p:last-child {
  color: var(--oxblood);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.selected-work {
  padding: 138px 5vw 154px;
  background: #fbf8f4;
}

.selected-work-heading,
.web-depth-heading,
.compact-journey-heading {
  display: grid;
  grid-template-columns: minmax(170px, 0.28fr) minmax(0, 1fr);
  gap: 5vw;
  align-items: start;
}

.selected-work-heading h2,
.web-depth-heading h2,
.agency-heading h2,
.compact-journey-heading h2,
.portfolio-new-closing h2 {
  max-width: 980px;
  margin: 0;
  font-family: var(--serif);
  font-size: 5.5rem;
  font-weight: 400;
  line-height: 0.93;
  letter-spacing: 0;
}

.project-case {
  margin-top: 108px;
}

.project-case-media,
.project-tile-media {
  display: block;
  overflow: hidden;
  background: var(--ink);
}

.project-case-media img {
  width: 100%;
  height: min(680px, 72svh);
  object-fit: cover;
  object-position: top center;
  transition: transform 850ms ease, opacity 850ms ease;
}

.project-case-media:hover img,
.project-tile-media:hover img {
  transform: scale(1.015);
  opacity: 0.94;
}

.project-case-copy {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(300px, 0.55fr);
  gap: 7vw;
  padding: 34px 0 0;
  border-top: 1px solid var(--line-dark);
}

.project-index {
  margin: 0 0 17px;
  color: var(--rose);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-case-copy h2,
.project-tile-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 4.6rem;
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0;
}

.project-case-copy > div:last-child > p {
  margin: 0 0 26px;
  color: rgba(40, 35, 36, 0.64);
}

.project-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7vw 4vw;
  margin-top: 138px;
}

.project-pair-secondary {
  margin-top: 118px;
  padding-top: 118px;
  border-top: 1px solid var(--line-dark);
}

.project-tile-media {
  position: relative;
}

.project-tile-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
  transition: transform 750ms ease, opacity 750ms ease;
}

.project-tile-copy {
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
}

.project-tile-copy h2 {
  font-size: 3.35rem;
}

.project-tile-copy > p:not(.project-index) {
  max-width: 610px;
  margin: 24px 0 23px;
  color: rgba(40, 35, 36, 0.62);
  font-size: 0.84rem;
}

.project-in-progress .project-tile-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 35, 26, 0.2);
}

.project-in-progress .project-tile-media > span {
  position: absolute;
  z-index: 1;
  top: 22px;
  right: 22px;
  padding: 10px 13px;
  background: #fbf8f4;
  color: var(--olive);
  border: 1px solid rgba(40, 35, 36, 0.18);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.web-depth {
  padding: 138px 5vw;
  background: #e6ebe4;
}

.web-depth-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 94px;
  border-top: 1px solid rgba(40, 35, 36, 0.2);
  border-bottom: 1px solid rgba(40, 35, 36, 0.2);
}

.web-depth-grid article {
  min-height: 330px;
  padding: 34px 34px 42px;
  border-right: 1px solid rgba(40, 35, 36, 0.2);
}

.web-depth-grid article:last-child {
  border-right: 0;
}

.web-depth-grid strong {
  display: block;
  color: var(--olive);
  font-family: var(--serif);
  font-size: 5.4rem;
  font-weight: 400;
  line-height: 1;
}

.web-depth-grid p {
  max-width: 280px;
  margin: 126px 0 0;
  color: rgba(40, 35, 36, 0.64);
  font-size: 0.8rem;
}

.agency-experience {
  overflow: hidden;
  padding: 138px 0 0;
  background: #f1dadd;
}

.agency-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.24fr) minmax(0, 0.9fr) minmax(260px, 0.44fr);
  gap: 4vw;
  align-items: start;
}

.agency-heading h2 {
  font-size: 4.8rem;
}

.agency-heading > p:last-child {
  margin: 3px 0 0;
  color: rgba(40, 35, 36, 0.64);
  font-size: 0.82rem;
}

.agency-experience .brand-marquee {
  margin-top: 108px;
}

.compact-journey {
  padding: 138px 5vw;
  background: #fbf8f4;
}

.compact-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 94px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.compact-timeline article {
  min-height: 330px;
  padding: 30px 28px 36px;
  border-right: 1px solid var(--line-dark);
}

.compact-timeline article:last-child {
  border-right: 0;
}

.compact-timeline span {
  color: var(--rose);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compact-timeline h3 {
  margin: 92px 0 18px;
  font-family: var(--serif);
  font-size: 2.35rem;
  font-weight: 400;
  line-height: 1;
}

.compact-timeline p {
  margin: 0;
  color: rgba(40, 35, 36, 0.6);
  font-size: 0.76rem;
}

.portfolio-new-closing {
  position: relative;
  overflow: hidden;
  min-height: 84svh;
  display: flex;
  align-items: center;
  padding: 120px 5vw;
  background: #dbaeb4;
}

.portfolio-new-closing .section-inner {
  position: relative;
}

.portfolio-new-closing h2 {
  max-width: 1050px;
  font-size: 6.2rem;
}

.portfolio-new-closing .section-inner > p:not(.section-kicker) {
  max-width: 620px;
  margin: 36px 0 0;
  color: rgba(40, 35, 36, 0.64);
}

.portfolio-new-closing .button {
  margin-top: 40px;
}

.portfolio-new-trace {
  position: absolute;
  right: -9%;
  bottom: -18%;
  width: min(760px, 66vw);
  opacity: 0.48;
}

.portfolio-section {
  background: var(--paper);
}

.portfolio-grid {
  display: grid;
  gap: 0;
}

.portfolio-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 76svh;
  border-bottom: 1px solid var(--line-dark);
  background: transparent;
}

.portfolio-card:nth-child(even) img {
  order: 2;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  min-height: 76svh;
  object-fit: cover;
  transition: transform 800ms ease;
}

.portfolio-card:hover img {
  transform: scale(1.015);
}

.portfolio-card > div {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7vw;
}

.portfolio-card > div::before {
  content: "";
  position: absolute;
  top: 34px;
  right: 34px;
  width: 30px;
  height: 30px;
  border-top: 1px solid rgba(128, 70, 78, 0.36);
  border-right: 1px solid rgba(128, 70, 78, 0.36);
}

.portfolio-card h2,
.portfolio-card h3 {
  margin: 18px 0 28px;
  font-family: var(--serif);
  font-size: 4.4rem;
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0;
}

.portfolio-card p:not(.price-label) {
  color: rgba(18, 18, 20, 0.66);
}

.portfolio-featured {
  background: #efd7da;
  color: var(--ink);
}

.portfolio-featured p:not(.price-label) {
  color: rgba(40, 35, 36, 0.65);
}

.portfolio-aissval {
  background: var(--paper-soft);
}

.portfolio-aissval img {
  object-position: left center;
}

.price-label {
  margin: 0;
  color: var(--rose);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-marquee {
  overflow: hidden;
  border-block: 1px solid var(--line-dark);
}

.brand-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.brand-track span {
  padding: 24px 34px;
  border-right: 1px solid var(--line-dark);
  font-family: var(--serif);
  font-size: 1.8rem;
  white-space: nowrap;
}

.journey-intro {
  position: relative;
  overflow: hidden;
  min-height: 94svh;
  display: grid;
  place-items: center;
  padding: 112px 5vw;
  background: #f0d7da;
  color: var(--ink);
  text-align: center;
}

.journey-intro > div {
  position: relative;
  z-index: 1;
  width: min(940px, 100%);
}

.journey-trace {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(1100px, 92vw);
  opacity: 0.28;
  transform: translate(-50%, -50%);
}

.journey-intro h2 {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: 6.6rem;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0;
}

.journey-intro > div > p:last-child {
  max-width: 620px;
  margin: 42px auto 0;
  color: rgba(40, 35, 36, 0.64);
  font-size: 1.02rem;
}

.journey-chapter {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.88fr);
  min-height: 96svh;
  background: var(--paper);
}

.journey-chapter-reverse {
  background: #f5e1e2;
}

.journey-chapter-reverse .journey-image {
  order: 2;
}

.journey-chapter-reverse .journey-image::after {
  right: auto;
  left: 30px;
}

.journey-image {
  position: relative;
  min-height: 96svh;
  overflow: hidden;
}

.journey-image img {
  width: 100%;
  height: 100%;
  min-height: 96svh;
  object-fit: cover;
  transition: transform 1.1s ease;
}

.journey-chapter:hover .journey-image img {
  transform: scale(1.018);
}

.journey-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9vw 6vw;
}

.journey-number {
  margin: 0 0 30px;
  color: var(--oxblood);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.journey-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 4.6rem;
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0;
}

.journey-copy > p:last-child {
  max-width: 560px;
  margin: 38px 0 0;
  color: rgba(18, 18, 20, 0.66);
}

.career-strip {
  padding: 132px 5vw;
  background: var(--paper-soft);
  color: var(--ink);
}

.career-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  gap: 4vw;
  align-items: end;
  padding-bottom: 72px;
}

.career-heading .section-kicker {
  grid-column: 1 / -1;
}

.career-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 5.4rem;
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0;
}

.career-heading > p:last-child {
  max-width: 540px;
  margin: 0 0 8px;
  color: rgba(40, 35, 36, 0.64);
}

.career-list {
  border-top: 1px solid var(--line-dark);
}

.career-list article {
  display: grid;
  grid-template-columns: minmax(170px, 0.55fr) minmax(220px, 0.7fr) minmax(280px, 1fr);
  gap: 3vw;
  align-items: baseline;
  padding: 34px 0;
  border-bottom: 1px solid var(--line-dark);
}

.career-list span {
  color: var(--rose);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.career-list h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 2.35rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.career-list p {
  margin: 0;
  color: rgba(40, 35, 36, 0.58);
}

.portfolio-epilogue {
  position: relative;
  overflow: hidden;
  min-height: 92svh;
  display: flex;
  align-items: center;
  padding: 112px 5vw;
  background: var(--paper-soft);
}

.portfolio-epilogue .section-inner {
  position: relative;
  z-index: 1;
}

.epilogue-trace {
  position: absolute;
  z-index: -1;
  right: -2vw;
  bottom: -80px;
  width: min(760px, 70vw);
  opacity: 0.42;
}

.portfolio-epilogue h2 {
  max-width: 1100px;
  margin: 18px 0 48px;
  font-family: var(--serif);
  font-size: 6rem;
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0;
}

.closing-scene {
  position: relative;
  overflow: hidden;
}

.closing-scene > *:not(.closing-trace) {
  position: relative;
  z-index: 1;
}

.closing-trace {
  position: absolute;
  right: 3vw;
  bottom: 8%;
  width: min(720px, 64vw);
  opacity: 0.42;
}

.person-band,
.credential-band,
.about-page {
  background: var(--paper);
}

.about-page {
  min-height: 100svh;
  color: var(--ink);
}

.about-page .section-kicker {
  color: var(--oxblood);
}

.about-page .section-lede {
  color: rgba(18, 18, 20, 0.65);
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.portrait-frame p {
  margin: 12px 0 0;
  color: rgba(18, 18, 20, 0.55);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 58px;
  border-top: 1px solid var(--line-dark);
}

.credential-grid article {
  min-height: 280px;
  padding: 36px 32px;
  border-right: 1px solid var(--line-dark);
}

.credential-grid article:last-child {
  border-right: 0;
}

.credential-grid strong {
  display: block;
  margin-bottom: 80px;
  font-family: var(--serif);
  font-size: 3.3rem;
  font-weight: 400;
  line-height: 1;
}

.credential-grid p,
.faq-item p {
  margin: 0;
  color: rgba(18, 18, 20, 0.64);
}

.contact-page {
  min-height: 100svh;
}

.faq-list {
  border-top: 1px solid var(--line-dark);
}

.faq-item {
  padding: 26px 0;
  border-bottom: 1px solid var(--line-dark);
}

.faq-item h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
}

.legal-hero {
  min-height: 76svh;
  display: flex;
  align-items: flex-end;
  padding: 180px 5vw 82px;
  background: #f1dadd;
  border-bottom: 1px solid var(--line-dark);
}

.legal-hero h1 {
  max-width: 1080px;
  margin: 0;
  font-family: var(--serif);
  font-size: 7rem;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0;
}

.legal-hero .section-inner > p:not(.section-kicker, .legal-updated) {
  max-width: 680px;
  margin: 34px 0 0;
  color: rgba(40, 35, 36, 0.65);
  font-size: 1.05rem;
}

.legal-updated {
  margin: 46px 0 0;
  color: var(--oxblood);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-section {
  padding: 110px 5vw 130px;
  background: var(--paper-soft);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: 9vw;
  align-items: start;
}

.legal-index {
  position: sticky;
  top: 128px;
  display: grid;
  border-top: 1px solid var(--line-dark);
}

.legal-index p {
  margin: 0;
  padding: 20px 0 14px;
  color: var(--rose);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-index a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
  color: rgba(40, 35, 36, 0.58);
  font-size: 0.78rem;
  transition: color 180ms ease, padding 180ms ease;
}

.legal-index a:hover,
.legal-index a[aria-current="page"] {
  padding-left: 10px;
  color: var(--ink);
}

.legal-index a[aria-current="page"]::before {
  content: "\2192";
  margin-right: 9px;
  color: var(--rose);
}

.legal-document {
  width: min(790px, 100%);
}

.legal-document > section {
  position: relative;
  padding: 0 0 76px;
  margin: 0 0 76px;
  border-bottom: 1px solid var(--line-dark);
}

.legal-document > section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.legal-number {
  margin: 0 0 20px;
  color: var(--rose);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.legal-document h2 {
  margin: 0 0 30px;
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: 0;
}

.legal-document h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.legal-document p:not(.legal-number) {
  margin: 0;
  color: rgba(40, 35, 36, 0.68);
}

.legal-document p + p {
  margin-top: 18px;
}

.legal-document a:not(.button) {
  color: var(--oxblood);
  border-bottom: 1px solid currentColor;
}

.legal-details {
  margin: 0;
  border-top: 1px solid var(--line-dark);
}

.legal-details > div {
  display: grid;
  grid-template-columns: minmax(150px, 0.4fr) minmax(0, 1fr);
  gap: 28px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-dark);
}

.legal-details dt {
  color: rgba(40, 35, 36, 0.52);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-details dd {
  margin: 0;
  color: var(--ink);
}

.legal-purpose-list {
  border-top: 1px solid var(--line-dark);
}

.legal-purpose-list > div {
  display: grid;
  grid-template-columns: minmax(190px, 0.45fr) minmax(0, 1fr);
  gap: 34px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-dark);
}

.legal-table-wrap {
  margin-top: 34px;
  overflow-x: auto;
}

.legal-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  text-align: left;
}

.legal-table th,
.legal-table td {
  padding: 17px 14px;
  border-bottom: 1px solid var(--line-dark);
  vertical-align: top;
}

.legal-table th {
  color: var(--oxblood);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-table td {
  color: rgba(40, 35, 36, 0.66);
  font-size: 0.82rem;
}

.legal-table td:first-child {
  color: var(--ink);
  font-weight: 600;
}

.legal-admin-note {
  margin-bottom: 64px;
  padding: 20px 22px;
  background: #f1dadd;
  border-left: 2px solid var(--rose);
  color: var(--ink);
  font-size: 0.78rem;
}

.site-footer {
  padding: 86px 5vw 26px;
  background: #dbaeb4;
  color: var(--ink);
  border-top: 1px solid var(--line-dark);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(330px, 1.3fr) minmax(150px, 0.35fr) minmax(150px, 0.35fr);
  gap: 8vw;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding-bottom: 74px;
}

.footer-brand > a:first-child {
  display: block;
  width: 270px;
}

.footer-brand img {
  width: 100%;
  height: auto;
}

.footer-brand p {
  max-width: 390px;
  margin: 30px 0 18px;
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.05;
}

.footer-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  max-width: 440px;
}

.footer-contact-links a {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 0.76rem;
  transition: color 220ms ease;
}

.footer-contact-links a:hover {
  color: var(--oxblood);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-nav p {
  margin: 4px 0 15px;
  color: var(--oxblood);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-nav a {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.05;
}

.footer-nav a:hover {
  color: var(--oxblood);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  color: rgba(40, 35, 36, 0.62);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom p {
  margin: 0;
}

@keyframes headerIn {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroBreathe {
  from { background-position: 49% center; }
  to { background-position: 53% center; }
}

@keyframes heroBreatheMobile {
  from { background-position: 80% center; }
  to { background-position: 84% center; }
}

@keyframes arrowDrop {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

@keyframes monogramFloat {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, calc(-50% - 8px)); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes revealUp {
  from { opacity: 0; transform: translateY(42px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes traceDraw {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

@keyframes threadGrow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

@keyframes sketchFloatLeft {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  50% { transform: translate(8px, -10px) rotate(-2deg); }
}

@keyframes sketchFloatRight {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  50% { transform: translate(-7px, 8px) rotate(1.5deg); }
}

@keyframes sketchDot {
  0%, 100% { transform: scale(1); opacity: 0.82; }
  50% { transform: scale(0.78); opacity: 0.54; }
}

@supports (animation-timeline: view()) {
  .statement-inner,
  .founder-copy,
  .studio-film-copy,
  .services-intro,
  .service-index,
  .project-title,
  .closing-scene > *:not(.closing-trace),
  .journey-intro > div,
  .journey-copy > *,
  .career-heading,
  .career-list article,
  .portfolio-epilogue .section-inner > *:not(.epilogue-trace),
  .service-feature-heading,
  .service-feature-copy,
  .service-proof,
  .care-board,
  .service-extra-grid > *,
  .service-process-heading,
  .process-grid article,
  .services-closing .section-inner > *:not(.services-closing-trace) {
    animation: revealUp linear both;
    animation-timeline: view();
    animation-range: entry 10% cover 34%;
  }

  .service-thread path,
  .closing-trace path,
  .services-closing-trace path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: traceDraw linear both;
    animation-timeline: view();
    animation-range: entry 5% cover 46%;
  }

  .service-list::before {
    animation: threadGrow linear both;
    animation-timeline: view();
    animation-range: entry 5% cover 70%;
  }

  .sketch-thread {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: traceDraw linear both;
    animation-timeline: view();
    animation-range: entry 10% cover 58%;
  }
}

.sketch-piece-left {
  transform-origin: 104px 315px;
  animation: sketchFloatLeft 6s ease-in-out infinite;
}

.sketch-piece-right {
  transform-origin: 634px 430px;
  animation: sketchFloatRight 7s ease-in-out infinite;
}

.sketch-dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: sketchDot 4.5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1180px) {
  .hero h1 {
    font-size: 7rem;
  }

  .statement-screen h2 {
    font-size: 4.8rem;
  }

  .studio-film-copy h2 {
    font-size: 4.8rem;
  }

  .project-title h2,
  .closing-scene h2 {
    font-size: 5.8rem;
  }

  .page-title {
    font-size: 5.4rem;
  }

  .journey-intro h2 {
    font-size: 5.6rem;
  }

  .journey-copy h2 {
    font-size: 4rem;
  }

  .career-heading h2,
  .portfolio-epilogue h2 {
    font-size: 5rem;
  }

  .services-hero-copy .page-title {
    font-size: 4.45rem;
  }

  .service-feature-heading h2,
  .service-feature-care h2,
  .service-feature-extra h2,
  .service-process-heading h2 {
    font-size: 4.8rem;
  }

  .services-closing h2 {
    font-size: 5.6rem;
  }
}

@media (max-width: 980px) {
	body.nav-open {
		overflow: hidden;
	}

  .site-header {
    flex-wrap: wrap;
    gap: 10px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .founder-scene,
  .services-scene,
  .services-hero-layout,
  .service-feature-heading,
  .service-feature-grid,
  .service-care-grid,
  .service-extra-grid,
  .service-process-heading,
  .split,
  .media-split,
  .contact-panel,
  .faq-grid,
  .service-row {
    grid-template-columns: 1fr;
  }

  .founder-image {
    min-height: 76svh;
  }

  .services-scene {
    gap: 80px;
  }

  .services-page-hero {
    min-height: auto;
    padding-top: 172px;
    padding-bottom: 72px;
  }

  .services-hero-layout {
    gap: 34px;
  }

  .services-hero-copy .page-title {
    max-width: 780px;
  }

  .services-sketch {
    width: min(760px, 100%);
    min-height: 440px;
    margin-inline: auto;
  }

  .services-sketch svg {
    min-height: 440px;
  }

  .service-feature,
  .service-process {
    padding-block: 108px;
  }

  .service-feature-heading {
    gap: 24px;
    margin-bottom: 70px;
  }

  .service-feature-grid,
  .service-care-grid,
  .service-extra-grid {
    gap: 70px;
  }

  .service-feature-copy {
    max-width: 720px;
  }

  .service-process-heading {
    gap: 28px;
  }

  .service-process-heading .section-kicker {
    grid-column: auto;
  }

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

  .process-grid article:nth-child(2) {
    border-right: 0;
  }

  .process-grid article:nth-child(-n+2) {
    border-bottom: 1px solid var(--line-dark);
  }

  .service-thread {
    top: 12%;
    right: -12px;
    left: auto;
    width: 130px;
    height: 76%;
    opacity: 0.24;
  }

  .story-panel {
    position: static;
  }

  .service-row {
    gap: 18px;
  }

  .portfolio-card {
    grid-template-columns: 1fr;
  }

  .portfolio-card:nth-child(even) img {
    order: 0;
  }

  .journey-chapter {
    grid-template-columns: 1fr;
  }

  .journey-chapter-reverse .journey-image {
    order: 0;
  }

  .journey-image,
  .journey-image img {
    min-height: 70svh;
  }

  .journey-copy {
    min-height: 70svh;
    padding: 88px 7vw;
  }

  .career-heading,
  .career-list article {
    grid-template-columns: 1fr;
  }

  .career-heading {
    gap: 28px;
  }

  .career-list article {
    gap: 14px;
  }

  .credential-grid {
    grid-template-columns: 1fr;
  }

  .credential-grid article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .legal-layout {
    gap: 6vw;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 60px 8vw;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  body.admin-bar .site-header {
    --header-top-offset: 46px;
  }

  .site-header {
    min-height: 0;
    padding: 12px 18px;
  }

  .brand {
    width: 154px;
    padding: 4px 6px;
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(5, max-content);
    justify-content: space-between;
    gap: 8px;
    font-size: 0.55rem;
    letter-spacing: 0.08em;
  }

  .main-nav .nav-cta {
    display: none;
  }

  .hero {
    min-height: 92svh;
    padding: 132px 18px 26px;
    background-position: 82% center;
    animation-name: heroBreatheMobile;
  }

  .hero-meta {
    display: block;
    transform: translateY(-48px);
  }

  .hero-meta p + p {
    margin-top: 5px;
  }

  .hero-whisper {
    max-width: 315px;
    margin-bottom: 24px;
    font-size: 1.7rem;
    line-height: 1.06;
  }

  .hero-monogram {
    top: 38%;
    width: 118px;
  }

  .hero-trace {
    width: 248px;
  }

  .hero h1 {
    font-size: 4.15rem;
    line-height: 0.86;
    white-space: normal;
  }

  .hero-scroll {
    margin-top: 42px;
    font-size: 0.64rem;
  }

  .statement-screen,
  .closing-scene {
    min-height: 92svh;
    padding: 88px 18px;
  }

  .statement-screen h2 {
    font-size: 3.35rem;
    line-height: 0.98;
  }

  .statement-screen::before {
    top: 12%;
    left: 18px;
    width: 38px;
    height: 38px;
  }

  .statement-screen::after {
    right: 20px;
    bottom: 10%;
    width: 30px;
    height: 30px;
  }

  .statement-screen .statement-inner > p:last-child {
    margin-top: 34px;
    font-size: 0.95rem;
  }

  .founder-image {
    min-height: 72svh;
  }

  .founder-copy {
    padding: 82px 18px;
  }

  .founder-copy h2,
  .services-intro h2,
  .closing-scene h2 {
    font-size: 3.5rem;
  }

  .founder-lede {
    margin-top: 34px;
    font-size: 1.65rem;
  }

  .studio-film {
    min-height: 82svh;
    padding: 54px 18px;
  }

  .studio-film video {
    object-position: 52% center;
  }

  .studio-film-copy h2 {
    font-size: 3.55rem;
  }

  .services-scene {
    min-height: auto;
    padding: 88px 18px;
  }

  .service-thread {
    right: -36px;
    width: 112px;
    opacity: 0.2;
  }

  .service-index a {
    grid-template-columns: 32px 1fr;
    min-height: 104px;
  }

  .service-index strong {
    font-size: 2.1rem;
  }

  .service-index small {
    grid-column: 2;
    margin-top: -16px;
  }

  .project-scene {
    min-height: 92svh;
  }

  .project-scene > img {
    object-position: 56% center;
  }

  .project-label {
    display: block;
    padding: 30px 18px 0;
  }

  .project-label p + p {
    margin-top: 5px;
  }

  .project-title {
    right: 18px;
    bottom: 54px;
    left: 18px;
  }

  .project-title h2 {
    font-size: 4.3rem;
  }

  .closing-scene h2 {
    font-size: 4.25rem;
  }

  .section {
    padding: 82px 18px;
  }

  .page-hero {
    min-height: 88svh;
    padding: 164px 18px 62px;
  }

  .services-page-hero {
    padding: 158px 18px 54px;
  }

  .services-hero-copy .page-title {
    font-size: 3.65rem;
  }

  .services-sketch,
  .services-sketch svg {
    min-height: 310px;
  }

  .services-sketch::before {
    inset: 12% 3% 8% 8%;
  }

  .service-feature,
  .service-process {
    padding: 84px 18px;
  }

  .service-feature-heading {
    margin-bottom: 50px;
  }

  .service-feature-heading h2,
  .service-feature-care h2,
  .service-feature-extra h2,
  .service-process-heading h2 {
    font-size: 3.5rem;
  }

  .service-feature-grid,
  .service-care-grid,
  .service-extra-grid {
    gap: 52px;
  }

  .service-detail-list {
    margin-top: 38px;
  }

  .service-proof figcaption {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .care-board {
    padding: 26px 20px 22px;
    box-shadow: 10px 10px 0 rgba(104, 112, 95, 0.13);
  }

  .care-board li {
    gap: 12px;
  }

  .care-board li strong {
    white-space: nowrap;
  }

  .extra-index p {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    font-size: 1.75rem;
  }

  .service-process-heading {
    gap: 22px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    margin-top: 58px;
  }

  .process-grid article,
  .process-grid article:nth-child(2) {
    min-height: 240px;
    padding: 26px 10px 30px;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .process-grid article:last-child {
    border-bottom: 0;
  }

  .process-grid h3 {
    margin-top: 54px;
  }

  .services-closing {
    min-height: 86svh;
    padding: 88px 18px;
  }

  .services-closing h2 {
    font-size: 4.05rem;
  }

  .services-closing-trace {
    right: -48%;
    bottom: -8%;
    width: 150vw;
  }

  .page-title,
  .section-title {
    font-size: 3.65rem;
  }

  .section-lede {
    font-size: 1rem;
  }

  .service-row {
    padding: 48px 0;
  }

  .service-list::before {
    left: 4px;
  }

  .service-row > span::after {
    top: 22px;
    left: 0;
  }

  .service-row h2 {
    font-size: 3rem;
  }

  .portfolio-card,
  .portfolio-card img {
    min-height: 56svh;
  }

  .portfolio-card > div {
    min-height: 56svh;
    padding: 70px 22px;
  }

  .portfolio-card > div::before {
    top: 24px;
    right: 22px;
    width: 22px;
    height: 22px;
  }

  .portfolio-card h2,
  .portfolio-card h3 {
    font-size: 3.15rem;
  }

  .brand-track span {
    padding: 20px 26px;
    font-size: 1.55rem;
  }

  .journey-intro {
    min-height: 88svh;
    padding: 88px 18px;
  }

  .journey-intro h2 {
    font-size: 3.85rem;
  }

  .journey-intro > div > p:last-child {
    margin-top: 32px;
  }

  .journey-trace {
    width: 150vw;
    opacity: 0.23;
  }

  .journey-image,
  .journey-image img {
    min-height: 58svh;
  }

  .founder-image::after,
  .journey-image::after {
    top: 20px;
    right: 20px;
    width: 34px;
    height: 34px;
  }

  .journey-chapter-reverse .journey-image::after {
    right: auto;
    left: 20px;
  }

  .journey-copy {
    min-height: 64svh;
    padding: 74px 18px;
  }

  .journey-copy h2 {
    font-size: 3.25rem;
  }

  .career-strip {
    padding: 92px 18px;
  }

  .career-heading {
    padding-bottom: 54px;
  }

  .career-heading h2 {
    font-size: 3.8rem;
  }

  .career-list h3 {
    font-size: 2rem;
  }

  .portfolio-epilogue {
    min-height: 84svh;
    padding: 92px 18px;
  }

  .portfolio-epilogue h2 {
    font-size: 3.7rem;
  }

  .epilogue-trace {
    right: -34vw;
    bottom: -30px;
    width: 116vw;
  }

  .closing-trace {
    right: -26vw;
    bottom: 10%;
    width: 112vw;
  }

  .credential-grid strong {
    margin-bottom: 40px;
  }

  .legal-hero {
    min-height: 76svh;
    padding: 156px 18px 62px;
  }

  .legal-hero h1 {
    font-size: 4.15rem;
  }

  .legal-hero .section-inner > p:not(.section-kicker, .legal-updated) {
    margin-top: 28px;
    font-size: 0.96rem;
  }

  .legal-updated {
    margin-top: 36px;
  }

  .legal-section {
    padding: 76px 18px 96px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .legal-index {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .legal-index p {
    grid-column: 1 / -1;
  }

  .legal-index a {
    padding-right: 8px;
    font-size: 0.66rem;
  }

  .legal-index a:hover,
  .legal-index a[aria-current="page"] {
    padding-left: 0;
  }

  .legal-index a[aria-current="page"]::before {
    display: none;
  }

  .legal-document > section {
    padding-bottom: 58px;
    margin-bottom: 58px;
  }

  .legal-document h2 {
    font-size: 3.1rem;
  }

  .legal-details > div,
  .legal-purpose-list > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-footer {
    padding: 70px 18px 22px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 50px;
    padding-bottom: 58px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-brand > a:first-child {
    width: 230px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 14px;
  }
}

@media (max-width: 1180px) {
  .selected-work-heading h2,
  .web-depth-heading h2,
  .compact-journey-heading h2 {
    font-size: 4.8rem;
  }

  .agency-heading h2 {
    font-size: 4.15rem;
  }

  .portfolio-new-closing h2 {
    font-size: 5.4rem;
  }
}

@media (max-width: 980px) {
  .portfolio-hero-bottom,
  .selected-work-heading,
  .project-case-copy,
  .web-depth-heading,
  .agency-heading,
  .compact-journey-heading {
    grid-template-columns: 1fr;
  }

  .portfolio-hero-bottom,
  .selected-work-heading,
  .web-depth-heading,
  .agency-heading,
  .compact-journey-heading {
    gap: 26px;
  }

  .portfolio-hero-bottom p:last-child {
    max-width: 300px;
  }

  .selected-work,
  .web-depth,
  .compact-journey {
    padding-block: 108px;
  }

  .project-case-copy {
    gap: 28px;
  }

  .project-case-copy > div:last-child,
  .agency-heading > p:last-child {
    max-width: 680px;
  }

  .agency-experience {
    padding-top: 108px;
  }

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

  .compact-timeline article:nth-child(2) {
    border-right: 0;
  }

  .compact-timeline article:nth-child(-n+2) {
    border-bottom: 1px solid var(--line-dark);
  }
}

@media (max-width: 680px) {
  .portfolio-new-hero {
    min-height: 92svh;
  }

  .portfolio-hero-bottom {
    margin-top: 32px;
  }

  .selected-work,
  .web-depth,
  .compact-journey {
    padding: 84px 18px;
  }

  .selected-work-heading h2,
  .web-depth-heading h2,
  .agency-heading h2,
  .compact-journey-heading h2 {
    font-size: 3.45rem;
  }

  .project-case {
    margin-top: 68px;
  }

  .project-case-media img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .project-case-copy {
    padding-top: 24px;
  }

  .project-case-copy h2 {
    font-size: 3.45rem;
  }

  .project-pair {
    grid-template-columns: 1fr;
    gap: 78px;
    margin-top: 88px;
  }

  .project-pair-secondary {
    margin-top: 88px;
    padding-top: 88px;
  }

  .project-tile-copy h2 {
    font-size: 3rem;
  }

  .project-in-progress .project-tile-media > span {
    top: 14px;
    right: 14px;
  }

  .web-depth-grid {
    grid-template-columns: 1fr;
    margin-top: 58px;
  }

  .web-depth-grid article {
    min-height: 260px;
    padding: 28px 6px 32px;
    border-right: 0;
    border-bottom: 1px solid rgba(40, 35, 36, 0.2);
  }

  .web-depth-grid article:last-child {
    border-bottom: 0;
  }

  .web-depth-grid strong {
    font-size: 4.5rem;
  }

  .web-depth-grid p {
    margin-top: 74px;
  }

  .agency-experience {
    padding-top: 84px;
  }

  .agency-heading {
    padding-inline: 18px;
  }

  .agency-experience .brand-marquee {
    margin-top: 72px;
  }

  .compact-timeline {
    grid-template-columns: 1fr;
    margin-top: 58px;
  }

  .compact-timeline article,
  .compact-timeline article:nth-child(2) {
    min-height: 270px;
    padding: 28px 6px 32px;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .compact-timeline article:last-child {
    border-bottom: 0;
  }

  .compact-timeline h3 {
    margin-top: 68px;
  }

  .portfolio-new-closing {
    min-height: 88svh;
    padding: 88px 18px;
  }

  .portfolio-new-closing h2 {
    font-size: 4rem;
  }

  .portfolio-new-trace {
    right: -48%;
    bottom: -8%;
    width: 150vw;
  }
}

/* Portfolio editorial */
.portfolio-editorial-hero {
  position: relative;
  overflow: hidden;
  min-height: 94svh;
  display: flex;
  align-items: flex-end;
  padding: 176px 5vw 82px;
  background: #f1dadd;
  border-bottom: 1px solid var(--line-dark);
}

.portfolio-editorial-hero-inner {
  position: relative;
  z-index: 2;
}

.portfolio-editorial-hero h1 {
  max-width: 1120px;
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: 7rem;
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: 0;
}

.portfolio-editorial-intro {
  display: grid;
  grid-template-columns: minmax(300px, 600px) 220px;
  justify-content: space-between;
  align-items: end;
  gap: 60px;
  margin-top: 50px;
}

.portfolio-editorial-intro > p {
  margin: 0;
  color: rgba(40, 35, 36, 0.66);
  font-size: 0.95rem;
}

.portfolio-editorial-seal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.portfolio-editorial-seal img {
  width: 62px;
  height: 70px;
  object-fit: contain;
  animation: portfolioMonogram 5s ease-in-out infinite;
}

.portfolio-editorial-seal span {
  color: var(--oxblood);
  font-size: 0.61rem;
  font-weight: 700;
  line-height: 1.6;
  text-transform: uppercase;
}

.portfolio-hero-trace {
  position: absolute;
  right: -8%;
  top: 22%;
  width: 48vw;
  opacity: 0.34;
}

.portfolio-feature {
  padding: 142px 5vw 154px;
  background: var(--paper-soft);
}

.portfolio-feature-heading {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) minmax(280px, 0.44fr);
  align-items: end;
  gap: 4vw;
}

.portfolio-number {
  margin: 0 0 -9px;
  color: var(--blush);
  font-family: var(--serif);
  font-size: 7.6rem;
  line-height: 0.8;
}

.portfolio-feature-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 6.5rem;
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: 0;
}

.portfolio-feature-heading h2 em {
  color: var(--rose);
  font-weight: 400;
}

.portfolio-feature-lede {
  margin: 0 0 4px;
  color: rgba(40, 35, 36, 0.66);
  font-size: 0.88rem;
}

.portfolio-sarandonga-story {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  align-items: start;
  gap: 34px;
  margin-top: 88px;
}

.portfolio-browser {
  display: block;
  overflow: hidden;
  margin-top: 0;
  background: #f4efeb;
  border: 1px solid rgba(40, 35, 36, 0.24);
  border-radius: 5px;
  box-shadow: 0 28px 70px rgba(72, 49, 52, 0.12);
}

.portfolio-browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 15px;
  background: #f7f2ef;
  border-bottom: 1px solid rgba(40, 35, 36, 0.16);
}

.portfolio-browser-bar i {
  width: 8px;
  height: 8px;
  background: var(--blush);
  border-radius: 50%;
}

.portfolio-browser-bar i:nth-child(2) {
  background: #d9c7b7;
}

.portfolio-browser-bar i:nth-child(3) {
  background: #aeb6a8;
}

.portfolio-browser-bar small {
  margin-left: 13px;
  color: rgba(40, 35, 36, 0.46);
  font-size: 0.57rem;
}

.portfolio-browser img {
  width: 100%;
  aspect-ratio: 16 / 8.65;
  object-fit: cover;
  object-position: top center;
  transition: transform 900ms ease;
}

.portfolio-browser:hover img {
  transform: scale(1.012);
}

.portfolio-team-photo {
  margin: 0;
}

.portfolio-team-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 50%;
  border: 1px solid rgba(40, 35, 36, 0.18);
}

.portfolio-team-photo figcaption {
  max-width: 300px;
  margin-top: 14px;
  color: var(--oxblood);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
}

.portfolio-event-story {
  display: grid;
  gap: 20px;
}

.portfolio-event-photo {
  margin: 0;
}

.portfolio-event-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(40, 35, 36, 0.18);
  transition: transform 700ms ease, filter 700ms ease;
}

.portfolio-event-photo-wide img {
  aspect-ratio: 16 / 10;
  object-position: center 42%;
}

.portfolio-event-photo:hover img {
  transform: scale(1.012);
  filter: saturate(1.04);
}

.portfolio-event-photo figcaption {
  margin-top: 9px;
  color: rgba(40, 35, 36, 0.58);
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
}

.portfolio-event-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.portfolio-browser-small {
  margin-top: 4px;
  box-shadow: 0 18px 48px rgba(72, 49, 52, 0.09);
}

.portfolio-browser-small .portfolio-browser-bar {
  height: 30px;
}

.portfolio-feature-foot {
  display: grid;
  grid-template-columns: minmax(300px, 650px) auto;
  justify-content: space-between;
  align-items: start;
  gap: 60px;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
}

.portfolio-feature-foot p {
  margin: 0;
  color: rgba(40, 35, 36, 0.64);
  font-size: 0.82rem;
}

.portfolio-principle {
  padding: 72px 5vw;
  background: #e3e8e0;
  border-block: 1px solid rgba(40, 35, 36, 0.16);
}

.portfolio-principle .section-inner {
  display: grid;
  grid-template-columns: auto minmax(320px, 620px) auto;
  justify-content: space-between;
  align-items: center;
  gap: 54px;
}

.portfolio-principle span {
  color: var(--olive);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
}

.portfolio-principle p {
  margin: 0;
  font-family: var(--serif);
  font-size: 2.7rem;
  line-height: 1.04;
  text-align: center;
}

.portfolio-collection {
  padding: 152px 5vw 178px;
  background: #fbf8f4;
}

.portfolio-collection-heading {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) minmax(240px, 0.4fr);
  gap: 4vw;
  align-items: end;
}

.portfolio-collection-heading h2,
.portfolio-experience h2,
.portfolio-editorial-closing h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 5.6rem;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0;
}

.portfolio-collection-heading > p:last-child {
  margin: 0 0 5px;
  color: rgba(40, 35, 36, 0.62);
  font-size: 0.8rem;
}

.portfolio-editorial-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0 28px;
  margin-top: 124px;
}

.portfolio-work {
  min-width: 0;
}

.portfolio-work-dulcinea {
  grid-column: 1 / span 7;
}

.portfolio-work-ascen {
  grid-column: 9 / span 4;
  margin-top: 210px;
}

.portfolio-work-aissval {
  grid-column: 4 / span 7;
  margin-top: 148px;
}

.portfolio-work-media {
  display: block;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(40, 35, 36, 0.18);
}

.portfolio-work-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  transition: transform 800ms ease, filter 800ms ease;
}

.portfolio-work-media:hover img {
  transform: scale(1.018);
  filter: saturate(0.92);
}

.portfolio-work-copy {
  padding: 24px 0 0;
  border-top: 1px solid var(--line-dark);
}

.portfolio-work-copy h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 4.3rem;
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: 0;
}

.portfolio-work-ascen .portfolio-work-copy h3 {
  font-size: 3.4rem;
}

.portfolio-work-copy > p:not(.project-index) {
  max-width: 570px;
  margin: 24px 0 22px;
  color: rgba(40, 35, 36, 0.62);
  font-size: 0.8rem;
}

.portfolio-progress {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(430px, 0.82fr);
  min-height: 720px;
  background: #f1dadd;
}

.portfolio-progress-image {
  overflow: hidden;
  min-height: 720px;
}

.portfolio-progress-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-progress-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 110px 7vw;
}

.portfolio-progress-status {
  position: absolute;
  top: 46px;
  right: 4vw;
  padding: 9px 12px;
  color: var(--olive);
  background: var(--paper-soft);
  border: 1px solid rgba(40, 35, 36, 0.2);
  font-size: 0.59rem;
  font-weight: 700;
  text-transform: uppercase;
}

.portfolio-progress-copy h2 {
  margin: 5px 0 0;
  font-family: var(--serif);
  font-size: 5.5rem;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0;
}

.portfolio-progress-copy > p:not(.project-index) {
  max-width: 500px;
  margin: 34px 0 0;
  color: rgba(40, 35, 36, 0.66);
}

.portfolio-progress-copy small {
  margin-top: 52px;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
  color: rgba(40, 35, 36, 0.55);
  font-size: 0.65rem;
}

.portfolio-experience {
  overflow: hidden;
  padding: 150px 0 0;
  background: #eeece7;
}

.portfolio-experience header {
  display: grid;
  grid-template-columns: 180px minmax(0, 850px);
  gap: 5vw;
}

.portfolio-experience-line {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 92px;
  border-block: 1px solid var(--line-dark);
}

.portfolio-experience-line p {
  min-height: 210px;
  margin: 0;
  padding: 32px 34px 36px;
  color: rgba(40, 35, 36, 0.63);
  border-right: 1px solid var(--line-dark);
  font-size: 0.78rem;
}

.portfolio-experience-line p:last-child {
  border-right: 0;
}

.portfolio-experience-line strong {
  display: block;
  margin-bottom: 66px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1;
}

.portfolio-agency-note {
  display: flex;
  justify-content: flex-end;
  padding-top: 46px;
}

.portfolio-agency-note p {
  max-width: 560px;
  margin: 0;
  color: rgba(40, 35, 36, 0.56);
  font-size: 0.72rem;
}

.portfolio-experience .brand-marquee {
  margin-top: 72px;
}

.portfolio-editorial-closing {
  position: relative;
  overflow: hidden;
  min-height: 84svh;
  display: flex;
  align-items: center;
  padding: 120px 5vw;
  background: #edcdd1;
}

.portfolio-editorial-closing .section-inner {
  position: relative;
  z-index: 1;
}

.portfolio-editorial-closing h2 {
  max-width: 1060px;
  font-size: 6.4rem;
}

.portfolio-editorial-closing .section-inner > p:not(.section-kicker) {
  max-width: 600px;
  margin: 36px 0 0;
  color: rgba(40, 35, 36, 0.63);
}

.portfolio-editorial-closing .button {
  margin-top: 40px;
}

.portfolio-closing-monogram {
  position: absolute;
  z-index: -1;
  right: -3%;
  top: 50%;
  width: 290px;
  opacity: 0.18;
  transform: translateY(-50%);
}

@keyframes portfolioMonogram {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@supports (animation-timeline: view()) {
  .portfolio-feature-heading > *,
  .portfolio-team-photo,
  .portfolio-event-story > *,
  .portfolio-feature-foot > *,
  .portfolio-collection-heading > *,
  .portfolio-work,
  .portfolio-progress-copy > *,
  .portfolio-experience header > *,
  .portfolio-experience-line p,
  .portfolio-agency-note,
  .portfolio-editorial-closing .section-inner > *:not(.portfolio-closing-monogram) {
    animation: revealUp linear both;
    animation-timeline: view();
    animation-range: entry 8% cover 32%;
  }

  .portfolio-browser img,
  .portfolio-work-media img,
  .portfolio-progress-image img {
    animation: portfolioImageIn linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 45%;
  }

  .portfolio-hero-trace path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: traceDraw 1.2s ease 0.35s both;
  }
}

@keyframes portfolioImageIn {
  from { transform: scale(1.055); }
  to { transform: scale(1); }
}

@media (max-width: 1180px) {
  .portfolio-editorial-hero h1 {
    font-size: 6rem;
  }

  .portfolio-feature-heading h2 {
    font-size: 5.5rem;
  }

  .portfolio-collection-heading h2,
  .portfolio-experience h2 {
    font-size: 4.8rem;
  }

  .portfolio-work-copy h3 {
    font-size: 3.7rem;
  }

  .portfolio-work-ascen .portfolio-work-copy h3 {
    font-size: 3rem;
  }

  .portfolio-progress-copy h2 {
    font-size: 4.7rem;
  }
}

@media (max-width: 980px) {
  .portfolio-editorial-hero h1 {
    font-size: 5rem;
  }

  .portfolio-feature-heading,
  .portfolio-collection-heading,
  .portfolio-experience header {
    grid-template-columns: 1fr;
  }

  .portfolio-number {
    margin-bottom: 8px;
  }

  .portfolio-feature-lede,
  .portfolio-collection-heading > p:last-child {
    max-width: 620px;
  }

  .portfolio-sarandonga-story {
    grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
  }

  .portfolio-principle .section-inner {
    grid-template-columns: 1fr;
    gap: 26px;
    justify-items: center;
  }

  .portfolio-editorial-grid {
    gap: 0 22px;
  }

  .portfolio-work-dulcinea {
    grid-column: 1 / span 8;
  }

  .portfolio-work-ascen {
    grid-column: 9 / span 4;
  }

  .portfolio-work-aissval {
    grid-column: 3 / span 8;
  }

  .portfolio-progress {
    grid-template-columns: 1fr;
  }

  .portfolio-progress-image {
    min-height: 520px;
  }

  .portfolio-progress-copy {
    min-height: 560px;
  }
}

@media (max-width: 680px) {
  .portfolio-editorial-hero {
    min-height: 92svh;
    padding: 150px 18px 64px;
  }

  .portfolio-editorial-hero h1 {
    font-size: 3.75rem;
  }

  .portfolio-editorial-intro {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 38px;
  }

  .portfolio-editorial-seal {
    justify-content: flex-start;
  }

  .portfolio-hero-trace {
    right: -42%;
    top: 30%;
    width: 118vw;
  }

  .portfolio-feature,
  .portfolio-collection {
    padding: 90px 18px 104px;
  }

  .portfolio-feature-heading {
    gap: 24px;
  }

  .portfolio-number {
    font-size: 5rem;
  }

  .portfolio-feature-heading h2 {
    font-size: 3.65rem;
  }

  .portfolio-browser {
    margin-top: 0;
  }

  .portfolio-sarandonga-story {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-top: 58px;
  }

  .portfolio-team-photo {
    width: 100%;
  }

  .portfolio-browser-bar {
    height: 30px;
  }

  .portfolio-browser-bar small {
    display: none;
  }

  .portfolio-feature-foot {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .portfolio-principle {
    padding: 58px 18px;
  }

  .portfolio-principle p {
    font-size: 2.15rem;
  }

  .portfolio-collection-heading {
    gap: 26px;
  }

  .portfolio-collection-heading h2,
  .portfolio-experience h2 {
    font-size: 3.5rem;
  }

  .portfolio-editorial-grid {
    grid-template-columns: 1fr;
    gap: 84px;
    margin-top: 74px;
  }

  .portfolio-work-dulcinea,
  .portfolio-work-ascen,
  .portfolio-work-aissval {
    grid-column: auto;
    margin-top: 0;
  }

  .portfolio-work-copy h3,
  .portfolio-work-ascen .portfolio-work-copy h3 {
    font-size: 3.35rem;
  }

  .portfolio-progress {
    min-height: 0;
  }

  .portfolio-progress-image {
    min-height: 320px;
  }

  .portfolio-progress-copy {
    min-height: 530px;
    padding: 96px 18px 70px;
  }

  .portfolio-progress-copy h2 {
    font-size: 3.8rem;
  }

  .portfolio-progress-status {
    top: 28px;
    right: 18px;
  }

  .portfolio-experience {
    padding-top: 94px;
  }

  .portfolio-experience > .section-inner {
    padding-inline: 18px;
  }

  .portfolio-experience-line {
    grid-template-columns: 1fr;
    margin-top: 62px;
  }

  .portfolio-experience-line p {
    min-height: 210px;
    padding-inline: 4px;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .portfolio-experience-line p:last-child {
    border-bottom: 0;
  }

  .portfolio-agency-note {
    justify-content: flex-start;
  }

  .portfolio-editorial-closing {
    min-height: 82svh;
    padding: 94px 18px;
  }

  .portfolio-editorial-closing h2 {
    font-size: 4rem;
  }

  .portfolio-closing-monogram {
    right: -22%;
    width: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-editorial-seal img {
    animation: none;
  }
}

/* About editorial */
.about-editorial-hero {
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 150px 5vw 72px;
  background: #f1dadd;
  border-bottom: 1px solid var(--line-dark);
}

.about-editorial-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(350px, 0.62fr);
  align-items: end;
  gap: 7vw;
}

.about-editorial-copy h1 {
  max-width: 820px;
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: 6.5rem;
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: 0;
}

.about-editorial-copy h1 em {
  color: var(--oxblood);
  font-weight: 400;
}

.about-editorial-copy > p:not(.section-kicker) {
  max-width: 650px;
  margin: 42px 0 0;
  color: rgba(40, 35, 36, 0.66);
}

.about-hero-signature {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 46px;
}

.about-hero-signature img {
  width: 56px;
  height: 64px;
  object-fit: contain;
}

.about-hero-signature span {
  color: var(--oxblood);
  font-size: 0.61rem;
  font-weight: 700;
  line-height: 1.6;
  text-transform: uppercase;
}

.about-hero-portrait {
  margin: 0;
}

.about-hero-portrait img {
  width: 100%;
  max-height: 72svh;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border: 1px solid rgba(40, 35, 36, 0.16);
}

.about-hero-portrait figcaption {
  margin-top: 13px;
  color: rgba(40, 35, 36, 0.57);
  font-size: 0.59rem;
  font-weight: 700;
  text-transform: uppercase;
}

.about-manifesto {
  padding: 138px 5vw 148px;
  background: #e3e8e0;
  text-align: center;
}

.about-manifesto .section-inner {
  max-width: 1040px;
}

.about-manifesto h2,
.about-path h2,
.about-turning-point h2,
.about-expect h2,
.about-editorial-closing h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 5.5rem;
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0;
}

.about-manifesto h2 {
  margin-top: 25px;
}

.about-manifesto > .section-inner > p:last-child {
  max-width: 660px;
  margin: 42px auto 0;
  color: rgba(40, 35, 36, 0.62);
}

.about-path {
  padding: 150px 5vw;
  background: var(--paper-soft);
}

.about-path-grid {
  display: grid;
  grid-template-columns: minmax(310px, 0.75fr) minmax(0, 1.25fr);
  gap: 8vw;
  align-items: start;
}

.about-path header {
  position: sticky;
  top: 130px;
}

.about-path h2 {
  margin-top: 22px;
  font-size: 4.8rem;
}

.about-path h2 em {
  color: var(--rose);
  font-weight: 400;
}

.about-path header > h2 + p {
  max-width: 420px;
  margin: 34px 0 0;
  color: rgba(40, 35, 36, 0.6);
  font-size: 0.8rem;
}

.about-path-photo {
  width: min(290px, 78%);
  aspect-ratio: 2 / 3;
  margin: 42px 0 0 auto;
  overflow: hidden;
}

.about-path-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 900ms ease;
}

.about-path-photo:hover img {
  transform: scale(1.025);
}

.about-path-list {
  border-top: 1px solid var(--line-dark);
}

.about-path-list article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 26px;
  min-height: 260px;
  padding: 36px 0 42px;
  border-bottom: 1px solid var(--line-dark);
}

.about-path-list article > span {
  color: var(--rose);
  font-size: 0.64rem;
  font-weight: 700;
}

.about-path-list h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 400;
  line-height: 1;
}

.about-path-list p {
  max-width: 590px;
  margin: 70px 0 0;
  color: rgba(40, 35, 36, 0.62);
  font-size: 0.8rem;
}

.about-turning-point {
  padding: 112px 5vw 118px;
  background: #edcdd1;
}

.about-turning-grid {
  display: block;
}

.about-turning-heading {
  display: grid;
  grid-template-columns: minmax(0, 1120px);
  justify-content: center;
  align-items: start;
}

.about-turning-point h2 {
  max-width: 1120px;
  font-size: 4.8rem;
}

.about-turning-point h2 span,
.about-turning-point h2 em {
  display: block;
}

.about-turning-point h2 em {
  max-width: 940px;
  margin: 24px 0 0 clamp(44px, 7vw, 128px);
  color: var(--oxblood);
  font-weight: 400;
}

.about-turning-copy {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 76px;
  padding-top: 30px;
  border-top: 1px solid var(--line-dark);
}

.about-turning-copy > p {
  margin: 0;
  padding: 0 clamp(22px, 2.4vw, 44px);
  color: rgba(40, 35, 36, 0.66);
  font-size: 0.82rem;
}

.about-turning-copy > p:first-child {
  padding-left: 0;
}

.about-turning-copy > p + p {
  border-left: 1px solid rgba(40, 35, 36, 0.14);
}

.about-turning-quote {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(320px, 560px);
  align-items: center;
  gap: clamp(34px, 5vw, 78px);
  margin-top: 72px;
}

.about-turning-quote > span {
  position: relative;
  display: block;
  height: 1px;
  overflow: hidden;
  background: rgba(40, 35, 36, 0.23);
}

.about-turning-quote > span::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 58px;
  height: 7px;
  background: var(--oxblood);
  animation: quoteMarker 5.8s ease-in-out infinite alternate;
}

.about-turning-quote p {
  margin: 0;
  color: var(--oxblood);
  font-family: var(--serif);
  font-size: 2.35rem;
  line-height: 1.04;
}

@keyframes quoteMarker {
  from { transform: translateX(0); }
  to { transform: translateX(min(34vw, 480px)); }
}

.about-expect {
  overflow: hidden;
  padding: 124px 5vw 122px;
  background: #f2efea;
}

.about-expect header {
  display: grid;
  grid-template-columns: 160px minmax(0, 900px);
  gap: clamp(34px, 5vw, 82px);
  align-items: start;
}

.about-expect h2 {
  max-width: 900px;
  font-size: 5.1rem;
}

.about-expect-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(230px, auto));
  gap: 96px 24px;
  min-height: 602px;
  margin-top: 68px;
  padding: 42px 0 10px;
}

.about-expect-route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.expect-route-base {
  stroke: rgba(128, 70, 78, 0.24);
  stroke-width: 1.3;
}

.expect-route-live {
  stroke: var(--rose);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 8 17;
  animation: expectRouteFlow 11s linear infinite;
}

.expect-route-sign {
  stroke: var(--oxblood);
  stroke-width: 1.6;
  stroke-linecap: round;
}

.expect-route-square {
  fill: var(--oxblood);
}

.about-expect-list article {
  position: relative;
  z-index: 1;
  align-self: start;
  padding: 22px 24px 26px;
  background: #f2efea;
  transition: transform 500ms ease;
}

.about-expect-list article:nth-of-type(1) {
  grid-column: 1 / span 4;
  grid-row: 1;
}

.about-expect-list article:nth-of-type(2) {
  grid-column: 8 / span 5;
  grid-row: 1;
  margin-top: 76px;
}

.about-expect-list article:nth-of-type(3) {
  grid-column: 9 / span 4;
  grid-row: 2;
}

.about-expect-list article:nth-of-type(4) {
  grid-column: 2 / span 4;
  grid-row: 2;
  margin-top: 32px;
}

.about-expect-list article:hover {
  transform: translateY(-7px);
}

.about-expect-list span {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--rose);
  font-size: 0.62rem;
  font-weight: 700;
}

.about-expect-list span::after {
  content: "";
  width: 48px;
  height: 1px;
  background: currentColor;
}

.about-expect-list h3 {
  margin: 20px 0 16px;
  font-family: var(--serif);
  font-size: 3.05rem;
  font-weight: 400;
  line-height: 0.96;
}

.about-expect-list p {
  max-width: 470px;
  margin: 0;
  color: rgba(40, 35, 36, 0.6);
  font-size: 0.78rem;
}

@keyframes expectRouteFlow {
  to { stroke-dashoffset: -250; }
}

@keyframes expectMobileFlow {
  from { top: 20px; }
  to { top: calc(100% - 68px); }
}

.about-editorial-closing {
  position: relative;
  overflow: hidden;
  min-height: 80svh;
  display: flex;
  align-items: center;
  padding: 120px 5vw;
  background: #dfe6dc;
}

.about-editorial-closing .section-inner {
  position: relative;
  z-index: 1;
}

.about-editorial-closing h2 {
  max-width: 1000px;
  margin-top: 22px;
  font-size: 6.3rem;
}

.about-editorial-closing .section-inner > p:not(.section-kicker) {
  max-width: 590px;
  margin: 36px 0 0;
  color: rgba(40, 35, 36, 0.62);
}

.about-editorial-closing .button {
  margin-top: 40px;
}

.about-closing-monogram {
  position: absolute;
  z-index: -1;
  right: -2%;
  top: 50%;
  width: 280px;
  opacity: 0.16;
  transform: translateY(-50%);
}

@supports (animation-timeline: view()) {
  .about-manifesto .section-inner > *,
  .about-path header > *,
  .about-path-list article,
  .about-turning-grid > *,
  .about-expect header > *,
  .about-expect-list article,
  .about-editorial-closing .section-inner > *:not(.about-closing-monogram) {
    animation: revealUp linear both;
    animation-timeline: view();
    animation-range: entry 8% cover 32%;
  }
}

@media (max-width: 1180px) {
  .about-editorial-copy h1 {
    font-size: 5.6rem;
  }

  .about-manifesto h2 {
    font-size: 4.8rem;
  }

  .about-path h2,
  .about-turning-point h2 {
    font-size: 4.1rem;
  }

  .about-expect h2 {
    font-size: 4.5rem;
  }
}

@media (max-width: 980px) {
  .about-editorial-hero-grid,
  .about-path-grid,
  .about-turning-heading,
  .about-expect header {
    grid-template-columns: 1fr;
  }

  .about-editorial-hero-grid {
    gap: 70px;
  }

  .about-editorial-copy h1 {
    max-width: 800px;
  }

  .about-hero-portrait {
    width: min(520px, 70%);
    justify-self: end;
  }

  .about-path header {
    position: static;
    max-width: 720px;
  }

  .about-path-list {
    margin-top: 72px;
  }

  .about-turning-copy {
    margin-top: 62px;
  }

  .about-turning-copy > p {
    padding: 24px 30px 34px;
  }

  .about-turning-copy > p:first-child {
    padding-left: 0;
  }

  .about-turning-quote {
    grid-template-columns: minmax(80px, 0.6fr) minmax(300px, 1fr);
  }

  .about-expect header {
    gap: 26px;
  }

  .about-expect-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 86px 54px;
    min-height: auto;
    padding-block: 42px;
  }

  .about-expect-list article {
    grid-column: auto !important;
    grid-row: auto !important;
    margin: 0 !important;
  }

  .about-expect-list article:nth-of-type(even) {
    margin-top: 64px !important;
  }
}

@media (max-width: 680px) {
  .about-editorial-hero {
    min-height: auto;
    padding: 150px 18px 72px;
  }

  .about-editorial-copy h1 {
    font-size: 3.9rem;
  }

  .about-editorial-copy > p:not(.section-kicker) {
    margin-top: 34px;
  }

  .about-hero-portrait {
    width: 86%;
  }

  .about-manifesto,
  .about-path,
  .about-expect {
    padding: 92px 18px;
  }

  .about-turning-point {
    padding: 88px 18px 94px;
  }

  .about-manifesto h2,
  .about-path h2,
  .about-turning-point h2,
  .about-expect h2 {
    font-size: 3.45rem;
  }

  .about-path-list article {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
    min-height: 290px;
  }

  .about-path-list h3 {
    font-size: 2.35rem;
  }

  .about-path-list p {
    margin-top: 54px;
  }

  .about-turning-copy {
    grid-template-columns: 1fr;
    margin-top: 52px;
    padding-top: 0;
  }

  .about-turning-copy > p {
    min-height: auto;
    padding: 28px 0;
    border-left: 0;
  }

  .about-turning-copy > p + p,
  .about-turning-copy > p:nth-child(n+3) {
    border-top: 1px solid rgba(40, 35, 36, 0.14);
    border-left: 0;
  }

  .about-turning-quote {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 44px;
  }

  .about-turning-quote p {
    font-size: 2rem;
  }

  .about-expect-list {
    position: relative;
    grid-template-columns: 1fr;
    gap: 58px;
    margin-top: 56px;
    padding: 26px 0 18px 30px;
  }

  .about-expect-list::before,
  .about-expect-list::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .about-expect-list::before {
    top: 20px;
    bottom: 10px;
    width: 1px;
    background: rgba(128, 70, 78, 0.24);
  }

  .about-expect-list::after {
    top: 20px;
    width: 5px;
    height: 58px;
    background: var(--rose);
    transform: translateX(-2px);
    animation: expectMobileFlow 7s ease-in-out infinite alternate;
  }

  .about-expect-route {
    display: none;
  }

  .about-expect-list article {
    padding: 0 0 26px;
    background: transparent;
    transform: none !important;
  }

  .about-expect-list article + article {
    border-top: 0;
  }

  .about-expect-list h3 {
    margin-top: 18px;
    font-size: 2.65rem;
  }

  .about-editorial-closing {
    min-height: 80svh;
    padding: 96px 18px;
  }

  .about-editorial-closing h2 {
    font-size: 4rem;
  }

  .about-closing-monogram {
    right: -24%;
    width: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .expect-route-live,
  .about-expect-list::after {
    animation: none;
  }
}

/* Services: direct studio model */
.service-difference {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 138px;
  padding: 132px 5vw 146px;
  background: #f5eceb;
}

.service-price-heading {
  display: grid;
  grid-template-columns: 150px minmax(0, 720px) minmax(270px, 0.46fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: end;
}

.service-price-heading h2 {
  max-width: 720px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4.8rem, 5.6vw, 6.7rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0;
}

.service-price-heading > p:last-child {
  max-width: 390px;
  margin: 0 0 5px;
  color: rgba(40, 35, 36, 0.68);
  font-family: var(--serif);
  font-size: 1.65rem;
  line-height: 1.12;
}

.service-price-heading > p:last-child em {
  color: var(--oxblood);
  font-weight: 400;
}

.service-price-story {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 0.72fr);
  gap: clamp(70px, 9vw, 150px);
  align-items: start;
  margin-top: 96px;
}

.service-price-copy {
  padding-top: 12px;
}

.service-price-intro {
  max-width: 700px;
  margin: 0 0 54px;
  color: rgba(40, 35, 36, 0.72);
  font-size: 1.08rem;
  line-height: 1.72;
}

.service-price-promises {
  border-top: 1px solid var(--line-dark);
}

.service-price-promises article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  padding: 27px 0 29px;
  border-bottom: 1px solid var(--line-dark);
  transition: padding 350ms ease, color 300ms ease;
}

.service-price-promises span {
  padding-top: 7px;
  color: var(--rose);
  font-size: 0.68rem;
  font-weight: 700;
}

.service-price-promises h3 {
  margin: 0 0 9px;
  font-family: var(--serif);
  font-size: 2.15rem;
  font-weight: 400;
  line-height: 1;
  transition: color 300ms ease;
}

.service-price-promises p {
  max-width: 660px;
  margin: 0;
  color: rgba(40, 35, 36, 0.66);
  font-size: 0.94rem;
  line-height: 1.7;
}

.service-price-promises article:hover {
  padding-left: 10px;
}

.service-price-promises article:hover h3 {
  color: var(--oxblood);
}

.service-price-action {
  display: flex;
  justify-content: space-between;
  gap: 34px;
  align-items: center;
  margin-top: 42px;
}

.service-price-action p {
  max-width: 390px;
  margin: 0;
  color: var(--oxblood);
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.08;
}

.service-price-action .button {
  flex: 0 0 auto;
}

.price-proposal {
  position: sticky;
  top: 138px;
  overflow: hidden;
  min-height: 680px;
  padding: 30px 32px 32px;
  background: #fffaf7;
  border: 1px solid rgba(40, 35, 36, 0.28);
  box-shadow: 22px 24px 0 rgba(128, 70, 78, 0.07);
}

.price-proposal::after {
  content: "";
  position: absolute;
  top: 30px;
  left: -1px;
  width: 3px;
  height: 92px;
  background: var(--rose);
  animation: proposalMarker 6.8s ease-in-out infinite alternate;
}

.price-proposal-top,
.price-proposal-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  color: rgba(40, 35, 36, 0.55);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-proposal-title {
  margin: 82px 0 54px;
}

.price-proposal-title > span {
  color: var(--rose);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-proposal-title h3 {
  margin: 12px 0 14px;
  font-family: var(--serif);
  font-size: 4.25rem;
  font-weight: 400;
  line-height: 0.9;
}

.price-proposal-title p {
  margin: 0;
  color: rgba(40, 35, 36, 0.58);
  font-size: 0.75rem;
}

.price-proposal-lines {
  border-top: 1px solid var(--line-dark);
}

.price-proposal-lines p {
  display: grid;
  grid-template-columns: 28px minmax(120px, 0.7fr) minmax(130px, 1fr);
  gap: 16px;
  align-items: center;
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-dark);
}

.price-proposal-lines span {
  color: var(--rose);
  font-size: 0.6rem;
  font-weight: 700;
}

.price-proposal-lines strong {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 400;
}

.price-proposal-lines em {
  color: rgba(40, 35, 36, 0.58);
  font-size: 0.68rem;
  font-style: normal;
  line-height: 1.45;
  text-align: right;
}

.price-proposal-bottom {
  margin-top: 42px;
  color: var(--oxblood);
}

.price-proposal-bottom i {
  width: 8px;
  height: 8px;
  background: var(--rose);
  transform: rotate(45deg);
  animation: proposalStatus 2.4s ease-in-out infinite alternate;
}

@keyframes proposalMarker {
  from {
    top: 30px;
  }

  to {
    top: calc(100% - 122px);
  }
}

@keyframes proposalStatus {
  from {
    opacity: 0.35;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 1100px) {
  .service-price-heading {
    grid-template-columns: 120px minmax(0, 1fr) minmax(240px, 0.42fr);
    gap: 42px;
  }

  .service-price-story {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.8fr);
    gap: 60px;
  }
}

@media (max-width: 980px) {
  .service-price-heading,
  .service-price-story {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-price-heading > p:last-child {
    max-width: 620px;
    margin-top: 10px;
  }

  .service-price-story {
    gap: 74px;
    margin-top: 74px;
  }

  .service-price-copy {
    max-width: 760px;
  }

  .price-proposal {
    position: relative;
    top: auto;
    width: min(720px, calc(100% - 22px));
    margin-left: 0;
  }
}

@media (max-width: 680px) {
  .service-difference {
    padding: 96px 18px 104px;
  }

  .service-price-heading h2 {
    font-size: 4rem;
  }

  .service-price-heading > p:last-child {
    margin-top: 4px;
    font-size: 1.45rem;
  }

  .service-price-story {
    gap: 64px;
    margin-top: 62px;
  }

  .service-price-intro {
    margin-bottom: 44px;
    font-size: 1rem;
  }

  .service-price-promises article {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding: 27px 0 29px;
  }

  .service-price-promises article:hover {
    padding-left: 0;
  }

  .service-price-promises h3 {
    font-size: 1.95rem;
  }

  .service-price-action {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 40px;
  }

  .service-price-action p {
    font-size: 1.5rem;
  }

  .price-proposal {
    width: calc(100% - 10px);
    min-height: 0;
    padding: 24px 20px 28px;
    box-shadow: 10px 12px 0 rgba(128, 70, 78, 0.07);
  }

  .price-proposal-title {
    margin: 62px 0 42px;
  }

  .price-proposal-title h3 {
    font-size: 3.45rem;
  }

  .price-proposal-lines p {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 8px 12px;
  }

  .price-proposal-lines em {
    grid-column: 2;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .price-proposal::after,
  .price-proposal-bottom i {
    animation: none;
  }
}

/* Motion language for interior pages */
.motion-ribbon {
  position: relative;
  z-index: 3;
  overflow: hidden;
  padding: 15px 0 16px;
  color: var(--paper-soft);
  background: var(--oxblood);
  border-block: 1px solid rgba(40, 35, 36, 0.2);
}

.motion-ribbon-track,
.motion-ribbon-set {
  display: flex;
  align-items: center;
  width: max-content;
}

.motion-ribbon-track {
  animation: interiorRibbon 28s linear infinite;
  will-change: transform;
}

.motion-ribbon-set {
  flex: 0 0 auto;
}

.motion-ribbon span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1;
  text-transform: uppercase;
}

.motion-ribbon span::after {
  content: "/";
  margin: 0 30px;
  color: var(--blush);
  font-style: italic;
}

.motion-ribbon-portfolio {
  color: var(--ink);
  background: #e3e8e0;
}

.motion-ribbon-portfolio .motion-ribbon-track {
  animation-direction: reverse;
  animation-duration: 31s;
}

.motion-ribbon-portfolio span::after {
  color: var(--rose);
}

.motion-ribbon-about .motion-ribbon-track {
  animation-duration: 34s;
}

.motion-ribbon-contact {
  background: var(--ink);
}

.motion-ribbon-contact .motion-ribbon-track {
  animation-duration: 30s;
}

@keyframes interiorRibbon {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.contact-page {
  isolation: isolate;
  overflow: hidden;
}

.contact-page .contact-panel {
  position: relative;
  z-index: 2;
}

.contact-motion {
  position: absolute;
  z-index: 1;
  top: 15%;
  right: -5vw;
  width: min(48vw, 720px);
  pointer-events: none;
  opacity: 0.46;
}

.contact-motion svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.contact-motion-thread {
  stroke: var(--rose);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 1;
  animation: contactTrace 7.5s ease-in-out infinite;
}

.contact-motion-note,
.contact-motion-send {
  stroke: var(--ink);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform-box: fill-box;
  transform-origin: center;
}

.contact-motion-note {
  animation: contactFloat 5.8s ease-in-out infinite;
}

.contact-motion-note rect {
  fill: #f7ecec;
}

.contact-motion-send {
  animation: contactFloat 6.6s -2.6s ease-in-out infinite reverse;
}

.contact-motion-send circle {
  fill: #e3e8e0;
}

.contact-motion-accent {
  stroke: var(--oxblood);
  stroke-width: 2;
  stroke-linecap: round;
}

.contact-motion-marker {
  fill: var(--oxblood);
}

@keyframes contactTrace {
  0% { stroke-dashoffset: 1; }
  34%, 76% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -1; }
}

@keyframes contactFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-10px) rotate(-1deg); }
}

@keyframes turningPhraseLeft {
  from { opacity: 0; transform: translateX(-48px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes turningPhraseRight {
  from { opacity: 0; transform: translateX(48px); }
  to { opacity: 1; transform: translateX(0); }
}

@supports (animation-timeline: view()) {
  .about-turning-point h2 span {
    animation: turningPhraseLeft linear both;
    animation-timeline: view();
    animation-range: entry 8% cover 28%;
  }

  .about-turning-point h2 em,
  .about-turning-quote {
    animation: turningPhraseRight linear both;
    animation-timeline: view();
    animation-range: entry 8% cover 30%;
  }
}

@media (max-width: 980px) {
  .contact-motion {
    top: auto;
    right: -14vw;
    bottom: 2%;
    width: min(72vw, 650px);
    opacity: 0.3;
  }
}

@media (max-width: 680px) {
  .motion-ribbon {
    padding: 13px 0 14px;
  }

  .motion-ribbon span {
    font-size: 1.3rem;
  }

  .motion-ribbon span::after {
    margin-inline: 22px;
  }

  .contact-motion {
    right: -30vw;
    bottom: 1%;
    width: 112vw;
    opacity: 0.2;
  }
}

/* Contact editorial */
.contact-editorial-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 170px 5vw 92px;
  color: var(--ink);
  background: #f1dadd;
  border-bottom: 1px solid var(--line-dark);
}

.contact-stage {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.72fr);
  gap: clamp(70px, 9vw, 150px);
  align-items: end;
}

.contact-headline h1 {
  max-width: 760px;
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: 6.5rem;
  font-weight: 400;
  line-height: 0.87;
}

.contact-headline h1 em {
  display: block;
  margin-left: clamp(42px, 7vw, 120px);
  color: var(--oxblood);
  font-weight: 400;
}

.contact-headline > p:not(.section-kicker) {
  max-width: 610px;
  margin: 42px 0 0;
  color: rgba(40, 35, 36, 0.66);
}

.contact-direct {
  position: relative;
  z-index: 2;
  max-width: 510px;
  padding: 27px 0 6px;
  border-top: 1px solid var(--line-dark);
}

.contact-response {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0;
  color: var(--oxblood);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-response span {
  display: block;
  width: 62px;
  height: 2px;
  background: var(--rose);
  transform-origin: left;
  animation: contactResponseLine 3.4s ease-in-out infinite;
}

.contact-direct-label {
  margin: 76px 0 0;
  color: rgba(40, 35, 36, 0.52);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-email {
  display: inline-block;
  max-width: 100%;
  margin-top: 12px;
  padding-bottom: 7px;
  color: var(--ink);
  border-bottom: 1px solid var(--rose);
  font-family: var(--serif);
  font-size: 2.35rem;
  line-height: 1;
  overflow-wrap: anywhere;
  transition: color 250ms ease, border-color 250ms ease;
}

.contact-email:hover {
  color: var(--oxblood);
  border-color: var(--oxblood);
}

.contact-quick-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  background: rgba(40, 35, 36, 0.16);
  border: 1px solid rgba(40, 35, 36, 0.16);
}

.contact-quick-links a {
  display: flex;
  min-height: 88px;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 18px;
  background: rgba(255, 250, 248, 0.42);
  transition: background 220ms ease, color 220ms ease;
}

.contact-quick-links a:hover {
  color: var(--oxblood);
  background: rgba(255, 250, 248, 0.72);
}

.contact-quick-links span {
  color: rgba(40, 35, 36, 0.52);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-quick-links strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.05;
}

.contact-direct-copy {
  max-width: 460px;
  margin: 34px 0 0;
  color: rgba(40, 35, 36, 0.64);
}

.contact-channel-note {
  max-width: 450px;
  margin: 14px 0 0;
  color: rgba(40, 35, 36, 0.48);
  font-size: 0.68rem;
}

.contact-direct .button {
  margin-top: 32px;
}

.contact-editorial-hero .contact-motion {
  top: 10%;
  right: -7vw;
  width: min(51vw, 760px);
  opacity: 0.22;
}

@keyframes contactResponseLine {
  0%, 100% { transform: scaleX(0.35); }
  50% { transform: scaleX(1); }
}

.contact-prompts {
  padding: 148px 5vw 132px;
  background: var(--paper-soft);
}

.contact-prompts-heading {
  display: grid;
  grid-template-columns: 150px minmax(0, 760px) minmax(260px, 0.45fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: end;
}

.contact-prompts-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 5.5rem;
  font-weight: 400;
  line-height: 0.9;
}

.contact-prompts-heading > p:last-child {
  margin: 0 0 7px;
  color: rgba(40, 35, 36, 0.6);
}

.contact-prompt-list {
  margin-top: 96px;
}

.contact-prompt-list article {
  position: relative;
  display: grid;
  grid-template-columns: 70px minmax(230px, 0.48fr) minmax(280px, 0.72fr);
  gap: 28px;
  align-items: center;
  width: 100%;
  padding: 32px 0 35px;
  border-top: 1px solid var(--line-dark);
  transition: transform 500ms ease;
}

.contact-prompt-list article::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 80px;
  height: 2px;
  background: var(--rose);
  transition: width 650ms ease;
}

.contact-prompt-list article:nth-child(2) {
  width: 92%;
  margin-left: 8%;
}

.contact-prompt-list article:nth-child(3) {
  width: 84%;
  margin-left: 16%;
  border-bottom: 1px solid var(--line-dark);
}

.contact-prompt-list article:hover {
  transform: translateX(10px);
}

.contact-prompt-list article:hover::after {
  width: 100%;
}

.contact-prompt-list span {
  color: var(--rose);
  font-size: 0.64rem;
  font-weight: 700;
}

.contact-prompt-list h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 2.9rem;
  font-weight: 400;
  line-height: 1;
}

.contact-prompt-list p {
  max-width: 520px;
  margin: 0;
  color: rgba(40, 35, 36, 0.62);
}

.contact-final-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 44px;
  margin-top: 92px;
  padding: 38px 0;
  border-block: 1px solid var(--line-dark);
}

.contact-final-line p {
  margin: 0;
  font-family: var(--serif);
  font-size: 3.1rem;
  line-height: 1;
}

.contact-final-line a {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--oxblood);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-final-line a span {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  transition: transform 250ms ease;
}

.contact-final-line a:hover span {
  transform: translateX(7px);
}

@supports (animation-timeline: view()) {
  .contact-prompts-heading > *,
  .contact-prompt-list article,
  .contact-final-line > * {
    animation: revealUp linear both;
    animation-timeline: view();
    animation-range: entry 8% cover 32%;
  }
}

@media (max-width: 980px) {
  .contact-stage,
  .contact-prompts-heading {
    grid-template-columns: 1fr;
  }

  .contact-stage {
    gap: 86px;
  }

  .contact-headline h1 {
    max-width: 820px;
    font-size: 5.8rem;
  }

  .contact-direct {
    max-width: 680px;
  }

  .contact-editorial-hero .contact-motion {
    top: auto;
    right: -18vw;
    bottom: 0;
    width: min(82vw, 720px);
    opacity: 0.13;
  }

  .contact-prompts-heading {
    gap: 26px;
  }

  .contact-prompts-heading > p:last-child {
    max-width: 600px;
  }

  .contact-prompt-list article,
  .contact-prompt-list article:nth-child(2),
  .contact-prompt-list article:nth-child(3) {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 680px) {
  .contact-editorial-hero {
    min-height: auto;
    padding: 150px 18px 88px;
  }

  .contact-headline h1 {
    font-size: 4.35rem;
  }

  .contact-headline h1 em {
    margin-left: 28px;
  }

  .contact-stage {
    gap: 72px;
  }

  .contact-direct-label {
    margin-top: 58px;
  }

  .contact-email {
    font-size: 1.55rem;
  }

  .contact-quick-links {
    grid-template-columns: 1fr;
  }

  .contact-quick-links a {
    min-height: 78px;
  }

  .contact-prompts {
    padding: 96px 18px 92px;
  }

  .contact-prompts-heading h2 {
    font-size: 3.75rem;
  }

  .contact-prompt-list {
    margin-top: 68px;
  }

  .contact-prompt-list article {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px 8px;
    padding: 30px 0 34px;
  }

  .contact-prompt-list span {
    grid-row: 1 / span 2;
    padding-top: 8px;
  }

  .contact-prompt-list h3 {
    font-size: 2.45rem;
  }

  .contact-prompt-list p {
    grid-column: 2;
  }

  .contact-final-line {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 66px;
  }

  .contact-final-line p {
    font-size: 2.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-ribbon-track,
  .contact-motion-thread,
  .contact-motion-note,
  .contact-motion-send,
  .contact-response span,
  .about-turning-quote > span::after,
  .about-turning-point h2 span,
  .about-turning-point h2 em,
  .about-turning-quote,
  .contact-prompts-heading > *,
  .contact-prompt-list article,
  .contact-final-line > * {
    animation: none !important;
  }

  .about-turning-point h2 span,
  .about-turning-point h2 em,
  .about-turning-quote,
  .contact-prompts-heading > *,
  .contact-prompt-list article,
  .contact-final-line > * {
    opacity: 1;
    transform: none;
  }

  .contact-motion-thread {
    stroke-dashoffset: 0;
  }
}

/* Readable body copy */
.studio-film-copy > p:last-child,
.service-proof figcaption p,
.process-grid p,
.service-difference-heading > p:last-child,
.service-difference-grid p,
.portfolio-feature-lede,
.portfolio-feature-foot p,
.portfolio-collection-heading > p:last-child,
.portfolio-work-copy > p:not(.project-index),
.portfolio-experience-line p,
.portfolio-agency-note p,
.about-path header > p:last-child,
.about-path-list p,
.about-turning-copy > p,
.about-expect-list p {
  font-size: 1rem;
  line-height: 1.7;
}

.service-detail-list li,
.care-board li,
.legal-table td,
.legal-admin-note {
  font-size: 0.94rem;
  line-height: 1.65;
}

.service-proof figcaption p,
.portfolio-agency-note p {
  font-size: 0.9rem;
}

.button-outline {
  background: transparent;
  color: var(--ink);
}

.price-jump-button {
  margin-top: 34px;
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.portfolio-editorial-closing .closing-actions .button,
.about-editorial-closing .closing-actions .button {
  margin-top: 0;
}

@media (max-width: 680px) {
  .closing-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Services process: a guided route instead of a card grid */
.service-process {
  position: relative;
  overflow: hidden;
  padding: 132px 5vw 142px;
  color: var(--paper-soft);
  background: var(--oxblood);
}

.service-process::before {
  content: "";
  position: absolute;
  top: -18%;
  right: -8%;
  width: 38vw;
  aspect-ratio: 1;
  border: 1px solid rgba(247, 236, 236, 0.11);
  border-radius: 50%;
  pointer-events: none;
}

.service-process-heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 150px minmax(0, 720px) minmax(260px, 0.42fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: end;
}

.service-process-heading .section-kicker {
  grid-column: auto;
  color: var(--blush);
}

.service-process-heading h2 {
  max-width: 720px;
  margin: 0;
  color: var(--paper-soft);
  font-family: var(--serif);
  font-size: clamp(4.7rem, 6vw, 7.2rem);
  font-weight: 400;
  line-height: 0.9;
}

.service-process-heading h2 em {
  display: block;
  margin-left: clamp(40px, 6vw, 100px);
  color: #e6babf;
  font-weight: 400;
}

.service-process-heading > p:last-child {
  margin: 0 0 6px;
  color: rgba(255, 250, 247, 0.7);
}

.process-grid {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 88px;
  padding-left: 78px;
  border: 0;
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 1px;
  background: rgba(247, 236, 236, 0.24);
}

.process-grid::after {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  width: 5px;
  height: 88px;
  background: var(--blush);
  animation: processRailMove 7.5s ease-in-out infinite alternate;
}

.process-grid article,
.process-grid article:nth-child(2) {
  position: relative;
  display: grid;
  grid-template-columns: 80px minmax(240px, 0.55fr) minmax(300px, 0.45fr);
  gap: 30px;
  align-items: center;
  min-height: 0;
  padding: 38px 30px 42px 0;
  color: var(--paper-soft);
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(247, 236, 236, 0.22);
  transition: background 400ms ease, padding 400ms ease;
}

.process-grid article:last-child {
  border-right: 0;
  border-bottom: 1px solid rgba(247, 236, 236, 0.22);
}

.process-grid article::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -59px;
  width: 10px;
  height: 10px;
  background: var(--oxblood);
  border: 1px solid var(--blush);
  transform: translateY(-50%) rotate(45deg);
  transition: background 300ms ease;
}

.process-grid article:hover {
  padding-left: 16px;
  background: rgba(247, 236, 236, 0.055);
}

.process-grid article:hover::before {
  background: var(--blush);
}

.process-grid article > span {
  color: var(--blush);
  font-size: 0.68rem;
  font-weight: 700;
}

.process-grid h3 {
  margin: 0;
  color: var(--paper-soft);
  font-family: var(--serif);
  font-size: clamp(3.15rem, 4vw, 4.8rem);
  font-weight: 400;
  line-height: 0.95;
  transition: color 300ms ease;
}

.process-grid article:hover h3 {
  color: var(--blush);
}

.process-grid p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 250, 247, 0.68);
}

@keyframes processRailMove {
  from {
    top: 0;
  }

  to {
    top: calc(100% - 88px);
  }
}

@media (max-width: 980px) {
  .service-process-heading {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .service-process-heading > p:last-child {
    max-width: 620px;
  }

  .process-grid article,
  .process-grid article:nth-child(2) {
    grid-template-columns: 60px minmax(220px, 0.5fr) minmax(260px, 0.5fr);
  }
}

@media (max-width: 680px) {
  .service-process {
    padding: 96px 18px 104px;
  }

  .service-process::before {
    top: 2%;
    right: -34%;
    width: 90vw;
  }

  .service-process-heading h2 {
    font-size: 4rem;
  }

  .service-process-heading h2 em {
    margin-left: 28px;
  }

  .process-grid {
    margin-top: 66px;
    padding-left: 36px;
  }

  .process-grid::before {
    left: 4px;
  }

  .process-grid::after {
    left: 2px;
    height: 70px;
  }

  .process-grid article,
  .process-grid article:nth-child(2) {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px 8px;
    padding: 30px 0 34px;
  }

  .process-grid article::before {
    left: -36px;
    width: 8px;
    height: 8px;
  }

  .process-grid article > span {
    grid-row: 1 / span 2;
    padding-top: 7px;
  }

  .process-grid h3 {
    font-size: 2.85rem;
  }

  .process-grid p {
    grid-column: 2;
  }

  .process-grid article:hover {
    padding-left: 0;
    background: transparent;
  }
}

@media (prefers-reduced-motion: reduce) {
  .process-grid::after {
    top: 0;
    animation: none;
  }

  .process-grid article {
    opacity: 1;
    transform: none;
  }
}

/* Portfolio: current work, quieter archive and studio evolution */
.portfolio-aissval-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: clamp(54px, 7vw, 112px);
  align-items: center;
  margin-top: 102px;
}

.portfolio-aissval-media {
  display: block;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(40, 35, 36, 0.2);
  box-shadow: 0 26px 68px rgba(72, 49, 52, 0.11);
}

.portfolio-aissval-media > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  transition: transform 900ms ease;
}

.portfolio-aissval-media:hover > img {
  transform: scale(1.014);
}

.portfolio-aissval-copy h3 {
  margin: 12px 0 28px;
  font-family: var(--serif);
  font-size: 5.2rem;
  font-weight: 400;
  line-height: 0.9;
}

.portfolio-aissval-copy > p:not(.project-index) {
  margin: 0;
  color: rgba(40, 35, 36, 0.66);
}

.portfolio-aissval-copy .portfolio-aissval-note {
  margin: 28px 0 30px;
  padding: 20px 0 0 24px;
  border-top: 1px solid var(--line-dark);
  border-left: 2px solid var(--rose);
  color: var(--oxblood);
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.1;
}

.portfolio-other-projects {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(44px, 7vw, 110px);
  align-items: start;
  margin-top: 136px;
}

.portfolio-other-list {
  border-top: 1px solid var(--line-dark);
}

.portfolio-other-list a {
  display: grid;
  grid-template-columns: 42px minmax(210px, 0.8fr) minmax(280px, 1fr) 24px;
  gap: 26px;
  align-items: center;
  padding: 30px 0 32px;
  border-bottom: 1px solid var(--line-dark);
  transition: padding 350ms ease, color 300ms ease;
}

.portfolio-other-list a:hover {
  padding-left: 12px;
  color: var(--oxblood);
}

.portfolio-other-list span {
  color: var(--rose);
  font-size: 0.65rem;
  font-weight: 700;
}

.portfolio-other-list h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1;
}

.portfolio-other-list p {
  margin: 0;
  color: rgba(40, 35, 36, 0.6);
  font-size: 0.88rem;
}

.portfolio-other-list i {
  font-size: 1.1rem;
  font-style: normal;
}

.portfolio-evolving {
  position: relative;
  overflow: hidden;
  background: #e3e8e0;
  border-block: 1px solid rgba(40, 35, 36, 0.14);
}

.portfolio-evolving::before {
  content: "";
  position: absolute;
  top: 18%;
  right: -7%;
  width: 48%;
  height: 1px;
  background: rgba(128, 70, 78, 0.3);
  transform: rotate(-8deg);
  transform-origin: right;
}

.portfolio-evolving-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(60px, 8vw, 138px);
  align-items: end;
  min-height: 760px;
}

.portfolio-evolving-illustration {
  align-self: end;
  margin: 0;
}

.portfolio-evolving-illustration img {
  display: block;
  width: min(590px, 100%);
  max-height: 720px;
  object-fit: contain;
  object-position: bottom center;
  transform-origin: bottom center;
  animation: portfolioIllustrationBreathe 5.5s ease-in-out infinite alternate;
}

.portfolio-evolving-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 120px 0 114px;
}

.portfolio-evolving-copy h2 {
  margin: 26px 0 42px;
  font-family: var(--serif);
  font-size: 5.7rem;
  font-weight: 400;
  line-height: 0.9;
}

.portfolio-evolving-copy h2 em {
  color: var(--oxblood);
  font-weight: 400;
}

.portfolio-evolving-copy > p:not(.section-kicker) {
  max-width: 650px;
  margin: 0;
  color: rgba(40, 35, 36, 0.67);
}

.portfolio-evolving-copy > p + p {
  margin-top: 22px;
}

.portfolio-evolving-copy blockquote {
  max-width: 600px;
  margin: 48px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(40, 35, 36, 0.24);
  color: var(--oxblood);
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.05;
}

@keyframes portfolioIllustrationBreathe {
  from { transform: translateY(0) rotate(-0.35deg); }
  to { transform: translateY(-8px) rotate(0.35deg); }
}

/* Diary */
.diary-hero {
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  padding: 172px 5vw 82px;
  background: #f1dadd;
  border-bottom: 1px solid var(--line-dark);
}

.diary-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 8vw;
  align-items: end;
}

.diary-hero-copy h1 {
  max-width: 1000px;
  margin: 24px 0 0;
  font-family: var(--serif);
  font-size: clamp(5.8rem, 7vw, 8.2rem);
  font-weight: 400;
  line-height: 0.86;
}

.diary-hero-copy h1 em {
  color: var(--oxblood);
  font-weight: 400;
}

.diary-hero-copy > p:last-child {
  max-width: 650px;
  margin: 42px 0 0;
  color: rgba(40, 35, 36, 0.66);
}

.diary-hero-words {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 9px;
}

.diary-hero-words span {
  color: rgba(128, 70, 78, 0.55);
  font-family: var(--serif);
  font-size: 2.25rem;
  font-style: italic;
  animation: diaryWordDrift 5.4s ease-in-out infinite alternate;
}

.diary-hero-words span:nth-child(2) {
  margin-left: 42px;
  animation-delay: -1.8s;
}

.diary-hero-words span:nth-child(3) {
  margin-left: 14px;
  animation-delay: -3.6s;
}

@keyframes diaryWordDrift {
  from { transform: translateX(0); }
  to { transform: translateX(18px); }
}

.diary-index {
  padding: 144px 5vw 160px;
  background: var(--paper-soft);
}

.diary-index-heading {
  display: grid;
  grid-template-columns: 150px minmax(0, 830px) minmax(250px, 0.42fr);
  gap: clamp(34px, 5vw, 80px);
  align-items: end;
}

.diary-index-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 5.5rem;
  font-weight: 400;
  line-height: 0.9;
}

.diary-index-heading > p:last-child {
  margin: 0 0 5px;
  color: rgba(40, 35, 36, 0.62);
}

.diary-list {
  margin-top: 96px;
  border-top: 1px solid var(--line-dark);
}

.diary-list-entry a {
  display: grid;
  grid-template-columns: 54px minmax(300px, 0.9fr) minmax(300px, 0.7fr) 28px;
  gap: clamp(24px, 4vw, 66px);
  align-items: center;
  padding: 38px 0 42px;
  border-bottom: 1px solid var(--line-dark);
  transition: padding 400ms ease, color 300ms ease;
}

.diary-list-entry a:hover {
  padding-left: 14px;
  color: var(--oxblood);
}

.diary-entry-number {
  color: var(--rose);
  font-size: 0.68rem;
  font-weight: 700;
}

.diary-entry-title time {
  display: block;
  margin-bottom: 14px;
  color: rgba(40, 35, 36, 0.5);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
}

.diary-entry-title h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 3.25rem;
  font-weight: 400;
  line-height: 0.96;
}

.diary-list-entry a > p {
  margin: 0;
  color: rgba(40, 35, 36, 0.62);
}

.diary-list-entry i {
  font-size: 1.2rem;
  font-style: normal;
}

.diary-empty {
  margin: 0;
  padding: 54px 0;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--serif);
  font-size: 2rem;
}

.diary-single-hero {
  padding: 156px 5vw 96px;
  background: #f1dadd;
}

.diary-back {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--oxblood);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.diary-single-heading {
  max-width: 1120px;
  margin: 104px auto 0;
}

.diary-single-heading h1 {
  margin: 24px 0 0;
  font-family: var(--serif);
  font-size: clamp(5.6rem, 7vw, 8rem);
  font-weight: 400;
  line-height: 0.86;
}

.diary-single-heading > p:last-child {
  max-width: 680px;
  margin: 44px 0 0;
  color: rgba(40, 35, 36, 0.67);
  font-size: 1.08rem;
}

.diary-article-section {
  padding: 126px 5vw 142px;
  background: var(--paper-soft);
}

.diary-article-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.35fr) minmax(0, 760px);
  justify-content: center;
  gap: clamp(70px, 9vw, 150px);
  align-items: start;
}

.diary-author {
  position: sticky;
  top: 136px;
  display: flex;
  gap: 18px;
  align-items: center;
  padding-top: 8px;
}

.diary-author img {
  width: 54px;
  height: 62px;
  object-fit: contain;
}

.diary-author p {
  margin: 0;
}

.diary-author strong,
.diary-author span {
  display: block;
}

.diary-author strong {
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
}

.diary-author span {
  color: rgba(40, 35, 36, 0.55);
  font-size: 0.66rem;
  line-height: 1.55;
}

.diary-article-content {
  color: rgba(40, 35, 36, 0.76);
  font-size: 1.06rem;
  line-height: 1.88;
}

.diary-article-content > p:first-child::first-letter {
  float: left;
  margin: 8px 10px 0 0;
  color: var(--oxblood);
  font-family: var(--serif);
  font-size: 5.2rem;
  line-height: 0.68;
}

.diary-article-content p {
  margin: 0 0 28px;
}

.diary-article-content h2 {
  margin: 76px 0 26px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 3.3rem;
  font-weight: 400;
  line-height: 1;
}

.diary-article-content blockquote {
  margin: 62px 0;
  padding: 28px 0 28px 36px;
  border-left: 2px solid var(--rose);
  color: var(--oxblood);
  font-family: var(--serif);
  font-size: 2.3rem;
  line-height: 1.08;
}

.diary-article-content blockquote p {
  margin: 0;
}

.diary-single-closing {
  min-height: 70svh;
  display: flex;
  align-items: center;
  padding: 104px 5vw;
  background: #edcdd1;
}

.diary-single-closing h2 {
  max-width: 950px;
  margin: 24px 0 42px;
  font-family: var(--serif);
  font-size: 5.7rem;
  font-weight: 400;
  line-height: 0.9;
}

@media (max-width: 1100px) {
  .portfolio-aissval-feature {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.65fr);
  }

  .portfolio-other-list a {
    grid-template-columns: 36px minmax(190px, 0.75fr) minmax(230px, 1fr) 22px;
    gap: 20px;
  }

  .portfolio-evolving-copy h2,
  .diary-index-heading h2 {
    font-size: 4.8rem;
  }
}

@media (max-width: 980px) {
  .portfolio-aissval-feature,
  .portfolio-other-projects,
  .portfolio-evolving-layout,
  .diary-hero-layout,
  .diary-index-heading,
  .diary-article-layout {
    grid-template-columns: 1fr;
  }

  .portfolio-aissval-copy {
    max-width: 650px;
  }

  .portfolio-other-projects {
    gap: 34px;
  }

  .portfolio-evolving-layout {
    min-height: 0;
  }

  .portfolio-evolving-copy {
    grid-row: 1;
    padding-bottom: 30px;
  }

  .portfolio-evolving-illustration {
    grid-row: 2;
  }

  .portfolio-evolving-illustration img {
    width: min(620px, 82vw);
    margin-inline: auto;
  }

  .diary-hero-layout,
  .diary-index-heading {
    gap: 28px;
  }

  .diary-hero-words {
    margin-top: 30px;
  }

  .diary-index-heading > p:last-child {
    max-width: 620px;
  }

  .diary-list-entry a {
    grid-template-columns: 44px minmax(260px, 1fr) minmax(220px, 0.7fr) 24px;
    gap: 22px;
  }

  .diary-author {
    position: static;
    max-width: 360px;
  }
}

@media (max-width: 680px) {
  .portfolio-aissval-feature {
    gap: 44px;
    margin-top: 68px;
  }

  .portfolio-aissval-copy h3 {
    font-size: 4rem;
  }

  .portfolio-other-projects {
    margin-top: 92px;
  }

  .portfolio-other-list a {
    grid-template-columns: 30px minmax(0, 1fr) 20px;
    gap: 10px 14px;
    padding: 26px 0 28px;
  }

  .portfolio-other-list a:hover {
    padding-left: 0;
  }

  .portfolio-other-list h3 {
    font-size: 2rem;
  }

  .portfolio-other-list p {
    grid-column: 2 / 4;
  }

  .portfolio-other-list i {
    grid-column: 3;
    grid-row: 1;
  }

  .portfolio-evolving-layout {
    gap: 10px;
    padding-inline: 18px;
  }

  .portfolio-evolving-copy {
    padding: 92px 0 24px;
  }

  .portfolio-evolving-copy h2 {
    font-size: 3.7rem;
  }

  .portfolio-evolving-copy blockquote {
    font-size: 1.75rem;
  }

  .portfolio-evolving-illustration img {
    width: 100%;
  }

  .diary-hero {
    min-height: 90svh;
    padding: 150px 18px 68px;
  }

  .diary-hero-copy h1 {
    font-size: 4.25rem;
  }

  .diary-hero-copy > p:last-child {
    margin-top: 34px;
  }

  .diary-hero-words {
    gap: 8px;
  }

  .diary-hero-words span {
    font-size: 1.75rem;
  }

  .diary-index {
    padding: 94px 18px 108px;
  }

  .diary-index-heading h2 {
    font-size: 3.65rem;
  }

  .diary-list {
    margin-top: 66px;
  }

  .diary-list-entry a {
    grid-template-columns: 34px minmax(0, 1fr) 20px;
    gap: 12px;
    padding: 30px 0 34px;
  }

  .diary-list-entry a:hover {
    padding-left: 0;
  }

  .diary-entry-title h3 {
    font-size: 2.65rem;
  }

  .diary-list-entry a > p {
    grid-column: 2 / 4;
  }

  .diary-single-hero {
    padding: 140px 18px 76px;
  }

  .diary-single-heading {
    margin-top: 76px;
  }

  .diary-single-heading h1 {
    font-size: 4.25rem;
  }

  .diary-article-section {
    padding: 88px 18px 104px;
  }

  .diary-article-layout {
    gap: 62px;
  }

  .diary-article-content h2 {
    margin-top: 60px;
    font-size: 2.75rem;
  }

  .diary-article-content blockquote {
    margin: 48px 0;
    padding-left: 22px;
    font-size: 1.9rem;
  }

  .diary-single-closing {
    min-height: 66svh;
    padding: 88px 18px;
  }

  .diary-single-closing h2 {
    font-size: 3.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-evolving-illustration img,
  .diary-hero-words span {
    animation: none;
  }
}

/* AISSVAL shown as a living screen, with Maria's illustration in the background */
.portfolio-aissval-feature {
  display: block;
}

.portfolio-aissval-copy {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 0.8fr) auto;
  gap: clamp(34px, 5vw, 82px);
  align-items: end;
}

.portfolio-aissval-copy h3 {
  margin: 12px 0 0;
  font-size: clamp(4rem, 4.8vw, 5.7rem);
}

.portfolio-aissval-copy > p:not(.project-index) {
  max-width: 520px;
  margin: 0 0 5px;
  font-size: 1rem;
  line-height: 1.68;
}

.portfolio-aissval-copy > .inline-link {
  align-self: end;
  margin-bottom: 8px;
  white-space: nowrap;
}

.portfolio-aissval-scene {
  position: relative;
  min-height: 660px;
  margin-top: 62px;
  padding-top: 72px;
  isolation: isolate;
}

.portfolio-aissval-background {
  position: absolute;
  z-index: -1;
  right: -2%;
  bottom: 0;
  width: min(470px, 42%);
  max-height: 650px;
  object-fit: contain;
  object-position: right bottom;
  opacity: 0.18;
  filter: grayscale(0.15);
}

.portfolio-laptop {
  position: relative;
  display: block;
  width: min(880px, 72%);
  margin-left: 3%;
  transform-origin: center bottom;
  animation: portfolioLaptopFloat 5.8s ease-in-out infinite alternate;
}

.portfolio-laptop-screen {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 15px 15px 18px;
  background: #292526;
  border: 1px solid rgba(40, 35, 36, 0.5);
  border-radius: 14px 14px 6px 6px;
  box-shadow: 0 30px 70px rgba(72, 49, 52, 0.16);
}

.portfolio-laptop-screen::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 4px;
  background: rgba(255, 250, 247, 0.48);
  border-radius: 50%;
  transform: translateX(-50%);
}

.portfolio-laptop-screen img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
  transition: transform 1100ms ease;
}

.portfolio-laptop:hover .portfolio-laptop-screen img {
  transform: scale(1.018);
}

.portfolio-laptop-base {
  position: relative;
  display: block;
  width: 112%;
  height: 25px;
  margin-left: -6%;
  background: #d9d2ce;
  border: 1px solid rgba(40, 35, 36, 0.26);
  clip-path: polygon(3% 0, 97% 0, 100% 76%, 96% 100%, 4% 100%, 0 76%);
}

.portfolio-laptop-base::after {
  content: "";
  position: absolute;
  top: 0;
  left: 44%;
  width: 12%;
  height: 6px;
  border: 1px solid rgba(40, 35, 36, 0.24);
  border-top: 0;
}

.portfolio-laptop-caption {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  width: min(880px, 72%);
  margin: 23px 0 0 3%;
  color: rgba(40, 35, 36, 0.52);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
}

@keyframes portfolioLaptopFloat {
  from { transform: translateY(0) rotate(-0.2deg); }
  to { transform: translateY(-9px) rotate(0.2deg); }
}

@media (max-width: 980px) {
  .portfolio-aissval-copy {
    grid-template-columns: minmax(240px, 0.72fr) minmax(300px, 1fr);
  }

  .portfolio-aissval-copy > .inline-link {
    grid-column: 2;
    justify-self: start;
  }

  .portfolio-aissval-scene {
    min-height: 600px;
  }

  .portfolio-laptop,
  .portfolio-laptop-caption {
    width: 78%;
    margin-left: 0;
  }

  .portfolio-aissval-background {
    right: -5%;
    width: 46%;
  }
}

@media (max-width: 680px) {
  .portfolio-aissval-copy {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .portfolio-aissval-copy h3 {
    font-size: 4rem;
  }

  .portfolio-aissval-copy > .inline-link {
    grid-column: auto;
    margin-top: -6px;
  }

  .portfolio-aissval-scene {
    min-height: 480px;
    margin-top: 48px;
    padding-top: 58px;
  }

  .portfolio-aissval-background {
    right: -16%;
    width: 78%;
    max-height: 430px;
    opacity: 0.14;
  }

  .portfolio-laptop,
  .portfolio-laptop-caption {
    width: 94%;
    margin-left: 0;
  }

  .portfolio-laptop-screen {
    padding: 8px 8px 10px;
    border-radius: 8px 8px 4px 4px;
  }

  .portfolio-laptop-base {
    height: 16px;
  }

  .portfolio-laptop-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    margin-top: 16px;
    line-height: 1.45;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-laptop {
    animation: none;
  }
}

/* Diary: image-led storytelling */
.diary-hero {
  position: relative;
  overflow: hidden;
  color: var(--paper-soft);
  background: #292526;
  isolation: isolate;
}

.diary-hero-video,
.diary-hero-wash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.diary-hero-video {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.diary-hero-wash {
  z-index: -1;
  background: rgba(29, 24, 25, 0.5);
}

.diary-hero .section-kicker {
  color: var(--blush);
}

.diary-hero-copy h1 {
  color: var(--paper-soft);
}

.diary-hero-copy h1 em {
  color: #e6babf;
}

.diary-hero-copy > p:last-child {
  color: rgba(255, 250, 247, 0.82);
}

.diary-hero-words span {
  color: rgba(255, 226, 229, 0.72);
}

.diary-list {
  display: grid;
  gap: 84px;
  border-top: 0;
}

.diary-list-entry a {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
  padding: 0 0 78px;
  border-bottom: 1px solid var(--line-dark);
  transition: color 300ms ease;
}

.diary-list-entry a:hover {
  padding-left: 0;
  color: var(--oxblood);
}

.diary-entry-media {
  overflow: hidden;
  margin: 0;
}

.diary-entry-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 35%;
  transition: transform 900ms ease, filter 700ms ease;
}

.diary-list-entry a:hover .diary-entry-media img {
  transform: scale(1.018);
  filter: saturate(0.92);
}

.diary-entry-content {
  max-width: 560px;
}

.diary-entry-meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  color: rgba(40, 35, 36, 0.5);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
}

.diary-entry-meta .diary-entry-number {
  color: var(--rose);
}

.diary-entry-content h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 4.2vw, 5rem);
  font-weight: 400;
  line-height: 0.92;
}

.diary-entry-content > p {
  margin: 30px 0 0;
  color: rgba(40, 35, 36, 0.64);
}

.diary-entry-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-top: 30px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.diary-entry-link i {
  font-style: normal;
}

.diary-single-hero {
  position: relative;
  min-height: 94svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--paper-soft);
  background-image: var(--diary-cover);
  background-position: center 36%;
  background-size: cover;
  isolation: isolate;
}

.diary-single-hero-wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(29, 24, 25, 0.52);
}

.diary-single-hero > .section-inner {
  width: min(1180px, 100%);
}

.diary-single-hero .diary-back,
.diary-single-hero .section-kicker,
.diary-single-hero .diary-single-heading > p:last-child {
  color: rgba(255, 250, 247, 0.84);
}

.diary-single-heading {
  max-width: 1120px;
  margin: 96px 0 0;
}

.diary-single-heading h1 {
  color: var(--paper-soft);
}

.diary-single-film {
  position: relative;
  overflow: hidden;
  min-height: 82svh;
  display: flex;
  align-items: flex-end;
  padding: 92px 5vw;
  color: var(--paper-soft);
  background: #292526;
  isolation: isolate;
}

.diary-single-film video,
.diary-single-film-wash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.diary-single-film video {
  z-index: -2;
  object-fit: cover;
}

.diary-single-film-wash {
  z-index: -1;
  background: rgba(29, 24, 25, 0.45);
}

.diary-single-film-copy {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.diary-single-film-copy .section-kicker {
  color: var(--blush);
}

.diary-single-film-copy h2 {
  max-width: 900px;
  margin: 24px 0 0;
  color: var(--paper-soft);
  font-family: var(--serif);
  font-size: 5.6rem;
  font-weight: 400;
  line-height: 0.9;
}

@media (max-width: 980px) {
  .diary-list-entry a {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
    gap: 48px;
  }

  .diary-single-film-copy h2 {
    font-size: 4.7rem;
  }
}

@media (max-width: 680px) {
  .diary-hero-video {
    object-position: 58% center;
  }

  .diary-list {
    gap: 68px;
  }

  .diary-list-entry a {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-bottom: 58px;
  }

  .diary-entry-media img {
    aspect-ratio: 4 / 3;
  }

  .diary-entry-content h3 {
    font-size: 3.15rem;
  }

  .diary-entry-content > p {
    margin-top: 24px;
  }

  .diary-single-hero {
    min-height: 92svh;
    background-position: 54% center;
  }

  .diary-single-heading {
    margin-top: 68px;
  }

  .diary-single-film {
    min-height: 76svh;
    padding: 72px 18px;
  }

  .diary-single-film-copy h2 {
    font-size: 3.7rem;
  }
}

/* Portfolio projects: balanced emphasis */
.portfolio-collection-heading {
  grid-template-columns: 150px minmax(0, 900px);
}

.portfolio-projects-balance {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, 0.82fr);
  gap: clamp(54px, 7vw, 104px);
  align-items: start;
  margin-top: 96px;
}

.portfolio-projects-balance .portfolio-aissval-feature,
.portfolio-projects-balance .portfolio-other-projects {
  margin-top: 0;
}

.portfolio-projects-balance .portfolio-aissval-copy {
  display: block;
}

.portfolio-projects-balance .portfolio-aissval-copy h3 {
  margin-top: 10px;
  font-size: 4.55rem;
}

.portfolio-projects-balance .portfolio-aissval-copy > p:not(.project-index) {
  max-width: 530px;
  margin: 24px 0 22px;
  font-size: 0.94rem;
}

.portfolio-projects-balance .portfolio-aissval-copy > .inline-link {
  display: inline-block;
  margin: 0;
}

.portfolio-projects-balance .portfolio-aissval-scene {
  min-height: 450px;
  margin-top: 34px;
  padding-top: 48px;
}

.portfolio-projects-balance .portfolio-laptop,
.portfolio-projects-balance .portfolio-laptop-caption {
  width: 86%;
  margin-left: 0;
}

.portfolio-projects-balance .portfolio-aissval-background {
  right: -5%;
  width: 52%;
  max-height: 430px;
  opacity: 0.16;
}

.portfolio-projects-balance .portfolio-other-projects {
  display: block;
  padding-top: 6px;
}

.portfolio-projects-balance .portfolio-other-list {
  margin-top: 34px;
}

.portfolio-projects-balance .portfolio-other-list a {
  position: relative;
  display: block;
  min-height: 250px;
  padding: 28px 44px 32px 0;
}

.portfolio-projects-balance .portfolio-other-list a:hover {
  padding-left: 10px;
}

.portfolio-projects-balance .portfolio-other-list h3 {
  max-width: 390px;
  margin: 72px 0 16px;
  font-size: 2.8rem;
}

.portfolio-projects-balance .portfolio-other-list p {
  max-width: 390px;
}

.portfolio-projects-balance .portfolio-other-list i {
  position: absolute;
  top: 28px;
  right: 2px;
}

@media (max-width: 980px) {
  .portfolio-collection-heading,
  .portfolio-projects-balance {
    grid-template-columns: 1fr;
  }

  .portfolio-projects-balance {
    gap: 88px;
  }

  .portfolio-projects-balance .portfolio-aissval-copy {
    max-width: 650px;
  }

  .portfolio-projects-balance .portfolio-laptop,
  .portfolio-projects-balance .portfolio-laptop-caption {
    width: 76%;
  }

  .portfolio-projects-balance .portfolio-other-projects {
    max-width: 760px;
  }
}

@media (max-width: 680px) {
  .portfolio-projects-balance {
    gap: 64px;
    margin-top: 72px;
  }

  .portfolio-projects-balance .portfolio-aissval-copy h3 {
    font-size: 3.85rem;
  }

  .portfolio-projects-balance .portfolio-aissval-scene {
    min-height: 310px;
    margin-top: 26px;
    padding-top: 30px;
  }

  .portfolio-projects-balance .portfolio-laptop,
  .portfolio-projects-balance .portfolio-laptop-caption {
    width: 94%;
  }

  .portfolio-projects-balance .portfolio-aissval-background {
    right: -18%;
    width: 72%;
    max-height: 360px;
  }

  .portfolio-projects-balance .portfolio-other-list a {
    min-height: 225px;
    padding: 24px 38px 28px 0;
  }

  .portfolio-projects-balance .portfolio-other-list a:hover {
    padding-left: 0;
  }

  .portfolio-projects-balance .portfolio-other-list h3 {
    margin-top: 58px;
    font-size: 2.45rem;
  }
}

/* Portfolio experience: visible human presence */
.portfolio-experience > .section-inner {
  position: relative;
}

.portfolio-experience header,
.portfolio-experience-line,
.portfolio-agency-note {
  position: relative;
  z-index: 1;
}

.portfolio-experience header {
  max-width: calc(100% - 360px);
}

.portfolio-experience-illustration {
  position: absolute;
  top: -36px;
  right: -2%;
  width: min(390px, 29vw);
  height: 610px;
  margin: 0;
  opacity: 0.7;
  pointer-events: none;
  animation: portfolioPortraitFloat 7s ease-in-out infinite alternate;
}

.portfolio-experience-illustration img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right top;
}

.portfolio-experience-line,
.portfolio-agency-note {
  width: calc(100% - 360px);
}

@keyframes portfolioPortraitFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}

@media (max-width: 1080px) {
  .portfolio-experience header,
  .portfolio-experience-line,
  .portfolio-agency-note {
    width: 100%;
    max-width: none;
  }

  .portfolio-experience-illustration {
    position: relative;
    top: auto;
    right: auto;
    width: min(500px, 62%);
    height: 500px;
    margin: 42px 0 0 auto;
  }

  .portfolio-experience-line {
    margin-top: 18px;
  }
}

@media (max-width: 680px) {
  .portfolio-experience-illustration {
    width: 100%;
    height: 390px;
    margin-top: 28px;
    opacity: 0.76;
  }

  .portfolio-experience-line {
    margin-top: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-experience-illustration {
    animation: none;
  }
}

/* Diary voice, illustrated note and recurring sign-off */
.diary-inline-sketch {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(260px, 1.1fr);
  align-items: end;
  overflow: hidden;
  min-height: 380px;
  margin: 82px 0;
  background: #f1dadd;
}

.diary-inline-sketch img {
  align-self: stretch;
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  object-position: 42% center;
  transform-origin: center;
  animation: diarySketchBreathe 6.5s ease-in-out infinite alternate;
}

.diary-inline-sketch figcaption {
  align-self: center;
  padding: 46px 44px 46px 12px;
}

.diary-inline-sketch figcaption span {
  color: var(--rose);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}

.diary-inline-sketch figcaption p {
  margin: 24px 0 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 2.55rem;
  line-height: 1;
}

.diary-signoff {
  position: relative;
  margin-top: 96px;
  padding: 50px 0 6px;
  border-top: 1px solid var(--line-dark);
}

.diary-signoff::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--rose);
  border-radius: 50%;
}

.diary-signoff-kicker {
  margin: 0;
  color: var(--rose);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}

.diary-article-content .diary-signoff h2 {
  max-width: 600px;
  margin: 22px 0 24px;
  font-size: 4rem;
}

.diary-signoff > p:not(.diary-signoff-kicker) {
  max-width: 570px;
}

.diary-signoff-signature {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 38px;
}

.diary-signoff-signature strong {
  color: var(--oxblood);
  font-family: var(--serif);
  font-size: 3.2rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1;
}

.diary-signoff-signature img {
  width: 46px;
  height: 54px;
  object-fit: contain;
  opacity: 0.78;
}

@keyframes diarySketchBreathe {
  from { transform: scale(1); }
  to { transform: scale(1.018); }
}

@media (max-width: 680px) {
  .diary-inline-sketch {
    grid-template-columns: 1fr;
    min-height: 0;
    margin: 66px 0;
  }

  .diary-inline-sketch img {
    height: 320px;
    min-height: 320px;
    object-position: 38% center;
  }

  .diary-inline-sketch figcaption {
    padding: 8px 26px 38px;
  }

  .diary-inline-sketch figcaption p {
    font-size: 2.15rem;
  }

  .diary-signoff {
    margin-top: 74px;
    padding-top: 42px;
  }

  .diary-article-content .diary-signoff h2 {
    font-size: 3.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .diary-inline-sketch img {
    animation: none;
  }
}

/* Diary polish: editorial endings, author note and footer visibility */
.diary-index-heading h2 em {
  display: block;
  color: var(--oxblood);
  font-weight: 400;
}

.diary-index {
  padding-bottom: 0;
}

.diary-index-afterword {
  position: relative;
  overflow: hidden;
  margin-top: 118px;
  margin-inline: -5vw;
  padding: 92px 5vw 96px;
  background: #dfe6dc;
  border-top: 1px solid var(--line-dark);
}

.diary-index-afterword-layout {
  display: grid;
  grid-template-columns: 100px minmax(420px, 1fr) minmax(280px, 0.52fr);
  gap: clamp(38px, 6vw, 92px);
  align-items: end;
}

.diary-index-afterword img {
  width: 78px;
  height: 92px;
  object-fit: contain;
  opacity: 0.72;
  animation: diaryAfterwordMark 6s ease-in-out infinite alternate;
}

.diary-index-afterword h3 {
  max-width: 760px;
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 4.5vw, 5.2rem);
  font-weight: 400;
  line-height: 0.92;
}

.diary-index-afterword-layout > p:last-child {
  margin: 0 0 5px;
  color: rgba(40, 35, 36, 0.62);
}

@keyframes diaryAfterwordMark {
  from { transform: translateY(4px) rotate(-1deg); }
  to { transform: translateY(-5px) rotate(1deg); }
}

.diary-author {
  display: block;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
}

.diary-author-label {
  margin: 0 0 20px;
  color: var(--rose);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
}

.diary-author > div {
  display: flex;
  gap: 16px;
  align-items: center;
}

.diary-author > div > p {
  margin: 0;
}

.diary-author small {
  display: block;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(40, 35, 36, 0.12);
  color: rgba(40, 35, 36, 0.5);
  font-size: 0.62rem;
}

.diary-feedback {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 42px 0 52px;
  background: #f1dadd;
  border-block: 1px solid rgba(128, 70, 78, 0.22);
}

.diary-feedback span {
  min-height: 126px;
  display: flex;
  align-items: center;
  padding: 24px 28px;
  color: var(--oxblood);
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
}

.diary-feedback span:nth-child(odd) {
  border-right: 1px solid rgba(128, 70, 78, 0.22);
}

.diary-feedback span:nth-child(-n+2) {
  border-bottom: 1px solid rgba(128, 70, 78, 0.22);
}

.diary-feedback span:nth-child(2),
.diary-feedback span:nth-child(4) {
  transform: translateY(6px);
}

.diary-article-section {
  padding-bottom: 96px;
}

.diary-single-film-copy h2 {
  max-width: 980px;
}

.footer-main {
  grid-template-columns: minmax(300px, 1.08fr) minmax(130px, 0.26fr) minmax(240px, 0.55fr) minmax(130px, 0.26fr);
  gap: clamp(38px, 5vw, 76px);
}

.footer-diary {
  padding-left: 32px;
  border-left: 1px solid rgba(40, 35, 36, 0.18);
}

.footer-nav .footer-diary-title {
  font-size: 2.25rem;
  line-height: 0.95;
}

.footer-nav .footer-diary-latest {
  margin-top: 12px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-diary-latest span {
  margin-left: 6px;
}

@media (max-width: 1080px) {
  .diary-index-afterword-layout {
    grid-template-columns: 80px minmax(0, 1fr);
  }

  .diary-index-afterword-layout > p:last-child {
    grid-column: 2;
    max-width: 620px;
  }

  .footer-main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .diary-index-afterword {
    margin-top: 82px;
    margin-inline: -18px;
    padding: 74px 18px 80px;
  }

  .diary-index-afterword-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .diary-index-afterword img {
    width: 62px;
    height: 74px;
  }

  .diary-index-afterword h3 {
    font-size: 3.45rem;
  }

  .diary-index-afterword-layout > p:last-child {
    grid-column: auto;
    margin-top: 6px;
  }

  .diary-feedback {
    grid-template-columns: 1fr;
    margin-block: 38px 46px;
  }

  .diary-feedback span {
    min-height: 100px;
    padding: 22px 24px;
    font-size: 1.8rem;
  }

  .diary-feedback span:nth-child(odd),
  .diary-feedback span:nth-child(-n+2) {
    border-right: 0;
    border-bottom: 1px solid rgba(128, 70, 78, 0.22);
  }

  .diary-feedback span:last-child {
    border-bottom: 0;
  }

  .diary-feedback span:nth-child(2),
  .diary-feedback span:nth-child(4) {
    transform: none;
  }

  .diary-article-section {
    padding-bottom: 78px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-diary {
    padding: 40px 0;
    border-block: 1px solid rgba(40, 35, 36, 0.18);
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .diary-index-afterword img {
    animation: none;
  }
}

@media (max-width: 340px) {
  .site-header {
    padding-inline: 12px;
  }

  .main-nav {
    gap: 4px;
    font-size: 0.52rem;
    letter-spacing: 0.05em;
  }
}

/* Numbers are reserved for real sequences; the rest uses editorial cues. */
.service-index a {
  position: relative;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 0.7fr);
  padding-left: 26px;
}

.service-index a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 9px;
  height: 9px;
  border: 1px solid var(--rose);
  transform: translateY(-50%) rotate(45deg);
  transition: background 240ms ease, transform 240ms ease;
}

.service-index a:hover::before {
  background: var(--rose);
  transform: translateY(-50%) rotate(135deg);
}

.service-detail-list li {
  grid-template-columns: 18px minmax(0, 1fr);
}

.service-detail-list li::before {
  content: "";
  width: 10px;
  height: 1px;
  margin-top: 0.78em;
  background: var(--rose);
}

.extra-index p {
  position: relative;
  grid-template-columns: 1fr;
  padding-left: 26px;
}

.extra-index p::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 1px;
  background: var(--oxblood);
}

.service-price-promises article {
  position: relative;
  grid-template-columns: 1fr;
  padding-left: 28px;
}

.service-price-promises article::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 0;
  width: 10px;
  height: 10px;
  border: 1px solid var(--rose);
  border-radius: 50%;
}

.service-price-promises article:hover {
  padding-left: 28px;
}

.price-proposal-lines p {
  grid-template-columns: minmax(120px, 0.7fr) minmax(130px, 1fr);
}

.portfolio-feature-heading {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.44fr);
}

.portfolio-other-list span,
.about-path-list article > span {
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.about-path-list article {
  grid-template-columns: 104px minmax(0, 1fr);
}

.about-expect-list span::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border: 1px solid var(--rose);
  transform: rotate(45deg);
}

.contact-prompt-list article {
  grid-template-columns: minmax(230px, 0.48fr) minmax(280px, 0.72fr);
}

@media (max-width: 980px) {
  .portfolio-feature-heading {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .service-index a {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 0 22px 24px;
  }

  .service-index small {
    grid-column: 1;
    margin-top: 0;
  }

  .extra-index p {
    grid-template-columns: 1fr;
    padding-left: 22px;
  }

  .service-price-promises article,
  .service-price-promises article:hover {
    grid-template-columns: 1fr;
    padding-left: 24px;
  }

  .price-proposal-lines p {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .price-proposal-lines em {
    grid-column: auto;
    text-align: left;
  }

  .about-path-list article {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 0;
  }

  .about-path-list p {
    margin-top: 34px;
  }

  .contact-prompt-list article {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-prompt-list p {
    grid-column: 1;
  }
}

/* Services opens with the visual confidence shown later in the page. */
.services-page-hero {
  position: relative;
  min-height: 96svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 154px 5vw 56px;
  color: var(--paper-soft);
  background: var(--ink);
  border-bottom: 0;
  isolation: isolate;
}

.services-hero-media,
.services-hero-wash {
  position: absolute;
  inset: 0;
  margin: 0;
}

.services-hero-media {
  z-index: -3;
  overflow: hidden;
}

.services-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: servicesHeroDrift 16s ease-in-out infinite alternate;
}

.services-hero-wash {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(24, 20, 21, 0.72) 0%, rgba(24, 20, 21, 0.48) 42%, rgba(24, 20, 21, 0.05) 74%),
    linear-gradient(0deg, rgba(24, 20, 21, 0.42) 0%, transparent 44%);
}

.services-page-hero .section-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-inline: auto;
}

.services-hero-layout {
  display: block;
}

.services-hero-copy {
  max-width: 760px;
}

.services-hero-copy .section-kicker {
  color: var(--blush);
}

.services-hero-copy .page-title {
  max-width: 760px;
  font-size: clamp(5.1rem, 6.6vw, 7.1rem);
  line-height: 0.86;
}

.services-hero-copy .page-title em {
  color: #efc4ca;
  font-weight: 400;
}

.services-page-hero .section-lede {
  max-width: 650px;
  color: rgba(255, 250, 247, 0.88);
  font-size: 1.05rem;
}

.services-hero-types {
  max-width: 650px;
  margin: 36px 0 0;
  padding-top: 18px;
  color: rgba(255, 250, 247, 0.72);
  border-top: 1px solid rgba(255, 250, 247, 0.42);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.services-hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 250, 247, 0.64);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.services-hero-scroll span {
  font-size: 1rem;
  animation: servicesScrollCue 1.8s ease-in-out infinite;
}

.service-feature-web .service-feature-grid {
  grid-template-columns: minmax(360px, 0.78fr) minmax(480px, 1.22fr);
  gap: clamp(64px, 8vw, 128px);
  align-items: center;
}

.service-proof-collage {
  position: relative;
  width: 100%;
  max-width: 720px;
}

.service-proof-collage .service-proof-process {
  width: 78%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 42% center;
  border: 1px solid var(--line-dark);
}

.service-proof-collage > .service-proof-screen {
  position: absolute;
  z-index: 2;
  top: 44%;
  right: 0;
  width: 58%;
  overflow: hidden;
  background: var(--ink);
  border: 8px solid var(--paper-soft);
  box-shadow: 0 20px 50px rgba(40, 35, 36, 0.16);
  animation: serviceScreenFloat 5s ease-in-out infinite alternate;
}

.service-proof-collage > .service-proof-screen img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.service-proof-collage figcaption {
  margin-top: 38px;
}

@keyframes servicesHeroDrift {
  from { transform: scale(1.01); }
  to { transform: scale(1.055); }
}

@keyframes servicesScrollCue {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

@keyframes serviceScreenFloat {
  from { transform: translateY(0) rotate(-0.25deg); }
  to { transform: translateY(-8px) rotate(0.25deg); }
}

@media (max-width: 980px) {
  .service-feature-web .service-feature-grid {
    grid-template-columns: 1fr;
    gap: 72px;
  }

  .service-proof-collage {
    max-width: 760px;
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .services-page-hero {
    min-height: 94svh;
    padding: 140px 18px 34px;
  }

  .services-hero-media img {
    object-position: 65% center;
  }

  .services-hero-wash {
    background:
      linear-gradient(90deg, rgba(24, 20, 21, 0.76), rgba(24, 20, 21, 0.36)),
      linear-gradient(0deg, rgba(24, 20, 21, 0.68) 0%, rgba(24, 20, 21, 0.08) 68%);
  }

  .services-hero-copy .page-title {
    max-width: 360px;
    font-size: 4.25rem;
    line-height: 0.88;
  }

  .services-page-hero .section-lede {
    max-width: 350px;
    font-size: 0.96rem;
    line-height: 1.62;
  }

  .services-hero-types {
    max-width: 340px;
    margin-top: 28px;
    line-height: 1.7;
  }

  .services-hero-scroll {
    margin-top: 26px;
    font-size: 0.61rem;
  }

  .service-feature-web .service-feature-grid {
    gap: 58px;
  }

  .service-proof-collage .service-proof-process {
    width: 84%;
  }

  .service-proof-collage > .service-proof-screen {
    top: 42%;
    width: 64%;
    border-width: 5px;
  }

  .service-proof-collage figcaption {
    margin-top: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-hero-media img,
  .services-hero-scroll span,
  .service-proof-collage > .service-proof-screen {
    animation: none;
  }
}

@media (max-width: 340px) {
  .services-page-hero {
    min-height: 94svh;
    padding: 128px 18px 26px;
  }

  .services-hero-copy .page-title {
    font-size: 3.65rem;
  }

  .services-page-hero .section-lede {
    margin-top: 24px;
    font-size: 0.9rem;
    line-height: 1.52;
  }

  .services-hero-types {
    margin-top: 20px;
    padding-top: 14px;
    font-size: 0.58rem;
  }

  .services-hero-scroll {
    margin-top: 18px;
  }
}

/* The worktable is also the service map, not just decoration. */
.services-desk-notes {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.services-desk-note {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 176px;
  min-height: 132px;
  padding: 22px 20px 18px;
  color: var(--ink);
  background: #ecd1d5;
  box-shadow: 0 16px 38px rgba(32, 25, 26, 0.2);
  pointer-events: auto;
  transition: transform 420ms ease, box-shadow 420ms ease;
  animation: servicesDeskNoteIn 800ms ease both;
}

.services-desk-note::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 54px;
  height: 15px;
  background: rgba(255, 248, 240, 0.58);
  transform: translateX(-50%) rotate(-1deg);
}

.services-desk-note span {
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 0.95;
}

.services-desk-note small {
  padding-top: 20px;
  border-top: 1px solid rgba(40, 35, 36, 0.22);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.services-desk-note:hover {
  box-shadow: 0 22px 48px rgba(32, 25, 26, 0.26);
}

.services-desk-note-web {
  top: 19%;
  left: 53%;
  transform: rotate(-4deg);
  animation-delay: 650ms;
}

.services-desk-note-web:hover {
  transform: translateY(-9px) rotate(-2deg);
}

.services-desk-note-care {
  top: 48%;
  right: 18%;
  background: #c9cbbd;
  transform: rotate(3deg);
  animation-delay: 820ms;
}

#service-web,
#service-care,
#service-extra {
  scroll-margin-top: 88px;
}

.services-desk-note-care:hover {
  transform: translateY(-9px) rotate(1deg);
}

.services-desk-note-more {
  right: 24%;
  bottom: 8%;
  background: #f1e8df;
  transform: rotate(-2deg);
  animation-delay: 980ms;
}

.services-desk-note-more:hover {
  transform: translateY(-9px) rotate(0deg);
}

@keyframes servicesDeskNoteIn {
  from {
    opacity: 0;
    margin-top: 24px;
  }
  to {
    opacity: 1;
    margin-top: 0;
  }
}

@media (max-width: 1180px) {
  .services-desk-notes {
    display: none;
  }
}

@media (max-width: 680px) {
  .services-hero-media img {
    object-position: 58% center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-desk-note {
    animation: none;
  }
}

/* A project-neutral visual: from wireframe to a finished, personal website. */
.service-feature-promise {
  max-width: 680px;
  margin: 42px 0 0;
  padding: 24px 0 24px 28px;
  color: rgba(40, 35, 36, 0.72);
  border-left: 1px solid var(--rose);
  font-size: 0.95rem;
  line-height: 1.75;
}

.service-feature-sign {
  max-width: 520px;
  margin: 44px 0 0;
  color: var(--oxblood);
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.05;
}

.service-blueprint {
  width: 100%;
  max-width: 760px;
  margin: 0;
  justify-self: end;
}

.service-blueprint-browser {
  overflow: hidden;
  background: #f8f3ee;
  border: 1px solid rgba(40, 35, 36, 0.42);
  box-shadow: 20px 22px 0 rgba(224, 185, 191, 0.42);
}

.service-blueprint-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(40, 35, 36, 0.22);
}

.service-blueprint-bar > span {
  display: flex;
  gap: 7px;
}

.service-blueprint-bar i {
  width: 6px;
  height: 6px;
  background: var(--rose);
  border-radius: 50%;
}

.service-blueprint-bar i:nth-child(2) {
  background: var(--blush);
}

.service-blueprint-bar i:nth-child(3) {
  background: var(--sage);
}

.service-blueprint-bar small {
  grid-column: 2;
  color: rgba(40, 35, 36, 0.5);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.service-blueprint-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #fbf8f4;
}

.service-blueprint-label {
  position: absolute;
  z-index: 5;
  top: 22px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-blueprint-label-plan {
  left: 28px;
  color: rgba(40, 35, 36, 0.52);
}

.service-blueprint-label-design {
  right: 28px;
  color: var(--oxblood);
}

.service-blueprint-canvas {
  position: absolute;
  inset: 0;
}

.service-blueprint-canvas span {
  position: absolute;
  display: block;
}

.blueprint-nav {
  top: 58px;
  right: 30px;
  left: 30px;
  height: 18px;
}

.blueprint-title {
  top: 112px;
  left: 46px;
  width: 35%;
  height: 58px;
}

.blueprint-copy {
  top: 194px;
  left: 46px;
  width: 31%;
  height: 44px;
}

.blueprint-button {
  top: 260px;
  left: 46px;
  width: 22%;
  height: 30px;
}

.blueprint-image {
  top: 106px;
  right: 44px;
  width: 43%;
  height: 184px;
}

.blueprint-card {
  bottom: 34px;
  width: 22%;
  height: 68px;
}

.blueprint-card-one {
  left: 46px;
}

.blueprint-card-two {
  left: 30%;
}

.service-blueprint-plan span {
  border: 1px solid rgba(40, 35, 36, 0.32);
}

.service-blueprint-plan .blueprint-title,
.service-blueprint-plan .blueprint-copy {
  border: 0;
  background: repeating-linear-gradient(to bottom, rgba(40, 35, 36, 0.32) 0 2px, transparent 2px 13px);
}

.service-blueprint-plan .blueprint-title {
  background: repeating-linear-gradient(to bottom, rgba(40, 35, 36, 0.46) 0 3px, transparent 3px 15px);
}

.service-blueprint-design {
  z-index: 2;
  background: #f5e2e5;
  clip-path: inset(0 0 0 52%);
  animation: blueprintReveal 6.5s ease-in-out infinite alternate;
}

.service-blueprint-design .blueprint-nav {
  background: var(--ink);
}

.service-blueprint-design .blueprint-title {
  background: repeating-linear-gradient(to bottom, var(--ink) 0 5px, transparent 5px 16px);
}

.service-blueprint-design .blueprint-copy {
  background: repeating-linear-gradient(to bottom, rgba(40, 35, 36, 0.48) 0 2px, transparent 2px 13px);
}

.service-blueprint-design .blueprint-button {
  background: var(--oxblood);
}

.service-blueprint-design .blueprint-image {
  background: #d8b4ba;
  border: 14px solid #fffaf7;
  box-shadow: inset 0 0 0 1px rgba(40, 35, 36, 0.14);
}

.service-blueprint-design .blueprint-card-one {
  background: #c8cbbd;
}

.service-blueprint-design .blueprint-card-two {
  background: #fffaf7;
  border: 1px solid rgba(40, 35, 36, 0.18);
}

.service-blueprint-reveal {
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  left: 52%;
  width: 1px;
  background: var(--oxblood);
  animation: blueprintRevealLine 6.5s ease-in-out infinite alternate;
}

.service-blueprint-reveal::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 13px;
  background: #f5e2e5;
  border: 1px solid var(--oxblood);
  transform: translate(-50%, -50%) rotate(45deg);
}

.service-blueprint figcaption {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
}

.service-blueprint figcaption span,
.service-blueprint figcaption strong {
  font-size: 0.63rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-blueprint figcaption span {
  color: rgba(40, 35, 36, 0.52);
}

.service-blueprint figcaption strong {
  color: var(--oxblood);
  font-weight: 700;
  text-align: right;
}

@keyframes blueprintReveal {
  from { clip-path: inset(0 0 0 44%); }
  to { clip-path: inset(0 0 0 62%); }
}

@keyframes blueprintRevealLine {
  from { left: 44%; }
  to { left: 62%; }
}

@media (max-width: 980px) {
  .service-blueprint {
    max-width: 760px;
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .service-feature-promise {
    margin-top: 34px;
    padding: 20px 0 20px 22px;
  }

  .service-feature-sign {
    margin-top: 34px;
    font-size: 1.75rem;
  }

  .service-blueprint-browser {
    box-shadow: 10px 12px 0 rgba(224, 185, 191, 0.42);
  }

  .service-blueprint-bar {
    height: 38px;
    padding-inline: 12px;
  }

  .service-blueprint-stage {
    aspect-ratio: 4 / 3;
  }

  .service-blueprint-label {
    top: 14px;
    font-size: 0.5rem;
  }

  .service-blueprint-label-plan {
    left: 14px;
  }

  .service-blueprint-label-design {
    right: 14px;
  }

  .blueprint-nav {
    top: 44px;
    right: 16px;
    left: 16px;
    height: 12px;
  }

  .blueprint-title {
    top: 78px;
    left: 24px;
    height: 44px;
  }

  .blueprint-copy {
    top: 136px;
    left: 24px;
    height: 34px;
  }

  .blueprint-button {
    top: 184px;
    left: 24px;
    height: 24px;
  }

  .blueprint-image {
    top: 74px;
    right: 22px;
    height: 136px;
  }

  .blueprint-card {
    bottom: 20px;
    height: 46px;
  }

  .blueprint-card-one {
    left: 24px;
  }

  .service-blueprint figcaption {
    display: block;
  }

  .service-blueprint figcaption strong {
    display: block;
    margin-top: 8px;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-blueprint-design,
  .service-blueprint-reveal {
    animation: none;
  }
}

/* ===========================================================================
   v3 — Navegación, accesibilidad y formulario de contacto
   =========================================================================== */

/* --- Salto al contenido --- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 120;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper-soft);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: top 180ms ease;
}

.skip-link:focus {
  top: 16px;
}

body.admin-bar .skip-link:focus {
  top: 48px;
}

/* --- Foco visible coherente en todo el sitio --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--oxblood);
  outline-offset: 3px;
}

/* --- Página actual en el menú --- */
.main-nav a[aria-current="page"] {
  color: var(--oxblood);
}

.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* --- CTA de la cabecera --- */
.main-nav .nav-cta {
  background: var(--ink);
  color: var(--paper-soft);
  border-color: var(--ink);
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.main-nav .nav-cta:hover,
.main-nav .nav-cta:focus-visible {
  background: var(--oxblood);
  border-color: var(--oxblood);
  color: var(--paper-soft);
}

/* --- Botón del menú móvil --- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--line-dark);
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 20px;
  height: 12px;
  flex: 0 0 auto;
}

.nav-toggle-bars i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 240ms ease, opacity 200ms ease;
}

.nav-toggle-bars i:first-child {
  top: 1px;
}

.nav-toggle-bars i:last-child {
  bottom: 1px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* ===========================================================================
   Menú desplegable en pantallas pequeñas
   =========================================================================== */
@media (max-width: 980px) {
  .site-header {
    flex-wrap: nowrap;
    gap: 14px;
  }

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

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    width: auto;
    max-height: calc(100svh - 110px);
    padding: 4px 4vw 26px;
    overflow-x: visible;
    overflow-y: auto;
    background: var(--paper-soft);
    border-bottom: 1px solid var(--line-dark);
    box-shadow: 0 30px 44px -34px rgba(40, 35, 36, 0.55);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 220ms ease, transform 260ms ease, visibility 0s linear 260ms;
  }

  body.nav-open .main-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 220ms ease, transform 260ms ease, visibility 0s;
  }

  .main-nav a {
    display: flex;
    align-items: center;
    min-height: 54px;
    border-bottom: 1px solid var(--line-dark);
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav .nav-cta {
    display: flex;
    justify-content: center;
    margin-top: 18px;
    border: 1px solid var(--ink);
    min-height: 52px;
  }
}

@media (max-width: 340px) {
  .main-nav {
    gap: 0;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }
}

/* ===========================================================================
   Formulario de contacto
   =========================================================================== */
.contact-form-section {
  padding: 132px 5vw 148px;
  background: var(--paper);
  border-top: 1px solid var(--line-dark);
}

.contact-form-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(40px, 6vw, 92px);
  align-items: start;
}

.contact-form-aside h2 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 0.94;
}

.contact-form-aside > p {
  margin: 0;
  max-width: 40ch;
  color: var(--charcoal);
}

.contact-form-aside a {
  border-bottom: 1px solid currentColor;
}

.contact-form-notes {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-dark);
}

.contact-form-notes li {
  position: relative;
  padding: 15px 0 15px 26px;
  border-bottom: 1px solid var(--line-dark);
  font-size: 0.93rem;
  color: var(--charcoal);
}

.contact-form-notes li::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--rose);
}

/* --- Campos --- */
.contact-form {
  display: grid;
  gap: 26px;
}

.contact-field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.contact-field {
  display: grid;
  gap: 9px;
  margin: 0;
}

.contact-field label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.contact-field label span {
  color: var(--rose);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--line-dark);
  border-radius: 0;
  background: var(--paper-soft);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 200ms ease, background 200ms ease;
}

.contact-field textarea {
  resize: vertical;
  min-height: 168px;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(68, 57, 59, 0.55);
}

.contact-field input:hover,
.contact-field select:hover,
.contact-field textarea:hover {
  border-color: var(--charcoal);
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: var(--oxblood);
  outline-offset: 1px;
}

.contact-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--charcoal) 50%), linear-gradient(135deg, var(--charcoal) 50%, transparent 50%);
  background-position: calc(100% - 20px) 24px, calc(100% - 14px) 24px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}

/* --- Consentimiento --- */
.contact-consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: var(--charcoal);
}

.contact-consent input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--oxblood);
}

.contact-consent a {
  border-bottom: 1px solid currentColor;
}

/* --- Trampa para bots --- */
.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --- Acciones --- */
.contact-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  margin-top: 6px;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
}

.contact-form-actions button {
  font-family: var(--sans);
  cursor: pointer;
}

.contact-form-actions small {
  font-size: 0.82rem;
  color: var(--charcoal);
}

.contact-form-actions small span {
  color: var(--rose);
}

/* --- Estados --- */
.contact-form-error,
.contact-form-success {
  padding: 26px 28px;
  border: 1px solid var(--oxblood);
  background: var(--paper-soft);
}

.contact-form-error p,
.contact-form-error ul {
  margin: 0;
  font-size: 0.94rem;
}

.contact-form-error ul {
  margin-top: 12px;
  padding-left: 20px;
  color: var(--charcoal);
}

.contact-form-error li {
  margin-top: 5px;
}

.contact-form-success {
  border-color: var(--olive);
}

.contact-form-success-kicker {
  margin: 0 0 14px;
  color: var(--olive);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-form-success h3 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 400;
  line-height: 1;
}

.contact-form-success p {
  margin: 0;
  max-width: 52ch;
  color: var(--charcoal);
}

.contact-form-success a {
  border-bottom: 1px solid currentColor;
}

.contact-form-error:focus,
.contact-form-success:focus {
  outline: 2px solid var(--oxblood);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .contact-form-section {
    padding: 92px 18px 100px;
  }

  .contact-form-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .contact-field-row {
    grid-template-columns: 1fr;
  }

  .contact-form-actions button {
    width: 100%;
  }
}

/* --- Respeta la preferencia de movimiento reducido --- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ===========================================================================
   Servicios · Qué incluye cada proyecto
   =========================================================================== */
.service-includes {
  padding: 148px 5vw 140px;
  background: var(--paper);
  border-top: 1px solid var(--line-dark);
}

.service-includes-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  gap: clamp(30px, 5vw, 78px);
  align-items: end;
}

.service-includes-heading .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.service-includes-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.9rem, 5.4vw, 5rem);
  font-weight: 400;
  line-height: 0.92;
}

.service-includes-heading h2 em {
  font-style: italic;
  color: var(--oxblood);
}

.service-includes-heading > p:last-child {
  margin: 0;
  max-width: 46ch;
  color: var(--charcoal);
}

.include-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 76px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.include-card {
  display: flex;
  flex-direction: column;
  padding: 40px 34px 42px;
  background: var(--paper-soft);
}

.include-card-feature {
  background: var(--ink);
  color: var(--paper-soft);
}

.include-card-head {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line-dark);
}

.include-card-feature .include-card-head {
  border-bottom-color: var(--line-light);
}

.include-card-tag {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 11px;
  background: var(--rose);
  color: var(--ink);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.include-card-head h3 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 2.35rem;
  font-weight: 400;
  line-height: 1;
}

.include-card-head p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--charcoal);
}

.include-card-feature .include-card-head p {
  color: rgba(255, 250, 247, 0.78);
}

.include-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.include-list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--charcoal);
}

.include-card-feature .include-list li {
  color: rgba(255, 250, 247, 0.86);
}

.include-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 11px;
  height: 6px;
  border-left: 1.5px solid var(--rose);
  border-bottom: 1.5px solid var(--rose);
  transform: rotate(-45deg);
}

.include-list .include-inherits {
  font-weight: 600;
  color: var(--ink);
}

.include-list .include-inherits::before {
  width: 11px;
  height: 11px;
  top: 6px;
  border: 0;
  background: var(--rose);
  transform: none;
}

.include-note {
  margin: 34px 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.9rem;
  color: var(--charcoal);
}

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

  .include-card-feature {
    grid-column: 1 / -1;
  }
}

@media (max-width: 780px) {
  .service-includes {
    padding: 96px 18px 92px;
  }

  .service-includes-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }

  .include-grid {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .include-card-feature {
    grid-column: auto;
  }

  .include-card {
    padding: 32px 24px 34px;
  }
}

/* ===========================================================================
   Servicios · Proceso con plazos
   =========================================================================== */
.service-timeline {
  padding: 152px 5vw 148px;
  background: var(--paper-soft);
  border-top: 1px solid var(--line-dark);
}

.service-timeline-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.6fr);
  gap: clamp(30px, 5vw, 78px);
  align-items: end;
}

.service-timeline-heading .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.service-timeline-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.9rem, 5.4vw, 5rem);
  font-weight: 400;
  line-height: 0.92;
}

.service-timeline-heading h2 em {
  font-style: italic;
  color: var(--oxblood);
}

.service-timeline-heading > p:last-child {
  margin: 0;
  max-width: 46ch;
  color: var(--charcoal);
}

.timeline-track {
  position: relative;
  margin: 82px 0 0;
  padding: 0;
  list-style: none;
}

.timeline-track::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 46px;
  left: 27px;
  width: 1px;
  background: var(--line-dark);
}

.timeline-step {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: 52px;
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--ink);
  color: var(--paper-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.timeline-body {
  display: grid;
  gap: 10px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line-dark);
}

.timeline-step:last-child .timeline-body {
  padding-bottom: 0;
  border-bottom: 0;
}

.timeline-duration {
  margin: 0;
  color: var(--rose);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.timeline-body h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 400;
  line-height: 1;
}

.timeline-body > p:not(.timeline-duration):not(.timeline-yours) {
  margin: 0;
  max-width: 62ch;
  color: var(--charcoal);
}

.timeline-yours {
  margin: 6px 0 0;
  font-size: 0.9rem;
  color: var(--charcoal);
}

.timeline-yours span {
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.timeline-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 72px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.timeline-summary > div {
  padding: 34px 32px 38px;
  background: var(--paper);
}

.timeline-summary-label {
  margin: 0 0 12px;
  color: var(--rose);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.timeline-summary-value {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 1;
}

.timeline-summary > div > p:last-child {
  margin: 0;
  max-width: 42ch;
  font-size: 0.93rem;
  color: var(--charcoal);
}

@media (max-width: 780px) {
  .service-timeline {
    padding: 96px 18px 92px;
  }

  .service-timeline-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }

  .timeline-track {
    margin-top: 52px;
  }

  .timeline-track::before {
    left: 21px;
  }

  .timeline-step {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 20px;
    padding-bottom: 40px;
  }

  .timeline-marker {
    width: 44px;
    height: 44px;
    font-size: 0.7rem;
  }

  .timeline-body {
    padding-bottom: 34px;
  }

  .timeline-summary {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .timeline-summary > div {
    padding: 28px 24px 30px;
  }
}

/* ===========================================================================
   Servicios · Proyectos tipo
   =========================================================================== */
.project-types {
  margin-top: 84px;
  padding-top: 62px;
  border-top: 1px solid var(--line-dark);
}

.project-types-intro {
  margin: 0;
  max-width: 74ch;
  font-size: 1.06rem;
  line-height: 1.65;
  color: var(--charcoal);
}

.project-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 52px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.project-type-card {
  display: flex;
  flex-direction: column;
  padding: 38px 32px 40px;
  background: var(--paper-soft);
  transition: background 280ms ease;
}

.project-type-card:hover {
  background: var(--paper);
}

.project-type-index {
  margin: 0 0 20px;
  color: var(--rose);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.project-type-card h3 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 400;
  line-height: 1.02;
}

.project-type-lede {
  margin: 0 0 28px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--charcoal);
}

.project-type-meta {
  margin: auto 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}

.project-type-meta > div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-dark);
}

.project-type-meta > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.project-type-meta dt {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.project-type-meta dd {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.5;
}

.project-types-note {
  margin: 30px 0 0;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--charcoal);
}

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

  .project-type-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 780px) {
  .project-types {
    margin-top: 56px;
    padding-top: 44px;
  }

  .project-type-grid {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .project-type-card:last-child {
    grid-column: auto;
  }

  .project-type-card {
    padding: 30px 24px 32px;
  }
}

/* Aparición suave de las secciones nuevas al entrar en pantalla */
@supports (animation-timeline: view()) {
  .include-card,
  .timeline-step,
  .project-type-card,
  .timeline-summary > div {
    animation: revealUp linear both;
    animation-timeline: view();
    animation-range: entry 6% cover 26%;
  }
}

/* ===========================================================================
   Portfolio · Proyectos destacados
   =========================================================================== */
.case-study {
  padding: 150px 5vw 140px;
  background: var(--paper-soft);
  border-top: 1px solid var(--line-dark);
}

.case-study-studio {
  background: var(--paper);
}

.case-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: end;
  padding-bottom: 46px;
  border-bottom: 1px solid var(--line-dark);
}

.case-index {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--rose);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.case-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.6rem, 8vw, 7.5rem);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: -0.01em;
}

.case-head h2 em {
  font-style: italic;
  color: var(--oxblood);
}

.case-lede {
  margin: 0;
  max-width: 46ch;
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--charcoal);
}

.case-body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
  margin-top: 66px;
}

.case-body-studio {
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
}

.case-visual-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 22px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.case-notes {
  display: grid;
  gap: 0;
}

.case-notes article {
  padding: 26px 0 28px;
  border-bottom: 1px solid var(--line-dark);
}

.case-notes article:first-child {
  padding-top: 0;
}

.case-notes article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.case-notes h3 {
  margin: 0 0 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--oxblood);
}

.case-notes p {
  margin: 0;
  max-width: 58ch;
  line-height: 1.68;
  color: var(--charcoal);
}

.case-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 40px;
  margin-top: 62px;
  padding-top: 34px;
  border-top: 1px solid var(--line-dark);
}

.case-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 52px;
  margin: 0;
}

.case-facts > div {
  display: grid;
  gap: 6px;
}

.case-facts dt {
  margin: 0;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose);
}

.case-facts dd {
  margin: 0;
  font-size: 0.95rem;
}

/* --- Espécimen del sistema visual --- */
.studio-specimen {
  margin: 0;
  padding: 34px 32px 30px;
  background: var(--paper-soft);
  border: 1px solid var(--line-dark);
}

.studio-specimen-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-dark);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.studio-specimen-head strong {
  color: var(--ink);
}

.specimen-type {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-dark);
}

.specimen-serif,
.specimen-sans {
  margin: 0;
  min-width: 78px;
  line-height: 0.8;
  color: var(--ink);
}

.specimen-serif {
  font-family: var(--serif);
  font-size: 4.2rem;
}

.specimen-sans {
  font-family: var(--sans);
  font-size: 3.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.specimen-label {
  margin: 0 0 5px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose);
}

.specimen-name {
  margin: 0;
  font-size: 1.02rem;
}

.specimen-palette {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 24px 0 20px;
}

.specimen-swatch {
  display: flex;
  align-items: flex-end;
  aspect-ratio: 1 / 1.25;
  padding: 8px;
  border: 1px solid var(--line-dark);
}

.specimen-swatch small {
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.specimen-paper { background: var(--paper); }
.specimen-paper small { color: var(--charcoal); }
.specimen-ink { background: var(--ink); }
.specimen-ink small { color: var(--paper-soft); }
.specimen-rose { background: var(--rose); }
.specimen-rose small { color: var(--ink); }
.specimen-oxblood { background: var(--oxblood); }
.specimen-oxblood small { color: var(--paper-soft); }
.specimen-olive { background: var(--olive); }
.specimen-olive small { color: var(--paper-soft); }

.specimen-note {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.86rem;
  font-style: italic;
  color: var(--charcoal);
}

@media (max-width: 1080px) {
  .case-head,
  .case-body,
  .case-body-studio {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .case-head {
    gap: 22px;
  }

  .case-body-studio .studio-specimen {
    order: -1;
  }
}

@media (max-width: 680px) {
  .case-study {
    padding: 92px 18px 88px;
  }

  .case-body {
    margin-top: 44px;
  }

  .case-foot {
    margin-top: 44px;
  }

  .studio-specimen {
    padding: 26px 22px 24px;
  }

  .specimen-serif {
    font-size: 3.2rem;
  }

  .specimen-sans {
    font-size: 2.4rem;
  }

  .specimen-palette {
    gap: 6px;
  }
}

/* ===========================================================================
   Portfolio · Proyecto de tamaño medio
   =========================================================================== */
.case-medium {
  padding: 128px 5vw 124px;
  background: var(--paper-soft);
  border-top: 1px solid var(--line-dark);
}

.case-medium-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(36px, 5vw, 82px);
  align-items: center;
}

.case-medium-copy h2 {
  margin: 18px 0 22px;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 400;
  line-height: 0.92;
}

.case-medium-copy h2 em {
  font-style: italic;
  color: var(--oxblood);
}

.case-medium-copy .case-lede {
  margin-bottom: 20px;
}

.case-medium-copy > p:not(.case-lede):not(.case-index) {
  margin: 0 0 26px;
  max-width: 50ch;
  color: var(--charcoal);
  line-height: 1.7;
}

.case-medium-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.case-medium-photo {
  margin: 0;
}

.case-medium-photo img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.case-medium-photo:last-child {
  margin-top: 42px;
}

.case-medium-photo figcaption {
  margin-top: 12px;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--charcoal);
}

@media (max-width: 980px) {
  .case-medium-grid {
    grid-template-columns: 1fr;
  }

  .case-medium-photo:last-child {
    margin-top: 0;
  }

  .case-medium-photo img {
    height: 260px;
  }
}

@media (max-width: 680px) {
  .case-medium {
    padding: 88px 18px 84px;
  }

  .case-medium-media {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .case-medium-photo img {
    height: 300px;
  }
}

/* ===========================================================================
   Portfolio · Otros proyectos
   =========================================================================== */
.work-list {
  padding: 138px 5vw 132px;
  background: var(--paper);
  border-top: 1px solid var(--line-dark);
}

.work-list-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 400;
  line-height: 0.94;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 44px);
  margin-top: 58px;
}

.work-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-soft);
  border: 1px solid var(--line-dark);
  transition: transform 320ms ease, border-color 320ms ease;
}

.work-card:hover {
  transform: translateY(-4px);
  border-color: var(--charcoal);
}

.work-card-media {
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line-dark);
}

.work-card-media img {
  width: 100%;
  height: 268px;
  object-fit: cover;
  object-position: top center;
  transition: transform 700ms ease;
}

.work-card:hover .work-card-media img {
  transform: scale(1.03);
}

.work-card-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 26px 26px;
}

.work-card-tag {
  margin: 0 0 14px;
  color: var(--rose);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.work-card-copy h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 2.15rem;
  font-weight: 400;
  line-height: 1;
}

.work-card-copy > p {
  margin: 0 0 22px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--charcoal);
}

.work-card-link {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.work-card-link i {
  display: inline-block;
  font-style: normal;
  transition: transform 260ms ease;
}

.work-card:hover .work-card-link i {
  transform: translate(3px, -3px);
}

.work-wip {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 20px;
  margin: 44px 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--line-dark);
}

.work-wip-status {
  padding: 6px 12px;
  border: 1px solid var(--olive);
  color: var(--olive);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.work-wip-text {
  flex: 1 1 320px;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--charcoal);
}

.work-wip-text strong {
  color: var(--ink);
}

@media (max-width: 780px) {
  .work-list {
    padding: 92px 18px 88px;
  }

  .work-grid {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .work-card-media img {
    height: 220px;
  }
}

@supports (animation-timeline: view()) {
  .case-notes article,
  .case-visual,
  .studio-specimen,
  .work-card,
  .case-medium-photo {
    animation: revealUp linear both;
    animation-timeline: view();
    animation-range: entry 6% cover 26%;
  }
}


/* CTA intermedio tras el proceso */
.timeline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: 56px;
  padding-top: 34px;
  border-top: 1px solid var(--line-dark);
}

.timeline-cta p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.05;
}

@media (max-width: 680px) {
  .timeline-cta .button {
    width: 100%;
  }
}


/* Fila de un solo campo en el formulario */
.contact-field-row-single {
  grid-template-columns: 1fr;
}

/* Texto solo para lectores de pantalla */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Visual pauses inside diary entries */
.diary-name-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 46px 0 58px;
  padding: 28px 0;
  border-block: 1px solid rgba(128, 70, 78, 0.22);
}

.diary-name-path::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(128, 70, 78, 0.2);
}

.diary-name-path span {
  position: relative;
  z-index: 1;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 12px;
  border-right: 1px solid rgba(128, 70, 78, 0.2);
  background: var(--paper-soft);
  color: rgba(40, 35, 36, 0.48);
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1;
  text-align: center;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.diary-name-path span:last-child {
  border-right: 0;
  background: #f1dadd;
  color: var(--oxblood);
  text-decoration: none;
}

.diary-process-visual {
  width: calc(100% + 120px);
  margin: 72px 0 82px -60px;
}

.diary-process-visual-image {
  overflow: hidden;
  background: #efe6e2;
}

.diary-process-visual img {
  width: 100%;
  aspect-ratio: 3 / 2;
  display: block;
  object-fit: cover;
  transform-origin: center;
  animation: diaryProcessDrift 8s ease-in-out infinite alternate;
}

.diary-process-visual figcaption {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 20px 0 0;
}

.diary-process-visual figcaption span {
  color: var(--rose);
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
}

.diary-process-caption {
  display: block;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.08;
}

.diary-browser-moment {
  position: relative;
  overflow: hidden;
  margin: 66px 0 82px;
  border: 1px solid rgba(40, 35, 36, 0.22);
  background: #2d292a;
  color: var(--paper-soft);
}

.diary-browser-bar {
  min-height: 54px;
  display: flex;
  gap: 8px;
  align-items: flex-end;
  padding: 12px 18px 0;
  border-bottom: 1px solid rgba(255, 250, 247, 0.16);
}

.diary-browser-dot {
  width: 7px;
  height: 7px;
  align-self: center;
  background: var(--rose);
  border-radius: 50%;
}

.diary-browser-tab {
  min-width: 0;
  padding: 10px 13px 11px;
  border: 1px solid rgba(255, 250, 247, 0.12);
  border-bottom: 0;
  color: rgba(255, 250, 247, 0.58);
  font-size: 0.62rem;
  line-height: 1;
  white-space: nowrap;
}

.diary-browser-tab.is-active {
  background: #f1dadd;
  color: var(--oxblood);
  animation: diaryTabNudge 3.8s ease-in-out infinite alternate;
}

.diary-browser-screen {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px 48px;
}

.diary-browser-screen strong {
  display: block;
  font-family: var(--serif);
  font-size: 3.35rem;
  font-weight: 400;
  line-height: 0.95;
}

.diary-browser-screen span {
  margin-top: 16px;
  color: rgba(255, 250, 247, 0.58);
  font-size: 0.68rem;
  text-transform: uppercase;
}

@keyframes diaryProcessDrift {
  from { transform: scale(1); }
  to { transform: scale(1.018); }
}

@keyframes diaryTabNudge {
  from { transform: translateY(0); }
  to { transform: translateY(-3px); }
}

@media (max-width: 680px) {
  .diary-name-path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
  }

  .diary-name-path::before {
    display: none;
  }

  .diary-name-path span {
    min-height: 88px;
    border-bottom: 1px solid rgba(128, 70, 78, 0.2);
    font-size: 1.35rem;
  }

  .diary-name-path span:nth-child(2) {
    border-right: 0;
  }

  .diary-name-path span:nth-child(n+3) {
    border-bottom: 0;
  }

  .diary-process-visual {
    width: 100%;
    margin: 58px 0 66px;
  }

  .diary-process-visual figcaption {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .diary-process-caption {
    font-size: 1.55rem;
  }

  .diary-browser-bar {
    overflow: hidden;
    padding-inline: 12px;
  }

  .diary-browser-tab {
    flex: 0 0 auto;
  }

  .diary-browser-screen {
    min-height: 210px;
    padding: 38px 28px;
  }

  .diary-browser-screen strong {
    font-size: 2.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .diary-process-visual img,
  .diary-browser-tab.is-active {
    animation: none;
  }
}

/* Diary entry: choosing the right build method */
.diary-tool-choice {
  width: calc(100% + 120px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
  margin: 70px 0 82px -60px;
  border-block: 1px solid rgba(128, 70, 78, 0.24);
  background: #f7f1ee;
}

.diary-tool-side {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 38px 40px;
}

.diary-tool-side.is-custom {
  background: #f1dadd;
}

.diary-tool-copy span {
  display: block;
  color: var(--rose);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}

.diary-tool-side strong {
  max-width: 250px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 2.35rem;
  font-weight: 400;
  line-height: 0.98;
}

.diary-tool-choice-axis {
  display: flex;
  align-items: center;
  justify-content: center;
  border-inline: 1px solid rgba(128, 70, 78, 0.18);
  color: var(--oxblood);
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.diary-tool-modules {
  width: 148px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.diary-tool-modules i {
  height: 35px;
  border: 1px solid rgba(40, 35, 36, 0.28);
  background: #fffaf7;
}

.diary-tool-modules i:nth-child(2),
.diary-tool-modules i:nth-child(5) {
  background: #d8b2b7;
}

.diary-tool-modules i:nth-child(3) {
  grid-row: span 2;
  height: auto;
  background: #7d8a75;
  animation: diaryModuleShift 4.6s ease-in-out infinite alternate;
}

.diary-tool-drawing {
  position: relative;
  width: 158px;
  height: 86px;
  border: 1px solid rgba(40, 35, 36, 0.3);
}

.diary-tool-drawing::before,
.diary-tool-drawing::after {
  content: "";
  position: absolute;
  background: rgba(128, 70, 78, 0.42);
}

.diary-tool-drawing::before {
  top: 18px;
  right: 18px;
  bottom: 18px;
  left: 18px;
  border: 1px solid rgba(128, 70, 78, 0.42);
  background: transparent;
}

.diary-tool-drawing::after {
  top: 50%;
  left: -12px;
  width: 182px;
  height: 1px;
  transform: rotate(-12deg);
  animation: diaryDrawingLine 5.2s ease-in-out infinite alternate;
}

.diary-decision-question {
  width: calc(100% + 120px);
  margin: 76px 0 86px -60px;
  padding: 54px 60px 58px;
  background: var(--oxblood);
  color: var(--paper-soft);
}

.diary-decision-question span {
  display: block;
  color: var(--blush);
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
}

.diary-decision-question strong {
  max-width: 700px;
  display: block;
  margin-top: 24px;
  font-family: var(--serif);
  font-size: 3.45rem;
  font-weight: 400;
  line-height: 0.98;
}

@keyframes diaryModuleShift {
  from { transform: translateY(0); }
  to { transform: translateY(8px); }
}

@keyframes diaryDrawingLine {
  from { transform: rotate(-12deg) translateX(0); }
  to { transform: rotate(-12deg) translateX(8px); }
}

@media (max-width: 680px) {
  .diary-tool-choice {
    width: 100%;
    grid-template-columns: 1fr;
    margin: 58px 0 68px;
  }

  .diary-tool-side {
    min-height: 270px;
    padding: 30px 28px;
  }

  .diary-tool-side strong {
    font-size: 2.05rem;
  }

  .diary-tool-choice-axis {
    min-height: 46px;
    border-block: 1px solid rgba(128, 70, 78, 0.18);
    border-inline: 0;
    writing-mode: horizontal-tb;
    transform: none;
  }

  .diary-decision-question {
    width: 100%;
    margin: 62px 0 72px;
    padding: 42px 28px 46px;
  }

  .diary-decision-question strong {
    font-size: 2.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .diary-tool-modules i:nth-child(3),
  .diary-tool-drawing::after {
    animation: none;
  }
}
