:root {
  --ink: #141414;
  --body: #3d3d3d;
  --muted: #6b6b6b;
  --paper: #fff;
  --tint: #f5f5f7;
  --surface: #ffffff;
  --line: rgba(20, 20, 20, .09);
  --line-strong: rgba(20, 20, 20, .16);
  --copper: #c76c39;
  --copper-text: #9c4621;
  --copper-soft: rgba(199, 108, 57, .1);
  --copper-grad: linear-gradient(180deg, #b55e28 0%, #e58a42 100%);
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --radius-lg: 28px;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(20, 20, 20, .08);
  --shadow-sm: 0 6px 20px rgba(20, 20, 20, .05);
  --header-h: 76px;
}

html { scroll-padding-top: var(--header-h); }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  letter-spacing: -.03em;
}

em { color: var(--copper-text); }

h1 em, h2 em, h3 em, h4 em { font-style: normal; }

a { color: var(--ink); }

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

::selection { background: var(--copper); color: #fff; }

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 2000;
  padding: .5rem .9rem;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus { top: 1rem; color: #fff; }

/* Buttons */
.btn {
  --bs-btn-padding-y: .72rem;
  --bs-btn-padding-x: 1.3rem;
  --bs-btn-font-size: .92rem;
  --bs-btn-font-weight: 600;
  --bs-btn-border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  letter-spacing: -.01em;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-sm { --bs-btn-padding-y: .5rem; --bs-btn-padding-x: 1rem; --bs-btn-font-size: .85rem; }

.btn-ink {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--ink);
  --bs-btn-border-color: var(--ink);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #2b2b2b;
  --bs-btn-hover-border-color: #2b2b2b;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #000;
  --bs-btn-active-border-color: #000;
}

.btn-line {
  --bs-btn-color: var(--ink);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: var(--line-strong);
  --bs-btn-hover-color: var(--ink);
  --bs-btn-hover-bg: var(--surface);
  --bs-btn-hover-border-color: var(--ink);
  --bs-btn-active-color: var(--ink);
  --bs-btn-active-bg: var(--surface);
  --bs-btn-active-border-color: var(--ink);
}

/* Header */
.site-header {
  transition: background-color .2s ease, box-shadow .2s ease, border-color .2s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--line);
}

.site-header .navbar { min-height: var(--header-h); padding: .6rem 0; }

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  margin-right: 1.5rem;
}

.brand img { width: auto; height: 34px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: -.02em;
  color: var(--ink);
}

.brand-role { font-size: .74rem; color: var(--muted); font-weight: 500; }

.navbar-nav .nav-link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
  padding: .5rem .85rem !important;
  border-radius: 999px;
  transition: color .15s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--ink); }

.navbar-nav .nav-link.active { background: rgba(20, 20, 20, .05); }

.nav-tools {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-left: .75rem;
}

.nav-tools .nav-cta { margin-left: 0; }

.nav-cta { margin-left: .75rem; }

.navbar-toggler {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.navbar-toggler:focus { box-shadow: none; }

.toggler-bar {
  display: block;
  width: 16px;
  height: 1.6px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease;
}

.navbar-toggler[aria-expanded="true"] .toggler-bar:first-child { transform: translateY(3.3px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .toggler-bar:last-child { transform: translateY(-3.3px) rotate(-45deg); }

/* Hero */
.hero {
  padding: calc(var(--header-h) + clamp(2.25rem, 5vw, 5rem)) 0 clamp(2.75rem, 5vw, 5rem);
  background: var(--paper);
}

.hero-status {
  margin: 0 0 1.5rem;
  color: #78401f;
  font-weight: 600;
}

.hero-name {
  font-size: clamp(2.65rem, 5.6vw, 5.65rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.05em;
  text-wrap: balance;
  margin-bottom: 1.75rem;
}

.hero-name span {
  display: block;
  color: var(--copper-text);
}

.hero-lead {
  max-width: 62ch;
  margin-bottom: 1.5rem;
  font-size: 1.0625rem;
}

.hero-actions .btn {
  min-height: 44px;
  --bs-btn-border-radius: 999px;
}

.btn-copper {
  --bs-btn-color: var(--ink);
  --bs-btn-bg: var(--copper);
  --bs-btn-border-color: var(--copper);
  --bs-btn-hover-color: var(--ink);
  --bs-btn-hover-bg: #d88252;
  --bs-btn-hover-border-color: #d88252;
  --bs-btn-active-color: var(--ink);
  --bs-btn-active-bg: #d88252;
  --bs-btn-active-border-color: #d88252;
}

.hero-portrait {
  margin: 0;
  max-width: 29rem;
  margin-inline-start: auto;
}

.hero-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 50% 35%;
}

.hero-portrait figcaption {
  margin-top: .75rem;
  font-size: .875rem;
}

/* Hero canvas */
.app-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 0;
  flex-shrink: 0;
}

.app-icon--lg { width: 52px; height: 52px; border-radius: 12px; font-size: 1.25rem; }
.app-ai { background: #330000; color: #ff9a00; }
.app-code { background: var(--ink); color: #e8a06b; font-size: 1rem; }
.app-learn { background: var(--copper-soft); color: var(--copper-text); font-size: 1.1rem; }

/* Hero: real work and target roles */

.exp-cv { margin-top: 1.75rem; }

/* Sections */
.section { padding: 6.5rem 0; }
.section--tint { background: var(--tint); }

.eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--copper-text);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.04em;
  margin-bottom: 1.25rem;
}

.section-title em { display: inline; }

.section-intro {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 38rem;
  margin-bottom: 0;
}

/* About */
.about-copy p { margin-bottom: 1.1rem; max-width: 40rem; }

.lead-text {
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--ink);
  font-weight: 500;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 2rem;
  margin: 2rem 0 0;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.about-facts dt {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .2rem;
}

.about-facts dd { margin: 0; font-weight: 500; color: var(--ink); }

.clients { margin-top: 5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }

.clients-label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.clients-row {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.clients-row li { display: flex; justify-content: center; }

.clients-row img {
  max-height: 46px;
  width: auto;
  filter: grayscale(1);
  opacity: .62;
  transition: filter .2s ease, opacity .2s ease;
}

.clients-row img:hover { filter: none; opacity: 1; }

/* Expertise */

.discipline {
  position: relative;
  height: 100%;
  padding: 1.6rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .2s ease, box-shadow .2s ease;
}

.discipline:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.discipline-num {
  display: block;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  color: var(--copper-text);
  margin-bottom: 1.4rem;
}

.discipline h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: .55rem; }

.discipline p { font-size: .93rem; color: var(--muted); margin: 0; }

.discipline-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  height: 100%;
}

/* Tools */
.tool-panel {
  height: 100%;
  padding: 1.8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.tool-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.1rem; }
.tool-head h3 { font-size: 1.25rem; font-weight: 700; margin: 0; }

.tool-panel > p { margin: 0; color: var(--body); }

/* Portfolio */
.portfolio-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 1.5rem 4rem;
  margin-bottom: 2.75rem;
}

