@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=Newsreader:opsz,wght@6..72,500;6..72,700&display=swap");

:root {
  --ink: #111512;
  --ink-soft: #29312c;
  --muted: #647067;
  --paper: #f5efe3;
  --paper-deep: #e5d8c0;
  --ivory: #fffaf0;
  --charcoal: #151817;
  --teal: #1f6f66;
  --teal-dark: #0c413c;
  --amber: #c78322;
  --ruby: #8e2f2f;
  --line: rgba(17, 21, 18, 0.14);
  --white-line: rgba(255, 250, 240, 0.2);
  --shadow: 0 24px 80px rgba(12, 16, 13, 0.18);
  --max: 1180px;
  --nav-height: 78px;
  color-scheme: light;
  font-family: "IBM Plex Sans", "Aptos", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(17, 21, 18, 0.035) 1px, transparent 1px) 0 0 / 92px 92px,
    linear-gradient(180deg, rgba(17, 21, 18, 0.03) 1px, transparent 1px) 0 0 / 92px 92px,
    var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.18;
  background-image: radial-gradient(rgba(17, 21, 18, 0.38) 0.5px, transparent 0.5px);
  background-size: 4px 4px;
  mix-blend-mode: multiply;
}

a {
  color: inherit;
}

img,
canvas,
svg {
  display: block;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 200;
  transform: translateY(-140%);
  background: var(--ivory);
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 6px;
}

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

.cursor-dot {
  position: fixed;
  width: 18px;
  height: 18px;
  z-index: 120;
  left: 0;
  top: 0;
  border: 1px solid rgba(245, 239, 227, 0.8);
  border-radius: 999px;
  pointer-events: none;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity 160ms ease, width 180ms ease, height 180ms ease;
}

.cursor-dot.is-active {
  opacity: 1;
}

.cursor-dot.is-hovering {
  width: 42px;
  height: 42px;
}

.page-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 110;
  height: 3px;
  background: rgba(17, 21, 18, 0.08);
}

.page-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--amber), var(--ruby));
  transform-origin: left;
}

.site-nav {
  position: fixed;
  z-index: 90;
  top: 14px;
  left: 50%;
  width: min(calc(100% - 32px), var(--max));
  min-height: 62px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 10px 12px;
  color: var(--ivory);
  border: 1px solid rgba(255, 250, 240, 0.18);
  background: rgba(17, 21, 18, 0.54);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px) saturate(1.2);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 250, 240, 0.28);
  background: rgba(255, 250, 240, 0.1);
  color: var(--ivory);
  font-weight: 700;
  letter-spacing: 0;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong,
.brand-copy small {
  white-space: nowrap;
}

.brand-copy small {
  color: rgba(255, 250, 240, 0.68);
  font-size: 0.72rem;
}

.site-nav nav {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 250, 240, 0.14);
  background: rgba(255, 250, 240, 0.07);
}

.site-nav nav a,
.nav-cta {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 250, 240, 0.82);
  padding: 10px 12px;
  border-radius: 4px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav nav a:hover,
.site-nav nav a:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  color: var(--ivory);
  background: rgba(255, 250, 240, 0.13);
  transform: translateY(-1px);
}

.nav-cta {
  justify-self: end;
  border: 1px solid rgba(255, 250, 240, 0.18);
}

.hero {
  position: relative;
  min-height: 91svh;
  display: grid;
  align-items: end;
  padding: calc(var(--nav-height) + 54px) 24px 52px;
  isolation: isolate;
  overflow: hidden;
  color: var(--ivory);
}

.hero-media,
.signal-canvas,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  z-index: -4;
  filter: saturate(0.92) contrast(1.05);
}

.signal-canvas {
  z-index: -2;
  opacity: 0.58;
}

.hero-shade {
  z-index: -3;
  background:
    radial-gradient(circle at 72% 44%, rgba(31, 111, 102, 0.2), transparent 30%),
    linear-gradient(90deg, rgba(12, 16, 13, 0.91) 0%, rgba(12, 16, 13, 0.74) 34%, rgba(12, 16, 13, 0.32) 67%, rgba(12, 16, 13, 0.46) 100%),
    linear-gradient(0deg, rgba(12, 16, 13, 0.82) 0%, transparent 34%);
}

.hero-content {
  width: min(760px, 100%);
  max-width: var(--max);
  margin: 0 auto;
  justify-self: start;
}

.eyebrow,
.section-kicker {
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 10px;
  border: 1px solid currentColor;
  color: var(--amber);
  background: rgba(199, 131, 34, 0.1);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Newsreader", Georgia, serif;
  letter-spacing: 0;
  font-weight: 700;
}

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(3.4rem, 7.2vw, 6.9rem);
  line-height: 0.86;
}

