/* =========================================================
   Ibrahim — Independent Designer & Developer
   A hand-built, editorial portfolio in HTML & CSS
   ========================================================= */

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/instrument-serif-regular.woff2") format("woff2");
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/instrument-serif-italic.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("assets/fonts/jetbrains-mono.woff2") format("woff2");
}

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

:root {
  --paper: #f2efe6;
  --paper-warm: #e8e3d7;
  --paper-card: #faf8f1;
  --ink: #141412;
  --ink-soft: #24231f;
  --muted: #5f5b52;
  --muted-dark: #a7a399;
  --line: rgba(20, 20, 18, 0.14);
  --line-strong: rgba(20, 20, 18, 0.24);
  --line-light: rgba(242, 239, 230, 0.15);
  --accent: #ff5b36;
  --accent-ink: #c83912;
  --accent-deep: #e84620;
  --sage: #dadccb;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --page-pad: clamp(20px, 4.4vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 24px;
  --section-space: clamp(96px, 12vw, 176px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body,
button,
input,
a {
  font-family: var(--sans);
}

::selection {
  background: var(--accent);
  color: var(--ink);
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

p,
h1,
h2,
h3,
blockquote,
figure,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

em {
  font-style: italic;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transform: translateY(-150%);
  transition: transform 0.25s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

.container {
  width: min(calc(100% - (var(--page-pad) * 2)), 1360px);
  margin-inline: auto;
}

.section {
  padding-block: var(--section-space);
}

/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(242, 239, 230, 0.82);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.nav-toggle:checked ~ .site-header {
  background: var(--paper);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1;
  letter-spacing: -0.06em;
  transition: transform 0.4s var(--ease), background 0.3s ease;
}

.brand-mark span {
  color: var(--accent);
}

.brand:hover .brand-mark {
  transform: rotate(-7deg);
  background: var(--accent);
  color: var(--ink);
}

.brand:hover .brand-mark span {
  color: var(--ink);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-text strong {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.brand-text small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 400;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.7vw, 38px);
  margin-left: auto;
  margin-right: clamp(10px, 2vw, 32px);
}

.primary-nav a {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 5px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.25s ease;
}

.primary-nav a span {
  margin-top: 1px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  transition: color 0.25s ease;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.primary-nav a:hover {
  color: var(--ink);
}

.primary-nav a:hover span {
  color: var(--accent-ink);
}

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

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  padding: 12px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.header-cta span {
  font-size: 13px;
  color: var(--accent-ink);
  transition: transform 0.3s var(--ease), color 0.3s ease;
}

.header-cta:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.header-cta:hover span {
  color: var(--accent);
  transform: translate(2px, -2px);
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  clip-path: inset(50%);
}

.nav-toggle-label {
  position: relative;
  z-index: 120;
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.25s ease;
}

.nav-toggle-label:hover {
  background: rgba(20, 20, 18, 0.06);
}

.nav-bar {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 999px;
  transition: transform 0.3s var(--ease);
}

.nav-toggle:checked ~ .site-header .nav-bar:nth-last-of-type(2) {
  transform: translateY(3.25px) rotate(45deg);
}

.nav-toggle:checked ~ .site-header .nav-bar:last-of-type {
  transform: translateY(-3.25px) rotate(-45deg);
}

.nav-toggle:focus-visible ~ .site-header .nav-toggle-label {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: flex-end;
  padding: 112px var(--page-pad) 40px;
  background: var(--paper);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.45s var(--ease);
}

.nav-toggle:checked ~ .mobile-nav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav-inner {
  width: 100%;
  border-top: 1px solid var(--line);
}

.mobile-nav-inner > a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(2.7rem, 11vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.mobile-nav-inner > a span {
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.mobile-nav-inner .mobile-nav-mail {
  margin-top: 26px;
  padding: 0;
  border: 0;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mobile-nav-mail span {
  margin-left: auto;
}

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */

.hero {
  position: relative;
  padding-top: clamp(126px, 13vw, 172px);
  padding-bottom: 42px;
  overflow: clip;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 40px;
  right: -12vw;
  width: min(58vw, 760px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 91, 54, 0.15) 0%, rgba(255, 91, 54, 0) 68%);
  filter: blur(18px);
  pointer-events: none;
}

.hero-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(40px, 5vw, 68px);
}

.eyebrow,
.hero-edition,
.section-index,
.meta-label,
.visual-label,
.testimonial-label,
.contact-note,
.footer-inner,
.portrait-meta,
.availability-note span,
.socials,
.availability {
  font-family: var(--mono);
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.13em;
}

.status-dot {
  position: relative;
  display: inline-block;
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
}

.status-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: statusPulse 2.8s ease-out infinite;
}

@keyframes statusPulse {
  0% {
    transform: scale(0.6);
    opacity: 0.7;
  }
  70%,
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.hero-edition {
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: 0.12em;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(300px, 0.56fr);
  align-items: end;
  gap: clamp(44px, 6.5vw, 104px);
}

.hero-title {
  font-size: clamp(4.15rem, 8.65vw, 9rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.062em;
}

.title-line {
  display: block;
  padding-bottom: 0.02em;
}

.title-line > span {
  display: block;
  animation: titleRise 1s var(--ease) both;
}

.title-line:nth-child(2) > span {
  animation-delay: 0.08s;
}

.title-line:nth-child(3) > span {
  animation-delay: 0.16s;
}

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

.title-line--serif {
  padding-left: clamp(0px, 3.8vw, 54px);
  font-family: var(--serif);
  font-size: 1.12em;
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: -0.035em;
}

.title-line--serif em {
  position: relative;
  display: inline-block;
  padding-right: 0.04em;
}

.accent {
  color: var(--accent-ink);
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(26px, 4vw, 70px);
  margin-top: clamp(38px, 4.6vw, 60px);
}

.hero-intro {
  max-width: 510px;
  color: #515048;
  font-size: clamp(1.05rem, 1.2vw, 1.18rem);
  line-height: 1.72;
  letter-spacing: -0.012em;
  animation: fadeIn 1s 0.38s var(--ease) both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 34px);
  flex: 0 0 auto;
  animation: fadeIn 1s 0.48s var(--ease) both;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease, transform 0.35s var(--ease);
}

.button span {
  font-size: 14px;
  transition: transform 0.35s var(--ease);
}

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

.button--dark:hover {
  background: var(--accent);
  color: var(--ink);
  transform: translateY(-2px);
}

.button--dark:hover span {
  transform: translateY(3px);
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 4px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.text-link::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--ink);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.text-link span {
  color: var(--accent-ink);
  font-size: 13px;
  transition: transform 0.35s var(--ease);
}

.text-link:hover::after {
  transform: scaleX(0.55);
}

.text-link:hover span {
  transform: translate(2px, -2px);
}

.portrait {
  position: relative;
  align-self: end;
  margin: 0 0 2px;
  animation: portraitIn 1.2s 0.2s var(--ease) both;
}

@keyframes portraitIn {
  from {
    opacity: 0;
    transform: translateY(34px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.portrait::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 26px -16px -16px 24px;
  border: 1px solid rgba(255, 91, 54, 0.5);
  border-radius: 190px 190px 18px 18px;
  pointer-events: none;
}

.portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 190px 190px 18px 18px;
  background: #1a1916;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
  transform: scale(1.025);
  transition: transform 1.2s var(--ease);
}

.portrait:hover .portrait-frame img {
  transform: scale(1.06);
}

.portrait-wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(10, 10, 9, 0.68) 0%, rgba(10, 10, 9, 0) 38%);
}

.portrait-meta {
  position: absolute;
  z-index: 3;
  right: 22px;
  bottom: 19px;
  left: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(242, 239, 230, 0.82);
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  text-shadow: 0 1px 12px rgba(10, 10, 9, 0.45);
}

.availability-note {
  position: absolute;
  left: -30px;
  bottom: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(20, 20, 18, 0.1);
  border-radius: 11px;
  background: rgba(250, 248, 241, 0.96);
  box-shadow: 0 14px 30px rgba(20, 20, 18, 0.12);
  transform: rotate(-2deg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: floatNote 6s ease-in-out infinite;
}

@keyframes floatNote {
  0%,
  100% {
    transform: rotate(-2deg) translateY(0);
  }
  50% {
    transform: rotate(-2deg) translateY(-7px);
  }
}

.availability-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  font-size: 15px;
}

.availability-note p {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.availability-note strong {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.availability-note span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.09em;
}

.rotating-badge {
  position: absolute;
  top: -22px;
  right: -20px;
  width: 100px;
  height: 100px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 15px 34px rgba(232, 70, 32, 0.2);
}

.rotating-badge svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: spin 22s linear infinite;
}

.rotating-badge text {
  fill: var(--ink);
  font-family: var(--mono);
  font-size: 6.4px;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.rotating-badge > span {
  font-size: 20px;
  line-height: 1;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hero-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: clamp(54px, 6.2vw, 82px);
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.hero-footer p {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #4e4c45;
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.hero-footer .meta-label {
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: 0.1em;
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.25s ease;
}

.scroll-cue:hover {
  color: var(--ink);
}

.scroll-line {
  position: relative;
  display: block;
  width: 58px;
  height: 1px;
  overflow: hidden;
  background: var(--line-strong);
}

.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-100%);
  animation: scrollLine 2.4s var(--ease) infinite;
}

@keyframes scrollLine {
  0% {
    transform: translateX(-100%);
  }
  55%,
  100% {
    transform: translateX(100%);
  }
}

/* ---------------------------------------------------------
   Marquee
   --------------------------------------------------------- */

.marquee {
  overflow: hidden;
  padding: 17px 0 18px;
  background: var(--ink);
  color: var(--paper);
  border-block: 1px solid var(--ink);
}

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

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: clamp(30px, 4vw, 58px);
  padding-right: clamp(30px, 4vw, 58px);
  white-space: nowrap;
}

.marquee-group span {
  font-family: var(--mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.marquee-group i {
  color: var(--accent);
  font-size: 13px;
  font-style: normal;
}

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

/* ---------------------------------------------------------
   Shared section headings
   --------------------------------------------------------- */

.section-heading {
  margin-bottom: clamp(44px, 5.5vw, 74px);
}

.section-index {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(26px, 3.2vw, 42px);
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.14em;
}

.section-index span {
  color: var(--accent-ink);
  font-size: 10px;
}

.section-index--light {
  color: rgba(242, 239, 230, 0.6);
}

.section-index--light span {
  color: var(--accent);
}

.section-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(32px, 6vw, 90px);
}

h2 {
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.section-title-row h2 {
  font-size: clamp(3.4rem, 6.7vw, 6.7rem);
}

.section-title-row h2 em {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.section-description {
  width: min(100%, 340px);
  padding-bottom: 7px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

/* ---------------------------------------------------------
   Work
   --------------------------------------------------------- */

.project-list {
  display: grid;
  gap: 24px;
}

.project {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.project--featured {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(350px, 0.72fr);
  min-height: 0;
  background: #11110f;
  color: var(--paper);
  box-shadow: 0 18px 55px rgba(20, 20, 18, 0.08);
}

.project-visual {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.project--featured .project-visual {
  min-height: 0;
  aspect-ratio: 16 / 10;
}

/* Generated cover art */

.visual-cover {
  position: relative;
  overflow: hidden;
  background: #141412;
}

.visual-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.15s var(--ease);
}

.cover-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    115deg,
    rgba(242, 239, 230, 0.13) 0%,
    transparent 30%,
    transparent 68%,
    rgba(20, 20, 18, 0.18) 100%
  );
  transition: opacity 0.5s ease;
}

.project:hover .visual-cover img,
.case-media.visual-cover:hover img,
.live-card:hover .live-shot img {
  transform: scale(1.035);
}

.project:hover .cover-shine,
.case-media.visual-cover:hover .cover-shine {
  opacity: 1;
}

.project-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(28px, 3.2vw, 46px);
  background: #151513;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-light);
  color: #9a978d;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.project-meta span:first-child {
  color: var(--accent);
}

.project-copy {
  margin-block: auto;
}

.project-copy h3 {
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 4.8vw, 5rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.project-copy p {
  max-width: 390px;
  color: #b3afa5;
  font-size: 1rem;
  line-height: 1.72;
  letter-spacing: -0.005em;
}

.project-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tags li {
  padding: 7px 12px;
  border: 1px solid rgba(242, 239, 230, 0.24);
  border-radius: 999px;
  color: #d3d0c7;
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.tags li:hover {
  border-color: var(--accent);
  color: var(--paper);
}

.project-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 5px;
  color: var(--paper);
  font-size: 12.5px;
  font-weight: 600;
}

.project-link::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(242, 239, 230, 0.4);
  transform-origin: right;
  transition: transform 0.4s var(--ease), background 0.3s ease;
}

.project-link span {
  color: var(--accent);
  font-size: 13px;
  transition: transform 0.3s var(--ease);
}

.project-link:hover::after {
  background: var(--accent);
  transform: scaleX(0.6);
}

.project-link:hover span {
  transform: translate(2px, -2px);
}

/* Lumen artwork */

.visual-lumen {
  background:
    radial-gradient(circle at 77% 20%, rgba(255, 91, 54, 0.25) 0%, transparent 36%),
    linear-gradient(145deg, #171714 0%, #0a0a09 74%);
}

.lumen-grid {
  position: absolute;
  inset: 0;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(242, 239, 230, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 239, 230, 0.07) 1px, transparent 1px);
  background-size: 66px 66px;
  -webkit-mask-image: radial-gradient(circle at 46% 55%, black 0%, transparent 78%);
  mask-image: radial-gradient(circle at 46% 55%, black 0%, transparent 78%);
}

.lumen-word {
  position: absolute;
  top: 9%;
  left: 7%;
  color: rgba(242, 239, 230, 0.075);
  font-family: var(--serif);
  font-size: clamp(5rem, 10vw, 9.5rem);
  line-height: 0.8;
  letter-spacing: -0.055em;
}

.lumen-orb {
  position: absolute;
  top: 12%;
  right: 6%;
  width: clamp(180px, 24vw, 330px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 31% 26%, #ffd3c2 0%, #ff7a53 21%, #ff4b25 47%, #8a1d06 84%);
  box-shadow:
    0 0 85px rgba(255, 91, 54, 0.38),
    0 0 170px rgba(255, 91, 54, 0.2);
  opacity: 0.92;
}

.phone {
  position: absolute;
  z-index: 3;
  top: 52%;
  left: 45%;
  width: clamp(216px, 21vw, 272px);
  aspect-ratio: 0.5;
  padding: 8px;
  border: 1px solid rgba(242, 239, 230, 0.4);
  border-radius: 38px;
  background: linear-gradient(155deg, #4a4943 0%, #11110f 36%, #050505 100%);
  box-shadow:
    0 42px 75px rgba(0, 0, 0, 0.55),
    inset 0 1px 1px rgba(255, 255, 255, 0.38),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: translate(-50%, -50%) rotate(-8deg);
  transition: transform 0.8s var(--ease);
}

.project:hover .phone {
  transform: translate(-50%, -50%) rotate(-4deg) translateY(-6px);
}

.phone-speaker {
  position: absolute;
  z-index: 3;
  top: 17px;
  left: 50%;
  width: 33%;
  height: 14px;
  border-radius: 999px;
  background: #0b0b0a;
  transform: translateX(-50%);
}

.phone-screen {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 16px 13px 12px;
  overflow: hidden;
  border-radius: 31px;
  background: #f4f0e6;
  color: var(--ink);
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1px 3px 10px;
  font-family: var(--mono);
  font-size: 5.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.phone-greeting {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 4px 3px 8px;
}

.phone-greeting span {
  color: #7a776e;
  font-size: 6px;
  font-weight: 500;
}

.phone-greeting strong {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.balance-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 13px;
  overflow: hidden;
  border-radius: 13px;
  background:
    radial-gradient(circle at 92% 6%, rgba(255, 91, 54, 0.55) 0%, transparent 45%),
    #171715;
  color: var(--paper);
}

.balance-card::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -46px;
  width: 105px;
  height: 105px;
  border: 1px solid rgba(255, 91, 54, 0.5);
  border-radius: 50%;
}

.balance-card > span {
  color: #9c998f;
  font-size: 5.4px;
  font-weight: 500;
}

.balance-card > strong {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.balance-card > strong span {
  color: #8d8a82;
  font-size: 11px;
}

.balance-actions {
  display: flex;
  gap: 5px;
  margin-top: 6px;
}

.balance-actions i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(242, 239, 230, 0.13);
  color: var(--paper);
  font-size: 7px;
  font-style: normal;
}

.balance-actions i:last-child {
  background: var(--accent);
  color: var(--ink);
}

.phone-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 2px 6px;
  font-size: 5.8px;
  font-weight: 600;
}

.phone-section-head span:last-child {
  color: #8e8a81;
  font-size: 5px;
}

.transaction {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 2px;
}

.t-icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border-radius: 50%;
  font-size: 6px;
  font-style: normal;
  font-weight: 700;
}

.t-icon--dark {
  background: #ded9cd;
  color: var(--ink);
}

.t-icon--orange {
  background: rgba(255, 91, 54, 0.18);
  color: var(--accent-deep);
}

.transaction > span {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.transaction strong {
  font-size: 6.2px;
  font-weight: 600;
}

.transaction small {
  color: #8f8b82;
  font-size: 4.8px;
}

.transaction b {
  margin-left: auto;
  font-size: 5.8px;
  font-weight: 600;
}

.phone-nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(20, 20, 18, 0.1);
}

.phone-nav i {
  width: 9px;
  height: 9px;
  border: 1px solid #b3afa5;
  border-radius: 2.5px;
}

.phone-nav i:first-child {
  background: var(--ink);
  border-color: var(--ink);
}

.lumen-float {
  position: absolute;
  z-index: 4;
  right: 6%;
  bottom: 12%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: clamp(130px, 12vw, 158px);
  padding: 13px;
  border: 1px solid rgba(20, 20, 18, 0.08);
  border-radius: 12px;
  background: rgba(250, 248, 241, 0.96);
  color: var(--ink);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3);
  transform: rotate(3.5deg);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform 0.8s var(--ease);
}

.project:hover .lumen-float {
  transform: rotate(0deg) translateY(-5px);
}

.lumen-float-label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 6.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lumen-float strong {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.05em;
}

.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 27px;
  margin-top: 3px;
}

.mini-chart i {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: #dcd6c9;
}

.mini-chart i:nth-child(1) {
  height: 30%;
}

.mini-chart i:nth-child(2) {
  height: 45%;
}

.mini-chart i:nth-child(3) {
  height: 38%;
}

.mini-chart i:nth-child(4) {
  height: 63%;
}

.mini-chart i:nth-child(5) {
  height: 55%;
}

.mini-chart i:nth-child(6) {
  height: 80%;
}

.mini-chart i:nth-child(7) {
  height: 100%;
  background: var(--accent);
}

.visual-label {
  position: absolute;
  z-index: 5;
  bottom: 21px;
  left: 24px;
  color: rgba(242, 239, 230, 0.7);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.visual-label--dark {
  color: rgba(20, 20, 18, 0.66);
}

/* Project cards */

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.project--card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--paper-card);
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease);
}

.project--card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 48px rgba(20, 20, 18, 0.09);
}

.project--card .project-visual {
  aspect-ratio: 16 / 10;
}

.project-content--light {
  flex: 1;
  background: var(--paper-card);
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.project-content--light .project-meta {
  border-color: var(--line);
  color: var(--muted);
}

.project-content--light .project-copy h3 {
  font-size: clamp(2.7rem, 3.6vw, 3.8rem);
}

.project-content--light .project-copy p {
  color: var(--muted);
}

.project-content--light .project-details {
  border-color: var(--line);
}

.project-content--light .tags li {
  border-color: var(--line);
  color: var(--muted);
}

.project-content--light .project-link {
  color: var(--ink);
}

.project-content--light .project-link span {
  color: var(--accent-ink);
}

.project-content--light .project-link::after {
  background: var(--line-strong);
}

.project-content--light .project-link:hover::after {
  background: var(--accent);
}

/* Aster artwork */

.visual-aster {
  background:
    radial-gradient(circle at 14% 84%, rgba(255, 91, 54, 0.11) 0%, transparent 30%),
    var(--sage);
}

.aster-word {
  position: absolute;
  top: 8%;
  left: 50%;
  color: rgba(34, 42, 29, 0.13);
  font-family: var(--serif);
  font-size: clamp(6rem, 10.8vw, 10.5rem);
  line-height: 0.75;
  letter-spacing: -0.04em;
  transform: translateX(-50%);
}

.aster-sun {
  position: absolute;
  top: -17%;
  right: -12%;
  width: clamp(220px, 29vw, 390px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.9;
  transition: transform 1s var(--ease);
}

.project--card:hover .aster-sun {
  transform: scale(1.035) translate(-5px, 5px);
}

.aster-leaf {
  position: absolute;
  bottom: 9%;
  left: 9%;
  width: clamp(78px, 8vw, 110px);
  color: #596353;
  opacity: 0.6;
  transform: rotate(-7deg);
}

.aster-leaf svg {
  width: 100%;
}

.aster-bottle {
  position: absolute;
  z-index: 3;
  bottom: 10%;
  left: 50%;
  width: clamp(116px, 12vw, 146px);
  filter: drop-shadow(0 30px 26px rgba(58, 36, 15, 0.3));
  transform: translateX(-50%) rotate(-5deg);
  transition: transform 0.8s var(--ease);
}

.project--card:hover .aster-bottle {
  transform: translateX(-50%) rotate(-1deg) translateY(-6px);
}

.bottle-cap {
  position: relative;
  z-index: 2;
  width: 43%;
  height: clamp(28px, 3.1vw, 38px);
  margin: 0 auto;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(90deg, #0d0d0c 0%, #34332e 44%, #11110f 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.bottle-neck {
  width: 22%;
  height: 15px;
  margin: 0 auto;
  background: linear-gradient(90deg, #55300f, #a66a37 48%, #4c2b0e);
}

.bottle-body {
  position: relative;
  height: clamp(212px, 21vw, 250px);
  padding: 18px 14px;
  overflow: hidden;
  border-radius: 12px 12px 20px 20px;
  background: linear-gradient(90deg, #472508 0%, #8e5726 26%, #c1864c 47%, #9d622c 69%, #5a300e 100%);
  box-shadow:
    inset 5px 0 9px rgba(255, 216, 163, 0.28),
    inset -8px 0 14px rgba(35, 18, 3, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.36);
}

.bottle-body::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 21%;
  width: 9%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.02));
  filter: blur(2px);
}

.bottle-label {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 15px 7px;
  border-radius: 2px;
  background: #f1ede2;
  color: #242b1e;
  text-align: center;
  box-shadow: 0 4px 9px rgba(47, 27, 8, 0.18);
}

.bottle-label span {
  margin-bottom: 17px;
  font-family: var(--mono);
  font-size: 5.3px;
  font-weight: 500;
  letter-spacing: 0.36em;
}

.bottle-label strong {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: -0.03em;
}

.bottle-label small {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 4.7px;
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Forma artwork */

.visual-forma {
  background:
    radial-gradient(circle at 50% 80%, rgba(255, 91, 54, 0.12) 0%, transparent 40%),
    #20251f;
  color: var(--paper);
}

.visual-forma::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(242, 239, 230, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 239, 230, 0.13) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: linear-gradient(180deg, black, transparent 74%);
  mask-image: linear-gradient(180deg, black, transparent 74%);
}

.forma-kicker {
  position: absolute;
  z-index: 3;
  top: 28px;
  left: 30px;
  color: rgba(242, 239, 230, 0.63);
  font-family: var(--mono);
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.forma-arches {
  position: absolute;
  right: 8%;
  bottom: 0;
  left: 8%;
  display: flex;
  align-items: flex-end;
  gap: clamp(8px, 1.2vw, 16px);
  height: 69%;
}

.forma-arches span {
  position: relative;
  flex: 1;
  height: 100%;
  overflow: hidden;
  border-radius: 999px 999px 0 0;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.16), transparent 36%),
    linear-gradient(180deg, #b3af9f 0%, #8d897a 57%, #5a5951 100%);
  box-shadow:
    inset 0 16px 30px rgba(255, 255, 255, 0.09),
    inset -14px 0 28px rgba(18, 21, 17, 0.24);
  transition: transform 0.8s var(--ease);
}

.forma-arches span:nth-child(2) {
  height: 88%;
}

.forma-arches span:nth-child(3) {
  height: 77%;
}

.project--card:hover .forma-arches span:first-child {
  transform: translateY(-5px);
}

.project--card:hover .forma-arches span:nth-child(2) {
  transform: translateY(-10px);
}

.project--card:hover .forma-arches span:nth-child(3) {
  transform: translateY(-4px);
}

.forma-arches span::after {
  content: "";
  position: absolute;
  inset: 12% 12% 0;
  border-radius: 999px 999px 0 0;
  background:
    linear-gradient(180deg, #0c0e0c 0%, #232922 72%, #161a15 100%);
  box-shadow: inset 0 14px 30px rgba(0, 0, 0, 0.7);
}

.forma-word {
  position: absolute;
  z-index: 2;
  top: 19%;
  left: 50%;
  color: rgba(242, 239, 230, 0.11);
  font-family: var(--serif);
  font-size: clamp(5.7rem, 10vw, 9.6rem);
  line-height: 0.8;
  letter-spacing: -0.045em;
  transform: translateX(-50%);
}

/* ---------------------------------------------------------
   About
   --------------------------------------------------------- */

.section--dark {
  position: relative;
  overflow: hidden;
  background: #131311;
  color: var(--paper);
}

.about-glow {
  position: absolute;
  top: -24%;
  right: -12%;
  width: min(58vw, 760px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 91, 54, 0.13) 0%, transparent 68%);
  filter: blur(16px);
  pointer-events: none;
}

.about-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
}

.about-top .section-index {
  margin-bottom: 0;
}

.about-intro {
  color: rgba(242, 239, 230, 0.72);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.85;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.about-statement {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: clamp(58px, 7vw, 94px) 0 clamp(66px, 8vw, 110px);
  font-size: clamp(3.15rem, 6.2vw, 6.4rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.058em;
}

.about-statement em {
  color: var(--accent);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(46px, 8vw, 120px);
  padding-top: 35px;
  border-top: 1px solid var(--line-light);
}

.about-copy {
  max-width: 590px;
}

.about-copy p {
  margin-bottom: 18px;
  color: #c5c2b8;
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  line-height: 1.78;
  letter-spacing: -0.005em;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-self: start;
}

.fact {
  min-height: 152px;
  padding: 4px 20px 0;
  border-left: 1px solid var(--line-light);
}

.fact strong {
  display: block;
  margin-bottom: 25px;
  font-size: clamp(2.4rem, 3vw, 3.5rem);
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.06em;
}

.fact strong span {
  color: var(--accent);
  font-size: 0.6em;
  vertical-align: top;
}

.fact p {
  max-width: 130px;
  color: #a6a299;
  font-size: 0.9rem;
  line-height: 1.55;
}

.about-values {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(58px, 7vw, 88px);
  padding-top: 26px;
  border-top: 1px solid var(--line-light);
}

.about-values span {
  padding: 9px 13px;
  border: 1px solid rgba(242, 239, 230, 0.2);
  border-radius: 999px;
  color: #dbd7cd;
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------------------------------------------------------
   Testimonial
   --------------------------------------------------------- */

.testimonial {
  position: relative;
  overflow: hidden;
  padding-block: clamp(78px, 9.5vw, 138px);
  background: var(--accent);
  color: var(--ink);
}

.testimonial::after {
  content: "“";
  position: absolute;
  right: 3%;
  bottom: -34%;
  color: rgba(20, 20, 18, 0.055);
  font-family: var(--serif);
  font-size: 40rem;
  line-height: 1;
  pointer-events: none;
}

.testimonial-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.quote-mark {
  display: block;
  height: 0.63em;
  font-family: var(--serif);
  font-size: clamp(5rem, 8vw, 8rem);
  line-height: 1;
}

.testimonial-label {
  padding-top: 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.testimonial blockquote {
  position: relative;
  z-index: 1;
  max-width: 1130px;
  margin: clamp(20px, 3vw, 38px) 0 clamp(42px, 5vw, 64px);
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.9vw, 5rem);
  font-weight: 400;
  line-height: 1.01;
  letter-spacing: -0.028em;
}

.testimonial-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(20, 20, 18, 0.22);
}

.person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.person-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
}

.person p {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.person strong {
  font-size: 13px;
  font-weight: 700;
}

.person p span {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.client-mark {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.client-mark sup {
  font-family: var(--mono);
  font-size: 8px;
  vertical-align: top;
}

/* ---------------------------------------------------------
   Services
   --------------------------------------------------------- */

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

.service-row {
  display: grid;
  grid-template-columns: 58px minmax(180px, 0.9fr) minmax(260px, 1.1fr) 50px;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  padding: 30px 18px;
  border-bottom: 1px solid var(--line);
  transition:
    color 0.35s ease,
    background 0.35s ease,
    padding 0.45s var(--ease);
}

.service-row:hover {
  padding-right: 26px;
  padding-left: 26px;
  background: var(--ink);
  color: var(--paper);
}

.service-number {
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.service-row:hover .service-number {
  color: var(--accent);
}

.service-name {
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.service-description {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
  transition: color 0.35s ease;
}

.service-row:hover .service-description {
  color: #a29f95;
}

.service-arrow {
  display: grid;
  place-items: center;
  justify-self: end;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 15px;
  line-height: 1;
  transition:
    color 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease,
    transform 0.45s var(--ease);
}

.service-row:hover .service-arrow {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
  transform: rotate(45deg);
}

/* ---------------------------------------------------------
   Contact
   --------------------------------------------------------- */

.contact {
  position: relative;
  overflow: hidden;
  padding-top: clamp(100px, 12vw, 170px);
  padding-bottom: 54px;
  background: #11110f;
  color: var(--paper);
}

.contact-glow {
  position: absolute;
  right: -10%;
  bottom: -40%;
  width: min(70vw, 980px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 91, 54, 0.24) 0%, rgba(255, 91, 54, 0) 68%);
  filter: blur(26px);
  pointer-events: none;
}

.contact-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.contact-top .section-index {
  margin-bottom: 0;
}

.contact-note {
  width: min(100%, 350px);
  color: rgba(242, 239, 230, 0.72);
  font-size: 12px;
  line-height: 1.8;
  text-align: right;
  letter-spacing: 0.06em;
}

.contact-title {
  position: relative;
  z-index: 1;
  margin: clamp(56px, 7.5vw, 104px) 0 clamp(46px, 6vw, 76px);
  font-size: clamp(4rem, 9.3vw, 10rem);
  font-weight: 500;
  line-height: 0.86;
  letter-spacing: -0.066em;
}

.contact-title em {
  color: var(--accent);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.email-link {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: clamp(15px, 2vw, 24px);
  border-bottom: 1px solid var(--line-light);
  font-size: clamp(1.3rem, 3.3vw, 3.3rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.045em;
  transition: color 0.35s ease, border-color 0.35s ease;
}

.email-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease);
}

.email-link:hover {
  color: var(--accent);
  border-color: transparent;
}

.email-link:hover::after {
  transform: scaleX(1);
}

.email-arrow {
  display: grid;
  place-items: center;
  width: clamp(42px, 5vw, 66px);
  aspect-ratio: 1;
  flex: 0 0 auto;
  border: 1px solid rgba(242, 239, 230, 0.27);
  border-radius: 50%;
  color: var(--accent);
  font-size: clamp(17px, 2vw, 24px);
  transition: background 0.35s ease, color 0.35s ease, transform 0.5s var(--ease);
}

.email-link:hover .email-arrow {
  background: var(--accent);
  color: var(--ink);
  transform: rotate(45deg);
}

.contact-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: clamp(64px, 8vw, 104px);
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
}

.availability {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(242, 239, 230, 0.78);
  font-size: 12px;
  letter-spacing: 0.07em;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 2.3vw, 32px);
}

.socials a {
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  color: rgba(242, 239, 230, 0.82);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.socials a span {
  color: var(--accent);
}

.socials a:hover {
  border-color: var(--accent);
  color: var(--paper);
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */

.site-footer {
  padding: 24px 0 30px;
  background: #11110f;
  color: rgba(242, 239, 230, 0.5);
  border-top: 1px solid rgba(242, 239, 230, 0.1);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.footer-location {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-location .status-dot {
  width: 5px;
  height: 5px;
}

.footer-inner > a {
  color: rgba(242, 239, 230, 0.65);
  transition: color 0.25s ease;
}

.footer-inner > a span {
  color: var(--accent);
}

.footer-inner > a:hover {
  color: var(--paper);
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 1180px) {
  .primary-nav {
    gap: 22px;
  }

  .hero-title {
    font-size: clamp(4rem, 8.2vw, 7.4rem);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.55fr);
    gap: 48px;
  }

  .hero-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

  .project--featured {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  }

  .project-content {
    padding: 30px;
  }
}

@media (max-width: 980px) {
  .primary-nav {
    display: none;
  }

  .nav-toggle-label {
    display: flex;
  }

  .header-cta {
    margin-left: auto;
  }

  .header-inner {
    min-height: 74px;
  }

  .hero {
    padding-top: 126px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 46px;
  }

  .hero-title {
    font-size: clamp(4.5rem, 11.8vw, 8.7rem);
  }

  .title-line--serif {
    padding-left: 6vw;
  }

  .hero-main {
    max-width: 860px;
  }

  .portrait {
    width: min(100%, 430px);
    margin-left: auto;
  }

  .hero-footer {
    flex-wrap: wrap;
  }

  .scroll-cue {
    margin-left: auto;
  }

  .project--featured {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .project--featured .project-visual {
    min-height: 0;
  }

  .project--featured .project-content {
    min-height: 0;
  }

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

  .project--card .project-visual {
    aspect-ratio: 16 / 10;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .about-facts {
    max-width: 660px;
  }

  .service-row {
    grid-template-columns: 38px minmax(150px, 0.8fr) minmax(220px, 1.2fr) 42px;
  }
}

@media (max-width: 760px) {
  :root {
    --page-pad: 20px;
    --section-space: 92px;
  }

  html {
    scroll-padding-top: 88px;
  }

  .site-header {
    background: rgba(242, 239, 230, 0.92);
  }

  .header-inner {
    min-height: 68px;
    gap: 18px;
  }

  .header-cta {
    display: none;
  }

  .brand-text small {
    display: none;
  }

  .hero {
    padding-top: 106px;
    padding-bottom: 28px;
  }

  .hero-topline {
    margin-bottom: 36px;
  }

  .hero-edition {
    font-size: 10px;
  }

  .hero-title {
    font-size: clamp(3.55rem, 15.2vw, 7rem);
    line-height: 0.9;
  }

  .title-line--serif {
    padding-left: 4vw;
    font-size: 1.05em;
  }

  .hero-bottom {
    margin-top: 34px;
  }

  .hero-intro {
    max-width: 460px;
    font-size: 1rem;
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: 22px;
  }

  .portrait {
    width: min(100%, 390px);
  }

  .portrait::before {
    inset: 18px -10px -10px 18px;
  }

  .availability-note {
    left: -6px;
    bottom: 30px;
    padding: 10px 13px;
  }

  .rotating-badge {
    top: -16px;
    right: -8px;
    width: 84px;
    height: 84px;
  }

  .rotating-badge text {
    font-size: 6.9px;
  }

  .hero-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    margin-top: 50px;
  }

  .hero-footer p {
    font-size: 10px;
    line-height: 1.5;
  }

  .hero-footer .meta-label {
    display: none;
  }

  .scroll-cue {
    grid-column: 1 / -1;
    margin: 12px 0 0;
  }

  .section-title-row {
    display: block;
  }

  .section-title-row h2 {
    font-size: clamp(3.2rem, 14.2vw, 5.4rem);
  }

  .section-description {
    width: 100%;
    max-width: 420px;
    margin-top: 22px;
    padding-bottom: 0;
    font-size: 1rem;
  }

  .project--featured .project-visual {
    min-height: 0;
  }

  .project--featured .project-content {
    min-height: 0;
    padding: 25px;
  }

  .project-content--light {
    padding: 25px;
  }

  .project-copy h3 {
    font-size: 3.2rem;
  }

  .project-content--light .project-copy h3 {
    font-size: 2.8rem;
  }

  .project-copy p {
    font-size: 0.98rem;
  }

  .project--card .project-visual {
    aspect-ratio: 16 / 10;
  }

  .phone {
    width: 215px;
  }

  .lumen-float {
    right: 4%;
    bottom: 8%;
    width: 128px;
  }

  .lumen-word {
    font-size: 5.8rem;
  }

  .aster-word {
    font-size: 6.8rem;
  }

  .aster-bottle {
    width: 116px;
    bottom: 8%;
  }

  .bottle-body {
    height: 205px;
  }

  .aster-leaf {
    width: 70px;
  }

  .forma-word {
    font-size: 6.2rem;
  }

  .about-top {
    display: block;
  }

  .about-intro {
    margin-top: 20px;
    text-align: left;
  }

  .about-statement {
    margin: 44px 0 52px;
    font-size: clamp(2.9rem, 12.4vw, 4.6rem);
  }

  .about-grid {
    padding-top: 28px;
  }

  .about-facts {
    gap: 0;
  }

  .fact {
    min-height: 140px;
    padding-left: 13px;
  }

  .fact strong {
    font-size: 2.5rem;
  }

  .fact p {
    font-size: 0.88rem;
  }

  .about-values {
    margin-top: 46px;
  }

  .testimonial blockquote {
    font-size: clamp(2.2rem, 8.6vw, 3.5rem);
    line-height: 1.04;
  }

  .quote-mark {
    font-size: 5rem;
  }

  .testimonial-meta {
    align-items: flex-end;
  }

  .service-row {
    grid-template-columns: 28px minmax(0, 1fr) 38px;
    grid-template-rows: auto auto;
    gap: 6px 16px;
    padding: 23px 5px;
  }

  .service-row:hover {
    padding-right: 12px;
    padding-left: 12px;
  }

  .service-number {
    grid-row: 1;
  }

  .service-name {
    grid-column: 2;
    grid-row: 1;
    font-size: 1.25rem;
  }

  .service-description {
    grid-column: 2;
    grid-row: 2;
    font-size: 0.92rem;
  }

  .service-arrow {
    grid-column: 3;
    grid-row: 1 / 3;
    width: 36px;
    height: 36px;
  }

  .contact {
    padding-bottom: 42px;
  }

  .contact-top {
    display: block;
  }

  .contact-note {
    margin-top: 20px;
    text-align: left;
  }

  .contact-title {
    margin: 48px 0 44px;
    font-size: clamp(3.6rem, 15.5vw, 6.4rem);
  }

  .email-link {
    font-size: clamp(1.2rem, 5.2vw, 2.3rem);
  }

  .contact-footer {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 58px;
  }

  .socials {
    gap: 18px 24px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(3.15rem, 15.6vw, 4.4rem);
  }

  .hero-topline {
    align-items: flex-start;
    gap: 16px;
  }

  .hero-edition {
    text-align: right;
  }

  .hero-intro {
    font-size: 1rem;
  }

  .project--featured .project-visual {
    min-height: 0;
  }

  .phone {
    width: 194px;
  }

  .lumen-float {
    bottom: 5%;
    width: 118px;
    padding: 10px;
  }

  .lumen-float strong {
    font-size: 1.25rem;
  }

  .visual-label {
    bottom: 14px;
    left: 16px;
    font-size: 6.5px;
  }

  .aster-bottle {
    width: 100px;
    bottom: 7%;
  }

  .bottle-body {
    height: 185px;
    padding: 15px 12px;
  }

  .bottle-label strong {
    font-size: 1.9rem;
  }

  .aster-sun {
    width: 190px;
  }

  .aster-word {
    font-size: 5.7rem;
  }

  .forma-word {
    font-size: 5rem;
  }

  .forma-kicker {
    top: 20px;
    left: 20px;
    font-size: 6px;
  }

  .project--card .project-visual {
    aspect-ratio: 16 / 10;
  }

  .project-content--light {
    padding: 22px;
  }

  .about-facts {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .fact {
    min-height: 0;
    padding: 0 0 0 15px;
  }

  .fact strong {
    margin-bottom: 14px;
  }

  .fact p {
    max-width: 220px;
  }

  .testimonial-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .client-mark {
    align-self: flex-end;
  }

  .email-link {
    gap: 16px;
    font-size: 1.12rem;
  }

  .email-arrow {
    width: 38px;
  }

  .footer-location {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   2026 content build — portrait, real work, experience,
   capabilities, project archive and case studies
   ========================================================= */

/* ---------------------------------------------------------
   Section asides
   --------------------------------------------------------- */

.section-aside {
  width: min(100%, 340px);
  padding-bottom: 7px;
}

.section-aside .section-description {
  width: auto;
  padding-bottom: 0;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 12px;
  font-weight: 600;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.section-link span {
  color: var(--accent-ink);
  font-size: 12px;
  transition: transform 0.3s var(--ease);
}

.section-link:hover {
  color: var(--accent-ink);
  border-color: var(--accent-ink);
}

.section-link:hover span {
  transform: translate(2px, -2px);
}

/* ---------------------------------------------------------
   Portrait
   --------------------------------------------------------- */

.portrait::before {
  bottom: 84px;
}

.availability-note {
  position: relative;
  left: 0;
  bottom: auto;
  width: fit-content;
  margin: 16px 0 0 4px;
}

/* ---------------------------------------------------------
   Project screenshots
   --------------------------------------------------------- */

.visual-shot {
  background:
    radial-gradient(circle at 82% 4%, rgba(255, 91, 54, 0.23) 0%, transparent 44%),
    linear-gradient(145deg, #1a1a17 0%, #0a0a09 78%);
}

.visual-shot--sage {
  background:
    radial-gradient(circle at 18% 95%, rgba(255, 91, 54, 0.14) 0%, transparent 42%),
    linear-gradient(145deg, #e2e3d5 0%, #c9cdbb 100%);
}

.visual-shot::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(242, 239, 230, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 239, 230, 0.08) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 0%, transparent 80%);
  mask-image: radial-gradient(circle at 50% 50%, black 0%, transparent 80%);
}

.visual-shot--sage::before {
  background-image:
    linear-gradient(rgba(20, 20, 18, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 20, 18, 0.08) 1px, transparent 1px);
}

.shot-word {
  position: absolute;
  top: 7%;
  left: 6%;
  color: rgba(242, 239, 230, 0.07);
  font-family: var(--serif);
  font-size: clamp(4rem, 7vw, 7rem);
  line-height: 0.8;
  letter-spacing: -0.05em;
}

.browser {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 84%;
  overflow: hidden;
  border: 1px solid rgba(20, 20, 18, 0.18);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.4);
  transform: translate(-50%, -50%);
  transition: transform 0.8s var(--ease);
}

.browser--card {
  width: 87%;
}

.visual-shot--sage .browser {
  border-color: rgba(20, 20, 18, 0.14);
  box-shadow: 0 26px 55px rgba(20, 20, 18, 0.22);
}

.project:hover .browser {
  transform: translate(-50%, -50%) translateY(-8px) rotate(-0.4deg);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 10px;
  border-bottom: 1px solid #d8d2c5;
  background: #ebe7dd;
}

.browser-dots {
  display: flex;
  flex: 0 0 auto;
  gap: 4px;
}

.browser-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c9c2b4;
}

.browser-dots i:first-child {
  background: var(--accent);
}

.browser-url {
  max-width: 62%;
  margin-inline: auto;
  padding: 3px 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #f7f4ec;
  color: #6b675e;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-live {
  flex: 0 0 auto;
  color: #33714a;
  font-family: var(--mono);
  font-size: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.browser-screen {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #fff;
}

.browser-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* ---------------------------------------------------------
   CRM artwork
   --------------------------------------------------------- */

.visual-crm {
  background:
    radial-gradient(circle at 20% 88%, rgba(255, 91, 54, 0.16) 0%, transparent 40%),
    linear-gradient(145deg, #e4e5d7 0%, #c9cdbb 100%);
}

.visual-crm::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(20, 20, 18, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 20, 18, 0.09) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 0%, transparent 78%);
  mask-image: radial-gradient(circle at 50% 50%, black 0%, transparent 78%);
}

.crm-ghost {
  position: absolute;
  top: 8%;
  left: 7%;
  color: rgba(20, 20, 18, 0.1);
  font-family: var(--serif);
  font-size: clamp(3.4rem, 6vw, 5.6rem);
  line-height: 0.8;
  letter-spacing: -0.045em;
}

.crm-window {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 84%;
  padding: 12px;
  border: 1px solid rgba(20, 20, 18, 0.1);
  border-radius: 11px;
  background: #f8f6ef;
  box-shadow: 0 28px 55px rgba(20, 20, 18, 0.18);
  transform: translate(-50%, -48%) rotate(-1deg);
  transition: transform 0.8s var(--ease);
}

.project:hover .crm-window {
  transform: translate(-50%, -50%) rotate(0deg) translateY(-5px);
}

.crm-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e3ded2;
  color: #8b877d;
  font-family: var(--mono);
  font-size: 5.8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.crm-logo {
  padding: 3px 5px;
  border-radius: 3px;
  background: var(--ink);
  color: var(--paper);
  font-size: 5px;
  letter-spacing: 0.1em;
}

.crm-head span:last-child {
  margin-left: auto;
  letter-spacing: 0.14em;
}

.crm-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 9px;
}

.crm-col {
  padding: 6px;
  border-radius: 6px;
  background: #eeeae0;
}

.crm-col > span {
  display: block;
  margin-bottom: 5px;
  color: #8b877d;
  font-family: var(--mono);
  font-size: 5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.crm-card {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  padding: 5px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(20, 20, 18, 0.05);
}

.crm-avatar {
  display: grid;
  place-items: center;
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #d8d3c4;
  color: #4d4a42;
  font-family: var(--mono);
  font-size: 4px;
}

.crm-avatar--a {
  background: var(--accent);
  color: var(--ink);
}

.crm-avatar--b {
  background: #b9c4a8;
}

.crm-avatar--c {
  background: #d7c39f;
}

.crm-lines {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}

.crm-lines i {
  display: block;
  width: 80%;
  height: 2px;
  border-radius: 999px;
  background: #c8c3b5;
}

.crm-lines i:last-child {
  width: 55%;
  background: #ddd8cc;
}

.crm-card b {
  color: #6f6b61;
  font-family: var(--mono);
  font-size: 4.2px;
  font-weight: 500;
}

.crm-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px solid #e3ded2;
  color: #8b877d;
  font-family: var(--mono);
  font-size: 5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.crm-foot strong {
  margin-left: auto;
  color: var(--accent-ink);
  font-size: 9px;
}

.crm-foot i {
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 32%, #e0dbcf 32%);
}

.crm-float {
  position: absolute;
  z-index: 3;
  right: 6%;
  bottom: 8%;
  padding: 7px 10px;
  border: 1px solid rgba(20, 20, 18, 0.08);
  border-radius: 999px;
  background: #f8f6ef;
  color: #4f4b43;
  box-shadow: 0 10px 22px rgba(20, 20, 18, 0.14);
  font-family: var(--mono);
  font-size: 5.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transform: rotate(2deg);
}

/* ---------------------------------------------------------
   Kashmirwicker artwork
   --------------------------------------------------------- */

.visual-wicker {
  background: #d9c5a3;
  color: #3d2b18;
}

.visual-wicker::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(94, 66, 35, 0.13) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(-45deg, rgba(94, 66, 35, 0.13) 0 1px, transparent 1px 9px);
  opacity: 0.9;
}

.visual-wicker::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, transparent 26%, rgba(61, 43, 24, 0.2) 100%);
}

.wicker-word {
  position: absolute;
  z-index: 1;
  top: 8%;
  left: 50%;
  color: rgba(61, 43, 24, 0.18);
  font-family: var(--serif);
  font-size: clamp(3.8rem, 6.3vw, 6rem);
  line-height: 0.85;
  letter-spacing: -0.045em;
  white-space: nowrap;
  transform: translateX(-50%);
}

.wicker-card {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 56%;
  padding: clamp(12px, 1.6vw, 18px);
  border-radius: 5px;
  background: #f7f1e5;
  box-shadow: 0 26px 48px rgba(61, 43, 24, 0.28);
  text-align: center;
  transform: translate(-50%, -46%) rotate(-3deg);
  transition: transform 0.8s var(--ease);
}

.project:hover .wicker-card {
  transform: translate(-50%, -49%) rotate(-1deg);
}

.wicker-card svg {
  width: 62%;
  margin: 0 auto clamp(8px, 1vw, 12px);
  color: #8a6334;
}

.wicker-card small {
  display: block;
  color: #977a54;
  font-family: var(--mono);
  font-size: 5.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.wicker-card strong {
  display: block;
  margin: 5px 0 3px;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.1vw, 1.8rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.wicker-card > span {
  color: #7c6242;
  font-family: var(--mono);
  font-size: 6px;
}

.wicker-tag {
  position: absolute;
  z-index: 3;
  right: 7%;
  bottom: 8%;
  padding: 7px 10px;
  border: 1px solid rgba(61, 43, 24, 0.25);
  border-radius: 999px;
  background: rgba(247, 241, 229, 0.8);
  font-family: var(--mono);
  font-size: 5.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------------------------------------------------------
   AI invoice artwork
   --------------------------------------------------------- */

.visual-invoice {
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 91, 54, 0.28) 0%, transparent 38%),
    linear-gradient(150deg, #1d1d19 0%, #0b0b0a 75%);
}

.invoice-prompt {
  position: absolute;
  z-index: 3;
  top: 9%;
  right: 8%;
  left: 8%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(242, 239, 230, 0.2);
  border-radius: 999px;
  background: rgba(250, 248, 241, 0.07);
  color: rgba(242, 239, 230, 0.78);
  font-family: var(--mono);
  font-size: 6.2px;
  letter-spacing: 0.02em;
}

.invoice-prompt i {
  flex: 0 0 auto;
  color: var(--accent);
  font-style: normal;
}

.invoice-prompt span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invoice-prompt b {
  margin-left: auto;
  color: var(--accent);
  font-weight: 400;
}

.invoice-doc {
  position: absolute;
  z-index: 2;
  top: 27%;
  left: 50%;
  width: 64%;
  padding: clamp(12px, 1.8vw, 18px);
  border-radius: 4px;
  background: #f8f5ec;
  color: #23221d;
  box-shadow: 0 30px 55px rgba(0, 0, 0, 0.5);
  transform: translateX(-50%) rotate(2deg);
  transition: transform 0.8s var(--ease);
}

.project:hover .invoice-doc {
  transform: translateX(-50%) rotate(0deg) translateY(-4px);
}

.invoice-doc-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid #ddd6c7;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.14em;
}

.invoice-doc-head strong {
  color: var(--accent-ink);
  font-size: 7px;
  font-weight: 500;
}

.invoice-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #e5dfd2;
  color: #989184;
  font-family: var(--mono);
  font-size: 4.6px;
  line-height: 1.5;
  text-transform: uppercase;
}

.invoice-meta span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.invoice-meta span:last-child {
  text-align: right;
}

.invoice-meta strong {
  color: #3b3831;
  font-size: 5.4px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.invoice-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid #eee9de;
  color: #5f5b52;
  font-size: 5.4px;
}

.invoice-row b {
  color: #33312b;
  font-family: var(--mono);
  font-size: 5.2px;
  font-weight: 500;
}

.invoice-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 8px;
  color: #8c8577;
  font-family: var(--mono);
  font-size: 5.4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.invoice-total strong {
  color: #1f1e1a;
  font-family: var(--sans);
  font-size: clamp(0.9rem, 1.4vw, 1.2rem);
  letter-spacing: -0.04em;
}

.invoice-stamp {
  position: absolute;
  z-index: 3;
  right: 8%;
  bottom: 10%;
  padding: 5px 9px;
  border: 1.5px solid var(--accent);
  border-radius: 3px;
  background: rgba(11, 11, 10, 0.7);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 6px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  transform: rotate(-8deg);
}

/* ---------------------------------------------------------
   Project actions and archive banner
   --------------------------------------------------------- */

.project-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 22px;
}

.project-link--muted,
.project-link--muted span {
  color: rgba(242, 239, 230, 0.55);
}

.project-link--muted::after {
  background: rgba(242, 239, 230, 0.18);
}

.project-link--muted:hover,
.project-link--muted:hover span {
  color: var(--paper);
}

.archive-banner {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 24px;
  padding: 24px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-card);
  transition:
    color 0.35s ease,
    background 0.35s ease,
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}

.archive-banner-label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.35s ease;
}

.archive-banner-title {
  color: #3e3c36;
  font-size: 1rem;
  line-height: 1.55;
  transition: color 0.35s ease;
}

.archive-banner-arrow {
  display: grid;
  place-items: center;
  justify-self: end;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 15px;
  line-height: 1;
  transition:
    color 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease,
    transform 0.45s var(--ease);
}

.archive-banner:hover {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 20px 44px rgba(20, 20, 18, 0.12);
  transform: translateY(-3px);
}

.archive-banner:hover .archive-banner-label {
  color: var(--accent);
}

.archive-banner:hover .archive-banner-title {
  color: rgba(242, 239, 230, 0.82);
}

.archive-banner:hover .archive-banner-arrow {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
  transform: rotate(45deg);
}

/* ---------------------------------------------------------
   Experience and credentials
   --------------------------------------------------------- */

.timeline {
  border-top: 1px solid var(--line);
}

.timeline-item {
  display: grid;
  grid-template-columns: 185px minmax(0, 1fr) 130px;
  gap: clamp(24px, 4vw, 60px);
  padding: 32px 6px 36px;
  border-bottom: 1px solid var(--line);
}

.timeline-when {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding-top: 2px;
  color: #3f3c35;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.55;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timeline-current {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid rgba(200, 57, 18, 0.28);
  border-radius: 999px;
  background: rgba(255, 91, 54, 0.1);
  color: var(--accent-ink);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
}

.timeline-current::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 91, 54, 0.12);
}

.timeline-role {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 10px;
}

.timeline-role h3 {
  font-size: clamp(1.5rem, 2.1vw, 1.95rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.timeline-role span {
  padding: 4px 10px;
  border: 1px solid rgba(200, 57, 18, 0.24);
  border-radius: 999px;
  background: rgba(255, 91, 54, 0.07);
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timeline-main > p {
  max-width: 640px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.timeline-points {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.timeline-points li {
  position: relative;
  padding-left: 17px;
  color: #3f3d37;
  font-size: 0.94rem;
  line-height: 1.6;
}

.timeline-points li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent-ink);
}

.timeline-tags {
  margin-top: 17px;
}

.timeline-place {
  padding-top: 2px;
  color: #3f3c35;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tags--outline li,
.tags--light li {
  border-color: var(--line);
  color: var(--muted);
}

.credentials {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 20px;
  margin-top: clamp(56px, 7vw, 84px);
}

.credential {
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-card);
}

.credential--dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.credential-label {
  margin-bottom: 28px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.credential--dark .credential-label {
  color: var(--accent);
}

.credential h3 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.credential-org {
  margin-top: 10px;
  color: var(--muted);
  font-size: 1rem;
}

.credential--dark .credential-org {
  color: #b5b2a8;
}

.credential-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: #8f8b81;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.credential--dark .credential-meta {
  border-color: var(--line-light);
  color: #b0ada3;
}

.credential-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.credential--dark .credential-note {
  color: #b8b5ac;
}

.credential-list {
  display: grid;
}

.credential-list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.credential-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.credential-list li:last-child {
  padding-bottom: 0;
}

.credential-list div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.credential-list strong {
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.credential-list div span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.credential-list time {
  flex: 0 0 auto;
  padding-top: 2px;
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------------------------------------------------------
   Toolkit
   --------------------------------------------------------- */

.toolkit {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(32px, 5vw, 70px);
  margin-top: clamp(56px, 7vw, 84px);
  padding-top: clamp(30px, 4vw, 42px);
  border-top: 1px solid var(--line);
}

.toolkit-label {
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.toolkit-intro h3 {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.toolkit-groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 30px);
}

.toolkit-group h4 {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.toolkit-group ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.toolkit-group li {
  padding: 5px 0;
  color: #36342e;
  font-size: 1rem;
  font-weight: 500;
}

/* ---------------------------------------------------------
   Projects page
   --------------------------------------------------------- */

html.projects-html {
  scroll-padding-top: 158px;
}

.page-hero {
  position: relative;
  padding-top: clamp(126px, 13vw, 172px);
  padding-bottom: clamp(44px, 5vw, 68px);
  overflow: clip;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.5fr);
  align-items: end;
  gap: clamp(36px, 6vw, 90px);
}

.page-title {
  font-size: clamp(4rem, 9.8vw, 10.4rem);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.065em;
}

.page-title .title-line--serif {
  padding-left: clamp(0px, 3.8vw, 54px);
  font-size: 1.1em;
  font-weight: 400;
}

.page-hero-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding-bottom: 8px;
}

.page-hero-aside p {
  max-width: 330px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
  letter-spacing: -0.01em;
}

.page-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(44px, 5vw, 66px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-stat {
  padding: 22px 22px 24px 0;
  border-left: 1px solid var(--line);
}

.page-stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.page-stat strong {
  display: block;
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.page-stat strong span {
  color: var(--accent-ink);
  font-size: 0.55em;
  vertical-align: top;
}

.page-stat p {
  margin-top: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.case-index {
  position: sticky;
  top: 82px;
  z-index: 55;
  border-block: 1px solid var(--line);
  background: rgba(242, 239, 230, 0.93);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.case-index-inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 34px);
  min-height: 56px;
  overflow-x: auto;
  scrollbar-width: none;
}

.case-index-inner::-webkit-scrollbar {
  display: none;
}

.case-index-label {
  flex: 0 0 auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.case-index a {
  display: flex;
  align-items: baseline;
  flex: 0 0 auto;
  gap: 5px;
  color: #4c4942;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.case-index a span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

.case-index a:hover {
  color: var(--accent-ink);
}

.case-index-all {
  margin-left: auto;
  color: var(--accent-ink) !important;
}

.case {
  padding-block: clamp(64px, 8vw, 104px);
  border-top: 1px solid var(--line);
}

.case-header {
  margin-bottom: clamp(32px, 4vw, 52px);
}

.case-kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.case-kicker span:first-child {
  color: var(--accent-ink);
}

.case-kicker span + span::before {
  content: "/";
  margin-right: 10px;
  color: var(--line-strong);
}

.case-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(26px, 5vw, 80px);
  margin-top: 22px;
}

.case-heading h2 {
  font-family: var(--serif);
  font-size: clamp(3.4rem, 6.4vw, 6.2rem);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: -0.04em;
}

.case-heading h2 span {
  color: var(--accent-ink);
}

.case-heading > p {
  width: min(100%, 370px);
  padding-bottom: 8px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

.case-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(26px, 3.4vw, 40px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.case-fact {
  padding: 16px 22px 17px 0;
  border-left: 1px solid var(--line);
}

.case-fact:first-child {
  padding-left: 0;
  border-left: 0;
}

.case-fact dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.case-fact dd {
  margin: 7px 0 0;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.case-fact dd a {
  border-bottom: 1px solid rgba(200, 57, 18, 0.35);
  color: var(--accent-ink);
  transition: border-color 0.25s ease;
}

.case-fact dd a:hover {
  border-color: var(--accent-ink);
}

.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  align-items: start;
  gap: clamp(32px, 5vw, 72px);
}

.case-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.case-media .browser {
  width: 86%;
}

.case-body {
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 2.6vw, 30px);
  padding-top: 6px;
}

.case-label {
  margin-bottom: 9px;
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.case-overview .case-lede {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.65;
  letter-spacing: -0.015em;
}

.case-detail p:not(.case-label) {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.72;
}

.case-points {
  display: grid;
  gap: 9px;
}

.case-points li {
  position: relative;
  padding-left: 17px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.case-points li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent-ink);
}

.case-body .tags {
  margin-top: 2px;
}

/* Live sites gallery */

.live-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.live-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-card);
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease),
    border-color 0.4s ease;
}

.live-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 28px 54px rgba(20, 20, 18, 0.12);
}

.live-shot {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #141412;
}

.live-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.15s var(--ease);
}

.live-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border: 1px solid rgba(242, 239, 230, 0.24);
  border-radius: 999px;
  background: rgba(20, 20, 18, 0.62);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.live-tag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9ac47e;
}

.live-meta {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 7px;
  padding: 22px 24px 24px;
}

.live-type {
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.live-meta strong {
  font-size: 1.42rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.live-meta small {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.live-meta small span {
  color: var(--accent-ink);
  font-size: 13px;
  transition: transform 0.3s var(--ease);
}

.live-card:hover .live-meta small span {
  transform: translate(2px, -2px);
}

/* Archive */

.archive {
  border-top: 1px solid var(--line);
  background: var(--paper-warm);
}

.archive-table {
  border-top: 1px solid var(--line-strong);
}

.archive-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(120px, 0.6fr) 90px 90px;
  align-items: center;
  gap: 20px;
  padding: 20px 12px;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, padding 0.4s var(--ease);
}

.archive-row--head {
  padding-block: 12px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

a.archive-row:hover {
  padding-right: 20px;
  padding-left: 20px;
  background: rgba(20, 20, 18, 0.045);
}

.archive-name {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.archive-name small {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0;
}

.archive-type,
.archive-year {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.archive-link {
  justify-self: end;
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 10px;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.archive-link--muted {
  color: #a09b8e;
}

a.archive-row:hover .archive-link {
  color: var(--accent-ink);
}

/* ---------------------------------------------------------
   Additions responsive
   --------------------------------------------------------- */

@media (max-width: 1180px) {
  .primary-nav {
    gap: 18px;
    margin-right: 14px;
  }

  .case-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
    gap: 38px;
  }

  .timeline-item {
    grid-template-columns: 160px minmax(0, 1fr) 110px;
    gap: 30px;
  }
}

@media (max-width: 980px) {
  html.projects-html {
    scroll-padding-top: 138px;
  }

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

  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .page-title {
    font-size: clamp(4.2rem, 11vw, 8.4rem);
  }

  .page-hero-aside {
    padding-bottom: 0;
  }

  .case-index {
    top: 74px;
  }

  .case-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .case-media {
    aspect-ratio: 16 / 10;
  }

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

  .page-stat {
    border-top: 1px solid var(--line);
  }

  .page-stat:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .page-stat:nth-child(-n + 2) {
    border-top: 0;
  }

  .timeline-item {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .timeline-place {
    display: block;
    grid-column: 2;
    padding-top: 0;
    text-align: left;
  }

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

  .toolkit {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .toolkit-groups {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .mobile-nav {
    padding-top: 92px;
    overflow-y: auto;
  }

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

  .mobile-nav-inner > a {
    padding: 11px 0;
    font-size: clamp(2.2rem, 9.4vw, 3.6rem);
  }

  .section-aside {
    width: 100%;
    max-width: 420px;
    margin-top: 22px;
    padding-bottom: 0;
  }

  .section-aside .section-description {
    margin-top: 0;
  }

  .archive-banner {
    grid-template-columns: minmax(0, 1fr) 40px;
    gap: 9px 16px;
    padding: 20px;
  }

  .archive-banner-label {
    grid-column: 1;
  }

  .archive-banner-title {
    grid-column: 1;
    font-size: 0.98rem;
  }

  .archive-banner-arrow {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 26px 4px 30px;
  }

  .timeline-when {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding-top: 0;
  }

  .timeline-place {
    display: block;
    grid-column: 1;
    padding-top: 0;
    text-align: left;
  }

  .timeline-role {
    gap: 6px;
  }

  .timeline-role h3 {
    width: 100%;
  }

  .timeline-main > p {
    font-size: 0.98rem;
  }

  .timeline-points li {
    font-size: 0.9rem;
  }

  .credentials {
    margin-top: 48px;
  }

  .credential {
    padding: 24px;
  }

  .credential-meta {
    font-size: 10px;
  }

  .toolkit-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
  }

  .page-hero {
    padding-top: 106px;
  }

  .page-title {
    font-size: clamp(3.5rem, 14.8vw, 6.6rem);
  }

  .page-title .title-line--serif {
    padding-left: 4vw;
    font-size: 1.05em;
  }

  .page-stats {
    margin-top: 38px;
  }

  .page-stat {
    padding: 18px 14px 20px 0;
  }

  .page-stat p {
    font-size: 9.5px;
  }

  .case-index {
    top: 68px;
  }

  .case-index-inner {
    min-height: 48px;
    gap: 16px;
  }

  .case-index-label {
    display: none;
  }

  .case {
    padding-block: 58px;
  }

  .case-heading {
    display: block;
    margin-top: 16px;
  }

  .case-heading h2 {
    font-size: clamp(2.8rem, 12vw, 4.4rem);
  }

  .case-heading > p {
    margin-top: 18px;
    padding-bottom: 0;
    font-size: 1rem;
  }

  .case-facts {
    grid-template-columns: 1fr;
  }

  .case-fact {
    padding: 12px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .case-fact:first-child {
    border-top: 0;
  }

  .case-media {
    aspect-ratio: 16 / 10;
  }

  .case-body {
    gap: 22px;
  }

  .archive-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 14px;
    padding: 16px 4px;
  }

  .archive-row--head {
    display: none;
  }

  .archive-name {
    grid-column: 1;
    grid-row: 1;
    font-size: 1rem;
  }

  .archive-type {
    display: none;
  }

  .archive-year {
    grid-column: 1;
    grid-row: 2;
    font-size: 9.5px;
  }

  .archive-link {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
  }

  a.archive-row:hover {
    padding-right: 8px;
    padding-left: 8px;
  }
}

@media (max-width: 480px) {
  .availability-note {
    padding: 9px 11px;
  }

  .availability-note strong {
    font-size: 11px;
  }

  .browser-bar {
    height: 24px;
    padding-inline: 8px;
  }

  .browser-url {
    font-size: 5.5px;
  }

  .browser-live {
    font-size: 5px;
  }

  .shot-word {
    font-size: 3.6rem;
  }

  .crm-float,
  .wicker-tag {
    font-size: 4.8px;
    padding: 5px 7px;
  }

  .invoice-prompt {
    padding: 7px 9px;
    font-size: 5.2px;
  }

  .invoice-stamp {
    font-size: 5px;
  }

  .archive-banner-title {
    font-size: 0.95rem;
  }

  .page-title {
    font-size: clamp(3.1rem, 14.4vw, 4.4rem);
  }

  .page-stat strong {
    font-size: 1.7rem;
  }

  .timeline-role h3 {
    font-size: 1.25rem;
  }

  .credential h3 {
    font-size: 1.35rem;
  }

  .credential-list li {
    flex-direction: column;
    gap: 5px;
  }

  .credential-list time {
    padding-top: 0;
  }

  .case-kicker {
    font-size: 9.5px;
    gap: 7px;
  }

  .case-kicker span + span::before {
    margin-right: 7px;
  }

  .case-index-all {
    margin-left: 0;
  }
}
