/* Demiken portfolio — shared design system */
:root {
  color-scheme: dark;
  --bg: #101115;
  --surface: #17191e;
  --surface-raised: #1d2026;
  --surface-soft: #ffffff08;
  --text: #f7f7f8;
  --muted: #b4b6bf;
  --quiet: #888b95;
  --accent: #ff7626;
  --accent-soft: #ff762626;
  --border: #ffffff18;
  --border-strong: #ffffff30;
  --shadow: 0 24px 70px #00000045;
  --radius: 20px;
  --content: 1180px;
  --ease: cubic-bezier(.2, .75, .25, 1);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

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

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

body {
  position: relative;
  isolation: isolate;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 78% 6%, #ff76261b, transparent 32%),
    radial-gradient(ellipse at 12% 56%, #6f4fff0c, transparent 35%);
  content: "";
  opacity: .62;
  pointer-events: none;
}

body::after {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(#ffffff12 1px, transparent 1px), linear-gradient(90deg, #ffffff12 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  opacity: .22;
  pointer-events: none;
}

img,
svg,
iframe {
  display: block;
}

img {
  max-width: 100%;
}

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

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 110;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  font-size: 14px;
  font-weight: 700;
  transition: transform .2s var(--ease);
}

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

/* Compact, translucent site navigation */
.top {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 13px clamp(20px, 6vw, 88px);
  border-bottom: 1px solid var(--border);
  background: #101115d9;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: box-shadow .25s ease, padding .25s ease;
}

.top.s {
  padding-block: 9px;
  box-shadow: 0 12px 32px #00000030;
}

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

.mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: var(--surface-raised);
}

.mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.name {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .12em;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.nav a {
  color: var(--muted);
  transition: color .2s ease;
}

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

/* Intro */
.about {
  width: min(100%, var(--content));
  margin-inline: auto;
  padding: 136px 32px 70px;
}

.intro-copy {
  max-width: 930px;
  margin-inline: auto;
  text-align: center;
}

.tag {
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.intro-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.intro-kicker::before {
  width: 18px;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: .75;
}

.intro-headline-box {
  position: relative;
  isolation: isolate;
  max-width: 810px;
  margin: 17px auto 22px;
  padding: clamp(22px, 3vw, 34px) clamp(20px, 4vw, 46px);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 6%, #ff76261b, transparent 27%),
    linear-gradient(135deg, #ffffff0c, #ffffff03);
  box-shadow: inset 0 1px 0 #ffffff10, 0 22px 65px #00000028;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform .3s var(--ease), border-color .3s ease, box-shadow .3s ease;
}

.intro-headline-box::before {
  position: absolute;
  z-index: -1;
  top: 12px;
  right: 18px;
  width: 46px;
  height: 46px;
  background-image: radial-gradient(#ff7626 1px, transparent 1.2px);
  background-size: 8px 8px;
  content: "";
  opacity: .15;
  pointer-events: none;
}

@media (hover: hover) {
  .intro-headline-box:hover {
    transform: translateY(-2px);
    border-color: #ff76265c;
    box-shadow: inset 0 1px 0 #ffffff16, 0 26px 70px #00000038;
  }
}

.intro-heading {
  max-width: 720px;
  margin: 0 auto;
  color: var(--text);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 780;
  letter-spacing: -.055em;
  line-height: 1.08;
  text-wrap: balance;
}

.intro-heading > span {
  color: var(--accent);
}

.intro-heading .nowrap {
  white-space: nowrap;
}

.intro-body {
  position: relative;
  isolation: isolate;
  display: grid;
  max-width: 760px;
  gap: 9px;
  margin: 28px auto 0;
  padding: clamp(21px, 3.2vw, 30px) clamp(20px, 4vw, 40px);
  overflow: hidden;
  border: 1px solid #00b0c078;
  border-radius: 18px;
  background: linear-gradient(138deg, #06464b, #083f46 78%);
  box-shadow: inset 0 1px 0 #ffffff14, 0 18px 48px #00000030;
  text-align: left;
}

.intro-body::before,
.intro-body::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.intro-body::before {
  top: -36%;
  right: -12%;
  width: 43%;
  height: 174%;
  transform-origin: center;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, #00b0c030 0%, #00b0c014 36%, transparent 72%);
  animation: intro-glow-drift 11s ease-in-out infinite alternate;
}

.intro-body p {
  margin: 0;
  color: #f1fcfc;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.7;
}

.intro-body p:first-child {
  color: #fff;
  font-weight: 680;
}

.intro-body::after {
  top: 0;
  left: -44%;
  width: 38%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #00d5dc 35%, #00d5dc 65%, transparent);
  box-shadow: 0 0 14px #00b0c08c;
  animation: intro-edge-sweep 9s ease-in-out infinite;
}

@keyframes intro-glow-drift {
  from {
    transform: translate3d(0, -3%, 0) scale(.94);
    opacity: .55;
  }

  to {
    transform: translate3d(-12%, 5%, 0) scale(1.08);
    opacity: .9;
  }
}

@keyframes intro-edge-sweep {
  0%, 12% {
    transform: translateX(0);
    opacity: 0;
  }

  22%, 78% {
    opacity: .78;
  }

  100% {
    transform: translateX(380%);
    opacity: 0;
  }
}

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-top: 24px;
}

.intro-button,
.cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .04em;
  transition: transform .22s var(--ease), color .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.intro-button:hover,
.cta:hover {
  transform: translateY(-2px);
}

.intro-button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #171310;
  box-shadow: 0 8px 26px #ff762629;
}

.intro-button-primary:hover {
  border-color: #ff9657;
  background: #ff9657;
}

.intro-button-secondary {
  border-color: var(--border-strong);
  background: #ffffff04;
  color: var(--text);
}

.intro-button-secondary:hover {
  border-color: #ff762680;
  color: var(--accent);
}

.intro-button-secondary span {
  font-size: 16px;
  line-height: 1;
}

/* Shared section rhythm and headings */
.sec {
  width: min(100%, var(--content));
  margin-inline: auto;
  padding: 48px 32px 62px;
  scroll-margin-top: 72px;
}

.head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 25px;
}

h2,
.non-heading-title {
  margin: 10px 0 0;
  color: var(--text);
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 760;
  letter-spacing: -.065em;
  line-height: .98;
}

.intro {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* Select work — flat video gallery */
#work {
  padding-top: 60px;
}

#work .head {
  display: block;
  margin-bottom: 24px;
}

#work .head h2 {
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.1;
  letter-spacing: -.04em;
  color: #45d5d5;
  white-space: nowrap;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  align-items: start;
  gap: 22px;
}

.portfolio-grid .card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 13px;
}