.hero-lede {
  max-width: 700px;
  margin-bottom: 24px;
  color: rgba(255, 250, 240, 0.82);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 13px 18px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button.primary {
  background: var(--ivory);
  color: var(--charcoal);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.26);
}

.button.ghost {
  background: rgba(255, 250, 240, 0.08);
  color: currentColor;
  border-color: rgba(255, 250, 240, 0.22);
  backdrop-filter: blur(12px);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

.metric-rack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 580px;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 250, 240, 0.22);
  border-bottom: 1px solid rgba(255, 250, 240, 0.22);
}

.metric-rack div {
  padding: 18px 18px 18px 0;
}

.metric-rack div + div {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 250, 240, 0.18);
}

.metric-rack dt {
  margin-bottom: 4px;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.92;
}

.metric-rack dd {
  margin: 0;
  color: rgba(255, 250, 240, 0.65);
  font-size: 0.8rem;
  line-height: 1.35;
}

.availability {
  position: absolute;
  right: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 52px;
  width: min(360px, calc(100% - 48px));
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 10px 16px;
  padding: 18px;
  border: 1px solid rgba(255, 250, 240, 0.2);
  background: rgba(17, 21, 18, 0.52);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.26);
}

.candidate-photo {
  grid-column: 1 / -1;
  width: 74px;
  height: 74px;
  object-fit: cover;
  border: 1px solid rgba(255, 250, 240, 0.26);
  background: rgba(255, 250, 240, 0.08);
}

.availability span {
  color: rgba(255, 250, 240, 0.56);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.availability strong {
  color: rgba(255, 250, 240, 0.88);
  font-size: 0.9rem;
  line-height: 1.35;
}

.brief-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: var(--max);
  margin: -28px auto 0;
  position: relative;
  z-index: 5;
  background: var(--ivory);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.strip-item {
  min-height: 180px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.strip-item:last-child {
  border-right: 0;
}

.strip-item span {
  color: var(--amber);
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.9rem;
}

.strip-item strong {
  display: block;
  margin: 22px 0 10px;
  font-size: 1rem;
}

.strip-item p,
.section-header p,
.impact-card p,
.case-card p,
.timeline-item p,
.skill-panel p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 118px 24px 0;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 36px;
}

.section-header h2 {
  margin-bottom: 0;
  font-size: clamp(2.6rem, 5.5vw, 5.7rem);
  line-height: 0.9;
}

.section-header p {
  margin-bottom: 8px;
  font-size: 1.02rem;
}

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

.impact-card,
.case-card,
.skill-panel {
  position: relative;
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.72);
  box-shadow: 0 18px 60px rgba(17, 21, 18, 0.07);
  overflow: hidden;
}

.impact-card {
  min-height: 430px;
  padding: 26px;
}

.impact-card::before,
.case-card::before,
.skill-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(31, 111, 102, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(199, 131, 34, 0.12), transparent 38%);
  transition: opacity 220ms ease;
}

.impact-card:hover::before,
.case-card:hover::before,
.skill-panel:hover::before {
  opacity: 1;
}

.impact-index {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 70px;
  border: 1px solid var(--line);
  color: var(--teal-dark);
  background: var(--paper);
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.3rem;
}

.impact-card h3,
.case-card h3,
.timeline-item h3,
.skill-panel h3 {
  position: relative;
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.12;
}

.impact-card ul,
.timeline-item ul {
  position: relative;
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.impact-card li,
.timeline-item li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft);
  line-height: 1.45;
}

.impact-card li::before,
.timeline-item li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 1px;
  background: var(--amber);
}

.case-list {
  display: grid;
  gap: 16px;
}

.case-card {
  min-height: 260px;
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 28px;
  padding: 30px;
}

.case-card.has-media {
  grid-template-columns: minmax(150px, 0.22fr) minmax(260px, 0.42fr) minmax(420px, 0.9fr);
  align-items: start;
}

.case-card.huntregs-card {
  grid-template-columns: minmax(280px, 0.54fr) minmax(0, 1fr);
  grid-template-areas:
    "meta media"
    "body media";
}

.case-card.huntregs-card .case-meta {
  grid-area: meta;
}

.case-card.huntregs-card .case-body {
  grid-area: body;
}

.case-card.huntregs-card .case-media {
  grid-area: media;
}

.case-card.has-media:not(.huntregs-card) .case-meta {
  flex-direction: column;
  gap: 8px;
}

.case-card.has-media:not(.huntregs-card) .case-meta strong {
  margin-top: 0;
}

.case-meta {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--teal-dark);
}

.case-meta span {
  font-family: "Newsreader", Georgia, serif;
  font-size: 3.2rem;
  line-height: 0.9;
}

.case-meta strong {
  margin-top: 8px;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.case-body {
  position: relative;
}

.case-media {
  position: relative;
  align-self: start;
  width: 100%;
}

.case-highlights {
  display: grid;
  gap: 9px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.case-highlights li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft);
  line-height: 1.48;
}