.portfolio-head .section-title {
  margin-bottom: 0;
  font-size: clamp(2.5rem, 6vw, 5rem);
}

.portfolio-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.filter-bar {
  align-self: start;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.filter-heading {
  margin: 0 0 .65rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--muted);
}

.filters { display: grid; gap: .4rem; }

.portfolio-dashboard .work-groups {
  min-width: 0;
  padding: clamp(1rem, 2.5vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

@media (min-width: 992px) {
  .portfolio-dashboard {
    grid-template-columns: minmax(12rem, 19%) minmax(0, 1fr);
    gap: 1.25rem;
  }
}

.filter {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: .45rem;
  min-height: 44px;
  padding: .45rem .85rem;
  border-radius: .65rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--body);
  font-size: .86rem;
  font-weight: 500;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.filter:hover { color: var(--ink); border-color: var(--line-strong); }

.filter.is-active { background: var(--copper-soft); border-color: var(--copper-text); color: var(--copper-text); }

.filter-count { font-size: .72rem; opacity: .6; font-variant-numeric: tabular-nums; }
.filter-count:empty { display: none; }

.work-count {
  margin: .85rem 0 0;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.work-groups { display: flex; flex-direction: column; gap: clamp(3rem, 7vw, 6rem); }

.work-group-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem 2rem;
  margin-bottom: 1.35rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--line);
}
.work-group h3 {
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  margin: 0 0 .35rem;
}
.work-group-intro { margin: 0; max-width: 40rem; color: var(--muted); font-size: .95rem; }
.work-group[hidden] { display: none !important; }

.work-group-grid { --bs-gutter-x: 1.75rem; row-gap: 3rem; }

.web-types { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2.5rem; }
.web-types a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease;
}
.web-types a[aria-current="true"],
.web-types a:hover,
.web-types a:focus-visible { border-color: var(--copper); background: var(--tint); }
.web-types i { color: var(--copper-text); }
.web-types span { color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }

.work-subgroup { scroll-margin-top: calc(var(--header-h) + 1.5rem); }

.work-subhead { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.5rem; }
.work-subicon {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: var(--tint);
  color: var(--copper-text);
  font-size: 1.05rem;
}
.work-subhead h4 { margin: 0 0 .15rem; font-size: 1.2rem; }
.work-subhead p { margin: 0; color: var(--muted); font-size: .9rem; }

.work-item[hidden] { display: none !important; }

.work-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 0;
  text-align: left;
  color: inherit;
  background: none;
  border: 0;
}

.work-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--tint);
  box-shadow: inset 0 0 0 1px var(--line);
  isolation: isolate;
}

.work-media img {
  position: relative;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}

.work-media--logo { background: #fff; }
.work-media--logo picture { display: block; width: 100%; height: 100%; }
.work-media--logo img { object-fit: contain; padding: 9%; background: #fff; }

.work-view {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .95rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
}

.work-view i { font-size: .72rem; }

.work-card:hover .work-media img,
.work-card:focus-visible .work-media img { transform: scale(1.035); }

.work-card:hover .work-view,
.work-card:focus-visible .work-view { opacity: 1; transform: none; }

.work-card:focus-visible { outline: none; }
.work-card:focus-visible .work-media { outline: 2px solid var(--copper); outline-offset: 3px; }

.work-body { display: flex; flex-direction: column; gap: .3rem; padding-top: 1.05rem; }

.work-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.work-client {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--copper-text);
}

.work-label {
  flex-shrink: 0;
  font-size: .72rem;
  font-weight: 500;
  color: var(--muted);
}

.work-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.02em;
  color: var(--ink);
}

.work-item--featured .work-title { font-size: 1.4rem; }

.work-tags { font-size: .86rem; color: var(--muted); }

.work-modal { border: 0; border-radius: var(--radius-lg); }

.work-modal .modal-header {
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem 1.75rem 1rem;
  border-bottom: 0;
}

.work-modal-client {
  margin: 0 0 .3rem;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--copper-text);
}

.work-modal .modal-title { font-size: 1.6rem; font-weight: 700; line-height: 1.2; }

.work-modal-actions { display: flex; align-items: center; gap: .4rem; margin-left: auto; flex-shrink: 0; }