.shot {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border: 1px solid var(--border-strong);
  border-radius: 15px;
  background: #0b0c0e;
  transition: border-color .3s ease, box-shadow .3s ease;
}

.portfolio-grid .card.square-video .shot {
  aspect-ratio: 1 / 1;
}

.shot:hover,
.shot:focus-visible {
  border-color: #ff7626a6;
  box-shadow: 0 16px 38px #00000045;
}

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

.shot > iframe {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.shot:hover img,
.shot:focus-visible img {
  transform: scale(1.045);
}

.shot::after {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 8px 11px;
  transform: translateY(5px);
  border: 1px solid #ffffff24;
  border-radius: 999px;
  background: #101115d9;
  color: #fff;
  content: "WATCH ↗";
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .07em;
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
}

.shot:hover::after,
.shot:focus-visible::after {
  transform: none;
  opacity: 1;
}

.num {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 12px;
  padding: 5px 8px;
  border: 1px solid #ffffff24;
  border-radius: 999px;
  background: #101115b8;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
}

.info .tag {
  font-size: 9px;
}

.info .card-title {
  margin: 7px 0 5px;
  color: var(--text);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 720;
  letter-spacing: -.04em;
  line-height: 1.08;
}

.info p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.portfolio-grid .card.youtube-long .shot {
  aspect-ratio: 16 / 9;
}

/* A focused entry point to the visual edit breakdown. */
.answers-section {
  padding-top: 28px;
}

.answers-section .head {
  align-items: end;
}

.answers-section .head h2 {
  max-width: 740px;
  font-size: clamp(34px, 5.6vw, 60px);
}

.answers-intro {
  max-width: 390px;
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.answers-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr));
  gap: 12px;
}

.answers-video-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 136px;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 17px 13px;
  overflow: hidden;
  border: 1px solid #45d5d56b;
  border-radius: 14px;
  background: linear-gradient(145deg, #087d83, #075b62);
  color: #f5f0e6;
  box-shadow: 0 9px 24px #00000025;
  transition: transform .24s var(--ease), border-color .24s ease, background .24s ease, box-shadow .24s ease;
}

