/* ==========================================================================
   style.css — all styling for the whole website (one file for every page)
   --------------------------------------------------------------------------
   HOW TO EDIT
   - Colours:  change the values just below (":root"). The whole site updates.
   - Search (Ctrl+F) for a "===== NAME =====" heading to jump to a section.
   - Later rules override earlier ones, so keep the order of the file.
   - After editing, change ?v=3 to ?v=4 in the <link> tag of the HTML files
     so visitors' browsers load the new version.

   CONTENTS
     1. Brand colours & variables
     2. Base / layout / headings / header / buttons
     3. Hero, stats bar, cards
     4. Two-column, chips, timeline, video, screenshots
     5. Dark contact block, FAQ, form, footer
     6. Effects (reveal, cursor, scrolling strip)
     7. Responsive (media queries)
     8. Later additions (accessibility, mobile buttons, fixes)
     9. Utilities (small helper classes)
   ========================================================================== */

/* ===== 1. BRAND COLOURS & VARIABLES (edit here) ===== */
:root {
  --brand: #ef3856;
  --brand-soft: #fde6ea;
  --bg: #efece8;
  --alt: #e8e4df;
  --card: #f8f7f5;
  --line: #d9d4ce;
  --text: #1a1a1f;
  --mute: #5d5b63;
  --dark: #16161b;
  --gold: #ffc857; /* refined yellow: small accents only (about 15% of the site) */
  --r: 18px;
  --w: 1160px;
}

/* ===== BASE: reset & global elements ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--text);
  font:
    16px/1.65 Inter,
    system-ui,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}

/* ===== LAYOUT: page width, sections ===== */
.wrap {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 24px;
}
section {
  padding: 88px 0;
}
section.alt {
  background: var(--alt);
}
h1,
h2,

/* ===== HEADINGS & TEXT ===== */
h3 {
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
}
h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
}
h2 em,
h1 em {
  color: var(--brand);
  font-style: normal;
}
.tag {
  display: inline-block;
  color: var(--brand);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.tag:before {
  content: "— ";
}
.lead {
  color: var(--mute);
  font-size: 1.06rem;
  max-width: 640px;
  margin-top: 16px;
}
.head {
  margin-bottom: 48px;
  max-width: 720px;
}
.head.center {
  margin-inline: auto;
  text-align: center;
}
.head.center .lead {
  margin-inline: auto;
}

/* ===== HEADER & MENU ===== */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(239, 236, 232, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}
.logo b {
  color: var(--brand);
}
.links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.links a {
  color: var(--mute);
  font-size: 0.92rem;
  font-weight: 500;
  transition: 0.2s;
}
.links a:hover,
.links a.on {
  color: var(--brand);
}
.burger {
  display: none;
  background: none;
  border: 0;
  color: var(--text);
  font-size: 1.7rem;
  cursor: pointer;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand);
  color: #fff !important;
  padding: 13px 28px;
  border-radius: 99px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  font-size: 0.97rem;
  line-height: 1.2;
  transition: 0.25s;
}
.btn:hover {
  box-shadow: 0 12px 28px -10px var(--brand);
}
.btn.ghost {
  background: var(--card);
  color: var(--text) !important;
  border: 1px solid var(--line);
}
.btn.ghost:hover {
  border-color: var(--brand);
  color: var(--brand) !important;
  box-shadow: none;
}
.btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}
/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 28px 0 56px;
  background: radial-gradient(
    260px circle at var(--mx, 50%) var(--my, 10%),
    rgba(239, 56, 86, 0.04),
    transparent 70%
  );
}
.hero h1 {
  font-size: clamp(2.8rem, 8.5vw, 5.6rem);
  letter-spacing: -0.04em;
  margin-top: 6px;
}
.hero .lead {
  margin-inline: auto;
}
.hero .btns {
  justify-content: center;
  margin-top: 24px;
}
.hero .lead {
  margin-top: 12px;
  max-width: 720px;
}
.role {
  margin-top: 14px;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--mute);
}
.arch {
  width: clamp(230px, min(44vw, 46vh), 480px);
  margin: 0 auto 10px;
}
.arch img {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== STATS BAR ===== */
.band {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.35);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 30px 0;
}
.stat {
  text-align: center;
  padding: 0 12px;
}
.stat b {
  font-size: 2rem;
  display: block;
  line-height: 1.2;
}
.stat span {
  color: var(--mute);
  font-size: 0.88rem;
}
.hero.in {
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--line);
}
.hero.in h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  max-width: 860px;
  margin: 0 auto;
  letter-spacing: -0.03em;
}
.hero.in .lead {
  margin-top: 18px;
}
/* ===== CARDS ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.cards.two {
  grid-template-columns: repeat(2, 1fr);
}
.cards.four {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card {
  background: var(--card);
  border: 1px solid #fff;
  border-radius: var(--r);
  overflow: hidden;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
a.card:hover {
  border-color: rgba(239, 56, 86, 0.5);
  box-shadow: 0 22px 40px -22px rgba(0, 0, 0, 0.25);
}
.card .img {
  aspect-ratio: 16/10;
  object-fit: cover;
  object-position: top;
  width: 100%;
}
.ph {
  aspect-ratio: 16/10;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand-soft), #f9b9c4);
  color: var(--brand);
  font-weight: 800;
  font-size: 1.2rem;
  padding: 20px;
  text-align: center;
}
.card .b {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card p {
  color: var(--mute);
  font-size: 0.94rem;
  margin-top: 8px;
}
.card small {
  color: var(--brand);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.card h3 {
  font-size: 1.15rem;
  margin-top: 6px;
}
.more {
  color: var(--brand);
  font-weight: 600;
  font-size: 0.93rem;
  margin-top: auto;
  padding-top: 16px;
}
.pad {
  padding: 28px;
}
.icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--dark);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
}
.num .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 22px;
}
.num .top span {
  color: var(--mute);
  font-weight: 600;
}
.pad.mid {
  align-items: center;
  text-align: center;
}
.pad.mid .icon {
  margin-bottom: 16px;
}
.pad .icon + h3,
.pad .icon + p {
  margin-top: 12px;
}
.gx {
  color: #fff;
  border: 0;
  padding: 28px;
  min-height: 210px;
}
.gx .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.gx h3 {
  margin: 0;
}
.gx .icon {
  background: rgba(255, 255, 255, 0.22);
  width: 40px;
  height: 40px;
}
.gx p {
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 18px;
}
.gx .more {
  color: #fff;
  padding: 0;
}
.g1 {
  background: linear-gradient(135deg, #f46a5e, #d73a3a);
}
.g2 {
  background: linear-gradient(135deg, #6a3fd1, #a246e0);
}
.g3 {
  background: linear-gradient(135deg, #34a67f, #1f7a5a);
}

/* ===== TWO-COLUMN LAYOUT, CHIPS, ABOUT TEXT, TIMELINE, VIDEO, SCREENSHOTS ===== */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.split .head {
  margin-bottom: 0;
}
.split > img,
.shots img {
  width: 100%;
  border-radius: var(--r);
  box-shadow: 14px 14px 0 rgba(239, 56, 86, 0.2);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.chips span {
  background: var(--card);
  border: 1px solid #fff;
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 0.88rem;
  font-weight: 500;
}
.chips span:before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  margin-right: 10px;
}
.about p {
  margin-top: 16px;
  color: var(--mute);
}
.about p b {
  color: var(--text);
}
.time {
  border-top: 1px solid var(--line);
}
.row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.row > b {
  font-size: 0.95rem;
}
.row h3 {
  font-size: 1.25rem;
}
.row em {
  display: block;
  color: var(--brand);
  font-style: normal;
  font-weight: 600;
  font-size: 0.85rem;
  margin: 6px 0 8px;
}
.row p {
  color: var(--mute);
  max-width: 560px;
}
.video {
  position: relative;
  aspect-ratio: 9/16;
  width: 100%;
  max-width: 330px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  background: #000 center/cover;
  box-shadow: 14px 14px 0 rgba(239, 56, 86, 0.2);
  cursor: pointer;
}
.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 76px;
  height: 76px;
  margin: -38px 0 0 -38px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  padding-left: 5px;
}
.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.shots img {
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: top;
  box-shadow: none;
  border: 1px solid #fff;
}
/* ===== DARK CONTACT ===== */
.dark {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(650px circle at 100% 15%, rgba(239, 56, 86, 0.22), transparent 60%),
    radial-gradient(700px circle at 0% 100%, rgba(130, 80, 120, 0.32), transparent 60%),
    linear-gradient(160deg, #313134, #222225);
  color: #fff;
  text-align: center;
}
.dark:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.3;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.dark > .wrap {
  position: relative;
}
.dark .lead {
  color: #b9b8c0;
  margin-inline: auto;
}
.dark .chips {
  justify-content: center;
}
.dark .chips span {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}
.cc {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 44px;
  text-align: left;
}
.cc a {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r);
  padding: 26px;
  transition: 0.25s;
}
.cc a:hover {
  border-color: var(--brand);
  background: rgba(255, 255, 255, 0.12);
}
.cc small {
  display: block;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.74rem;
}
.cc b {
  display: block;
  margin-top: 6px;
  font-size: 1.05rem;
  word-break: break-word;
}