.case-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 1px;
  background: var(--amber);
}

.case-foot {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.case-foot span,
.case-foot a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  background: rgba(245, 239, 227, 0.78);
  color: var(--ink-soft);
  border-radius: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.case-foot a {
  color: var(--teal-dark);
}

.project-gallery {
  display: grid;
  margin-top: 44px;
  border-top: 1px solid var(--line);
}

.project-shot {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.project-copy {
  display: grid;
  align-content: start;
}

.project-index {
  color: var(--amber);
  font-family: "Newsreader", Georgia, serif;
  font-size: 2.7rem;
  line-height: 0.9;
}

.project-copy h3 {
  margin: 18px 0 12px;
  font-size: clamp(1.35rem, 2.2vw, 2.1rem);
  line-height: 1.05;
}

.project-copy p {
  margin-bottom: 20px;
  color: var(--muted);
  line-height: 1.65;
}

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

.project-tags span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 6px 9px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.66);
  color: var(--ink-soft);
  border-radius: 5px;
  font-size: 0.76rem;
  font-weight: 700;
}

.project-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 10px;
}

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

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

.huntregs-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.project-media-grid figure {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ivory);
  cursor: zoom-in;
}

.project-media-grid figure:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.mobile-project-grid figure {
  aspect-ratio: 1 / 1;
}

.mobile-project-grid .portrait-shot {
  aspect-ratio: 4 / 5;
}

.huntregs-grid figure {
  aspect-ratio: 4 / 3;
}

.project-media-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  transition: transform 260ms ease;
}

.project-media-grid figure:hover img {
  transform: scale(1.012);
}

.project-media-grid figcaption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  max-width: calc(100% - 16px);
  padding: 5px 7px;
  border: 1px solid rgba(255, 250, 240, 0.16);
  background: rgba(17, 21, 18, 0.72);
  color: var(--ivory);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.1;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    visibility 180ms ease;
}

.image-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(12, 16, 13, 0.78);
  backdrop-filter: blur(14px);
  cursor: zoom-out;
}

.lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100vw - 44px));
  max-height: calc(100svh - 44px);
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(255, 250, 240, 0.24);
  background: var(--ivory);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.48);
  opacity: 0;
  transform: scale(0.86);
  transition:
    opacity 220ms ease,
    transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.image-lightbox.is-open .lightbox-panel {
  opacity: 1;
  transform: scale(1);
}

.lightbox-panel img {
  width: 100%;
  max-height: calc(100svh - 132px);
  object-fit: contain;
  background: #101310;
}

.lightbox-panel figcaption {
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
}

.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 250, 240, 0.26);
  border-radius: 999px;
  background: var(--charcoal);
  color: var(--ivory);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.34);
}

.demo-dialog {
  position: fixed;
  inset: 0;
  z-index: 190;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    visibility 180ms ease;
}

.demo-dialog.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.demo-dialog-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(12, 16, 13, 0.78);
  backdrop-filter: blur(14px);
}

.demo-dialog-panel {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100vw - 44px));
  max-height: calc(100svh - 44px);
  overflow: auto;
  display: grid;
  gap: 22px;
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--ivory);
  color: var(--ink);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.48);
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  transition:
    opacity 220ms ease,
    transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.demo-dialog.is-open .demo-dialog-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.demo-dialog-panel h2 {
  margin: 12px 0 10px;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 0.9;
}

.demo-dialog-panel p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.demo-dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--charcoal);
  color: var(--ivory);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.demo-form {
  display: grid;
  gap: 16px;
}

.demo-form label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 800;
}

.demo-form input,
.demo-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(245, 239, 227, 0.66);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.4;
}

.demo-form input {
  min-height: 46px;
  padding: 11px 12px;
}

.demo-form textarea {
  min-height: 142px;
  resize: vertical;
  padding: 12px;
}

.demo-form input:focus,
.demo-form textarea:focus {
  outline: 3px solid rgba(199, 131, 34, 0.28);
  border-color: rgba(199, 131, 34, 0.8);
}

.demo-form-status {
  min-height: 1.4em;
  color: var(--teal-dark);
  font-weight: 800;
}

.demo-form-status.is-error {
  color: var(--ruby);
}

.demo-form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.demo-form-actions .button.ghost {
  color: var(--ink);
  background: rgba(245, 239, 227, 0.66);
  border-color: var(--line);
}

body.lightbox-lock,
body.demo-dialog-lock {
  overflow: hidden;
}

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

.timeline-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 54px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-item time {
  color: var(--ruby);
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.8rem;
}

.skills-section {
  padding-bottom: 0;
}

.skill-matrix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.skill-panel {
  min-height: 230px;
  padding: 24px;
}