.answers-video-card:hover,
.answers-video-card:focus-visible {
  transform: translateY(-2px);
  border-color: #70e8e5;
  background: linear-gradient(145deg, #0a9298, #086a70);
  box-shadow: 0 13px 30px #00000038;
}

.answers-card-kicker {
  color: #dcf7ef;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .15em;
}

.answers-video-card h3 {
  max-width: 280px;
  margin: auto 0;
  color: #f5f0e6;
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 720;
  letter-spacing: -.035em;
  line-height: 1.18;
}

.answers-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 9px;
  border-top: 1px solid #e5ffff39;
  color: #f5f0e6;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.answers-card-action span {
  color: #e1fbf5;
  font-size: 14px;
  letter-spacing: 0;
}

.pdf-reader {
  display: flex;
  width: min(1100px, calc(100vw - 28px));
  height: min(90vh, 900px);
  height: min(90dvh, 900px);
  max-width: none;
  max-height: none;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border: 1px solid #19aab0;
  border-radius: 16px;
  background: #101115;
  color: var(--text);
  box-shadow: 0 24px 80px #00000080;
}

.pdf-reader:not([open]) {
  display: none;
}

.pdf-reader::backdrop {
  background: #050708d9;
  backdrop-filter: blur(5px);
}

.pdf-reader-toolbar {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px 11px 20px;
  border-bottom: 1px solid var(--border);
  background: #14171a;
}

.pdf-reader-heading {
  min-width: 0;
}

.pdf-reader-kicker {
  display: block;
  margin-bottom: 2px;
  color: #5de0de;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .16em;
}

.pdf-reader-heading .pdf-reader-title {
  margin: 0;
  overflow: hidden;
  color: #f5f0e6;
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 690;
  letter-spacing: -.025em;
  line-height: 1.25;
  text-overflow: ellipsis;
}

.pdf-reader-close {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: #ffffff08;
  color: #f5f0e6;
  cursor: pointer;
  font: inherit;
  font-size: 27px;
  line-height: 1;
  transition: border-color .2s ease, background .2s ease;
}

.pdf-reader-close:hover {
  border-color: #42c7c9;
  background: #00aeb626;
}

.pdf-reader-controls {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 5px 10px;
  border-bottom: 1px solid var(--border);
  background: #1d2325;
}

.pdf-control {
  min-height: 34px;
  padding: 5px 10px;
  border: 1px solid #ffffff32;
  border-radius: 7px;
  background: #ffffff0a;
  color: #f5f0e6;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
}

.pdf-control:disabled {
  cursor: default;
  opacity: .38;
}

.pdf-control:not(:disabled):hover {
  border-color: #5de0de;
  background: #ffffff17;
}