/* ===== FAQ (accordion) ===== */
details {
  background: var(--card);
  border: 1px solid #fff;
  border-radius: 14px;
  padding: 18px 24px;
  margin-bottom: 12px;
}
summary {
  cursor: pointer;
  font-weight: 600;
}
details p {
  color: var(--mute);
  margin-top: 10px;
}

/* ===== CONTACT FORM ===== */
form {
  display: grid;
  gap: 14px;
  background: var(--card);
  border: 1px solid #fff;
  border-radius: var(--r);
  padding: 32px;
}
input,
textarea,
select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 14px 18px;
  border-radius: 12px;
  font: inherit;
}
input:focus,
textarea:focus,
select:focus {
  outline: 0;
  border-color: var(--brand);
}

/* ===== FOOTER ===== */
footer {
  padding: 36px 0;
  font-size: 0.9rem;
  color: var(--mute);
}
.fnav {
  display: flex;
  gap: 26px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.fnav a:hover {
  color: var(--brand);
}
.frow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.frow p {
  text-align: right;
}
.soc {
  display: flex;
  gap: 10px;
}
.soc a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text);
}
.soc a:hover {
  background: var(--brand);
  color: #fff;
}
/* ===== EFFECTS ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s,
    transform 0.7s;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--brand);
  z-index: 100;
}
header.sc {
  box-shadow: 0 8px 30px -18px rgba(0, 0, 0, 0.3);
}

/* ===== SCROLLING SKILLS STRIP ===== */
.marq {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 20px 0;
}
.marq div {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: mq 30s linear infinite;
}
.marq span {
  font-weight: 800;
  font-size: 1.1rem;
  color: #b9b4ae;
  white-space: nowrap;
}
.marq span:nth-child(odd) {
  color: var(--text);
}
.marq span:after {
  content: "✦";
  color: var(--brand);
  margin-left: 48px;
}
@keyframes mq {
  to {
    transform: translateX(-50%);
  }
}