.skill-panel h3 {
  margin-bottom: 72px;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 42px;
  align-items: end;
  margin-top: 118px;
  padding: 68px 24px;
  background: var(--charcoal);
  color: var(--ivory);
  border: 1px solid rgba(255, 250, 240, 0.12);
}

.contact-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  line-height: 0.9;
}

.contact-copy p {
  max-width: 670px;
  color: rgba(255, 250, 240, 0.68);
}

.contact-actions {
  justify-content: flex-end;
}

.site-footer {
  max-width: var(--max);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  padding: 28px 24px 44px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a {
  color: var(--ink);
  font-weight: 700;
  text-decoration-color: rgba(17, 21, 18, 0.3);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 760ms cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0ms),
    transform 760ms cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.brief-strip .reveal {
  opacity: 1;
  transform: none;
}

.magnetic {
  will-change: transform;
}

@media (max-width: 1040px) {
  .site-nav {
    grid-template-columns: 1fr auto;
  }

  .site-nav nav {
    display: none;
  }

  .availability {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 30px auto 0;
    justify-self: start;
  }

  .brief-strip,
  .impact-grid,
  .skill-matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .strip-item:nth-child(2) {
    border-right: 0;
  }

  .strip-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section-header,
  .case-card.has-media,
  .project-shot,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .case-card.huntregs-card {
    grid-template-areas:
      "meta"
      "body"
      "media";
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  :root {
    --nav-height: 68px;
  }

  body::before,
  .cursor-dot {
    display: none;
  }

  .site-nav {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 56px;
  }

  .brand-copy small {
    display: none;
  }

  .nav-cta {
    padding: 10px;
  }

  .hero {
    min-height: 88svh;
    padding: calc(var(--nav-height) + 38px) 18px 28px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(12, 16, 13, 0.92) 0%, rgba(12, 16, 13, 0.78) 70%, rgba(12, 16, 13, 0.62) 100%),
      linear-gradient(0deg, rgba(12, 16, 13, 0.86) 0%, transparent 44%);
  }

  h1 {
    font-size: clamp(2.85rem, 15.5vw, 4.55rem);
    line-height: 0.88;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .metric-rack,
  .availability {
    display: none;
  }

  .brief-strip,
  .impact-grid,
  .skill-matrix {
    grid-template-columns: 1fr;
    margin-left: 18px;
    margin-right: 18px;
  }

  .strip-item,
  .strip-item:nth-child(2),
  .strip-item:nth-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .strip-item:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 84px 18px 0;
  }

  .section-header h2,
  .contact-copy h2 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .impact-card {
    min-height: auto;
  }

  .case-card,
  .case-card.has-media,
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .case-card {
    padding: 24px;
  }

  .project-gallery {
    margin-top: 34px;
  }

  .project-shot {
    padding: 28px 0;
  }

  .project-media-grid,
  .mobile-project-grid,
  .sms-grid {
    grid-template-columns: 1fr;
  }

  .project-media-grid figure,
  .mobile-project-grid figure,
  .mobile-project-grid .portrait-shot {
    aspect-ratio: 16 / 10;
  }

  .image-lightbox {
    padding: 14px;
  }

  .lightbox-panel {
    width: calc(100vw - 28px);
    padding: 10px;
  }

  .lightbox-panel img {
    max-height: calc(100svh - 118px);
  }

  .lightbox-close {
    top: 8px;
    right: 8px;
  }

  .demo-dialog {
    padding: 14px;
  }

  .demo-dialog-panel {
    width: calc(100vw - 28px);
    max-height: calc(100svh - 28px);
    padding: 24px;
  }

  .demo-dialog-close {
    top: 10px;
    right: 10px;
  }

  .demo-form-actions {
    align-items: stretch;
  }

  .timeline-item time {
    font-size: 1.35rem;
  }

  .contact-section {
    margin-top: 84px;
    padding: 48px 18px;
  }

  .site-footer {
    flex-direction: column;
    padding: 24px 18px 36px;
  }
}

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

  .signal-canvas,
  .cursor-dot {
    display: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  @page {
    margin: 0.55in;
  }

  body {
    background: white;
    color: black;
  }

  body::before,
  .site-nav,
  .hero-media,
  .signal-canvas,
  .hero-shade,
  .hero-actions,
  .page-progress,
  .cursor-dot,
  .image-lightbox,
  .contact-actions,
  .site-footer {
    display: none !important;
  }

  .hero {
    min-height: auto;
    color: black;
    padding: 0 0 24px;
  }

  .hero-content,
  .section,
  .brief-strip,
  .contact-section {
    max-width: none;
    margin: 0;
    padding: 0;
    box-shadow: none;
    border: 0;
    background: white;
    color: black;
  }

  .availability,
  .brief-strip,
  .impact-grid,
  .case-list,
  .project-shot,
  .timeline,
  .skill-matrix,
  .contact-section {
    break-inside: avoid;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