.pdf-zoom-level {
  min-width: 50px;
  color: #f5f0e6;
  font-size: 12px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.pdf-zoom {
  min-width: 34px;
  padding-inline: 6px;
  font-size: 17px;
  line-height: 1;
}

.pdf-reader-viewport {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: stretch;
  overflow: auto;
  padding: 16px;
  background: #363c3d;
  overscroll-behavior: contain;
  touch-action: none;
}

.pdf-reader-viewport.is-pannable {
  cursor: grab;
  touch-action: none;
}

.pdf-reader-viewport.is-panning {
  cursor: grabbing;
  user-select: none;
}

.pdf-reader-status {
  margin: 30px auto;
  color: #f5f0e6;
  font-size: 14px;
}

.pdf-pages {
  display: flex;
  width: max-content;
  min-width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 0 auto;
  padding-bottom: 4px;
}

.pdf-pages[hidden],
.pdf-reader-fallback[hidden] {
  display: none;
}

.pdf-page-canvas {
  display: block;
  max-width: none;
  background: #f5f0e6;
  box-shadow: 0 5px 22px #00000055;
}

.pdf-reader-fallback {
  width: 100%;
  height: 100%;
  min-height: 0;
  flex: 1 1 auto;
  border: 0;
  background: #101115;
}

@media (max-width: 640px) {
  .answers-section .head {
    display: block;
  }

  .answers-intro {
    margin-top: 14px;
  }

  .answers-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .answers-video-card {
    min-height: 132px;
    padding: 13px 12px 11px;
  }

  .answers-video-card h3 {
    font-size: 16px;
  }

  .answers-card-action {
    gap: 6px;
    font-size: 8px;
    letter-spacing: .04em;
  }

  .pdf-reader {
    width: calc(100vw - 16px);
    height: calc(100vh - 16px);
    height: calc(100dvh - 16px);
    border-radius: 12px;
  }

  .pdf-reader-toolbar {
    min-height: 62px;
    padding: 9px 12px;
  }

  .pdf-reader-close {
    width: 36px;
    height: 36px;
  }

  .pdf-reader-controls {
    gap: 5px;
  }

  .pdf-control {
    padding-inline: 7px;
  }

  .pdf-zoom-level {
    min-width: 44px;
    font-size: 11px;
  }

  .pdf-reader-viewport {
    padding: 9px;
  }
}

/* How we work */
.how-work {
  padding-top: 40px;
}

.how-work .head {
  margin-bottom: 19px;
}

.how-work .head .non-heading-title {
  margin-top: 8px;
}

.how-work-intro {
  max-width: 360px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.work-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-step {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: linear-gradient(145deg, #ffffff0c, #ffffff03);
  box-shadow: 0 10px 30px #00000016;
  transition: transform .28s var(--ease), border-color .28s ease, background .28s ease;
}

.work-step:hover {
  transform: translateY(-3px);
  border-color: #ff76265c;
  background: linear-gradient(145deg, #ff76260c, #ffffff04);
}

.work-step-number {
  display: inline-grid;
  min-width: 26px;
  min-height: 26px;
  place-items: center;
  border: 1px solid #ff76264a;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
}

.work-step p {
  max-width: 560px;
  margin: 0;
  color: var(--text);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.55;
}

/* Teal brush mark behind the real, selectable white text. */
.marker-highlight-copy {
  display: inline;
  padding: .06em .09em .11em;
  background-image: url("./brush-highlight.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: #fff;
  font-weight: 800;
  -webkit-text-stroke: .22px #ffffffd9;
  paint-order: stroke fill;
  text-shadow: 0 1px 2px #022e32;
  filter: drop-shadow(0 0 4px #00b0c05c);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Contact links */
.contact-scope .terms {
  display: block;
}

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

.contact-method,
.contact-call {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  width: auto;
  height: 54px;
  box-sizing: border-box;
  padding: 7px 14px 7px 8px;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: linear-gradient(145deg, #ffffff0c, #ffffff03);
  box-shadow: 0 10px 28px #00000022;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  transition: transform .22s var(--ease), border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.contact-method:hover,
.contact-call:hover {
  transform: translateY(-3px);
  border-color: #ff762688;
  background: var(--accent-soft);
  box-shadow: 0 14px 32px #00000035;
}

.contact-call .contact-method {
  display: inline-flex;
  align-items: center;
  gap: 0;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: none;
}

.contact-call .contact-method:hover {
  transform: none;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.contact-icon {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
}

.contact-icon.email {
  background: #e34b43;
}

.contact-icon.instagram {
  background: linear-gradient(135deg, #833ab4, #e1306c 55%, #f77737);
}

.contact-icon.whatsapp {
  background: #25a963;
}
.contact-icon.phone {
  background: #286fc4;
}
.contact-method:focus-visible,
.contact-call:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.contact-method-label,
.contact-call-label {
  color: var(--text);
  font-size: .86rem;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

/* Closing CTA and footer */
.project-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(calc(100% - 48px), var(--content));
  margin: 28px auto 0;
  padding: clamp(38px, 5vw, 58px) clamp(18px, 4vw, 40px);
  border: 2px solid #45d5d5;
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 50% 0%, #ff762629, transparent 52%),
    linear-gradient(135deg, #143c3f, #131419 65%, #18191f);
  box-shadow: 0 16px 44px #00000036, 0 0 24px #ff762610;
  text-align: center;
}

.project-cta::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(#ffffff07 1px, transparent 1px), linear-gradient(90deg, #ffffff07 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  opacity: .55;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
}

.project-cta::after {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  width: 64px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 0 0 4px 4px;
  background: var(--accent);
  box-shadow: 0 0 18px #ff762650;
  content: "";
  pointer-events: none;
}

.cta-inner {
  width: min(100%, 760px);
  margin-inline: auto;
}

#start-project .non-heading-title {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 18px;
  padding: 14px clamp(16px, 3vw, 28px);
  border: 2px solid #45d5d5;
  border-radius: 18px;
  background: #075b62;
  box-shadow: inset 0 0 0 1px #ff76261a;
  color: #f5f0e6;
  font-size: clamp(21px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.08;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

#start-project .non-heading-title span {
  color: #ff9a59;
}

.project-cta p {
  max-width: 590px;
  margin: 0 auto 20px;
  color: var(--muted);
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.65;
}

.cta.star {
  min-height: 42px;
  padding: 10px 18px;
  border: 2px solid #ff9a59;
  background: var(--accent);
  color: #171310;
  box-shadow: 0 10px 34px #ff762635;
}

.cta.star:hover {
  border-color: #ff9657;
  background: #ff9657;
  box-shadow: 0 14px 38px #ff76264d;
}

.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px clamp(20px, 6vw, 88px);
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Accessible video preview modal */
.video-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  visibility: hidden;
  align-content: center;
  justify-items: center;
  gap: 10px;
  padding: 24px;
  background: #08090bf0;
  opacity: 0;
  transition: opacity .22s ease, visibility .22s ease;
}

.video-modal.open {
  visibility: visible;
  opacity: 1;
}

.video-modal-toolbar {
  display: flex;
  width: min(1000px, 92vw);
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.video-modal-fullscreen {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid #ffffff44;
  border-radius: 999px;
  background: #101115e8;
  color: var(--text);
  font: inherit;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.video-modal-fullscreen > span:first-child {
  font-size: 16px;
  line-height: 1;
}

.video-modal-fullscreen:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #171310;
}

.video-modal-inner {
  position: relative;
  width: min(1000px, 92vw);
  max-height: 86dvh;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: #000;
  box-shadow: var(--shadow);
}

.video-modal iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-modal-close {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  border: 1px solid #ffffff44;
  border-radius: 50%;
  background: #101115e8;
  color: var(--text);
  font: inherit;
  font-size: 20px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.video-modal-close:hover {
  background: var(--accent);
  color: #171310;
}

.video-modal:fullscreen {
  inset: 0;
  align-content: stretch;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  width: 100vw;
  height: 100dvh;
  max-height: none;
  padding: 16px;
  overflow: hidden;
  background: #08090bf0;
}

.video-modal:fullscreen .video-modal-toolbar {
  width: min(100%, 1000px);
}

.video-modal:fullscreen .video-modal-inner {
  width: min(100%, 1000px);
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  border-radius: 0;
}

/* Small reveal transitions are added only when JavaScript and motion are available. */
html.has-js .will-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}

html.has-js .will-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .top {
    padding-inline: 22px;
  }

  .about,
  .sec {
    padding-inline: 24px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr));
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 78px;
  }

  .top {
    gap: 12px;
    padding: 11px 18px;
  }

  .mark {
    width: 31px;
    height: 31px;
  }

  .name {
    font-size: 10px;
  }

  .nav {
    gap: 12px;
    font-size: 9px;
  }

  .about {
    padding: 105px 20px 45px;
  }

  .intro-headline-box {
    margin: 14px auto 17px;
    padding: 19px 16px;
    border-radius: 17px;
  }

  .intro-headline-box::before {
    top: 10px;
    right: 11px;
    width: 34px;
    height: 34px;
    background-size: 7px 7px;
  }

  .intro-heading {
    max-width: 470px;
    font-size: clamp(25px, 7vw, 36px);
    line-height: 1.1;
  }

  .intro-heading br {
    display: none;
  }

  .intro-heading .nowrap {
    white-space: normal;
  }

  .intro-body {
    gap: 7px;
    margin-top: 20px;
    padding: 18px;
    border-radius: 16px;
  }

  .intro-body p {
    font-size: 15px;
    line-height: 1.65;
  }

  .intro-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 20px;
  }

  .intro-button {
    width: 100%;
    min-height: 48px;
  }

  .sec {
    padding: 36px 20px 44px;
  }

  #work {
    padding-top: 60px;
  }

  .head {
    display: block;
    margin-bottom: 19px;
  }

  h2 {
    font-size: clamp(36px, 11vw, 54px);
  }

  .intro {
    margin-top: 13px;
    font-size: 13px;
  }

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

  .portfolio-grid .info .card-title {
    font-size: 19px;
  }

  .portfolio-grid .info p {
    font-size: 11px;
  }

  .how-work .head {
    margin-bottom: 16px;
  }

  .how-work-intro {
    margin-top: 12px;
    font-size: 13px;
  }

  .work-steps {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .work-step {
    min-height: 132px;
    padding: 19px;
  }

  .work-step p {
    font-size: 16px;
  }

  .contact-methods {
    gap: 10px;
  }

  .contact-method,
  .contact-call {
    width: auto;
    height: 50px;
    padding: 5px 12px 5px 7px;
  }

  .project-cta {
    width: calc(100% - 24px);
    margin-top: 18px;
    padding: 32px 16px;
    border-radius: 18px;
  }

  .project-cta .non-heading-title {
    padding: 11px 14px;
    border-radius: 14px;
    font-size: clamp(21px, 3.4vw, 38px);
  }

  .project-cta p {
    font-size: 15px;
  }

  .foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 18px 20px;
  }

  .video-modal {
    gap: 8px;
    padding: 12px;
  }

  .video-modal-toolbar {
    width: min(92vw, 42.75dvh, 420px);
  }

  .video-modal-inner {
    width: min(92vw, 42.75dvh, 420px);
    height: min(163.56vw, 76dvh, 680px);
    max-height: 76dvh;
    aspect-ratio: auto;
    border-radius: 14px;
  }

  .video-modal-close {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }
}

@media (max-width: 390px) {
  .top {
    padding-inline: 13px;
  }

  .nav {
    gap: 9px;
    font-size: 8px;
  }

  .name {
    font-size: 9px;
  }

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

  .portfolio-grid .info .card-title {
    font-size: 21px;
  }

  .video-modal-inner {
    width: min(92vw, 41.625dvh, 420px);
    height: min(163.56vw, 74dvh, 600px);
    max-height: 74dvh;
  }

  .video-modal-toolbar {
    width: min(92vw, 41.625dvh, 420px);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .intro-body::before,
  .intro-body::after {
    animation: none !important;
  }

  html.has-js .will-reveal {
    opacity: 1;
    transform: none;
  }

  .work-step:hover,
  .intro-button:hover,
  .cta:hover,
  .contact-method:hover {
    transform: none;
  }
}


/* Owner-requested compact actions and phone-first video gallery. */
.intro-actions {
  gap: 8px;
  margin-top: 18px;
}

.intro-actions .intro-button {
  min-height: 34px;
  padding: 7px 12px;
  font-size: 10px;
}

.intro-actions .intro-button-resume {
  min-height: 22px;
  padding: 2px 8px;
  border-color: #45d5d56b;
  background: linear-gradient(145deg, #087d83, #075b62);
  color: #f5f0e6;
  font-size: 8px;
  letter-spacing: .03em;
  box-shadow: 0 4px 12px #00000025;
}

.intro-actions .intro-button-resume:hover {
  border-color: #70e8e5;
  background: linear-gradient(145deg, #0a9298, #086a70);
  color: #fff;
}

@media (max-width: 680px) {
  .intro-actions {
    display: flex;
    grid-template-columns: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    margin-top: 16px;
  }

  .intro-actions .intro-button {
    width: auto;
    min-height: 32px;
    padding: 6px 9px;
    font-size: 9px;
  }

  .intro-actions .intro-button-resume {
    min-height: 22px;
    padding: 2px 7px;
    font-size: 8px;
  }

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

  .portfolio-grid .card {
    gap: 7px;
  }

  .portfolio-grid .info .tag {
    font-size: 7px;
    letter-spacing: .08em;
  }

  .portfolio-grid .info .card-title {
    font-size: clamp(12px, 3vw, 15px);
    line-height: 1.12;
  }

  .portfolio-grid .info p {
    font-size: 10px;
    line-height: 1.42;
  }

  .portfolio-grid .num {
    top: 6px;
    left: 6px;
    padding: 3px 5px;
    font-size: 7px;
  }
}

@media (max-width: 360px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-actions {
    gap: 5px;
  }

  .intro-actions .intro-button {
    padding: 5px 7px;
    font-size: 8px;
  }

  .intro-actions .intro-button-resume {
    padding: 2px 6px;
    font-size: 7px;
  }

  .top {
    gap: 6px;
    padding-inline: 12px;
  }

  .nav {
    gap: 5px;
    font-size: 8px;
    letter-spacing: .03em;
  }
}


/* A small, matching explanation link directly beneath each sample-video thumbnail. */
.why-button {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  margin-top: -5px;
  padding: 3px 9px;
  border: 1px solid #45d5d56b;
  border-radius: 999px;
  background: #075b62;
  color: #f5f0e6;
  font-size: 9px;
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: .04em;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.why-button:hover,
.why-button:focus-visible {
  transform: translateY(-1px);
  border-color: #70e8e5;
  background: #0a777c;
  color: #ffffff;
}

@media (max-width: 680px) {
  .why-button {
    min-height: 18px;
    padding: 2px 7px;
    font-size: 8px;
  }
}

main {
  position: relative;
  z-index: 1;
}

.portfolio-photo-watermark {
  position: fixed;
  z-index: 0;
  top: clamp(70px, 9vh, 132px);
  right: -176px;
  width: clamp(220px, 30vw, 420px);
  aspect-ratio: 3 / 4;
  background: url("./portfolio-portrait-cutout.png") center / contain no-repeat;
  opacity: .085;
  filter: grayscale(1) saturate(.7) contrast(.94);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 42%, transparent 78%);
  mask-image: radial-gradient(ellipse at center, #000 42%, transparent 78%);
  pointer-events: none;
}
@media (max-width: 700px) {
  .portfolio-photo-watermark {
    top: 92px;
    right: -118px;
    width: clamp(170px, 52vw, 230px);
    opacity: .055;
  }
}


/* Retained copy is ordinary text, not a visual heading hierarchy. */
.intro-heading {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.7;
  text-wrap: balance;
}

.intro-heading > span {
  color: inherit;
}

.portfolio-grid .info .card-title {
  margin: 7px 0 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.65;
}

.non-heading-title {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.7;
}

.how-work .head .non-heading-title {
  margin: 0;
}

.pdf-reader-heading .pdf-reader-title {
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.45;
  text-overflow: ellipsis;
}

.project-cta .non-heading-title {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.7;
}

/* Portfolio title and retained section copy, updated per the owner's styling request. */
#work .head h2 {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 8px 15px;
  border: 1px solid #45d5d56b;
  border-radius: 999px;
  background: #075b62;
  color: #f5f0e6;
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.1;
  white-space: nowrap;
}
/* Match the tagline card's width to the last video sample at each grid breakpoint. */
.intro-headline-box {
  width: 100%;
  max-width: clamp(190px, calc(20vw - 30px), 206px);
  padding: 16px 14px;
  border-radius: 16px;
}
.intro-heading {
  max-width: none;
  color: #f5f0e6;
  font-size: clamp(20px, 2vw, 23px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.14;
  text-align: center;
}
.intro-heading > span {
  color: var(--accent);
}
.intro-heading .nowrap {
  white-space: normal;
}
@media (min-width: 901px) and (max-width: 1101px) {
  .intro-headline-box {
    max-width: calc((100vw - 130px) / 4);
  }
}
@media (min-width: 774px) and (max-width: 900px) {
  .intro-headline-box {
    max-width: calc((100vw - 114px) / 4);
  }
}
@media (min-width: 681px) and (max-width: 773px) {
  .intro-headline-box {
    max-width: calc((100vw - 92px) / 3);
  }
}
@media (min-width: 391px) and (max-width: 680px) {
  .intro-headline-box {
    max-width: calc((100vw - 60px) / 3);
    padding: 12px 8px;
  }
  .intro-heading {
    font-size: clamp(13px, 3.4vw, 19px);
    overflow-wrap: anywhere;
  }
}
@media (min-width: 361px) and (max-width: 390px) {
  .intro-headline-box {
    max-width: calc((100vw - 60px) / 3);
    padding: 12px 8px;
  }
  .intro-heading {
    font-size: 13px;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 360px) {
  .intro-headline-box {
    max-width: calc((100vw - 50px) / 2);
    padding: 12px 10px;
  }
  .intro-heading {
    font-size: 15px;
    overflow-wrap: anywhere;
  }
}
.how-work .head .non-heading-title,
.contact-scope .head .non-heading-title {
  display: inline-block;
  width: fit-content;
  color: transparent;
  background-image: linear-gradient(90deg, #f5f0e6 0 60%, var(--accent) 60% 100%);
  background-repeat: no-repeat;
  background-clip: text;
  -webkit-background-clip: text;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.2;
}
.portfolio-grid .info .card-title {
  color: #f5f0e6;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
}
.portfolio-grid .info .card-title::before {
  display: inline-block;
  width: 4px;
  height: .85em;
  margin-right: 6px;
  border-radius: 2px;
  background: var(--accent);
  content: "";
}
.project-cta .non-heading-title {
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 17px);
  font-weight: 750;
  line-height: 1.4;
}