/* ===== RESPONSIVE: tablet & mobile (media queries) ===== */
@media (prefers-reduced-motion: reduce) {
  .marq div {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
@media (max-width: 1000px) {
  .cards.four {
    grid-template-columns: 1fr 1fr;
  }
  .links {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  section {
    padding: 64px 0;
  }
  .hero {
    padding-top: 52px;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .cards,
  .shots,
  .cc {
    grid-template-columns: 1fr 1fr;
  }
  .cards.two {
    grid-template-columns: 1fr;
  }
  .burger {
    display: block;
  }
  .links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    border-bottom: 1px solid var(--line);
  }
  .links.open {
    display: flex;
  }
  .row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .frow {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .frow p {
    text-align: center;
  }
  .soc {
    justify-content: center;
  }
  .frow .logo {
    justify-self: center;
  }
}
@media (max-width: 560px) {
  .cards,
  .cards.four,
  .shots,
  .cc {
    grid-template-columns: 1fr;
  }
  .btns .btn {
    width: 100%;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
}


/* ===== LATER ADDITIONS: accessibility, mobile buttons, polish =====
   (these rules come later on purpose and override earlier ones — keep the order) */
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
  border-radius: 0 0 10px 0;
}
.skip:focus {
  left: 0;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
.video:focus-visible,
input:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
.hero {
  background:
    radial-gradient(
      260px circle at var(--mx, 50%) var(--my, 10%),
      rgba(239, 56, 86, 0.05),
      transparent 60%
    ),
    linear-gradient(180deg, #fbfaf8, #f2efeb);
}
.hero.in {
  background:
    radial-gradient(
      260px circle at var(--mx, 50%) var(--my, 10%),
      rgba(239, 56, 86, 0.05),
      transparent 60%
    ),
    linear-gradient(180deg, var(--brand-soft), #f6f2ee);
}
.hero h1 .role {
  display: block;
  line-height: 1.5;
  margin-top: 14px;
}
.hero.in .btns {
  justify-content: center;
  margin-top: 28px;
}
.trust {
  margin-top: 18px;
  font-size: 0.86rem;
  color: var(--mute);
  font-weight: 500;
}
.stars {
  color: #f5a623;
  letter-spacing: 3px;
  margin-bottom: 12px;
}
.btn {
  min-height: 46px;
}
.burger {
  min-width: 44px;
  min-height: 44px;
}
.soc a {
  width: 44px;
  height: 44px;
}
.fnav a {
  padding: 8px 4px;
}
summary {
  padding: 6px 0;
}
.mcta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(239, 236, 232, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.mcta .btn {
  flex: 1;
  padding: 12px;
}
@media (max-width: 900px) {
  .links a {
    padding: 10px 0;
    width: 100%;
  }
  .hero.in {
    padding: 56px 0 52px;
  }
}
@media (max-width: 700px) {
  .mcta {
    display: flex;
  }
  body {
    padding-bottom: 74px;
  }
  .hero h1 .role {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }
  .trust {
    font-size: 0.8rem;
  }
}
.links a:not(.btn) {
  padding: 10px 0;
}

/* ===== LATER ADDITIONS: footer fix, featured-design frames ===== */
footer nav {
  height: auto;
}
.show {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.frame {
  background: var(--card);
  border: 1px solid #fff;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 24px 50px -32px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s;
}
.frame:hover {
  transform: translateY(-6px);
}
.bar2 {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.bar2 i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d3cdc6;
}
.bar2 i:first-child {
  background: var(--brand);
}
.bar2 span {
  margin-left: 10px;
  font-size: 0.74rem;
  color: var(--mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.frame img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: top;
}
@media (max-width: 900px) {
  .show {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    margin-inline: -24px;
    padding: 0 24px 14px;
  }
  .frame {
    flex: 0 0 84%;
    scroll-snap-align: center;
  }
}
@media (max-width: 700px) {
  .fnav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 12px;
    text-align: center;
    margin-bottom: 20px;
  }
  .fnav a {
    display: block;
  }
  .frow {
    gap: 18px;
    justify-items: center;
  }
}
footer .logo {
  color: var(--text);
}

/* ===== Utilities (small helper classes used in the HTML) ===== */
.text-center {
  text-align: center;
}
.mt-32 {
  margin-top: 32px;
}
.mt-36 {
  margin-top: 36px;
}
.mw-800 {
  max-width: 800px;
}
.mw-680 {
  max-width: 680px;
}
.justify-center {
  justify-content: center;
}
.pad-y-56 {
  padding: 56px 0;
}
.img-4x3 {
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: top;
}

/* ===== VIDEO CARD (Meet Me section, links to YouTube) ===== */
.video {
  box-shadow:
    0 34px 60px -30px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.7);
}
.video a {
  position: absolute;
  inset: 0;
  display: block;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 40%, rgba(0, 0, 0, 0.78));
}
.vplay {
  position: absolute;
  top: 46%;
  left: 50%;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 12px 30px -8px var(--brand);
  transition: transform 0.25s;
}
.vplay:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fff;
}
.vplay:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--brand);
  animation: vpulse 2.2s ease-out infinite;
}
.video a:hover .vplay {
  transform: scale(1.1);
}
.vcap {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}
.vcap small {
  display: block;
  color: #fff;
  opacity: 0.75;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.vcap em {
  font-style: normal;
  float: right;
}
@keyframes vpulse {
  to {
    transform: scale(1.7);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .vplay:after {
    animation: none;
  }
}

/* ===== MOBILE HERO PHOTO (small phones only: +4px bigger) ===== */
@media (max-width: 700px) {
  .arch {
    width: clamp(234px, min(44vw, 46vh), 480px);
  }
}

/* ===== INTRO VIDEO THUMBNAIL (landscape photo, links to YouTube) ===== */
.video {
  aspect-ratio: 16 / 9;
  max-width: 100%;
}
.vthumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.video:hover .vthumb {
  transform: scale(1.04);
}
/* play button sits on the monitor side so your face stays clear */
.vplay {
  left: 26%;
}
@media (max-width: 560px) {
  .vplay {
    top: 38%;
    width: 58px;
    height: 58px;
    margin: -29px 0 0 -29px;
  }
  .vplay:before {
    border-width: 9px 0 9px 15px;
  }
  .vcap {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 9px 12px;
    font-size: 0.85rem;
  }
}

/* ===== CONTACT PAGE: alternate number line ===== */
.alt-num {
  margin-top: 22px;
  text-align: center;
  color: #b9b8c0;
  font-size: 0.95rem;
}
.alt-num a {
  color: #fff;
  font-weight: 600;
}

/* ===== EMAIL CARD: keeps the address on one line inside the 4-card row ===== */
.cc a[href^="mailto:"] b {
  font-size: 0.88rem;
  word-break: normal;
  overflow-wrap: normal;
}

/* ===== INTRO VIDEO: layout for the designed thumbnail (text is already in the image) ===== */
.vplay {
  left: 48%;
  top: 66%;
  width: 60px;
  height: 60px;
  margin: -30px 0 0 -30px;
}
.vplay:before {
  border-width: 9px 0 9px 15px;
}
.video a {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.4));
}
.vcap {
  left: auto;
  right: 12px;
  bottom: 12px;
  padding: 8px 14px;
  font-size: 0.85rem;
}
@media (max-width: 560px) {
  .vplay {
    left: 42%;
    top: 52%;
    width: 48px;
    height: 48px;
    margin: -24px 0 0 -24px;
  }
  .vplay:before {
    border-width: 8px 0 8px 13px;
  }
  .vcap {
    padding: 6px 10px;
    font-size: 0.78rem;
  }
}

/* ===== Live websites: single / two-card rows keep the same card width as the 3-column grid ===== */
.cards.solo {
  grid-template-columns: minmax(0, 380px);
  justify-content: center;
}
.cards.duo {
  grid-template-columns: repeat(2, minmax(0, 380px));
  justify-content: center;
}
@media (max-width: 900px) {
  .cards.duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .cards.solo,
  .cards.duo {
    grid-template-columns: 1fr;
  }
}

/* ===== INTRO VIDEO: player shown after the click ===== */
.video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.video.playing {
  cursor: default;
}

/* ===== INTRO VIDEO: play button position for the current thumbnail (keeps text and face clear) ===== */
.vplay {
  left: 61%;
  top: 66%;
}
@media (max-width: 560px) {
  .vplay {
    left: 60%;
    top: 54%;
  }
}

/* ===== CERTIFICATES & RESUME (About page) =====
   Sits right under the experience timeline, so it needs no top spacing. Certificates show whole (not cropped). */
.docs-sec {
  padding-top: 0;
}
.card .img.doc {
  object-fit: contain;
  object-position: center;
  background: #fff;
}

/* ===== FIGMA PAGE: space above the second project group (websites) ===== */
.group-head {
  margin-top: 80px;
}
@media (max-width: 900px) {
  .group-head {
    margin-top: 56px;
  }
}

/* ===== INNER-PAGE HERO: slightly smaller, wider headline so it sits on two lines (home hero not affected) ===== */
.hero.in h1 {
  max-width: 1000px;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
}


/* ===== HOME HERO (dark, two columns + scrolling project rows) =====
   Only the home page uses <section class="hero home">, so inner pages are not affected. */
.hero.home {
  text-align: left;
  padding: 44px 0 56px;
  color: #fff;
  background:
    radial-gradient(260px circle at var(--mx, 70%) var(--my, 20%), rgba(239, 56, 86, 0.07), transparent 70%),
    var(--dark);
}
.hero-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}
.hero.home h1 {
  color: var(--brand);
  font-weight: 500;
  font-size: clamp(2.8rem, 8vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0;
}
.hero.home h1 .role {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 4.2vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #fff;
  margin-top: 10px;
}
.hero.home .lead {
  color: rgba(255, 255, 255, 0.78);
  margin: 24px 0 0;
  max-width: 540px;
}
.hero.home .btns {
  justify-content: flex-start;
  margin-top: 28px;
}
.hero.home .btn.ghost {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.hero.home .btn.ghost:hover {
  border-color: #fff;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
}
.hero.home .trust {
  color: rgba(255, 255, 255, 0.6);
  text-align: left;
}

/* portrait card + tool badges + availability pill */
.portrait {
  position: relative;
  width: min(100%, 420px);
  margin: 0 auto 18px;
}
.pcard {
  position: relative;
}
.pcard:before { /* red arch outline offset behind the photo */
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 2px solid var(--brand);
  border-radius: 999px 999px 26px 26px;
  opacity: 0.7;
}
.pcard img {
  position: relative;
  width: 100%;
}
.badge {
  position: absolute;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 17px;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 3;
  cursor: grab;
  touch-action: none;
  user-select: none;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s; /* springs back after a drag */
}
.badge:hover,
.badge.drag {
  transform: scale(1.14) rotate(-5deg);
  box-shadow: 0 0 0 2px var(--ring), 0 0 28px -2px var(--ring);
}
.badge.drag {
  cursor: grabbing;
  transition: box-shadow 0.3s; /* follows the mouse with no delay while dragging */
}
.badge:after { /* tool name above the icon */
  content: attr(data-name);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 6px);
  background: var(--brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 99px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.badge:hover:after,
.badge.drag:after {
  opacity: 1;
  transform: translate(-50%, 0);
}
.b1 { top: 9%;     left: -4%;  background: #1e1e1e; color: #f24e1e; --ring: #f24e1e; }
.b2 { top: 5%;     right: -4%; background: #fff;     color: #111; --ring: #ffffff; }
.b3 { bottom: 27%; left: -5%;  background: #21759b; color: #fff; --ring: #4cb5e8; }
.b4 { bottom: 20%; right: -4%; background: #92003b; color: #fff; --ring: #ff4f8b; }
.avail {
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 99px;
}
.avail:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1f9d55;
}

/* two scrolling rows of project screenshots (second row runs the other way) */
.prow {
  overflow: hidden;
  margin-top: 16px;
}
.prow:first-of-type {
  margin-top: 64px;
}
.ptrack {
  display: flex;
  width: max-content;
  animation: prow 70s linear infinite;
}
.prow.rev .ptrack {
  animation-direction: reverse;
  animation-duration: 80s;
}
.prow:hover .ptrack {
  animation-play-state: paused;
}
.pset {
  display: flex;
  gap: 16px;
  padding-right: 16px;
}
.pset img {
  width: clamp(220px, 28vw, 380px);
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: top;
  border-radius: 18px;
  background: #23232b;
}
@keyframes prow {
  to {
    transform: translateX(-50%);
  }
}

@media (min-width: 900px) {
  .hero.home {
    padding: 64px 0 72px;
  }
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
  }
}
@media (max-width: 700px) {
  .badge {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 0.9rem;
  }
  .b1, .b3 { left: -2px; }
  .b2, .b4 { right: -2px; }
  .hero.home h1 .role {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
    letter-spacing: -0.01em;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ptrack {
    animation: none;
  }
  .prow {
    overflow-x: auto;
  }
}


/* ===== PROJECTS SECTION (tabs, grid, "View all projects", preview window) =====
   Used by <section class="projects"> on the home page. Behaviour lives in main.js, section 8. */
.projects h2 em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--brand);
  font-size: 1.12em;
}
/* tabs: a pill track with a red pill that slides under the active tab */
.tabs {
  position: relative;
  display: inline-flex;
  max-width: 100%;
  padding: 5px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 99px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar {
  display: none;
}
.tabs button {
  position: relative;
  z-index: 1;
  background: none;
  border: 0;
  padding: 10px 20px;
  border-radius: 99px;
  font: 600 0.92rem/1.2 Inter, system-ui, sans-serif;
  color: var(--mute);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.25s;
}
.tabs button:hover {
  color: var(--text);
}
.tabs button.on {
  color: #fff;
}
.tabs sup {
  font-size: 0.7rem;
  font-weight: 600;
  opacity: 0.6;
  margin-left: 2px;
}
.tabs .thumb {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  width: 0;
  background: var(--brand);
  border-radius: 99px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
/* project grid */
.pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 24px;
  margin-top: 36px;
}
.proj {
  display: block;
  width: 100%;
  padding: 0;
  background: none;
  border: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  animation: pin 0.4s ease-out;
}
.proj[hidden] {
  display: none;
}
.pimg {
  display: block;
  aspect-ratio: 3 / 2;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--brand-soft);
  border: 1px solid var(--line);
}
.pimg.ph {
  display: grid;
  border: 0;
}
.pimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s;
}
.proj:hover .pimg img {
  transform: scale(1.04);
}
.pt {
  display: block;
  margin-top: 14px;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.3;
}
.proj:hover .pt {
  color: var(--brand);
}
.pk {
  display: block;
  color: var(--mute);
  font-size: 0.9rem;
}
.pmore {
  text-align: center;
  margin-top: 48px;
}
.pmore[hidden] {
  display: none;
}
@keyframes pin {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
/* preview window (opens when a project is clicked) */
.pmodal {
  width: min(1040px, 92vw);
  max-height: 90vh;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 22px;
  overflow: auto;
  background: var(--card);
  color: var(--text);
}
.pmodal::backdrop {
  background: rgba(22, 22, 27, 0.75);
  backdrop-filter: blur(4px);
}
body:has(.pmodal[open]) {
  overflow: hidden;
}
.pm-media {
  background: var(--alt);
}
.pm-media img {
  width: 100%;
  max-height: 62vh;
  object-fit: contain;
}
.pm-media .ph {
  min-height: 320px;
  aspect-ratio: auto;
  border-radius: 0;
  font-size: 2rem;
}
.pm-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 24px;
  padding: 22px 28px;
}
.pm-title {
  font-size: 1.2rem;
}
.pm-kind {
  color: var(--brand);
  font-weight: 600;
  font-size: 0.86rem;
  margin-top: 2px;
}
.pm-desc {
  color: var(--mute);
  font-size: 0.94rem;
  margin-top: 6px;
  max-width: 560px;
}
.pm-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .pgrid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .pgrid {
    grid-template-columns: 1fr;
  }
  .pm-bar {
    padding: 18px;
  }
  .pm-btns,
  .pm-btns .btn {
    width: 100%;
  }
}


/* ==========================================================================
   SITE-WIDE: makes every page match the new home page
   (dark header, dark page intro, serif-italic headline words, left-aligned headings)
   ========================================================================== */

/* headings: calmer weight, and the highlighted phrase uses the same serif italic as the hero */
h1, h2, h3 {
  font-weight: 600;
}
h2 {
  letter-spacing: -0.03em;
}
h1 em,
h2 em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.12em;
  letter-spacing: -0.01em;
  color: var(--brand);
}
/* every section heading is left-aligned, like the home page */
.head.center {
  margin-inline: 0;
  text-align: left;
}
.head.center .lead {
  margin-inline: 0;
}

/* header: dark, so it flows into the dark page intro; "Hire me" is the one red button */
header {
  background: rgba(22, 22, 27, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
header.sc {
  box-shadow: 0 8px 30px -18px rgba(0, 0, 0, 0.7);
}
.logo,
.burger {
  color: #fff;
}
.links a {
  color: rgba(255, 255, 255, 0.72);
}
.links a:hover,
.links a.on {
  color: #fff;
}
.links a.on {
  font-weight: 600;
}
.links a.hire {
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 99px;
}
.links a.hire:hover {
  box-shadow: 0 10px 24px -10px var(--brand);
}

/* page intro on every inner page: same dark look as the home hero */
.hero.in {
  text-align: left;
  padding: 72px 0 64px;
  border-bottom: 0;
  color: #fff;
  background:
    radial-gradient(260px circle at var(--mx, 70%) var(--my, 20%), rgba(239, 56, 86, 0.07), transparent 70%),
    var(--dark);
}
.hero.in h1 {
  color: #fff;
  margin: 0;
  max-width: 900px;
}
.hero.in .lead {
  color: rgba(255, 255, 255, 0.78);
  margin-inline: 0;
}
.hero.in .tag {
  color: rgba(255, 255, 255, 0.65);
}
.hero.in .btns {
  justify-content: flex-start;
}
.hero.in .btn.ghost {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.hero.in .btn.ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.hero.in .trust {
  color: rgba(255, 255, 255, 0.6);
  text-align: left;
}

/* dark blocks use the same ink colour as the hero */
.dark {
  background:
    radial-gradient(650px circle at 100% 15%, rgba(239, 56, 86, 0.2), transparent 60%),
    var(--dark);
}

/* ===== HOME: skills strip under the hero ===== */
.marq {
  border-top: 0;
}
.marq span:nth-child(even) {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--mute);
}

/* ===== HOME: reviews, "why work with me", numbers ===== */
.stars {
  color: #e9a820;
}
.dark.why {
  text-align: left;
}
.why .giant {
  margin: 0 0 48px;
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(3.4rem, 13.5vw, 10.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--brand);
}
.why .head {
  max-width: 760px;
}
.why .tag {
  color: rgba(255, 255, 255, 0.65);
}
.why-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 40px;
  margin-top: 48px;
}
.why-cols > div {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 22px;
}
.why-cols h3 {
  font-size: 1.2rem;
}
.why-cols p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.96rem;
  margin-top: 8px;
}
.numbers .stats {
  gap: 16px;
  padding: 0;
}
.numbers .stat {
  text-align: left;
  padding: 28px 26px;
  background: var(--card);
  border: 1px solid #fff;
  border-radius: var(--r);
}
.numbers .stat b {
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}
.numbers .stat b i {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--brand);
  margin-left: 2px;
}
.numbers .stat span {
  display: block;
  margin-top: 14px;
}
.numbers .note {
  margin-top: 20px;
  color: var(--mute);
  font-size: 0.86rem;
}
@media (max-width: 900px) {
  .links a.hire {
    width: auto;
    padding: 11px 24px;
    margin-top: 6px;
  }
  .links {
    background: var(--dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .why-cols {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .hero.in {
    padding: 52px 0 48px;
  }
}


/* ==========================================================================
   ROUND 3 — colour hero, UI/UX icon trail on every page, filled-in layouts,
   Figma tabs, contact page. (Later rules override earlier ones — keep the order.)
   ========================================================================== */

/* ----- Colour: the near-black ink is now a deep indigo; hero gets a colourful gradient ----- */
:root {
  --dark: #1a1517;
  --hero-a: #261c20;
  --hero-b: #1d1719;
  --hero-c: #ef3856;
}
header {
  background: rgba(26, 21, 23, 0.92);
}
.hero.home,
.hero.in {
  background:
    radial-gradient(260px circle at var(--mx, 75%) var(--my, 25%), rgba(255, 200, 87, 0.07), transparent 70%),
    radial-gradient(760px circle at 108% -10%, rgba(239, 56, 86, 0.26), transparent 62%),
    radial-gradient(620px circle at -10% 112%, rgba(239, 56, 86, 0.1), transparent 62%),
    linear-gradient(160deg, var(--hero-a) 0%, var(--hero-b) 100%);
}
/* faint dot grid, like a design-tool canvas */
.hero.home::before,
.hero.in::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1.6px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
  mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero.home > .wrap,
.hero.in > .wrap {
  position: relative;
  z-index: 1;
}
.hero.home h1 {
  color: #fff;
  font-weight: 600;
}
.hero.home h1 .role {
  color: #ffd98a;
}
.hero.home .lead,
.hero.in .lead {
  color: rgba(255, 255, 255, 0.86);
}
.hero.home .trust,
.hero.in .trust,
.hero.in .tag,
.hero.home .tag {
  color: rgba(255, 255, 255, 0.78);
}

/* ----- UI/UX icon trail (mouse + scroll), every page. Created in main.js section 7 ----- */
.fx {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 110;
}
.ico {
  position: absolute;
  width: 22px;
  height: 22px;
  background: currentColor;
  opacity: 0;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  animation: ico 1.5s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.18));
}
@keyframes ico {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.3) rotate(0);
  }
  15% {
    opacity: 0.95;
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1.05) rotate(var(--r));
  }
}
/* icon shapes (mask images) */
.ico.cursor { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cpath d='M4 3l7.5 17.5 2.5-7.2 7.2-2.6z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cpath d='M4 3l7.5 17.5 2.5-7.2 7.2-2.6z'/%3E%3C/svg%3E"); }
.ico.pen { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cpath fill-rule='evenodd' d='M12 2l6 9-6 11-6-11zM12 9.4a1.7 1.7 0 1 0 .01 0z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cpath fill-rule='evenodd' d='M12 2l6 9-6 11-6-11zM12 9.4a1.7 1.7 0 1 0 .01 0z'/%3E%3C/svg%3E"); }
.ico.frame { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cpath d='M8 3v18M16 3v18M3 8h18M3 16h18' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cpath d='M8 3v18M16 3v18M3 8h18M3 16h18' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.ico.layers { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cpath d='M12 2.5l9.5 5.2L12 13 2.5 7.7z'/%3E%3Cpath d='M2.5 12l9.5 5.3 9.5-5.3M2.5 16.2l9.5 5.3 9.5-5.3' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cpath d='M12 2.5l9.5 5.2L12 13 2.5 7.7z'/%3E%3Cpath d='M2.5 12l9.5 5.3 9.5-5.3M2.5 16.2l9.5 5.3 9.5-5.3' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E"); }
.ico.type { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cpath d='M4 5h16v3.6h-6.1V20h-3.8V8.6H4z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cpath d='M4 5h16v3.6h-6.1V20h-3.8V8.6H4z'/%3E%3C/svg%3E"); }
.ico.curve { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cpath d='M4 19C9 19 9 5 14 5' fill='none' stroke='%23000' stroke-width='2'/%3E%3Ccircle cx='4.5' cy='19' r='2.6'/%3E%3Ccircle cx='19.5' cy='5' r='2.6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cpath d='M4 19C9 19 9 5 14 5' fill='none' stroke='%23000' stroke-width='2'/%3E%3Ccircle cx='4.5' cy='19' r='2.6'/%3E%3Ccircle cx='19.5' cy='5' r='2.6'/%3E%3C/svg%3E"); }
.ico.contrast { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Ccircle cx='12' cy='12' r='8' fill='none' stroke='%23000' stroke-width='2.4'/%3E%3Cpath d='M12 4a8 8 0 0 1 0 16z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Ccircle cx='12' cy='12' r='8' fill='none' stroke='%23000' stroke-width='2.4'/%3E%3Cpath d='M12 4a8 8 0 0 1 0 16z'/%3E%3C/svg%3E"); }
.ico.component { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cpath d='M12 2l4 4-4 4-4-4zM12 14l4 4-4 4-4-4zM2 12l4-4 4 4-4 4zM14 12l4-4 4 4-4 4z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cpath d='M12 2l4 4-4 4-4-4zM12 14l4 4-4 4-4-4zM2 12l4-4 4 4-4 4zM14 12l4-4 4 4-4 4z'/%3E%3C/svg%3E"); }
.ico.button { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Crect x='2.5' y='7' width='19' height='10' rx='5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Crect x='2.5' y='7' width='19' height='10' rx='5'/%3E%3C/svg%3E"); }

/* ----- Section headings: heading left, description right (no blank half) ----- */
:is(.wrap, .tgroup) > .head {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  column-gap: 64px;
  align-items: end;
  padding-bottom: 34px;
  margin-bottom: 44px;
  border-bottom: 1px solid var(--line);
}
:is(.wrap, .tgroup) > .head > .tag,
:is(.wrap, .tgroup) > .head > h2 {
  grid-column: 1;
}
:is(.wrap, .tgroup) > .head > h2 {
  max-width: 640px;
}
:is(.wrap, .tgroup) > .head > .lead {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  margin: 0;
  max-width: 520px;
  justify-self: end;
}
:is(.wrap, .tgroup) > .head:not(:has(.lead))::after {
  content: "";
  grid-column: 2;
  grid-row: 1 / span 2;
  justify-self: end;
  align-self: center;
  width: min(100%, 300px);
  aspect-ratio: 320 / 120;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right center;
  opacity: 0.7;
}
:is(.wrap, .tgroup) > .head:has(.lead)::after {
  display: none;
}
:is(.wrap, .tgroup) > .head::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 120' fill='none' stroke='%238c8580' stroke-width='1.5'%3E %3Crect x='60' y='10' width='150' height='100' rx='12'/%3E%3Ccircle cx='86' cy='36' r='11'/%3E %3Cpath d='M106 31h70M106 41h44' stroke-linecap='round'/%3E %3Crect x='76' y='62' width='118' height='7' rx='3.5'/%3E%3Crect x='76' y='76' width='80' height='7' rx='3.5'/%3E %3Crect x='76' y='92' width='56' height='12' rx='6' fill='%23ef3856' stroke='none'/%3E %3Cpath d='M232 22l-6-9M243 29l9-5M230 36l-10-1' stroke='%23ffc857' stroke-width='2.2' stroke-linecap='round'/%3E %3Cpath d='M142 91l18 8-7 3 5 9-4 2-5-9-7 5z' fill='%23ef3856' stroke='%23fff' stroke-width='1' stroke-linejoin='round'/%3E %3C/svg%3E"); }
main > section:nth-of-type(3n+2) :is(.wrap, .tgroup) > .head::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 120' fill='none' stroke='%238c8580' stroke-width='1.5'%3E %3Cpath d='M30 92C80 92 90 28 160 28S250 92 292 40' stroke-width='2.2'/%3E %3Cpath d='M30 92h28M160 28h-30M160 28h30M292 40l-22 -9' stroke-dasharray='3 3'/%3E %3Ccircle cx='58' cy='92' r='3.5' fill='%238c8580' stroke='none'/%3E%3Ccircle cx='130' cy='28' r='3.5' fill='%238c8580' stroke='none'/%3E%3Ccircle cx='190' cy='28' r='3.5' fill='%238c8580' stroke='none'/%3E %3Crect x='24' y='86' width='12' height='12' fill='%23fff'/%3E%3Crect x='286' y='34' width='12' height='12' fill='%23fff'/%3E %3Crect x='154' y='22' width='12' height='12' fill='%23ef3856' stroke='%23ef3856'/%3E %3Ccircle cx='230' cy='96' r='9' stroke='%23ffc857' stroke-width='2'/%3E%3Cpath d='M255 100l9-16 9 16z' stroke='%23ffc857' stroke-width='2' stroke-linejoin='round'/%3E %3C/svg%3E"); }
main > section:nth-of-type(3n) :is(.wrap, .tgroup) > .head::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 120' fill='none' stroke='%238c8580' stroke-width='1.5'%3E %3Crect x='30' y='18' width='250' height='88' stroke-dasharray='4 4'/%3E %3Cpath d='M110 18v88M200 18v88' stroke-dasharray='2 5'/%3E %3Crect x='62' y='36' width='96' height='54' rx='6' stroke='%23ef3856' stroke-width='1.8'/%3E %3Cpath d='M76 52h54M76 64h32' stroke-linecap='round'/%3E %3Crect x='58' y='32' width='8' height='8' fill='%23fff' stroke='%23ef3856'/%3E%3Crect x='154' y='32' width='8' height='8' fill='%23fff' stroke='%23ef3856'/%3E %3Crect x='58' y='86' width='8' height='8' fill='%23fff' stroke='%23ef3856'/%3E%3Crect x='154' y='86' width='8' height='8' fill='%23fff' stroke='%23ef3856'/%3E %3Crect x='62' y='12' width='46' height='14' rx='7' fill='%23ef3856' stroke='none'/%3E %3Ccircle cx='226' cy='62' r='20' stroke='%23ffc857' stroke-width='2'/%3E%3Cpath d='M262 84l14-24 14 24z' stroke='%23ffc857' stroke-width='2' stroke-linejoin='round'/%3E %3C/svg%3E"); }
.alt :is(.wrap, .tgroup) > .head {
  border-color: rgba(26, 26, 31, 0.12);
}
.dark :is(.wrap, .tgroup) > .head,
.why :is(.wrap, .tgroup) > .head {
  border-color: rgba(255, 255, 255, 0.16);
  max-width: none;
}
.why :is(.wrap, .tgroup) > .head > h2 {
  max-width: 720px;
}
/* two-up layouts keep their own narrow head */
.split .head {
  display: block;
  border: 0;
  padding: 0;
  margin-bottom: 0;
}

/* FAQ: simple stacked column (heading on top, answers below) */
details {
  transition: border-color 0.2s, box-shadow 0.2s;
}
details[open] {
  border-color: rgba(239, 56, 86, 0.4);
  box-shadow: 0 18px 36px -26px rgba(0, 0, 0, 0.35);
}
summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
  transition: transform 0.25s;
}
details[open] summary::after {
  transform: rotate(45deg);
}

/* Timeline (About): big index number fills the right side */
.time {
  counter-reset: job;
}
.row {
  counter-increment: job;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  align-items: center;
}
.row::after {
  content: counter(job, decimal-leading-zero);
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--line);
  transition: -webkit-text-stroke-color 0.3s, color 0.3s;
}
.row:hover::after {
  -webkit-text-stroke-color: var(--brand);
}

/* ----- Inner-page hero: artboard on the right (hero.in.art-*), moves a little with the mouse ----- */
.hero.in[class*="art-"]::after {
  content: "";
  position: absolute;
  right: max(24px, calc((100vw - var(--w)) / 2 + 24px));
  top: 50%;
  width: min(36vw, 440px);
  aspect-ratio: 520 / 380;
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  transform: translate(calc(var(--nx, 0) * 6px), calc(-50% + var(--ny, 0) * 4px));
  transition: transform 0.25s ease-out;
}
.hero.in[class*="art-"] > .wrap > :not(.btns) {
  max-width: min(100%, 660px);
}
.hero.in.art-app::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 380' fill='none' stroke-width='2'%3E %3Crect x='70' y='30' width='160' height='320' rx='28' stroke='%23fff' stroke-opacity='.45' fill='%23fff' fill-opacity='.08'/%3E%3Crect x='120' y='42' width='60' height='8' rx='4' fill='%23fff' fill-opacity='.3' stroke='none'/%3E %3Crect x='88' y='74' width='124' height='70' rx='12' fill='%23ef3856' fill-opacity='.85' stroke='none'/%3E %3Crect x='88' y='160' width='124' height='12' rx='6' fill='%23fff' fill-opacity='.35' stroke='none'/%3E%3Crect x='88' y='182' width='86' height='12' rx='6' fill='%23fff' fill-opacity='.2' stroke='none'/%3E %3Crect x='88' y='214' width='58' height='58' rx='14' stroke='%23fff' stroke-opacity='.45'/%3E%3Crect x='154' y='214' width='58' height='58' rx='14' stroke='%23fff' stroke-opacity='.45'/%3E %3Crect x='88' y='292' width='124' height='34' rx='17' fill='%23ffc857' stroke='none'/%3E %3Crect x='200' y='84' width='290' height='214' rx='16' stroke='%23fff' stroke-opacity='.45' fill='%23241a1d' fill-opacity='.55'/%3E %3Cpath d='M200 118h290' stroke='%23fff' stroke-opacity='.45'/%3E%3Ccircle cx='222' cy='101' r='5' fill='%23ef3856' stroke='none'/%3E%3Ccircle cx='240' cy='101' r='5' fill='%23ffc857' stroke='none'/%3E%3Ccircle cx='258' cy='101' r='5' fill='%23fff' fill-opacity='.5' stroke='none'/%3E %3Cpath d='M240 118v180' stroke='%23fff' stroke-opacity='.45'/%3E %3Crect x='216' y='136' width='10' height='10' rx='3' fill='%23fff' fill-opacity='.5' stroke='none'/%3E%3Crect x='216' y='160' width='10' height='10' rx='3' fill='%23fff' fill-opacity='.25' stroke='none'/%3E%3Crect x='216' y='184' width='10' height='10' rx='3' fill='%23fff' fill-opacity='.25' stroke='none'/%3E %3Crect x='264' y='222' width='28' height='56' rx='5' fill='%23ef3856' stroke='none'/%3E%3Crect x='304' y='196' width='28' height='82' rx='5' fill='%23ffc857' stroke='none'/%3E%3Crect x='344' y='236' width='28' height='42' rx='5' fill='%23fff' fill-opacity='.6' stroke='none'/%3E%3Crect x='384' y='170' width='28' height='108' rx='5' fill='%23ef3856' stroke='none'/%3E%3Crect x='424' y='208' width='28' height='70' rx='5' fill='%23ffc857' stroke='none'/%3E %3Crect x='264' y='136' width='90' height='10' rx='5' fill='%23fff' fill-opacity='.4' stroke='none'/%3E%3Crect x='264' y='156' width='150' height='8' rx='4' fill='%23fff' fill-opacity='.2' stroke='none'/%3E %3Cpath d='M388 300l30 14-12 5 8 14-7 4-8-14-11 9z' fill='%23fff' stroke='%23ef3856' stroke-width='2' stroke-linejoin='round'/%3E %3Ccircle cx='470' cy='52' r='20' fill='%23ffc857' stroke='none'/%3E%3Cpath d='M40 300l20-34 20 34z' stroke='%23fff' stroke-opacity='.45'/%3E %3C/svg%3E"); }
.hero.in.art-web::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 380' fill='none' stroke-width='2'%3E %3Crect x='40' y='40' width='440' height='300' rx='18' stroke='%23fff' stroke-opacity='.45' fill='%23241a1d' fill-opacity='.5'/%3E %3Cpath d='M40 84h440' stroke='%23fff' stroke-opacity='.45'/%3E%3Ccircle cx='66' cy='62' r='6' fill='%23ef3856' stroke='none'/%3E%3Ccircle cx='86' cy='62' r='6' fill='%23ffc857' stroke='none'/%3E%3Ccircle cx='106' cy='62' r='6' fill='%23fff' fill-opacity='.5' stroke='none'/%3E %3Crect x='140' y='51' width='230' height='22' rx='11' stroke='%23fff' stroke-opacity='.45'/%3E %3Crect x='64' y='108' width='250' height='20' rx='10' fill='%23fff' fill-opacity='.55' stroke='none'/%3E%3Crect x='64' y='138' width='190' height='20' rx='10' fill='%23fff' fill-opacity='.3' stroke='none'/%3E %3Crect x='64' y='176' width='150' height='10' rx='5' fill='%23fff' fill-opacity='.2' stroke='none'/%3E%3Crect x='64' y='196' width='120' height='36' rx='18' fill='%23ef3856' stroke='none'/%3E %3Crect x='340' y='104' width='116' height='128' rx='14' fill='%23ffc857' fill-opacity='.9' stroke='none'/%3E%3Ccircle cx='398' cy='160' r='26' fill='%23fff' fill-opacity='.5' stroke='none'/%3E %3Crect x='64' y='256' width='122' height='64' rx='12' stroke='%23fff' stroke-opacity='.45' fill='%23fff' fill-opacity='.08'/%3E%3Crect x='199' y='256' width='122' height='64' rx='12' stroke='%23fff' stroke-opacity='.45' fill='%23fff' fill-opacity='.08'/%3E%3Crect x='334' y='256' width='122' height='64' rx='12' stroke='%23fff' stroke-opacity='.45' fill='%23fff' fill-opacity='.08'/%3E %3Crect x='78' y='272' width='40' height='8' rx='4' fill='%23fff' fill-opacity='.4' stroke='none'/%3E%3Crect x='213' y='272' width='40' height='8' rx='4' fill='%23fff' fill-opacity='.4' stroke='none'/%3E%3Crect x='348' y='272' width='40' height='8' rx='4' fill='%23fff' fill-opacity='.4' stroke='none'/%3E %3Cpath d='M180 214l30 14-12 5 8 14-7 4-8-14-11 9z' fill='%23fff' stroke='%23ef3856' stroke-width='2' stroke-linejoin='round'/%3E %3Cpath d='M490 20l16 28-32 0z' stroke='%23fff' stroke-opacity='.45'/%3E%3Ccircle cx='30' cy='340' r='14' stroke='%23fff' stroke-opacity='.45'/%3E %3C/svg%3E"); }
.hero.in.art-me::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 380' fill='none' stroke-width='2'%3E %3Ccircle cx='260' cy='190' r='150' stroke='%23fff' stroke-opacity='.45' stroke-dasharray='4 8'/%3E%3Ccircle cx='260' cy='190' r='108' stroke='%23fff' stroke-opacity='.45' fill='%23fff' fill-opacity='.08'/%3E %3Crect x='62' y='66' width='64' height='64' rx='18' fill='%23ef3856' stroke='none'/%3E%3Cpath d='M94 82v32M78 98h32' stroke='%23fff' stroke-width='4' stroke-linecap='round'/%3E %3Crect x='394' y='58' width='64' height='64' rx='18' fill='%23ffc857' stroke='none'/%3E%3Ccircle cx='426' cy='90' r='14' stroke='%23241a1d' stroke-width='4'/%3E %3Crect x='382' y='258' width='64' height='64' rx='18' fill='%23fff' fill-opacity='.9' stroke='none'/%3E%3Cpath d='M400 290l14-16 14 16-14 16z' fill='%23ffc857' stroke='none'/%3E %3Crect x='76' y='252' width='64' height='64' rx='18' stroke='%23fff' stroke-opacity='.45' fill='%23fff' fill-opacity='.08'/%3E%3Cpath d='M92 284c10-14 22-14 32 0' stroke='%23fff' stroke-opacity='.45' stroke-width='3' stroke-linecap='round'/%3E %3C/svg%3E"); }
.hero.in.art-chat::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 380' fill='none' stroke-width='2'%3E %3Crect x='60' y='50' width='260' height='74' rx='22' stroke='%23fff' stroke-opacity='.45' fill='%23fff' fill-opacity='.08'/%3E%3Crect x='84' y='74' width='150' height='10' rx='5' fill='%23fff' fill-opacity='.45' stroke='none'/%3E%3Crect x='84' y='94' width='100' height='10' rx='5' fill='%23fff' fill-opacity='.25' stroke='none'/%3E %3Crect x='200' y='150' width='270' height='84' rx='24' fill='%23ef3856' stroke='none'/%3E%3Crect x='226' y='176' width='170' height='10' rx='5' fill='%23fff' fill-opacity='.85' stroke='none'/%3E%3Crect x='226' y='198' width='120' height='10' rx='5' fill='%23fff' fill-opacity='.55' stroke='none'/%3E %3Crect x='60' y='262' width='150' height='62' rx='22' stroke='%23fff' stroke-opacity='.45' fill='%23fff' fill-opacity='.08'/%3E%3Ccircle cx='104' cy='293' r='7' fill='%23fff' fill-opacity='.7' stroke='none'/%3E%3Ccircle cx='135' cy='293' r='7' fill='%23fff' fill-opacity='.5' stroke='none'/%3E%3Ccircle cx='166' cy='293' r='7' fill='%23fff' fill-opacity='.3' stroke='none'/%3E %3Crect x='360' y='268' width='110' height='76' rx='12' stroke='%23fff' stroke-opacity='.45'/%3E%3Cpath d='M360 280l55 38 55-38' stroke='%23fff' stroke-opacity='.45'/%3E %3Ccircle cx='470' cy='50' r='18' fill='%23ffc857' stroke='none'/%3E%3Cpath d='M36 180l14-24 14 24z' stroke='%23fff' stroke-opacity='.45'/%3E %3C/svg%3E"); }
@media (max-width: 1000px) {
  .hero.in[class*="art-"]::after {
    display: none;
  }
  .hero.in[class*="art-"] > .wrap > :not(.btns) {
    max-width: 100%;
  }
  :is(.wrap, .tgroup) > .head {
    display: block;
    padding-bottom: 24px;
    margin-bottom: 32px;
  }
  :is(.wrap, .tgroup) > .head > .lead {
    margin-top: 16px;
    max-width: 640px;
  }
  :is(.wrap, .tgroup) > .head::after {
    display: none !important;
  }
}
@media (max-width: 899px) {
  .row {
    grid-template-columns: 1fr;
  }
  .row::after {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  :is(.wrap, .tgroup) > .head::after,
  .ico {
    animation: none;
  }
}

/* ----- Filter tabs on the Figma page (same pill tabs as the home projects) ----- */
.tgroup {
  margin: 0;
}
.tgroup + .tgroup {
  margin-top: 72px;
}
.tgroup[hidden] {
  display: none;
}
.tgroup[hidden] + .tgroup {
  margin-top: 0;
}
.tgroup .group-head {
  margin-top: 0;
}
.tgroup .cards {
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
}
.card[hidden] {
  display: none;
}
.ftabs {
  margin-bottom: 40px;
}
@media (max-width: 900px) {
  .tgroup + .tgroup {
    margin-top: 48px;
  }
  .tgroup .cards {
    grid-template-columns: repeat(min(var(--cols, 3), 2), minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .tgroup .cards {
    grid-template-columns: 1fr;
  }
}

/* ----- Contact page ----- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: start;
}
.cform {
  background: var(--card);
  border: 1px solid #fff;
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 30px 60px -40px rgba(26, 21, 23, 0.35);
}
.cform h2,
.cside h2 {
  font-size: 1.5rem;
}
.cform > p {
  color: var(--mute);
  margin-top: 6px;
}
.cform form {
  background: none;
  border: 0;
  padding: 0;
  margin-top: 26px;
  gap: 20px;
}
.cform fieldset {
  border: 0;
  min-width: 0;
}
.cform legend,
.cform .lab {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.cform .lab small {
  color: var(--mute);
  font-weight: 500;
  margin-left: 6px;
}
.svc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.svc label {
  position: relative;
  cursor: pointer;
}
.svc input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.svc span {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 0.92rem;
  font-weight: 500;
  transition: 0.2s;
}
.svc label:hover span {
  border-color: var(--brand);
}
.svc input:checked + span {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.svc input:focus-visible + span {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cform textarea {
  min-height: 150px;
  resize: vertical;
}
.cform input:user-invalid,
.cform textarea:user-invalid {
  border-color: #c4262e;
}
.cform .btn {
  width: 100%;
  min-height: 52px;
}
.fnote {
  text-align: center;
  color: var(--mute);
  font-size: 0.86rem;
  margin-top: -6px;
}
.cside {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 92px;
}
.cwa {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, #d42f4c, var(--brand));
  box-shadow: 0 26px 46px -28px rgba(239, 56, 86, 0.45);
  transition: transform 0.25s;
}
.cwa:hover {
  transform: translateY(-3px);
}
.cwa small,
.clink small {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
}
.cwa b {
  display: block;
  font-size: 1.2rem;
  line-height: 1.25;
}
.cwa em {
  font-style: normal;
  opacity: 0.85;
  font-size: 0.95rem;
}
.ci {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.18);
}
.clinks {
  background: var(--card);
  border: 1px solid #fff;
  border-radius: 20px;
  padding: 6px;
}
.clink {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  transition: background 0.2s;
}
.clink:hover {
  background: var(--brand-soft);
}
.clink .ci {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--dark);
  color: #fff;
  font-size: 0.85rem;
}
.clink small {
  color: var(--brand);
  opacity: 1;
}
.clink b {
  display: block;
  font-size: 0.98rem;
  overflow-wrap: anywhere;
}
.cside .alt-num {
  margin: 0;
  text-align: left;
  color: var(--mute);
  padding-inline: 6px;
}
.cside .alt-num a {
  color: var(--text);
}
.next {
  list-style: none;
  counter-reset: st;
  display: grid;
  gap: 14px;
  padding: 6px;
}
.next li {
  counter-increment: st;
  position: relative;
  padding-left: 48px;
  color: var(--mute);
  font-size: 0.94rem;
}
.next li b {
  display: block;
  color: var(--text);
  font-weight: 600;
}
.next li::before {
  content: counter(st);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--brand);
  color: var(--brand);
  font-weight: 600;
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .cside {
    position: static;
  }
  .cform {
    padding: 24px 20px;
  }
  .two {
    grid-template-columns: 1fr;
  }
}

/* highlighted words in the coloured hero: warm gold (pink was hard to read on the purple) */
.hero.in h1 em,
.hero.home h1 em {
  color: #ffd98a;
}

/* ----- About hero: real photo inside the artboard ring (circle sits at the artboard centre, 41.5% of its width) ----- */
.hero.in.art-me {
  --art-w: min(36vw, 440px);
}
.me-photo {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: calc(max(24px, calc((100vw - var(--w)) / 2 + 24px)) + var(--art-w) * 0.2925);
  width: calc(var(--art-w) * 0.415);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, 0.7);
  transform: translate(calc(var(--nx, 0) * 6px), calc(-50% + var(--ny, 0) * 4px));
  transition: transform 0.25s ease-out;
}
@media (max-width: 1000px) {
  .me-photo {
    position: static;
    display: block;
    width: 120px;
    margin: 0 0 22px 24px;
    transform: none;
  }
}


/* =====================================================================
   HOME HERO additions (inside the original left text / right photo layout):
   rating badge, name underline, skills row, floating "Let's talk" card.
   ===================================================================== */
.rate-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  padding: 6px 18px 6px 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.85);
}
.rate-stack { display: inline-flex; align-items: center; }
.rate-stack img {
  width: 30px; height: 30px; border-radius: 50%;
  object-fit: cover; object-position: top left;
  border: 2px solid #261c20; margin-left: -9px;
}
.rate-stack img:first-child { margin-left: 0; }
.rate-stack b {
  display: grid; place-items: center; height: 30px; min-width: 30px;
  padding: 0 7px; margin-left: -9px; border-radius: 99px;
  background: var(--brand); color: #fff; font-size: 0.72rem; border: 2px solid #261c20;
}
.rate-text strong { color: var(--gold); font-weight: 700; margin-left: 4px; }
.scribble { position: relative; display: inline-block; white-space: nowrap; }
.scribble::after { /* hand-drawn underline */
  content: "";
  position: absolute; left: -2%; right: -2%; bottom: -0.16em; height: 0.3em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none' fill='none'%3E%3Cpath d='M3 14C55 5 120 4 175 8c45 3 85 1 122 -3' stroke='%23ffc857' stroke-width='5' stroke-linecap='round'/%3E%3Cpath d='M30 18c60 -6 130 -5 200 -2' stroke='%23ef3856' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.hero.home h1 .role { margin-top: 18px; }
.cats {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px;
  margin: 22px 0 0; padding: 0;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.cats li + li::before {
  content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%;
  background: var(--brand); margin-right: 18px; vertical-align: middle;
}
.hero.home .lead { margin-top: 20px; }

/* sticky "Let's talk" card: stays on the left side while the home page scrolls */
.talk {
  position: fixed; z-index: 40;
  right: 18px; bottom: 18px;
  display: none; align-items: center; gap: 12px;
  width: 270px;
  padding: 10px 16px 10px 10px;
  border-radius: 18px; background: #fff; color: var(--text); text-align: left;
  box-shadow: 0 20px 44px -16px rgba(0, 0, 0, 0.55);
  transition: transform 0.3s;
}
.talk:hover { transform: translateY(-4px); }
.talk img {
  width: 50px; height: 50px; flex: none; border-radius: 13px;
  object-fit: cover; object-position: top; background: var(--brand-soft);
}
.talk-body { display: grid; gap: 1px; line-height: 1.25; }
.talk-body strong { font-size: 0.86rem; }
.talk-who { font-size: 0.74rem; color: var(--mute); }
.talk-go { display: inline-flex; align-items: center; gap: 7px; margin-top: 3px; font-size: 0.78rem; font-weight: 700; color: var(--brand); }
.talk-go i { width: 8px; height: 8px; border-radius: 50%; background: #1f9d55; }
@media (min-width: 900px) { .talk { display: flex; } }

/* shorter hero text block */
.hero.home { padding-top: 40px; padding-bottom: 48px; }
.hero.home h1 { font-size: clamp(2.6rem, 6.4vw, 4.3rem); }
.hero.home h1 .role { font-size: clamp(1.25rem, 2.5vw, 1.85rem); margin-top: 12px; }
.rate-badge { margin-bottom: 16px; }
.cats { margin-top: 14px; }
.hero.home .lead { margin-top: 14px; max-width: 600px; font-size: 1rem; }
.hero.home .btns { margin-top: 20px; }
.hero.home .trust { margin-top: 14px; }
.prow:first-of-type { margin-top: 44px; }
@media (min-width: 900px) { .hero.home { padding: 44px 0 52px; } }

/* =====================================================================
   HOME "WHY WORK WITH ME" — bento grid
   ===================================================================== */
.bento {
  display: grid;
  gap: 14px;
  margin-top: 44px;
}
.bc {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 26px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.bc:hover {
  border-color: rgba(255, 200, 87, 0.55);
  transform: translateY(-3px);
}
.bn {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 22px;
}
.bc h3 {
  font-size: 1.25rem;
  margin: 0;
}
.bc p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  max-width: 46ch;
}
.bc-b {
  background: var(--brand);
  border-color: transparent;
}
.bc-b .bn {
  color: #fff;
}
.bc-b p {
  color: rgba(255, 255, 255, 0.9);
}
.bigstat {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}
.bigstat b {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 4.6rem;
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.bigstat span {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.bc-b .bigstat span {
  color: #fff;
}
.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
}
.chip {
  padding: 7px 14px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.chip.hot {
  background: var(--brand);
  border-color: var(--brand);
}
.flow i {
  width: 34px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 5px, transparent 5px 9px);
}
.bubble {
  align-self: flex-start;
  margin-top: auto;
  padding: 9px 16px;
  border-radius: 18px 18px 18px 4px;
  background: #fff;
  color: var(--dark);
  font-size: 0.84rem;
  font-weight: 600;
  margin-top: 22px;
}
.bubble::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1f9d55;
  margin-right: 8px;
}
@media (min-width: 700px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .bc-a {
    grid-column: 1 / -1;
  }
}
@media (min-width: 1000px) {
  .bento {
    grid-template-columns: repeat(6, 1fr);
  }
  .bc-a { grid-column: span 4; }
  .bc-b { grid-column: span 2; }
  .bc-c, .bc-d, .bc-e { grid-column: span 2; }
  .bc { min-height: 250px; }
  .bc-a h3 { font-size: 1.6rem; }
}

/* =====================================================================
   HOME HERO LAYOUT (sketch): one rounded panel, everything centred —
   rating, name, intro, two buttons, intro video, two scrolling project rows.
   Only the home hero uses these classes.
   ===================================================================== */
.hero.home { padding: 16px 0 24px; }
.hero.home > .wrap { max-width: 1320px; }
.hero-panel {
  overflow: hidden;
  padding: 40px 0 22px;
  text-align: center;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
}
.hero-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}
.hero.home h1 { text-align: center; font-size: clamp(2.8rem, 7.4vw, 5.4rem); }
.hero.home h1 .role { font-size: clamp(1.2rem, 2.4vw, 1.7rem); }
.hero.home .cats { justify-content: center; }
.hero.home .lead { margin-inline: auto; text-align: center; max-width: 620px; }
.hero.home .btns { justify-content: center; }
.hero.home .trust { text-align: center; }
.hero.home .btn { display: inline-flex; align-items: center; gap: 14px; padding: 8px 8px 8px 24px; }
.go {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  font-style: normal;
  transition: transform 0.25s;
}
.hero.home .btn:hover .go { transform: translateX(3px); }
.hero-video {
  width: calc(100% - 40px);
  max-width: 900px;
  margin: 34px auto 0;
  border-radius: 22px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.16);
}
.hero-video a { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.6)); }
.hero-video .vplay { left: 50%; top: 50%; }
.video .vchip {
  position: absolute;
  z-index: 2;
  left: 16px;
  top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 99px;
  background: rgba(20, 16, 18, 0.62);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
}
.vchip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2fbf6b; }
.hero-panel .prow { margin-top: 14px; }
.hero-panel .hero-video + .prow { margin-top: 34px; }
@media (max-width: 700px) {
  .hero-panel { padding-top: 30px; border-radius: 22px; }
  .hero-video { border-radius: 16px; }
}

/* ===== HOME HERO: single background (no fill inside the panel, only a soft outline) + handwritten notes ===== */
.hero-panel { background: none; border-color: rgba(255, 255, 255, 0.1); position: relative; }
.note {
  display: none;
  position: absolute;
  z-index: 2;
  margin: 0;
  font-family: "Caveat", "Segoe Script", cursive;
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1.05;
  color: #ffc857;
  text-align: left;
  pointer-events: none;
}
.note svg { display: block; margin-top: 4px; }
.note-l { left: 5%; top: 78px; transform: rotate(-6deg); }
.note-r { right: 5%; top: 330px; transform: rotate(5deg); text-align: right; }
.note-r svg { margin-left: auto; }
@media (min-width: 1100px) { .note { display: block; } }

/* ===== HOME HERO: ONE background only — the rounded panel itself. Outside it is the normal page colour (not full width). ===== */
.hero.home { background: none; }
.hero.home::before { display: none; }
.hero-panel {
  position: relative;
  border: 0;
  background:
    radial-gradient(760px circle at 108% -10%, rgba(239, 56, 86, 0.26), transparent 62%),
    radial-gradient(620px circle at -10% 112%, rgba(239, 56, 86, 0.1), transparent 62%),
    linear-gradient(160deg, #261c20 0%, #1d1719 100%);
}
.hero-panel::before { /* faint dot grid, like a design-tool canvas */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1.6px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
  mask-image: linear-gradient(180deg, #000, transparent 80%);
}
.hero-top, .hero-panel .prow { position: relative; z-index: 1; }

/* ===== HOME HERO: only 24px (20px on phones) of page colour on the left and right ===== */
.hero.home > .wrap { max-width: none; padding-inline: 24px; }
.note-l { left: max(24px, calc(50% - 600px)); }
.note-r { right: max(24px, calc(50% - 600px)); }
@media (min-width: 1100px) and (max-width: 1199px) { .note { display: none; } }
@media (max-width: 700px) { .hero.home > .wrap { padding-inline: 20px; } }

/* ===== HOME HERO — phones: tighter side spacing, smaller type, compact video and project rows ===== */
@media (max-width: 700px) {
  .hero.home { padding: 10px 0 18px; }
  .hero.home > .wrap { padding-inline: 10px; }
  .hero-panel { padding: 22px 0 14px; border-radius: 20px; }
  .hero-top { padding: 0 14px; }
  .hero.home .rate-badge { margin-bottom: 14px; font-size: 0.8rem; }
  .hero.home h1 { font-size: clamp(2.5rem, 13vw, 3.2rem); }
  .hero.home h1 .role { font-size: 1.2rem; margin-top: 10px; }
  .hero.home .cats { gap: 6px 14px; margin-top: 12px; font-size: 0.68rem; letter-spacing: 0.06em; }
  .hero.home .cats li + li::before { display: none; }
  .hero.home .lead { font-size: 0.95rem; margin-top: 12px; }
  .hero.home .btns { width: 100%; gap: 10px; margin-top: 18px; }
  .hero.home .btns .btn { width: 100%; justify-content: space-between; }
  .hero.home .trust { font-size: 0.78rem; margin-top: 12px; }
  .hero-video { width: calc(100% - 20px); margin-top: 22px; border-radius: 14px; }
  .hero-video .vplay { width: 54px; height: 54px; margin: -27px 0 0 -27px; }
  .vchip { left: 10px; top: 10px; padding: 5px 10px; font-size: 0.7rem; }
  .hero-panel .hero-video + .prow { margin-top: 20px; }
  .hero-panel .prow { margin-top: 10px; }
  .hero-panel .pset { gap: 10px; padding-right: 10px; }
  .hero-panel .pset img { width: 62vw; border-radius: 12px; }
}
@media (max-width: 700px) { .hero.home h1 .role, .hero.home .trust, .hero.home .lead { text-wrap: balance; } }

/* =====================================================================
   HEADER — cream bar like the page, centred pill menu (active page = dark pill),
   "Hire me" = red pill with a white arrow circle. Menu text and links are unchanged.
   ===================================================================== */
header {
  background: rgba(239, 236, 232, 0.92);
  border-bottom: 0;
}
header.sc { box-shadow: 0 10px 30px -24px rgba(0, 0, 0, 0.45); }
.logo, .burger { color: var(--text); }
.navpill {
  display: flex;
  gap: 4px;
  padding: 6px;
  border-radius: 99px;
  background: rgba(22, 22, 27, 0.06);
}
.links .navpill a {
  padding: 10px 18px;
  border-radius: 99px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
}
.links .navpill a:hover { background: rgba(22, 22, 27, 0.07); color: var(--text); }
.links .navpill a.on { background: #1a1517; color: #fff; font-weight: 600; }
header .links a.hire {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 6px 6px 6px 22px;
  border-radius: 99px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
}
.hire .go {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
  font-style: normal;
  transition: transform 0.25s;
}
.hire:hover .go { transform: translate(2px, -2px); }
@media (min-width: 901px) {
  header nav { display: grid; grid-template-columns: 1fr auto 1fr; height: 78px; }
  header .links { display: contents; }
  header .links a.hire { justify-self: end; }
}
@media (max-width: 900px) {
  header .links { top: 100%; gap: 12px; align-items: stretch; box-shadow: 0 20px 30px -24px rgba(0, 0, 0, 0.4); }
  .navpill { flex-direction: column; gap: 2px; padding: 0; background: none; }
  .links .navpill a { padding: 12px 14px; }
  header .links a.hire { justify-content: space-between; }
}
@media (max-width: 900px) { header .links { background: var(--bg); border-bottom: 1px solid var(--line); padding: 16px 18px 20px; } }

/* =====================================================================
   ONE BUTTON STYLE for the whole site: pill, 48px high, 600 weight, arrow circle on the right.
   Red = main action, outline = second action. (Phone bottom bar uses the same size without the arrow.)
   ===================================================================== */
.btn, .hero.home .btn, header .links a.hire {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  padding: 6px 6px 6px 24px;
  border-radius: 99px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.1;
}
.btn:not(:has(.go)) { padding: 6px 24px; }
.btn .go, .hire .go {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-style: normal;
  transition: transform 0.25s;
}
.btn:not(.ghost) .go, .hire .go { background: #fff; color: var(--brand); }
.btn.ghost .go { background: rgba(22, 22, 27, 0.08); }
.hero .btn.ghost .go, .dark .btn.ghost .go { background: rgba(255, 255, 255, 0.14); }
.btn:hover .go, .hire:hover .go { transform: translateX(3px); }

/* header + hero spacing: same space above and below the menu pill */
header nav { height: 70px; }
@media (min-width: 901px) { header nav { height: 70px; } }
.navpill { padding: 5px; }
.links .navpill a { padding: 9px 18px; }
.hero.home { padding-top: 0; }
@media (max-width: 700px) { .hero.home { padding-top: 0; } }