.work-modal-index {
  margin-right: .4rem;
  font-size: .8rem;
  font-weight: 500;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.work-modal-nav {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font-size: .85rem;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.work-modal-nav:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: #fff; }
.work-modal-nav:disabled { opacity: .35; }

.work-modal-actions .btn-close { margin: 0 0 0 .4rem; }

.work-modal .modal-body { padding: 0 1.75rem 2rem; }

.work-modal-media {
  position: relative;
  background: #fff;
}
.work-modal-media.is-logo img { object-fit: contain; background: #fff; }
.work-modal-media.is-zoomed { overflow: auto; max-height: 70vh; }
.work-modal-media.is-zoomed img { width: 160%; max-width: none; height: auto; }
.work-modal-slide,
.work-modal-tools {
  position: absolute;
  z-index: 2;
}
.work-modal-slide {
  left: .8rem;
  bottom: .8rem;
  padding: .25rem .55rem;
  border-radius: 999px;
  background: rgba(20, 20, 20, .78);
  color: #fff;
  font-size: .75rem;
}
.work-modal-tools { right: .8rem; bottom: .8rem; display: flex; gap: .4rem; }
.work-modal-tool {
  min-height: 44px;
  padding: .4rem .75rem;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 20, 20, .78);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
}
.work-modal-media {
  display: grid;
  place-items: center;
  margin: 0;
  padding: clamp(.75rem, 2vw, 1.5rem);
  border-radius: var(--radius);
  background: var(--tint);
}

.work-modal-media[hidden] { display: none; }

.work-modal-site {
  width: 100%;
  height: 65dvh;
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.work-modal-media img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(68vh, 760px);
  border-radius: 6px;
}

.work-modal-thumbs {
  display: flex;
  gap: .6rem;
  margin-top: .9rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.work-modal-thumb {
  flex: 0 0 auto;
  width: 92px;
  height: 64px;
  padding: 0;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--tint);
  opacity: .6;
  transition: opacity .15s ease, border-color .15s ease;
}

.work-modal-thumb img { width: 100%; height: 100%; object-fit: cover; }
.work-modal-thumb:hover { opacity: 1; }
.work-modal-thumb[aria-current="true"] { opacity: 1; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }

.work-modal-info { margin-top: .25rem; }

.work-modal-desc { font-size: 1.05rem; line-height: 1.7; color: var(--body); margin: 0; }

.work-modal-note {
  margin: 1rem 0 0;
  padding-left: .8rem;
  font-size: .84rem;
  color: var(--muted);
  border-left: 2px solid var(--line-strong);
}

.work-modal-facts { margin: 0 0 1.5rem; }

.work-modal-facts > div {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: .75rem 0;
  border-top: 1px solid var(--line);
}

.work-modal-facts > div:last-child { border-bottom: 1px solid var(--line); }

.work-modal-facts dt {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: .15rem;
}

.work-modal-facts dd { margin: 0; font-size: .92rem; color: var(--ink); }

/* Experience */
.exp-aside { top: calc(var(--header-h) + 1.5rem); z-index: 1; }

.tag-list {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.tag-list li {
  padding: .35rem .75rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: .8rem;
  font-weight: 500;
  color: var(--ink);
}

.jobs { list-style: none; padding: 0; margin: 0; }

.job { padding: 2rem 0; border-top: 1px solid var(--line-strong); }
.job:first-child { padding-top: 0; border-top: 0; }

.job-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: .25rem 1rem;
}

.job-head h3 { font-size: 1.25rem; font-weight: 700; margin: 0; }

.job-date {
  font-size: .85rem;
  font-weight: 600;
  color: var(--copper-text);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.job-org { margin: .35rem 0 1rem; color: var(--muted); font-size: .93rem; }

.job ul { padding-left: 1.1rem; margin: 0; }
.job li { margin-bottom: .5rem; }
.job li::marker { color: var(--copper); }

.job--compact .job-org { margin-bottom: 0; }

.education { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--line-strong); }

.education-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; }

.edu {
  height: 100%;
  padding: 1.4rem 1.4rem 1.3rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.edu h4 { font-size: 1.02rem; font-weight: 700; margin-bottom: .35rem; }
.edu p { margin-bottom: .6rem; color: var(--body); font-size: .93rem; }

.edu-meta { display: block; font-size: .82rem; color: var(--muted); }
.edu-meta a { color: var(--copper-text); font-weight: 600; text-underline-offset: 3px; }

/* Contact */
.contact-section { padding-top: 0; padding-bottom: 5rem; background: var(--tint); }

.contact-panel {
  padding: clamp(2.2rem, 5vw, 4.5rem);
  border-radius: 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--body);
}

.eyebrow--light { color: var(--copper-text); }
.section-title--light { color: var(--ink); }
.section-title--light em { color: var(--copper-text); }

.contact-lead { font-size: 1.08rem; max-width: 34rem; margin-bottom: 2rem; }

.contact-list { list-style: none; padding: 0; margin: 0; }

.contact-list li {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-list li:first-child { border-top: 1px solid var(--line); }

.contact-list span {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-list a,
.contact-list p {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-list a:hover { color: var(--copper-text); }

.site-footer {
  padding: 1.75rem 0;
  font-size: .85rem;
  color: var(--muted);
  background: var(--tint);
  border-top: 1px solid var(--line);
}

/* Reveal */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .work-media img, .work-view, .discipline { transition: none; }
}

@media (hover: none) {
  .work-view { display: none; }
}

/* Responsive */

@media (max-width: 991.98px) {
  .site-header { background: rgba(255, 255, 255, .92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--line); }
  .hero-portrait { margin-inline-start: 0; }
  .navbar-collapse { padding: .75rem 0 1rem; }
  .navbar-nav .nav-link { padding: .7rem .25rem !important; font-size: 1rem; border-radius: 0; }
  .navbar-nav .nav-link.active { background: transparent; color: var(--copper-text); }
  .nav-tools { margin: .75rem 0 0; }
  .nav-cta { margin: .5rem 0 0; }
  .clients-row { grid-template-columns: repeat(3, 1fr); row-gap: 2rem; }
  .exp-aside { position: static !important; }
  .portfolio-head { grid-template-columns: 1fr; }
  .section { padding: 5rem 0; }
}

@media (max-width: 767.98px) {
  .discipline-grid { grid-template-columns: 1fr; }
  .about-facts { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: .2rem; }
  .work-group-head { flex-direction: column; align-items: flex-start; }
  .work-modal .modal-header { flex-wrap: wrap; }
  .work-modal-actions { width: 100%; justify-content: flex-end; }
}

@media (max-width: 575.98px) {
  .work-group-grid { --bs-gutter-x: 1.5rem; }
  .hero-actions .btn { justify-content: center; }
  .web-types { gap: .4rem; margin-bottom: 2rem; }
  .web-types a { gap: .4rem; padding: .45rem .75rem; font-size: .8rem; }
  .clients-row { grid-template-columns: repeat(2, 1fr); }
}

/* Section numbering */
.eyebrow-num {
  display: inline-grid;
  place-items: center;
  min-width: 1.9rem;
  margin-right: .65rem;
  padding: .12rem .45rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: .68rem;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}

/* Brand system: horizontal showcase */
.showcase {
  --stage-w: min(84vw, 880px);
  --brand-copper: linear-gradient(180deg, #b55e28 0%, #e58a42 100%);
  position: relative;
  padding: 6.5rem 0 5.5rem;
  background: var(--tint);
  color: var(--body);
}

.showcase .section-title { margin-bottom: 0; }
.showcase .section-title em { color: var(--copper-text); }
.showcase .section-intro { color: var(--muted); }

.showcase-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.5rem 3rem;
  align-items: end;
  margin-bottom: 2.25rem;
}

.showcase-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.showcase-tabs {
  position: relative;
  display: flex;
  gap: .35rem;
  min-width: 0;
  margin: 0;
  padding: .25rem;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #ad805f transparent;
}

.showcase-tabs button {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  padding: .5rem .9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.showcase-tabs button span { font-size: .7rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.showcase-tabs button:hover { border-color: var(--muted); color: var(--ink); }
.showcase-tabs button[aria-current="true"] { background: var(--surface); border-color: var(--ink); color: var(--ink); }
.showcase-tabs button[aria-current="true"] span { color: var(--copper-text); }

.showcase-controls { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }

.showcase-counter {
  margin-right: .4rem;
  font-size: .85rem;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.showcase-counter b { color: var(--ink); }

.showcase-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  transition: background .2s ease, border-color .2s ease, opacity .2s ease;
}

.showcase-arrow:hover:not(:disabled) { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.showcase-arrow:disabled { opacity: .3; }

.showcase-tabs button:focus-visible,
.showcase-arrow:focus-visible,
.showcase-viewport:focus-visible,
.mo-play:focus-visible { outline: 2px solid var(--copper-text); outline-offset: 3px; }

.showcase-progress {
  height: 2px;
  margin-top: 1.25rem;
  overflow: hidden;
  border-radius: 2px;
  background: var(--line);
}

.showcase-progress span {
  display: block;
  height: 100%;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
}

.showcase-viewport {
  margin-top: 2.25rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.showcase-viewport::-webkit-scrollbar { display: none; }

.showcase-track {
  position: relative;
  display: flex;
  gap: clamp(1rem, 2.6vw, 2.25rem);
  width: max-content;
  margin: 0;
  padding: 0 12px .5rem;
  list-style: none;
}

.showcase-panel {
  flex: 0 0 auto;
  width: var(--stage-w);
  scroll-snap-align: center;
  opacity: .4;
  transform: scale(.965);
  transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
}

.js .showcase-panel:not(.is-active) { visibility: hidden; }
.showcase-panel.is-active { opacity: 1; transform: none; }

.showcase.is-pinned { padding: 0; }
.showcase.is-pinned { --stage-w: min(64vw, calc((100vh - var(--header-h) - 360px) * 1.6), 900px); }

.showcase.is-pinned .showcase-sticky {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  padding-top: var(--header-h);
  overflow: hidden;
}

.showcase.is-pinned .showcase-head { margin-bottom: 1.5rem; }
.showcase.is-pinned .section-title { font-size: clamp(1.9rem, 2.8vw, 2.6rem); }
.showcase.is-pinned .showcase-viewport { margin-top: 1.75rem; overflow: hidden; scroll-snap-type: none; }
.showcase.is-pinned .showcase-track { will-change: transform; }

.panel-caption {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: .2rem 1rem;
  padding: 1.15rem .25rem 0;
}

.panel-num { font-family: var(--font-head); font-size: .8rem; font-weight: 700; color: var(--copper-text); font-variant-numeric: tabular-nums; }
.panel-caption h3 { margin: 0; font-size: 1.15rem; font-weight: 700; color: var(--ink); }

.panel-spec {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted);
}

.panel-caption p { grid-column: 2 / -1; margin: 0; font-size: .9rem; color: var(--muted); }

/* Mock stage: everything inside scales with the stage width (cqw) */
.mock {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 22px;
  container-type: inline-size;
  isolation: isolate;
  box-shadow: var(--shadow-sm), 0 0 0 1px var(--line);
  color: var(--ink);
  line-height: 1.3;
}

.mock img { display: block; max-width: none; }

.mock-dim {
  position: absolute;
  right: 3cqw;
  bottom: 2.6cqw;
  font-size: 1.15cqw;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(20, 20, 20, .45);
}

/* 01 Logo */
.mock--logo { background: var(--paper); }

.ml-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 20, 20, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 20, 20, .055) 1px, transparent 1px);
  background-size: 4cqw 4cqw;
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 65% 70% at 50% 45%, #000 35%, transparent 100%);
  mask-image: radial-gradient(ellipse 65% 70% at 50% 45%, #000 35%, transparent 100%);
}

.ml-mark {
  position: absolute;
  left: 50%;
  top: 43%;
  width: 38cqw;
  padding: 4.6cqw;
  border: 1px dashed rgba(200, 111, 49, .75);
  translate: -50% -50%;
}

.ml-mark img { width: 100%; height: auto; }

.ml-x {
  position: absolute;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.8cqw;
  line-height: 1;
  color: var(--copper-text);
}

.ml-x--t { top: 1.3cqw; left: 50%; translate: -50% 0; }
.ml-x--l { left: 1.6cqw; top: 50%; translate: 0 -50%; }

.ml-sizes {
  position: absolute;
  left: 4cqw;
  top: 4cqw;
  display: flex;
  align-items: flex-end;
  gap: 2.2cqw;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ml-sizes li { display: flex; flex-direction: column; gap: .7cqw; font-size: 1.1cqw; color: var(--muted); }
.ml-sizes img { width: auto; height: 3.6cqw; }
.ml-sizes li:nth-child(2) img { height: 2.4cqw; }
.ml-sizes li:nth-child(3) img { height: 1.4cqw; }

.ml-swatches {
  position: absolute;
  left: 4cqw;
  bottom: 4cqw;
  display: flex;
  gap: 1.3cqw;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ml-swatches li { display: flex; flex-direction: column; gap: .25cqw; font-size: 1.1cqw; color: var(--muted); font-variant-numeric: tabular-nums; }
.ml-swatches i { display: block; width: 7.4cqw; height: 5cqw; margin-bottom: .5cqw; border-radius: 1cqw; box-shadow: inset 0 0 0 1px var(--line); }
.ml-swatches b { font-weight: 600; color: var(--ink); }
.sw-i i { background: #141414; }
.sw-c i { background: var(--brand-copper); }
.sw-s i { background: #f2efea; }
.sw-p i { background: #faf9f7; }

.ml-type { position: absolute; right: 4cqw; bottom: 4cqw; text-align: right; }
.ml-aa { font-family: var(--font-head); font-size: 6.4cqw; font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.ml-aa--body { margin-left: 1cqw; font-family: var(--font-body); font-weight: 400; letter-spacing: 0; color: var(--copper-text); }
.ml-type small { display: block; margin-top: .9cqw; font-size: 1.1cqw; color: var(--muted); }

/* 02 Business card */
.mock--card { background: radial-gradient(ellipse 80% 90% at 30% 15%, #f7f0e8 0%, #e4d8ca 100%); }

.bc {
  position: absolute;
  width: 46cqw;
  aspect-ratio: 3.5 / 2;
  border-radius: .8cqw;
  box-shadow: 0 2.2cqw 4.4cqw rgba(20, 20, 20, .2), 0 .3cqw .6cqw rgba(20, 20, 20, .12);
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

.bc--back {
  left: 41cqw;
  top: 8cqw;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr;
  padding: 3.4cqw;
  background: var(--paper);
  transform: rotate(6deg);
}

.bc-logo { width: 7cqw; height: auto; }
.bc-id { grid-column: 1; grid-row: 2; align-self: start; margin-top: 1.6cqw; }
.bc-id b { display: block; white-space: nowrap; font-family: var(--font-head); font-size: 2.3cqw; letter-spacing: -.02em; }
.bc-id span { font-size: 1.3cqw; font-weight: 600; color: var(--copper-text); }

.bc-contact {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  display: flex;
  flex-direction: column;
  font-size: 1.15cqw;
  line-height: 1.7;
  text-align: right;
  color: var(--body);
}

.bc--front {
  left: 9cqw;
  top: 28cqw;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--ink);
  transform: rotate(-8deg);
}

.bc--front::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 1.4cqw; background: var(--brand-copper); }
.bc--front img { width: 15cqw; height: auto; }

.mock--card:hover .bc--front { transform: rotate(-11deg) translate(-2cqw, 1cqw); }
.mock--card:hover .bc--back { transform: rotate(8deg) translate(2cqw, -1cqw); }

/* 03 App */
.mock--app { background: linear-gradient(135deg, #f5ece2 0%, #e7d2bd 100%); }

.phone {
  position: absolute;
  display: block;
  width: 24cqw;
  aspect-ratio: 9 / 19.5;
  padding: .7cqw;
  border-radius: 3.8cqw;
  background: #0d0d0d;
  box-shadow: 0 3cqw 5cqw rgba(20, 20, 20, .28), inset 0 0 0 .2cqw #2a2a2a;
}

.phone--splash { left: 13cqw; top: 8cqw; transform: rotate(-8deg); }
.phone--feed { left: 37cqw; top: 4.5cqw; }

.phone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 3.1cqw;
  background: var(--paper);
  font-size: 1.05cqw;
}

.phone-screen--ink {
  align-items: center;
  justify-content: center;
  gap: 2cqw;
  background: radial-gradient(ellipse 90% 60% at 50% 35%, #2c2c2c, #111);
  color: rgba(255, 255, 255, .8);
}

.phone-screen--ink img { width: 10cqw; height: auto; }
.phone-screen--ink span { font-family: var(--font-head); font-size: 1.3cqw; font-weight: 600; letter-spacing: .02em; }

.ph-status { display: flex; align-items: center; justify-content: space-between; padding: 1.2cqw 1.9cqw .5cqw; font-size: .95cqw; font-weight: 600; }
.ph-status i { font-size: .75cqw; }
.ph-island { width: 6cqw; height: 1.7cqw; border-radius: 1cqw; background: #0d0d0d; }

.ph-head { display: flex; align-items: center; gap: .8cqw; padding: .8cqw 1.6cqw; }
.ph-head img { width: 3cqw; height: auto; }
.ph-head span { flex: 1; font-family: var(--font-head); font-size: 2cqw; font-weight: 700; letter-spacing: -.03em; }
.ph-head i { font-size: 1.2cqw; color: var(--muted); }

.ph-chips { display: flex; gap: .5cqw; padding: .3cqw 1.6cqw 1cqw; }
.ph-chips span { padding: .35cqw .9cqw; border-radius: 99px; background: var(--tint); font-size: .9cqw; font-weight: 600; }
.ph-chips .is-on { background: var(--ink); color: #fff; }

.ph-feature { position: relative; display: block; flex-shrink: 0; margin: 0 1.6cqw; aspect-ratio: 4 / 3.3; overflow: hidden; border-radius: 1.6cqw; }
.ph-feature img { width: 100%; height: 100%; object-fit: cover; }

.ph-feature > span {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  padding: 3cqw 1.2cqw 1cqw;
  background: linear-gradient(transparent, rgba(0, 0, 0, .78));
  color: #fff;
}

.ph-feature b { font-size: 1.25cqw; }
.ph-feature small { font-size: .85cqw; opacity: .8; }

.ph-list { display: flex; flex-direction: column; gap: .8cqw; margin: 1cqw 1.6cqw 0; }
.ph-list > span { display: flex; align-items: center; gap: .9cqw; padding: .7cqw; border-radius: 1.2cqw; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.ph-list img { width: 4.2cqw; height: 4.2cqw; object-fit: cover; border-radius: .8cqw; }
.ph-list > span > span { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.ph-list b { font-size: 1.05cqw; }
.ph-list small { font-size: .85cqw; color: var(--muted); }
.ph-list i { font-size: .8cqw; color: var(--muted); }

.ph-tabs {
  display: flex;
  justify-content: space-around;
  margin-top: auto;
  padding: 1.2cqw 1cqw 1.9cqw;
  border-top: 1px solid var(--line);
  background: #fff;
  font-size: 1.3cqw;
  color: var(--muted);
}

.ph-tabs .is-on { color: var(--copper-text); }

.app-tile {
  position: absolute;
  right: 5.5cqw;
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .9cqw;
  text-align: center;
  translate: 0 -50%;
}

.app-ico {
  display: grid;
  place-items: center;
  width: 12cqw;
  aspect-ratio: 1;
  border-radius: 2.8cqw;
  background: linear-gradient(160deg, #2a2a2a, #0d0d0d);
  box-shadow: 0 1.6cqw 3cqw rgba(20, 20, 20, .3), inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.app-ico img { width: 64%; height: auto; }
.app-tile b { font-family: var(--font-head); font-size: 1.7cqw; }
.app-tile small { font-size: 1.1cqw; color: var(--muted); }

/* 04 Web app & 05 Desktop app: shared window chrome */
.win {
  position: absolute;
  display: block;
  overflow: hidden;
  border-radius: 1.4cqw;
  background: #fff;
  box-shadow: 0 3cqw 6cqw rgba(20, 20, 20, .28), 0 0 0 1px rgba(20, 20, 20, .08);
}

.win-dots { display: flex; gap: .6cqw; }
.win-dots i { width: 1cqw; height: 1cqw; border-radius: 50%; background: #ff5f57; }
.win-dots i:nth-child(2) { background: #febc2e; }
.win-dots i:nth-child(3) { background: #28c840; }

.mock--web { background: linear-gradient(160deg, #ebe6df, #d8cdc0); }
.win--browser { left: 5cqw; right: 5cqw; top: 5cqw; bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

.win-bar {
  display: flex;
  align-items: center;
  gap: 2cqw;
  height: 3.6cqw;
  padding: 0 1.4cqw;
  border-bottom: 1px solid var(--line);
  background: #f1efec;
}

.win-url {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6cqw;
  width: 38cqw;
  height: 2.2cqw;
  margin: 0 auto;
  border-radius: .7cqw;
  background: #fff;
  font-size: 1.05cqw;
  color: var(--muted);
}

.win-url i { font-size: .8cqw; }

.wa { display: grid; grid-template-columns: 16cqw 1fr; height: calc(100% - 3.6cqw); font-size: 1.05cqw; }

.wa-side { display: flex; flex-direction: column; gap: 2.4cqw; padding: 2cqw 1.4cqw; background: var(--ink); color: rgba(255, 255, 255, .62); }
.wa-side > img { width: 5cqw; height: auto; }
.wa-nav { display: flex; flex-direction: column; gap: .4cqw; }
.wa-nav span { display: flex; align-items: center; gap: .9cqw; padding: .8cqw 1cqw; border-radius: .8cqw; }
.wa-nav i { width: 1.2cqw; text-align: center; }
.wa-nav .is-on { background: rgba(232, 160, 107, .15); color: #fff; }
.wa-nav .is-on i { color: #e8a06b; }
.wa-user { display: flex; align-items: center; gap: .8cqw; margin-top: auto; }
.wa-user img { width: 2.6cqw; height: 2.6cqw; border-radius: 50%; object-fit: cover; }

.wa-main { display: flex; flex-direction: column; gap: 1.8cqw; min-width: 0; padding: 2.2cqw 2.4cqw; background: var(--paper); }
.wa-top { display: flex; align-items: center; justify-content: space-between; }
.wa-top small { display: block; font-size: .95cqw; color: var(--muted); }
.wa-top b { font-family: var(--font-head); font-size: 2cqw; letter-spacing: -.02em; }
.wa-btn { padding: .8cqw 1.4cqw; border-radius: 99px; background: var(--ink); color: #fff; font-size: 1cqw; font-weight: 600; }

.wa-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2cqw; }
.wa-kpis > span, .wa-card { display: block; padding: 1.4cqw; border-radius: 1.2cqw; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.wa-kpis small, .wa-card > small { font-size: .95cqw; color: var(--muted); }
.wa-kpis b { display: block; font-family: var(--font-head); font-size: 2.8cqw; line-height: 1.2; letter-spacing: -.03em; }
.wa-kpis em { font-size: .9cqw; font-style: normal; font-weight: 600; color: var(--copper-text); }

.wa-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.2cqw; }
.wa-bars { display: flex; align-items: flex-end; gap: .9cqw; height: 11cqw; margin-top: 1.4cqw; }
.wa-bars i { flex: 1; height: 50%; border-radius: .5cqw .5cqw 0 0; background: var(--tint); }
.wa-bars i:nth-child(1) { height: 45%; }
.wa-bars i:nth-child(2) { height: 62%; }
.wa-bars i:nth-child(3) { height: 38%; }
.wa-bars i:nth-child(4) { height: 80%; }
.wa-bars i:nth-child(5) { height: 56%; }
.wa-bars i:nth-child(6) { height: 94%; background: var(--brand-copper); }
.wa-bars i:nth-child(7) { height: 70%; }

.wa-list { display: flex; flex-direction: column; gap: 1cqw; }
.wa-list > span { display: flex; align-items: center; gap: .9cqw; }
.wa-list > span > span:not(.wa-ico) { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.wa-list b { font-size: 1.05cqw; }
.wa-list small { font-size: .85cqw; color: var(--muted); }
.wa-ico { display: grid; place-items: center; width: 3cqw; height: 3cqw; border-radius: .7cqw; background: var(--tint); color: var(--copper-text); font-size: 1.1cqw; }

.pill { padding: .3cqw .8cqw; border-radius: 99px; background: var(--tint); font-size: .85cqw; font-style: normal; font-weight: 600; color: var(--body); }
.pill--ok { background: rgba(47, 125, 74, .12); color: #2f7d4a; }
.pill--warn { background: var(--copper-soft); color: var(--copper-text); }

/* 05 Desktop app */
.mock--desk { background: radial-gradient(ellipse 75% 95% at 82% 0%, #e58a42 0%, #b55e28 32%, #3b2517 68%, #141414 100%); }
.win--mac { left: 7cqw; right: 7cqw; top: 4.5cqw; height: 44cqw; background: #fbfaf8; }

.mac-bar {
  position: relative;
  display: flex;
  align-items: center;
  height: 3.6cqw;
  padding: 0 1.4cqw;
  border-bottom: 1px solid var(--line);
  background: #f1efec;
  font-size: 1.1cqw;
}

.mac-bar b { position: absolute; left: 50%; font-weight: 600; translate: -50% 0; }
.mac-seg { display: flex; margin-left: auto; padding: .2cqw; border-radius: .6cqw; background: rgba(20, 20, 20, .06); }
.mac-seg i { padding: .2cqw .9cqw; border-radius: .45cqw; font-size: .9cqw; font-style: normal; }
.mac-seg .is-on { background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }

.mac { display: grid; grid-template-columns: 14cqw 1fr 15cqw; height: calc(100% - 3.6cqw); font-size: 1cqw; }

.mac-side { display: flex; flex-direction: column; gap: .15cqw; padding: 1.2cqw 1cqw; border-right: 1px solid var(--line); background: #efece8; }
.mac-side small { margin: .8cqw .6cqw .3cqw; font-size: .85cqw; font-weight: 600; color: var(--muted); }
.mac-side span { display: flex; align-items: center; gap: .7cqw; padding: .5cqw .7cqw; border-radius: .6cqw; }
.mac-side i { width: 1.1cqw; text-align: center; color: var(--copper-text); }
.mac-side .is-on { background: rgba(20, 20, 20, .08); }

.mac-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-content: start; gap: 1.2cqw; padding: 1.6cqw; }
.tile { display: flex; flex-direction: column; gap: .6cqw; font-size: .95cqw; color: var(--body); }

.tile-art {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 1cqw;
  box-shadow: inset 0 0 0 1px var(--line);
}

.tile-art img { width: 46%; height: auto; }
.tile--paper .tile-art { background: #fff; }
.tile--ink .tile-art { background: var(--ink); }
.tile--copper .tile-art { background: var(--brand-copper); }
.tile--copper img { filter: brightness(0) invert(1); }
.tile--icon .tile-art { background: #e9e4dd; }
.tile--icon .app-ico { width: 6cqw; border-radius: 1.4cqw; }
.tile--word .tile-art { background: var(--paper); font-family: var(--font-head); font-size: 1.7cqw; font-weight: 700; line-height: 1.05; letter-spacing: -.03em; text-align: center; color: var(--ink); }
.tile--sw .tile-art { display: flex; background: #fff; }
.tile--sw i { flex: 1; align-self: stretch; }
.tile--sw i:nth-child(1) { background: #141414; }
.tile--sw i:nth-child(2) { background: var(--brand-copper); }
.tile--sw i:nth-child(3) { background: #f2efea; }
.tile--sw i:nth-child(4) { background: #faf9f7; }
.tile.is-selected .tile-art { box-shadow: 0 0 0 .25cqw #e58a42; }

.mac-inspect { display: flex; flex-direction: column; gap: .6cqw; padding: 1.4cqw; border-left: 1px solid var(--line); }
.mac-inspect small { margin-top: .5cqw; font-size: .85cqw; font-weight: 600; color: var(--muted); }
.mac-inspect b { font-family: var(--font-head); font-size: 1.3cqw; }
.mac-prev { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 1cqw; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.mac-prev img { width: 55%; height: auto; }
.mac-chips { display: flex; gap: .4cqw; }
.mac-chips i { padding: .25cqw .7cqw; border-radius: 99px; background: var(--tint); font-size: .85cqw; font-style: normal; font-weight: 600; }
.mac-color { display: flex; align-items: center; gap: .6cqw; font-size: .95cqw; font-variant-numeric: tabular-nums; }
.mac-color i { width: 1.4cqw; height: 1.4cqw; border-radius: .35cqw; }
.c-ink { background: #141414; }
.c-cop { background: #c76c39; }

.dock {
  position: absolute;
  left: 50%;
  bottom: 2.4cqw;
  display: flex;
  gap: 1cqw;
  padding: .9cqw;
  border-radius: 2cqw;
  background: rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
  translate: -50% 0;
}

.dock > span { display: grid; place-items: center; width: 4.6cqw; height: 4.6cqw; border-radius: 1.1cqw; background: linear-gradient(180deg, #fff, #e6e0d8); font-size: 1.9cqw; color: #5a5a5a; }
.dock > .dock-app { position: relative; background: linear-gradient(160deg, #2a2a2a, #0d0d0d); }
.dock-app img { width: 66%; height: auto; }
.dock-app::after { content: ""; position: absolute; bottom: -.7cqw; width: .5cqw; height: .5cqw; border-radius: 50%; background: rgba(255, 255, 255, .85); }

/* 06 Logo motion */
.mock--motion {
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse 60% 70% at 50% 42%, #2c2c2c 0%, #0b0b0b 100%);
  color: #fff;
}

.mo-stage { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: 3cqw; }
.mo-mark { position: relative; display: block; width: 26cqw; aspect-ratio: 513 / 338; }
.mo-mark > * { position: absolute; inset: 0; width: 100%; height: 100%; }

.mo-guide path {
  fill: none;
  stroke: #e8a06b;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.mo-shine {
  opacity: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .95) 50%, transparent 62%) 100% 0 / 300% 100% no-repeat;
  -webkit-mask: url(assets/img/logo_rd-reverse.png) center / contain no-repeat;
  mask: url(assets/img/logo_rd-reverse.png) center / contain no-repeat;
}

.mo-word { display: block; text-align: center; }
.mo-word b { display: block; font-family: var(--font-head); font-size: 3cqw; letter-spacing: -.03em; }
.mo-word span { font-size: 1.3cqw; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #e8a06b; }

.mo-guide path { animation: mo-draw 6s infinite both; }
.mo-logo { animation: mo-reveal 6s infinite both; }
.mo-shine { animation: mo-shine 6s infinite both; }
.mo-word { animation: mo-word 6s infinite both; }
.mo-progress { animation: mo-progress 6s linear infinite both; }

.mock--motion :is(.mo-guide path, .mo-logo, .mo-shine, .mo-word, .mo-progress) { animation-play-state: paused; }
.mock--motion.is-playing :is(.mo-guide path, .mo-logo, .mo-shine, .mo-word, .mo-progress) { animation-play-state: running; }
.mock--motion.is-idle :is(.mo-guide path, .mo-logo, .mo-shine, .mo-word, .mo-progress) { animation: none; }

@keyframes mo-draw {
  0% { stroke-dashoffset: 1; opacity: 1; }
  26% { stroke-dashoffset: 0; opacity: 1; }
  40%, 100% { stroke-dashoffset: 0; opacity: 0; }
}

@keyframes mo-reveal {
  0%, 18% { opacity: 0; clip-path: inset(0 100% 0 0); transform: scale(.94); filter: blur(6px); }
  36% { opacity: 1; clip-path: inset(0 0 0 0); transform: none; filter: blur(0); }
  88% { opacity: 1; clip-path: inset(0 0 0 0); transform: none; filter: blur(0); }
  100% { opacity: 0; clip-path: inset(0 0 0 0); transform: scale(1.02); filter: blur(4px); }
}

@keyframes mo-shine {
  0%, 37% { opacity: 0; background-position: 100% 0; }
  40% { opacity: 1; }
  54% { opacity: 1; background-position: 0 0; }
  58%, 100% { opacity: 0; background-position: 0 0; }
}

@keyframes mo-word {
  0%, 38% { opacity: 0; transform: translateY(1.6cqw); }
  50%, 86% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: none; }
}

@keyframes mo-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.mo-controls { display: flex; align-items: center; gap: 1.4cqw; padding: 1.4cqw 2cqw 1.8cqw; }

.mo-play {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: max(32px, 4cqw);
  height: max(32px, 4cqw);
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: max(12px, 1.3cqw);
}

.mo-track { flex: 1; height: 4px; overflow: hidden; border-radius: 4px; background: rgba(255, 255, 255, .18); }
.mo-progress { display: block; height: 100%; background: linear-gradient(90deg, #b55e28, #e58a42); transform: scaleX(0); transform-origin: left; }
.mo-time { font-size: max(11px, 1.2cqw); font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .75); }
.mo-badge { padding: .15cqw .6cqw; border: 1px solid rgba(255, 255, 255, .3); border-radius: .4cqw; font-size: max(10px, 1cqw); font-weight: 700; color: rgba(255, 255, 255, .7); }

/* 07 Billboard */
.mock--billboard { background: linear-gradient(180deg, #f5d6b8 0%, #f4e6d8 55%, #ece3d8 100%); }

.bb-sun { position: absolute; right: 15cqw; top: 8cqw; width: 12cqw; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(180deg, #f2a466, #e58a42); opacity: .5; }

.bb-city {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9cqw;
  height: 15cqw;
  background: #cdbcab;
  opacity: .75;
  clip-path: polygon(0 100%, 0 60%, 6% 60%, 6% 35%, 11% 35%, 11% 55%, 16% 55%, 16% 20%, 20% 20%, 20% 50%, 27% 50%, 27% 40%, 33% 40%, 33% 65%, 40% 65%, 40% 30%, 44% 30%, 44% 10%, 47% 10%, 47% 45%, 55% 45%, 55% 58%, 62% 58%, 62% 25%, 67% 25%, 67% 52%, 74% 52%, 74% 38%, 80% 38%, 80% 62%, 87% 62%, 87% 30%, 91% 30%, 91% 55%, 100% 55%, 100% 100%);
}

.bb-ground { position: absolute; left: 0; right: 0; bottom: 0; height: 9cqw; background: linear-gradient(180deg, #bcae9f, #9d8f81); }
.bb { position: absolute; left: 50%; top: 7.5cqw; width: 72cqw; translate: -50% 0; }

.bb-board {
  position: relative;
  display: grid;
  grid-template-columns: 26% 1fr;
  aspect-ratio: 48 / 14;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 0 0 .7cqw #262626, 0 2.6cqw 4cqw rgba(20, 20, 20, .28);
}

.bb-brand { position: relative; display: grid; place-items: center; background: var(--ink); }
.bb-brand::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 1.2cqw; background: var(--brand-copper); }
.bb-brand img { width: 62%; height: auto; }
.bb-copy { display: flex; flex-direction: column; justify-content: center; padding: 0 4cqw; }
.bb-copy b { font-family: var(--font-head); font-size: 3.7cqw; font-weight: 700; line-height: 1; letter-spacing: -.045em; }
.bb-copy em { display: block; font-family: var(--font-head); font-style: normal; font-weight: 600; letter-spacing: -.01em; color: var(--copper-text); }
.bb-copy > span { margin-top: 1.1cqw; font-size: 1.25cqw; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bb-url { position: absolute; right: 2.4cqw; bottom: 1.8cqw; font-family: var(--font-head); font-size: 1.5cqw; font-weight: 700; color: var(--copper-text); }

.bb-lights { position: absolute; left: 12%; right: 12%; top: -2.4cqw; display: flex; justify-content: space-between; }
.bb-lights i { width: 3cqw; height: 1.3cqw; border-radius: .3cqw .3cqw 0 0; background: #262626; }
.bb-catwalk { display: block; height: .9cqw; margin: 1.4cqw 3% 0; background: #262626; }
.bb-pole { display: block; width: 3.4cqw; height: 24cqw; margin: 0 auto; background: linear-gradient(90deg, #262626, #4a4a4a, #262626); }

/* 08 Vehicle wrap */
.mock--wrap img { display: block; width: 100%; height: 100%; object-fit: cover; }

@media (prefers-reduced-motion: reduce) {
  .showcase-panel, .bc, .showcase-tabs button { transition: none; }
}

@media (max-width: 991.98px) {
  .showcase { padding: 5rem 0 4rem; }
  .showcase-head { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
  .showcase-nav { flex-wrap: wrap; }
  .showcase-tabs { width: 100%; margin-inline: -12px; padding-inline: 12px; }
  .showcase-controls { width: 100%; justify-content: flex-end; }
  .panel-caption { grid-template-columns: auto 1fr; }
  .panel-spec { grid-column: 2; grid-row: 2; }
  .panel-caption p { grid-column: 1 / -1; margin-top: .35rem; }
}

/* Live previews sit beside the project button so the card remains one focus target. */
.work-browser-wrap { position: relative; height: 100%; }
.work-browser {
  position: absolute;
  inset: 0 0 auto;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  pointer-events: none;
}

.work-browser-address {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 36px;
  padding: .35rem .75rem;
  overflow: hidden;
  white-space: nowrap;
  color: var(--body);
  background: var(--tint);
  border-bottom: 1px solid var(--line);
  font-size: .72rem;
}

.work-browser-address::before {
  content: "";
  flex: 0 0 6px;
  height: 6px;
  margin-right: 16px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 8px 0 #b7b7bb, 16px 0 #b7b7bb;
}

.work-browser-viewport { flex: 1; position: relative; overflow: hidden; }
.work-browser iframe {
  position: absolute;
  inset: 0;
  width: 1200px;
  height: var(--preview-height, 780px);
  border: 0;
  transform: scale(var(--preview-scale, 0));
  transform-origin: top left;
  pointer-events: none;
}

.work-browser-wrap .work-card:focus-visible .work-media { outline: none; }
.work-browser-wrap .work-card:focus-visible + .work-browser {
  outline: 2px solid var(--copper-text);
  outline-offset: 3px;
}

.work-browser-wrap .work-card:is(:hover, :focus-visible) .work-title {
  text-decoration: underline;
  text-underline-offset: .18em;
}

/* Product mockups share the card proportions so lazy loading cannot shift the grid. */
.work-card[data-phone] .work-media,
.work-browser[data-phone] { aspect-ratio: 1; }

.work-browser[data-phone] {
  --stage: #e1e7d4;
  --light: #f7f8ee;
  --metal: #a6ad98;
  --tilt: -8deg;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at 63% 25%, var(--light), var(--stage) 78%);
}

.work-browser[data-phone="17"] {
  --stage: #d6e0e9;
  --light: #f4f8fa;
  --metal: #8598ad;
  --tilt: 0deg;
}

.work-browser[data-phone="18"] {
  --stage: #e6dbec;
  --light: #fbf5fa;
  --metal: #b4a0bf;
  --tilt: 8deg;
}

.work-browser[data-phone] .work-browser-address {
  position: absolute;
  inset: auto auto .65rem .75rem;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .06em;
}

.work-browser[data-phone] .work-browser-address::before { display: none; }

.work-phone {
  position: relative;
  width: 37%;
  max-width: 225px;
  padding: 2px;
  border: 1px solid #25262a;
  border-radius: 22% / 10.5%;
  background: linear-gradient(145deg, #fff, var(--metal) 29%, #3d3e45 75%, var(--metal));
  box-shadow: 0 4px 8px #17212624, 12px 18px 25px -7px #17212660;
  transform: translateY(-3%) rotate(var(--tilt));
}

.work-phone::before,
.work-phone::after {
  content: "";
  position: absolute;
  width: 2px;
  border-radius: 2px;
  background: var(--metal);
}

.work-phone::before { left: -3px; top: 23%; height: 13%; }
.work-phone::after { right: -3px; top: 28%; height: 9%; }

.work-browser[data-phone] .work-browser-viewport {
  aspect-ratio: 390 / 844;
  box-sizing: content-box;
  border: clamp(3px, .33vw, 6px) solid #121316;
  border-radius: 21% / 9.7%;
  background: white;
}

.work-browser[data-phone] iframe { width: calc(var(--preview-width) * 1px); }

.work-browser[data-phone] .work-browser-viewport::after {
  content: "";
  position: absolute;
  top: 1.5%;
  left: 50%;
  width: 28%;
  height: 2%;
  translate: -50%;
  border-radius: 100px;
  background: radial-gradient(circle at 84% 50%, #334057 0 5%, transparent 6%), #121316;
}

.work-browser[data-phone="14"] .work-browser-viewport::after {
  top: 0;
  width: 39%;
  height: 2.4%;
  border-radius: 0 0 8px 8px;
}

.work-browser--laptop {
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at 50% 30%, #fcfcfa, #dce3e7 85%);
}

.work-browser--laptop .work-browser-address { display: none; }

.work-laptop {
  position: relative;
  width: 78%;
  margin-bottom: 2%;
}

.work-laptop .work-browser-viewport {
  aspect-ratio: 16 / 10;
  border: clamp(5px, .55vw, 9px) solid #191c21;
  border-bottom-width: clamp(8px, .9vw, 14px);
  border-radius: 12px 12px 3px 3px;
  background: white;
  box-shadow: 0 0 0 1px #83909c, 0 12px 23px #26344238;
}

.work-laptop::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 2px;
  left: calc(50% - 2px);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #43516a;
}

.work-laptop::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -8%;
  width: 116%;
  height: clamp(6px, 1vw, 13px);
  border-radius: 0 0 10% 10% / 0 0 80% 80%;
  background: linear-gradient(#d5dbe2 15%, #9ca7b3 45%, #5e6976);
  box-shadow: 0 7px 14px #26344242;
}

.work-modal-options:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
  margin-bottom: .85rem;
}

.work-browser-wrap .work-view { z-index: 1; }
.work-browser-wrap .work-card:is(:hover, :focus-visible) .work-media { isolation: auto; }

.work-modal-options .btn { min-height: 44px; }

/* Keep prose readable on narrow screens and justify longer desktop columns. */
.hero-lead,
.section-intro,
.about-copy p,
.contact-lead {
  text-wrap: pretty;
}

@media (min-width: 992px) {
  .hero-lead,
  .about-copy p,
  .contact-lead {
    hyphens: auto;
    text-align: justify;
  }
}
