:root {
  --bg: #e9ece2;
  --panel: #fbfbf7;
  --panel-2: #f1f2ea;
  --ink: #1e2420;
  --ink-dim: #5b655d;
  --ink-faint: #8b948a;
  --accent: #2f6f52;
  --accent-soft: rgba(47, 111, 82, 0.1);
  --clay: #b4602e;
  --clay-soft: rgba(180, 96, 46, 0.12);
  --line: #d6d9cb;
  --line-strong: #c1c6b4;
  --sidebar-w: 264px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    "DM Sans",
    -apple-system,
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4 {
  font-family: "Sora", sans-serif;
  font-weight: 500;
  margin: 0;
  color: var(--ink);
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
::selection {
  background: var(--accent);
  color: var(--panel);
}
button {
  font-family: inherit;
}

/* ---------- LANDING PAGE ---------- */
.landing-page {
  min-height: 100svh;
  position: fixed;
  inset: 0;
  z-index: 20;
  overflow: hidden;
  background: #101612;
  color: #f7f5ec;
  display: grid;
  place-items: center;
  isolation: isolate;
  transition:
    opacity 0.55s ease,
    visibility 0.55s ease;
}
.landing-page.is-dismissed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.landing-video,
.landing-overlay,
.landing-grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.landing-video {
  object-fit: cover;
  z-index: -3;
  filter: saturate(0.95) contrast(1.02) brightness(1.04);
}
.landing-overlay {
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(7, 16, 12, 0.38) 0%,
      rgba(7, 16, 12, 0.16) 48%,
      rgba(7, 16, 12, 0.32) 100%
    ),
    linear-gradient(180deg, rgba(8, 14, 11, 0.08), rgba(8, 14, 11, 0.46));
}
.landing-grain {
  z-index: -1;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  pointer-events: none;
}
.landing-content {
  width: min(100% - 48px, 720px);
  margin: 0 auto;
  transform: translateY(-2vh);
  animation: landing-rise 0.9s ease both;
}
.landing-brand {
  font-family: "Newsreader", serif;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: 0.02em;
  margin-bottom: clamp(68px, 13vh, 150px);
}
.landing-brand span {
  color: #d3a66e;
}
.landing-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d3a66e;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.landing-kicker span {
  width: 28px;
  height: 1px;
  background: currentColor;
}
.landing-content h1 {
  color: #f7f5ec;
  font-size: clamp(4rem, 10vw, 8.4rem);
  line-height: 0.86;
  letter-spacing: -0.025em;
  margin: 0;
}
.landing-content h1 em {
  color: #d3a66e;
  font-style: italic;
}
.landing-intro {
  max-width: 42ch;
  color: rgba(247, 245, 236, 0.72);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  line-height: 1.65;
  margin: 28px 0 32px;
}
.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.landing-button {
  border: 1px solid rgba(247, 245, 236, 0.42);
  border-radius: 2px;
  padding: 14px 20px;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}
.landing-button:hover {
  transform: translateY(-2px);
}
.landing-button span {
  margin-left: 16px;
  font-size: 1.05rem;
}
.landing-button-primary {
  background: #d3a66e;
  border-color: #d3a66e;
  color: #172019;
}
.landing-button-primary:hover {
  background: #e1bb86;
}
.landing-button-quiet {
  background: rgba(247, 245, 236, 0.06);
  color: #f7f5ec;
}
.landing-button-quiet:hover {
  background: rgba(247, 245, 236, 0.16);
  border-color: #f7f5ec;
}
.landing-footer {
  position: absolute;
  inset: auto 24px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  color: rgba(247, 245, 236, 0.58);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
}
.landing-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.landing-legal a:hover {
  color: #d3a66e;
}
.landing-credit {
  text-align: right;
}
.landing-credit span {
  color: #d3a66e;
  padding: 0 5px;
}
.legal-page {
  position: fixed;
  inset: 0;
  z-index: 40;
  overflow-y: auto;
  background: #111816;
  color: #f7f5ec;
}
.legal-page[hidden] {
  display: none;
}
.legal-page-inner {
  width: min(100% - 48px, 850px);
  min-height: 100%;
  margin: 0 auto;
  padding: clamp(30px, 8vw, 100px) 0;
}
.legal-close {
  margin-bottom: 72px;
  padding: 12px 16px;
  border: 1px solid rgba(211, 166, 110, 0.6);
  border-radius: 2px;
  background: rgba(211, 166, 110, 0.1);
  color: #d3a66e;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.legal-close:hover {
  background: #d3a66e;
  color: #172019;
}
.legal-page h2 {
  max-width: 700px;
  margin: 24px 0 46px;
  color: #f7f5ec;
  font-family: "Sora", sans-serif;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 1;
  letter-spacing: -0.05em;
}
.legal-page h3 {
  margin: 36px 0 10px;
  color: #d3a66e;
  font-family: "DM Sans", sans-serif;
  font-size: 1.1rem;
}
.legal-page p {
  max-width: 700px;
  margin: 0;
  color: rgba(247, 245, 236, 0.72);
  line-height: 1.8;
}
@media (max-width: 620px) {
  .legal-page-inner {
    width: min(100% - 40px, 850px);
  }
  .legal-close {
    margin-bottom: 48px;
  }
}
@keyframes landing-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(-2vh);
  }
}
@media (max-width: 620px) {
  .landing-content {
    width: min(100% - 40px, 720px);
  }
  .landing-brand {
    margin-bottom: 13vh;
  }
  .landing-footer {
    inset: auto 20px 18px;
    align-items: flex-end;
    flex-direction: column;
    gap: 10px;
  }
  .landing-credit {
    text-align: left;
  }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- APP SHELL ---------- */
.shell {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: 100vh;
}
@media (max-width: 900px) {
  .shell {
    grid-template-columns: 1fr;
  }
}

/* ---------- SIDEBAR ---------- */
.sidebar {
  background: var(--panel);
  border-right: 1px solid var(--line);
  padding: 36px 28px;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
}
@media (max-width: 900px) {
  .sidebar {
    position: relative;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 24px 20px;
  }
}
.brand {
  font-family: "Newsreader", serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.brand-sub {
  color: var(--ink-dim);
  font-size: 0.82rem;
  margin-bottom: 34px;
}
@media (max-width: 900px) {
  .brand-sub {
    margin-bottom: 18px;
  }
}

.tabs {
  display: flex;
  flex-direction: column;
  gap: 3px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 900px) {
  .tabs {
    flex-direction: row;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
}
.tab-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: var(--ink-dim);
  font-size: 0.93rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
@media (max-width: 900px) {
  .tab-btn {
    width: auto;
    white-space: nowrap;
  }
}
.tab-btn:hover {
  background: var(--panel-2);
  color: var(--ink);
}
.tab-btn[aria-selected="true"] {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}
.tab-btn .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
  flex-shrink: 0;
}

.sidebar-foot {
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--ink-faint);
}
@media (max-width: 900px) {
  .sidebar-foot {
    display: none;
  }
}

/* ---------- MAIN ---------- */
main {
  padding: 56px 64px 90px;
  max-width: 920px;
}
@media (max-width: 900px) {
  main {
    padding: 36px 24px 70px;
  }
}

.panel {
  display: none;
}
.panel[hidden] {
  display: none !important;
}
.panel.active {
  display: block;
  animation: fade 0.4s ease both;
}
@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 0.85rem;
  margin-bottom: 18px;
}
.kicker .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

h1.page-title {
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.12;
  max-width: 15ch;
  margin-bottom: 18px;
}
p.lede {
  color: var(--ink-dim);
  max-width: 56ch;
  font-size: 1.05rem;
  margin: 0 0 30px;
}

.quickfacts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 30px 0 44px;
}
@media (max-width: 620px) {
  .quickfacts {
    grid-template-columns: 1fr;
  }
}
.qf-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
}
.qf-card .qf-num {
  font-family: "Newsreader", serif;
  font-size: 1.6rem;
  color: var(--accent);
}
.qf-card .qf-label {
  color: var(--ink-dim);
  font-size: 0.85rem;
  margin-top: 4px;
}

.portrait-slot {
  border: 1.5px dashed var(--line-strong);
  border-radius: 12px;
  background: var(--panel);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  margin-bottom: 40px;
}
.ph-label {
  color: var(--ink-faint);
  font-size: 0.85rem;
  line-height: 1.5;
}
.ph-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 8px;
  color: var(--line-strong);
}

h2.block-title {
  font-size: 1.4rem;
  margin: 44px 0 18px;
}
h2.block-title:first-child {
  margin-top: 0;
}
p.body-copy {
  color: var(--ink-dim);
  max-width: 62ch;
  margin: 0 0 16px;
}
p.body-copy strong {
  color: var(--ink);
  font-weight: 600;
}

.brand-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 26px;
}
.brand-card .bc-mark {
  font-family: "Newsreader", serif;
  font-size: 1.7rem;
  font-weight: 600;
}
.brand-card p {
  color: var(--ink-dim);
  margin: 12px 0 0;
  max-width: 56ch;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}
@media (max-width: 620px) {
  .facts {
    grid-template-columns: 1fr;
  }
}
.facts div {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
}
.facts .f-label {
  color: var(--ink-faint);
  font-size: 0.76rem;
  margin-bottom: 6px;
}
.facts .f-value {
  font-family: "Newsreader", serif;
  font-size: 1rem;
}

.media-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 26px 0;
}
@media (max-width: 620px) {
  .media-row {
    grid-template-columns: 1fr;
  }
}
.media-slot {
  border: 1.5px dashed var(--line-strong);
  border-radius: 12px;
  background: var(--panel);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
}

.goal-strip {
  border-left: 3px solid var(--clay);
  background: var(--clay-soft);
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  color: var(--ink-dim);
  margin-top: 20px;
}
.goal-strip strong {
  color: var(--ink);
}

.skill-row {
  display: grid;
  grid-template-columns: 190px 1fr auto;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.skill-row:last-child {
  border-bottom: 1px solid var(--line);
}
.skill-row .s-name {
  font-family: "Newsreader", serif;
  font-size: 1.05rem;
}
.skill-row .s-desc {
  color: var(--ink-dim);
  font-size: 0.93rem;
}
.skill-row .s-meta {
  color: var(--accent);
  font-size: 0.82rem;
  white-space: nowrap;
  font-weight: 600;
}
@media (max-width: 700px) {
  .skill-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .skill-row .s-meta {
    order: -1;
  }
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}
@media (max-width: 820px) {
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .cert-grid {
    grid-template-columns: 1fr;
  }
}
.cert-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.cert-thumb {
  aspect-ratio: 4/3;
  border-bottom: 1.5px dashed var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px;
}
.cert-body {
  padding: 14px 16px;
}
.cert-body h4 {
  font-size: 0.98rem;
  font-weight: 500;
}
.cert-body span {
  color: var(--ink-faint);
  font-size: 0.8rem;
}

.timeline {
  position: relative;
  padding-left: 26px;
  margin-top: 10px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--line-strong);
}
.t-item {
  position: relative;
  padding-bottom: 34px;
}
.t-item:last-child {
  padding-bottom: 0;
}
.t-item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--panel);
  border: 2px solid var(--accent);
}
.t-item .t-year {
  color: var(--accent);
  font-size: 0.8rem;
  margin-bottom: 4px;
  display: block;
  font-weight: 600;
}
.t-item h4 {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 4px;
}
.t-item p {
  color: var(--ink-dim);
  font-size: 0.93rem;
  max-width: 56ch;
  margin: 0;
}

.pullquote {
  font-family: "Newsreader", serif;
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--ink);
  border-left: 3px solid var(--accent);
  padding-left: 22px;
  margin: 34px 0;
  max-width: 52ch;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 12px;
}
@media (max-width: 780px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}
.value-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}
.value-card h4 {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.value-card p {
  color: var(--ink-dim);
  font-size: 0.9rem;
  margin: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 20px;
}
@media (max-width: 780px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.gallery-slot {
  aspect-ratio: 1/1;
  border: 1.5px dashed var(--line-strong);
  border-radius: 10px;
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
}

/* ---------- CV ---------- */
.cv-sheet {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 44px 48px;
}
@media (max-width: 620px) {
  .cv-sheet {
    padding: 28px 22px;
  }
}
.cv-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.cv-head h2 {
  font-size: 1.9rem;
}
.cv-head .cv-role {
  color: var(--accent);
  font-size: 0.95rem;
  margin-top: 6px;
  font-weight: 600;
}
.cv-contacts {
  font-size: 0.85rem;
  color: var(--ink-dim);
  text-align: right;
  line-height: 1.9;
}
@media (max-width: 560px) {
  .cv-contacts {
    text-align: left;
  }
}
.cv-download {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 7px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
}
.cv-download:hover {
  background: #275e44;
}

.cv-section {
  margin-bottom: 30px;
}
.cv-section:last-child {
  margin-bottom: 0;
}
.cv-section h3 {
  font-family: "Manrope", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: var(--ink-faint);
  margin-bottom: 16px;
}
.cv-entry {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
@media (max-width: 620px) {
  .cv-entry {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
.cv-entry:last-child {
  margin-bottom: 0;
}
.cv-entry .cv-period {
  color: var(--ink-faint);
  font-size: 0.82rem;
  padding-top: 2px;
}
.cv-entry .cv-title {
  font-family: "Newsreader", serif;
  font-size: 1.05rem;
}
.cv-entry .cv-org {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
  margin: 2px 0 6px;
}
.cv-entry p {
  color: var(--ink-dim);
  font-size: 0.92rem;
  margin: 0;
  max-width: 52ch;
}

.cv-taglist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cv-tag {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.82rem;
  color: var(--ink-dim);
}

.cv-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 700px) {
  .cv-two-col {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* ---------- CONTACT ---------- */
.contact-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  max-width: 480px;
}
.contact-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 4px;
  border-top: 1px solid var(--line);
}
.contact-list li:last-child {
  border-bottom: 1px solid var(--line);
}
.contact-list .c-label {
  color: var(--ink-faint);
  font-size: 0.85rem;
}
.contact-list .c-value {
  font-family: "Newsreader", serif;
}
.contact-list a.c-value:hover {
  color: var(--accent);
}

.contact-form {
  max-width: 480px;
  margin-top: 10px;
}
.form-row {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-row label {
  font-size: 0.85rem;
  color: var(--ink-dim);
  font-weight: 600;
}
.form-row input,
.form-row textarea {
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 14px;
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--accent);
}
.form-submit {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.93rem;
  font-weight: 600;
  cursor: pointer;
}
.form-submit:hover {
  background: #275e44;
}
.form-submit:disabled {
  opacity: 0.6;
  cursor: default;
}
.form-status {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--ink-dim);
  min-height: 1.2em;
}
.form-status.ok {
  color: var(--accent);
}
.form-status.err {
  color: var(--clay);
}

/* ---------- MOCKUP HERO ---------- */
body {
  background: linear-gradient(116deg, #101113 0%, #282b2f 39%, #89919a 100%);
  color: #f8f8f6;
}
body:has(#panel-overview.active) {
  background: #050607;
}
.shell {
  display: block;
  min-height: 100vh;
}
.topbar {
  min-height: 88px;
  padding: 28px 6.25vw 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.topbar .brand {
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0;
}
.topbar .brand span {
  color: #c4cbd0;
}
.topbar .tabs {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 3.2vw, 48px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.topbar .tab-btn {
  width: auto;
  padding: 6px 2px;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: center;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}
.topbar .tab-btn:hover,
.topbar .tab-btn[aria-selected="true"] {
  background: transparent;
  color: #b8dbc8;
  transform: translateY(-2px);
}
.topbar .tab-btn[aria-selected="true"]::after {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  background: #fff;
  border-radius: 50%;
  margin: 7px auto 0;
}
.menu-toggle {
  display: none;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 8px 14px;
}
main {
  max-width: none;
  padding: 8.5vh 6.25vw 90px;
}
.panel.active {
  animation: hero-in 0.7s ease both;
}
.legacy-panel {
  display: none !important;
}
.agency-panel {
  max-width: 1240px;
  margin: 0 auto;
  color: #eef5ef;
}
.agency-hero {
  min-height: min(68vh, 700px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  align-items: end;
  gap: 40px;
  padding: clamp(42px, 8vw, 110px) 0 clamp(70px, 10vw, 140px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.agency-eyebrow {
  display: inline-block;
  color: #b8dbc8;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.agency-panel h1,
.agency-panel h2,
.agency-panel h3 {
  color: #f8f8f6;
}
.agency-hero h1,
.agency-page-title {
  max-width: 900px;
  margin: 22px 0 26px;
  font-family: "Sora", sans-serif;
  font-size: clamp(3.3rem, 6.4vw, 6.4rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.98;
}
.agency-hero h1 em,
.agency-page-title em {
  color: #d89a58;
  font-style: normal;
  font-weight: 600;
}
.agency-hero p,
.agency-lede {
  max-width: 620px;
  color: rgba(248, 248, 246, 0.7);
  font-size: 1.08rem;
  line-height: 1.75;
}
.agency-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.agency-button,
.agency-card button,
.agency-price button,
.agency-blog-card button {
  border: 1px solid #d89a58;
  border-radius: 4px;
  background: #d89a58;
  color: #171512;
  padding: 13px 18px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}
.agency-button:hover,
.agency-card button:hover,
.agency-price button:hover,
.agency-blog-card button:hover {
  transform: translateY(-2px);
  background: #e9b879;
}
.agency-button span {
  margin-left: 20px;
}
.agency-button-ghost {
  background: transparent;
  color: #f8f8f6;
  border-color: rgba(255, 255, 255, 0.3);
}
.agency-button-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}
.agency-hero-note {
  align-self: center;
  justify-self: end;
  max-width: 220px;
  border-left: 1px solid #d89a58;
  padding-left: 20px;
  color: rgba(248, 248, 246, 0.64);
}
.agency-hero-note strong {
  display: block;
  color: #f8f8f6;
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.agency-hero-note span {
  font-size: 0.78rem;
  line-height: 1.6;
}
.agency-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin: 100px 0 34px;
}
.agency-section-head h2 {
  margin-top: 12px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.96;
}
.agency-section-head p {
  max-width: 440px;
  color: rgba(248, 248, 246, 0.62);
  line-height: 1.7;
}
.agency-card-grid {
  display: grid;
  gap: 14px;
}
.agency-card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.agency-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.agency-card:hover {
  border-color: rgba(216, 154, 88, 0.7);
  background: rgba(216, 154, 88, 0.08);
}
.agency-icon {
  color: #d89a58;
  font-size: 1.5rem;
  margin-bottom: 30px;
}
.agency-card h3 {
  font-family: "DM Sans", sans-serif;
  font-size: 1.05rem;
}
.agency-card p {
  color: rgba(248, 248, 246, 0.62);
  font-size: 0.88rem;
  line-height: 1.65;
}
.agency-card button {
  margin-top: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #d89a58;
  font-size: 0.78rem;
}
.agency-card button:hover {
  background: transparent;
}
.agency-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 8vw, 120px);
  align-items: start;
  margin: 120px 0;
}
.agency-split h2 {
  max-width: 520px;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 0.94;
}
.agency-split p {
  color: rgba(248, 248, 246, 0.65);
  line-height: 1.75;
}
.agency-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  list-style: none;
  margin: 24px 0;
  padding: 0;
  color: #eef5ef;
}
.agency-checklist li::before {
  content: "✓";
  color: #d89a58;
  margin-right: 10px;
}
.agency-service-row .agency-card {
  min-height: 210px;
}
.agency-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 100px 0;
}
.agency-logos span {
  padding: 22px 10px;
  color: rgba(248, 248, 246, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-align: center;
}
.agency-faq {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.agency-faq details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 22px 0;
}
.agency-faq summary {
  color: #f8f8f6;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 700;
  list-style: none;
}
.agency-faq summary::after {
  content: "+";
  float: right;
  color: #d89a58;
  font-size: 1.4rem;
}
.agency-faq details[open] summary::after {
  content: "-";
}
.agency-faq p {
  max-width: 680px;
  color: rgba(248, 248, 246, 0.64);
  line-height: 1.7;
}
.agency-feature-list > div {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 20px 0;
}
.agency-feature-list b {
  color: #d89a58;
  margin-right: 24px;
}
.agency-feature-list strong {
  color: #f8f8f6;
}
.agency-feature-list p {
  margin: 8px 0 0 48px;
  font-size: 0.88rem;
}
.agency-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
}
.agency-process > div {
  min-height: 190px;
  padding: 22px;
  background: #25282c;
}
.agency-process b {
  color: #d89a58;
}
.agency-process h3 {
  margin: 24px 0 10px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
}
.agency-process p {
  color: rgba(248, 248, 246, 0.58);
  font-size: 0.82rem;
  line-height: 1.55;
}
.agency-audience {
  margin: 110px 0 30px;
  padding: clamp(30px, 6vw, 80px);
  background: linear-gradient(120deg, #8e422f, #d8944d);
}
.agency-audience h2 {
  max-width: 640px;
  margin: 18px 0 38px;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 0.94;
}
.agency-audience-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.agency-audience-grid span {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.agency-service-list {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.agency-service-list article {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 22px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.agency-service-list b {
  color: #d89a58;
}
.agency-service-list h2 {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 2.8vw, 2.5rem);
}
.agency-service-list p {
  max-width: 720px;
  margin: 0;
  color: rgba(248, 248, 246, 0.62);
  line-height: 1.7;
}
.service-detail-panel {
  max-width: 1240px;
  min-width: 0;
}
.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 48px;
  padding: 12px 16px;
  border: 1px solid rgba(184, 219, 200, 0.45);
  border-radius: 3px;
  background: rgba(184, 219, 200, 0.1);
  color: #b8dbc8;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.detail-back:hover {
  background: rgba(216, 154, 88, 0.14);
  border-color: #d89a58;
  color: #d89a58;
  transform: translateX(-3px);
}
.service-detail-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 52px 0 90px;
  background: rgba(255, 255, 255, 0.16);
}
.service-detail-meta > div {
  display: grid;
  gap: 10px;
  min-height: 126px;
  padding: 24px;
  background: #202527;
}
.service-detail-meta span {
  color: rgba(248, 248, 246, 0.5);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.service-detail-meta strong {
  color: #f8f8f6;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
}
.service-detail-body {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 8vw, 120px);
  padding: 70px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.service-detail-body > div {
  min-width: 0;
}
.service-detail-body h2 {
  max-width: 620px;
  margin: 16px 0 20px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
}
.service-detail-body p {
  max-width: 650px;
}
.service-detail-body .agency-checklist {
  grid-template-columns: 1fr;
  gap: 13px;
  margin-top: 30px;
  font-size: 0.9rem;
}
.service-detail-process {
  padding: 24px;
  border: 1px solid rgba(216, 154, 88, 0.42);
  background: rgba(216, 154, 88, 0.055);
}
#service-detail-process > div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 20px 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}
#service-detail-process > div:first-of-type {
  margin-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}
.service-detail-process b {
  color: #d89a58;
  font-size: 0.78rem;
}
.service-detail-process span {
  color: rgba(248, 248, 246, 0.72);
  font-size: 0.9rem;
  line-height: 1.55;
}
.service-detail-process section {
  display: grid;
  gap: 7px;
  min-width: 0;
}
.service-detail-process strong {
  color: #f8f8f6;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.3;
}
.service-detail-cta {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin: 90px 0 30px;
  padding: clamp(28px, 5vw, 58px);
  background: linear-gradient(120deg, #253b39, #573d2f);
}
.service-detail-cta h2 {
  max-width: 580px;
  margin: 14px 0 0;
  color: #f8f8f6;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
}
.agency-note {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 45px;
  padding: 25px;
  border: 1px solid rgba(216, 154, 88, 0.5);
}
.agency-note span {
  flex: 1;
  color: rgba(248, 248, 246, 0.65);
  font-size: 0.88rem;
}
.agency-project {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  margin: 80px 0 120px;
}
.project-mockup {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #344b54, #b46d45);
  box-shadow: 18px 18px 0 #d89a58;
}
.project-mockup span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
}
.project-mockup strong {
  margin: 25px 0 8px;
  color: #fff;
  font-family: "Newsreader", serif;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 0.85;
  text-align: center;
}
.project-mockup small {
  color: rgba(255, 255, 255, 0.72);
}
.agency-project h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.95;
}
.service-detail-section {
  margin: 100px 0 0;
  padding-top: 70px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.service-detail-section,
.service-detail-faq-section,
.service-detail-cta {
  min-width: 0;
  overflow-wrap: anywhere;
}
.service-detail-section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}
.service-detail-section-heading h2,
.service-detail-faq-section h2 {
  max-width: 760px;
  margin: 14px 0 16px;
  color: #f8f8f6;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
}
.service-detail-section-heading p {
  max-width: 730px;
  color: rgba(248, 248, 246, 0.68);
  line-height: 1.8;
}
.service-detail-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
}
.service-detail-card-grid article {
  min-height: 220px;
  padding: 25px;
  background: #202527;
}
.service-detail-card-grid b {
  color: #d89a58;
  font-size: 0.78rem;
}
.service-detail-card-grid h3 {
  margin: 28px 0 10px;
  font-size: 1.08rem;
}
.service-detail-card-grid p {
  margin: 0;
  color: rgba(248, 248, 246, 0.6);
  font-size: 0.86rem;
  line-height: 1.65;
}
.service-detail-section-dark {
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding: 80px max(6.25vw, 24px);
  background: #1a201f;
}
.service-detail-section-dark > * {
  max-width: 1240px;
  margin-right: auto;
  margin-left: auto;
}
.service-detail-deliverables,
.service-detail-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.service-detail-deliverables span,
.service-detail-tools span {
  padding: 14px 17px;
  border: 1px solid rgba(184, 219, 200, 0.3);
  color: #b8dbc8;
  font-size: 0.82rem;
}
.service-detail-tools-section {
  border-top: 0;
}
.service-detail-tools span {
  border-color: rgba(216, 154, 88, 0.45);
  color: #d89a58;
}
.service-detail-measures {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
}
.service-detail-measures div {
  min-height: 130px;
  padding: 20px;
  background: #202527;
}
.service-detail-measures b {
  display: block;
  color: #d89a58;
  font-size: 1.3rem;
}
.service-detail-measures span {
  display: block;
  margin-top: 18px;
  color: rgba(248, 248, 246, 0.68);
  font-size: 0.8rem;
  line-height: 1.5;
}
.service-detail-faq-section {
  margin: 100px 0 0;
  padding-top: 70px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.service-detail-faq-section .agency-faq {
  margin-top: 34px;
}
.agency-rating {
  color: #d89a58;
  font-weight: 700;
}
.agency-rating strong {
  display: block;
  color: #f8f8f6;
}
.agency-rating small {
  display: block;
  color: rgba(248, 248, 246, 0.6);
  font-weight: 400;
  margin-top: 4px;
}
.agency-review {
  min-height: 230px;
}
.agency-review > b {
  color: #d89a58;
  letter-spacing: 0.15em;
}
.agency-review small {
  color: rgba(248, 248, 246, 0.5);
}
.agency-pricing-group {
  margin-top: 70px;
}
.agency-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.agency-price {
  position: relative;
  padding: 30px;
  background: #f2eee6;
  color: #1b211d;
}
.agency-price.featured {
  background: #d89a58;
  color: #171512;
  transform: translateY(-12px);
}
.agency-price > span {
  color: #5b655d;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.agency-price.featured > span {
  color: #51351f;
}
.agency-price h3 {
  margin: 20px 0;
  color: #1b211d;
  font-family: "DM Sans", sans-serif;
  font-size: 1.15rem;
}
.agency-price > strong {
  display: block;
  color: #1b211d;
  font-size: 2rem;
}
.agency-price > strong small {
  font-size: 0.8rem;
  font-weight: 400;
}
.agency-price p,
.agency-price li {
  color: #5b655d;
  font-size: 0.86rem;
  line-height: 1.6;
}
.agency-price ul {
  min-height: 150px;
  padding-left: 18px;
}
.agency-price button {
  margin-top: 18px;
}
.agency-payment-note {
  margin: 30px 0;
  color: #d89a58;
  text-align: center;
}
.agency-contact-grid {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 70px;
  margin-top: 70px;
}
.agency-contact-line {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.agency-contact-line span {
  display: block;
  color: rgba(248, 248, 246, 0.5);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 7px;
}
.agency-contact-line a,
.agency-contact-line strong {
  color: #f8f8f6;
}
.agency-form {
  display: grid;
  gap: 24px;
}
.agency-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.agency-form label {
  display: grid;
  gap: 8px;
  color: rgba(248, 248, 246, 0.65);
  font-size: 0.78rem;
}
.agency-form input,
.agency-form select,
.agency-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.07);
  color: #f8f8f6;
  font: inherit;
}
.agency-form select option {
  color: #111;
}
.agency-form fieldset {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  border: 0;
  padding: 0;
}
.agency-form legend {
  grid-column: 1 / -1;
  color: #d89a58;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.agency-form fieldset label {
  display: block;
  color: rgba(248, 248, 246, 0.7);
}
.agency-form input[type="checkbox"] {
  width: auto;
  margin-right: 7px;
}
.agency-blog-card {
  min-height: 320px;
  padding: 28px;
  border-top: 2px solid #d89a58;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
}
.agency-blog-card > span {
  color: #d89a58;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.agency-blog-card h2 {
  margin: 28px 0 10px;
  font-size: 1.5rem;
  line-height: 1.05;
}
.agency-blog-card p {
  color: rgba(248, 248, 246, 0.62);
  line-height: 1.65;
}
.agency-blog-card button {
  margin-top: auto;
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: transparent;
  color: #d89a58;
}
.agency-profile-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 38px 0 0;
  background: rgba(255, 255, 255, 0.16);
}
.agency-profile-strip > div {
  display: grid;
  gap: 8px;
  padding: 20px;
  background: #202527;
}
.agency-profile-strip span,
.report-meta-grid span {
  color: rgba(248, 248, 246, 0.5);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.agency-profile-strip strong,
.report-meta-grid strong {
  color: #f8f8f6;
  font-size: 0.88rem;
  font-weight: 600;
}
.agency-profile-intro {
  margin: 90px 0 30px;
}
.agency-profile-intro > div:last-child {
  padding-top: 8px;
}
.profile-portrait-wrap {
  position: relative;
  max-width: 390px;
}
.profile-portrait-frame {
  position: relative;
  aspect-ratio: 4 / 7;
  overflow: hidden;
}
.profile-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 32% top;
  transform: scale(1.1) translateY(-40px);
  transform-origin: 34% 24%;
  filter: saturate(0.98) contrast(1.02) brightness(1.06);
}
.profile-portrait-label {
  position: absolute;
  right: 22px;
  bottom: 20px;
  z-index: 1;
  color: #f8f8f6;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.profile-availability {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  color: rgba(248, 248, 246, 0.58);
  font-size: 0.72rem;
  line-height: 1.45;
}
.profile-availability span {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #b8dbc8;
  box-shadow: 0 0 0 5px rgba(184, 219, 200, 0.1);
}
.agency-profile-intro h2 {
  margin-top: 16px;
}
.profile-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.profile-capabilities span {
  padding: 9px 12px;
  border: 1px solid rgba(184, 219, 200, 0.3);
  color: #b8dbc8;
  font-size: 0.7rem;
  letter-spacing: 0.03em;
}
.profile-proof-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 68px 0 20px;
  background: rgba(255, 255, 255, 0.16);
}
.profile-proof-row > div {
  min-height: 185px;
  padding: 24px;
  background: linear-gradient(145deg, #23292a, #1b201f);
}
.profile-proof-row strong {
  display: block;
  color: #d89a58;
  font-family: "Newsreader", serif;
  font-size: 2rem;
  font-weight: 400;
}
.profile-proof-row span {
  display: block;
  margin: 15px 0 8px;
  color: #f8f8f6;
  font-weight: 700;
}
.profile-proof-row p {
  margin: 0;
  color: rgba(248, 248, 246, 0.56);
  font-size: 0.8rem;
  line-height: 1.6;
}
.agency-profile-intro h2 {
  max-width: 560px;
}
.agency-profile-details {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  margin: 90px 0 25px;
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.agency-profile-details h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 0.98;
}
.agency-value-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.agency-value-columns article {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.agency-value-columns strong {
  color: #d89a58;
}
.agency-value-columns p {
  margin: 8px 0 0;
  color: rgba(248, 248, 246, 0.62);
  font-size: 0.86rem;
  line-height: 1.6;
}
.report-panel {
  padding-bottom: 30px;
}
.report-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 52px 0 28px;
  background: rgba(255, 255, 255, 0.16);
}
.report-meta-grid > div {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 116px;
  padding: 20px;
  background: #202527;
}
.report-contents {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.report-contents strong {
  color: #d89a58;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.report-contents a {
  color: rgba(248, 248, 246, 0.66);
  font-size: 0.78rem;
}
.report-contents a:hover {
  color: #f8f8f6;
}
.report-document {
  max-width: 1040px;
  margin: 0 auto;
}
.report-section {
  scroll-margin-top: 24px;
  margin: 92px 0;
}
.report-section h2 {
  max-width: 780px;
  margin: 14px 0 22px;
  font-size: clamp(2.3rem, 4.5vw, 4.8rem);
  line-height: 0.95;
}
.report-section h3 {
  margin: 0 0 8px;
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
}
.report-section p {
  max-width: 780px;
  color: rgba(248, 248, 246, 0.68);
  line-height: 1.8;
}
.report-highlight {
  margin-top: 65px;
  padding: clamp(26px, 5vw, 58px);
  border-left: 3px solid #d89a58;
  background: rgba(216, 154, 88, 0.08);
}
.report-highlight p {
  max-width: 850px;
}
.report-two-col,
.report-requirement-grid,
.report-test-grid,
.report-architecture {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 34px;
  background: rgba(255, 255, 255, 0.16);
}
.report-two-col > div,
.report-requirement-grid > div,
.report-test-grid > div,
.report-architecture > div {
  min-height: 150px;
  padding: 24px;
  background: #202527;
}
.report-two-col p,
.report-requirement-grid p,
.report-test-grid p,
.report-architecture span {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.65;
}
.report-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-top: 34px;
  background: rgba(255, 255, 255, 0.16);
}
.report-steps > div {
  min-height: 170px;
  padding: 20px;
  background: #202527;
}
.report-steps b {
  display: block;
  color: #d89a58;
  margin-bottom: 28px;
}
.report-steps strong,
.report-test-grid strong,
.report-architecture strong {
  display: block;
  color: #f8f8f6;
  margin-bottom: 7px;
}
.report-steps span,
.report-test-grid p,
.report-architecture span {
  color: rgba(248, 248, 246, 0.6);
}
.report-callout {
  display: flex;
  gap: 20px;
  align-items: baseline;
  margin-top: 28px;
  padding: 22px;
  border: 1px solid rgba(216, 154, 88, 0.52);
}
.report-callout strong {
  color: #d89a58;
  white-space: nowrap;
}
.report-callout span {
  color: rgba(248, 248, 246, 0.68);
  font-size: 0.88rem;
  line-height: 1.65;
}
.report-appendices details {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 20px 0;
}
.report-appendices details:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.report-appendices summary {
  color: #f8f8f6;
  cursor: pointer;
  font-weight: 700;
}
.report-appendices summary::marker {
  color: #d89a58;
}
.report-appendices details p {
  margin-bottom: 0;
}
@media (max-width: 780px) {
  .agency-hero,
  .agency-split,
  .agency-project,
  .agency-contact-grid {
    grid-template-columns: 1fr;
  }
  .agency-hero-note {
    justify-self: start;
  }
  .agency-card-grid-3,
  .agency-price-grid {
    grid-template-columns: 1fr;
  }
  .agency-price.featured {
    transform: none;
  }
  .agency-process {
    grid-template-columns: 1fr 1fr;
  }
  .agency-logos {
    grid-template-columns: repeat(2, 1fr);
  }
  .agency-section-head {
    align-items: start;
    flex-direction: column;
  }
  .agency-note {
    align-items: start;
    flex-direction: column;
  }
  .service-detail-meta,
  .service-detail-body {
    grid-template-columns: 1fr;
  }
  .service-detail-body {
    gap: 55px;
  }
  .service-detail-process {
    padding-left: 0;
    border-left: 0;
  }
  .service-detail-cta {
    align-items: start;
    flex-direction: column;
  }
  .service-detail-card-grid,
  .service-detail-measures {
    grid-template-columns: 1fr 1fr;
  }
  .agency-profile-strip,
  .report-meta-grid {
    grid-template-columns: 1fr 1fr;
  }
  .profile-proof-row {
    grid-template-columns: 1fr;
  }
  .agency-profile-details {
    grid-template-columns: 1fr;
  }
  .report-steps {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .agency-hero h1,
  .agency-page-title {
    font-size: clamp(3.2rem, 15vw, 5rem);
  }
  .agency-checklist,
  .agency-form-grid,
  .agency-form fieldset,
  .agency-process {
    grid-template-columns: 1fr;
  }
  .agency-process > div {
    min-height: auto;
  }
  .agency-profile-strip,
  .report-meta-grid,
  .agency-value-columns,
  .report-two-col,
  .report-requirement-grid,
  .report-test-grid,
  .report-architecture,
  .report-steps {
    grid-template-columns: 1fr;
  }
  .profile-portrait-wrap {
    max-width: none;
  }
  .profile-portrait-frame,
  .profile-portrait-frame img {
    min-height: 0;
  }
  .service-detail-panel .agency-page-title {
    font-size: clamp(2.55rem, 12vw, 4rem);
    line-height: 1;
  }
  .detail-back {
    margin-bottom: 34px;
    padding: 11px 14px;
  }
  .service-detail-meta {
    margin: 36px 0 58px;
  }
  .service-detail-meta > div {
    min-height: auto;
    padding: 18px;
  }
  .service-detail-body {
    padding: 48px 0;
  }
  .service-detail-process {
    padding: 18px;
  }
  #service-detail-process > div {
    grid-template-columns: 32px 1fr;
    gap: 10px;
  }
  .service-detail-process span,
  .service-detail-process strong {
    font-size: 0.84rem;
  }
  .service-detail-cta {
    margin-top: 64px;
  }
  .report-callout {
    display: grid;
    gap: 8px;
  }
  .service-detail-card-grid,
  .service-detail-measures {
    grid-template-columns: 1fr;
  }
  .service-detail-section-dark {
    margin-right: -20px;
    margin-left: -20px;
    padding-right: 20px;
    padding-left: 20px;
  }
}
@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
#panel-overview {
  min-height: 0;
  display: block;
  position: relative;
}
#panel-overview .hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(350px, 0.72fr);
  column-gap: clamp(40px, 8vw, 130px);
  height: min(72vh, 760px);
  min-height: 480px;
  align-items: start;
  align-content: start;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 4px;
  padding: clamp(24px, 3vw, 48px);
}
#panel-overview .home-video,
#panel-overview .home-video-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
#panel-overview .home-video {
  z-index: -2;
  object-fit: cover;
  opacity: 1;
  filter: contrast(1.05) brightness(0.72);
}
#panel-overview .home-video-shade {
  z-index: -1;
  background: linear-gradient(
    100deg,
    rgba(8, 10, 11, 0.3),
    rgba(8, 10, 11, 0.08)
  );
}
#panel-overview .hero-copy {
  padding-bottom: 3vh;
}
#panel-overview .kicker {
  color: #b8dbc8;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
#panel-overview .kicker .dot {
  background: #fff;
}
#panel-overview h1.page-title {
  color: #fff;
  font-family: "Newsreader", serif;
  font-size: clamp(4rem, 7.4vw, 7.6rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0;
  max-width: 8ch;
  margin-bottom: 38px;
}
#panel-overview h1.page-title em {
  font-weight: 400;
}
#panel-overview p.lede {
  color: rgba(255, 255, 255, 0.72);
  max-width: 54ch;
  font-size: 0.93rem;
  line-height: 1.55;
  margin-bottom: 44px;
}
#panel-overview .portrait-slot {
  position: relative;
  width: 100%;
  aspect-ratio: 0.82;
  max-height: 590px;
  border: 0;
  border-radius: 2px;
  padding: 0;
  margin: 0;
  background: #050607;
  overflow: hidden;
  align-self: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}
#panel-overview .portrait-slot img {
  position: absolute;
  width: 116%;
  height: 116%;
  top: 50%;
  left: 50%;
  max-width: none;
  object-fit: cover;
  object-position: 42% 0%;
  transform: translate(-50%, -50%);
  filter: saturate(0.88) contrast(1.04);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}
.hero-button {
  background: #fff;
  color: #111;
  border: 0;
  border-radius: 999px;
  padding: 15px 25px;
  font-size: 1rem;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}
.hero-button:hover {
  background: #dfe3e6;
  transform: translateY(-2px);
}
.play-button {
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 1rem;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}
.play-button:hover {
  background: #dfe3e6;
  transform: scale(1.06);
}
.availability {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
}
.availability span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7ee2a8;
  box-shadow: 0 0 0 4px rgba(126, 226, 168, 0.12);
}
.availability b {
  color: #b8dbc8;
  font-weight: 600;
  margin-left: 4px;
}
#panel-overview .quickfacts,
#panel-overview .block-title,
#panel-overview .body-copy,
#panel-overview .pullquote,
#panel-overview .section-heading,
#panel-overview .work-grid,
#panel-overview .process-strip {
}
#panel-overview .quickfacts {
  margin-top: 70px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 30px 0 18px;
}
.section-heading .block-title {
  margin: 8px 0 0;
}
.eyebrow,
.work-type {
  color: #b8dbc8;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}
.text-button {
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 8px 0;
}
.text-button span {
  color: #b8dbc8;
  font-size: 1.05rem;
  margin-left: 6px;
}
.text-button:hover {
  color: #fff;
}
.work-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 14px;
}
.work-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  overflow: hidden;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}
.work-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 219, 200, 0.6);
  background: rgba(255, 255, 255, 0.1);
}
.work-visual {
  height: 148px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Newsreader", serif;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.88);
}
.work-visual-mwaura {
  background: linear-gradient(135deg, #315944, #101613);
}
.work-visual-web {
  background: linear-gradient(135deg, #3b4851, #161b1f);
}
.work-visual-lab {
  background: linear-gradient(135deg, #66533e, #1d1814);
}
.work-card-copy {
  padding: 18px 18px 20px;
}
.work-card h3 {
  color: #fff;
  font-size: 1.3rem;
  margin: 7px 0 6px;
}
.work-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
  line-height: 1.5;
}
.process-strip {
  display: grid;
  grid-template-columns: 0.8fr 1.5fr;
  gap: 30px;
  padding: 28px 0;
  margin: 30px 0 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.process-strip .block-title {
  margin: 8px 0 0;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.process-steps div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.process-steps b {
  color: #b8dbc8;
  font-size: 0.72rem;
}
.process-steps strong {
  color: #fff;
  font-size: 0.92rem;
}
.process-steps span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
}
.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 30px 0 24px;
}
.service-list > div {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: 15px;
}
.service-list span {
  color: #b8dbc8;
  font-size: 0.75rem;
}
.service-list strong {
  display: block;
  color: #fff;
  font-family: "Newsreader", serif;
  font-size: 1.15rem;
  margin: 10px 0 6px;
}
.service-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
  line-height: 1.5;
}

body:not(:has(#panel-overview.active)) .topbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
body:not(:has(#panel-overview.active)) {
  --ink: #f8f8f6;
  --ink-dim: rgba(255, 255, 255, 0.74);
  --ink-faint: rgba(255, 255, 255, 0.54);
  --panel: rgba(255, 255, 255, 0.08);
  --panel-2: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.2);
  --line-strong: rgba(255, 255, 255, 0.36);
  --accent: #b8dbc8;
  --accent-soft: rgba(184, 219, 200, 0.14);
}
body:not(:has(#panel-overview.active)) main {
  color: #f8f8f6;
}
body:not(:has(#panel-overview.active)) .panel {
  max-width: 920px;
  margin: 0 auto;
}
body:not(:has(#panel-overview.active)) .page-title,
body:not(:has(#panel-overview.active)) h2,
body:not(:has(#panel-overview.active)) h3,
body:not(:has(#panel-overview.active)) h4 {
  color: #fff;
}
body:not(:has(#panel-overview.active)) .lede,
body:not(:has(#panel-overview.active)) .body-copy,
body:not(:has(#panel-overview.active)) .skill-row .s-desc,
body:not(:has(#panel-overview.active)) .t-item p {
  color: rgba(255, 255, 255, 0.72);
}
body:not(:has(#panel-overview.active)) .brand-card,
body:not(:has(#panel-overview.active)) .qf-card,
body:not(:has(#panel-overview.active)) .value-card,
body:not(:has(#panel-overview.active)) .cert-card,
body:not(:has(#panel-overview.active)) .cv-sheet,
body:not(:has(#panel-overview.active)) .facts div,
body:not(:has(#panel-overview.active)) .form-row input,
body:not(:has(#panel-overview.active)) .form-row textarea {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

main p,
main .qf-label,
main .f-label,
main .ph-label,
main .s-desc,
main .t-item p,
main .value-card p,
main .cert-body span,
main .cv-entry p,
main .cv-contacts,
main .form-row label,
main .form-status {
  color: rgba(255, 255, 255, 0.82) !important;
}
main .f-value,
main .s-meta,
main .cv-org,
main .contact-list .c-label,
main .contact-list .c-value {
  color: #f8f8f6 !important;
}
main input::placeholder,
main textarea::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

@media (max-width: 780px) {
  .topbar {
    padding: 20px 24px;
  }
  .topbar .tabs {
    gap: 16px;
  }
  .topbar .tab-btn {
    font-size: 0.82rem;
  }
  main {
    padding: 32px 24px 52px;
  }
  #panel-overview {
    min-height: 0;
  }
  #panel-overview .hero-stage {
    grid-template-columns: 1fr;
    row-gap: 28px;
    height: 62svh;
    min-height: 400px;
  }
  #panel-overview h1.page-title {
    font-size: clamp(3.2rem, 14vw, 5rem);
    max-width: 9ch;
    margin-bottom: 24px;
  }
  #panel-overview p.lede {
    margin-bottom: 28px;
  }
  #panel-overview .portrait-slot {
    width: min(100%, 320px);
    max-height: 410px;
    justify-self: center;
  }
  #panel-overview .quickfacts {
    margin-top: 20px;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }
  .work-grid,
  .service-list {
    grid-template-columns: 1fr;
  }
  .work-visual {
    height: 120px;
  }
  .process-strip {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .process-steps {
    gap: 10px;
  }
}
@media (max-width: 760px) {
  .topbar {
    position: relative;
  }
  .topbar .tabs {
    display: none;
    position: absolute;
    left: 24px;
    right: 24px;
    top: 72px;
    padding: 14px;
    background: #25282c;
    border: 1px solid rgba(255, 255, 255, 0.15);
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    z-index: 5;
  }
  .topbar .tabs.is-open {
    display: flex;
  }
  .topbar .tab-btn {
    text-align: left;
    padding: 10px;
  }
  .topbar .tab-btn[aria-selected="true"]::after {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
}

/* ---------- CHATBOT ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.chatbot {
  position: fixed;
  right: 82px;
  bottom: 22px;
  z-index: 190;
  font-family: "DM Sans", sans-serif;
}
.chatbot-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 9px;
  border: 1px solid rgba(216, 154, 88, 0.75);
  border-radius: 999px;
  background: #202b29;
  color: #f8f8f6;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
}
.chatbot-toggle:hover,
.chatbot.is-open .chatbot-toggle {
  background: #d89a58;
  color: #171d1b;
}
.chatbot-toggle-mark {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #d89a58;
  color: #171d1b;
  font-family: "Sora", sans-serif;
  font-size: 0.78rem;
}
.chatbot.is-open .chatbot-toggle-mark {
  background: #202b29;
  color: #d89a58;
}
.chatbot-toggle-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b8dbc8;
  box-shadow: 0 0 0 4px rgba(184, 219, 200, 0.12);
}
.chatbot-panel {
  position: absolute;
  right: 0;
  bottom: 58px;
  width: min(365px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid rgba(216, 154, 88, 0.48);
  background: #17201f;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.42);
}
.chatbot-panel[hidden] {
  display: none;
}
.chatbot-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 18px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(120deg, #253b39, #3e3028);
}
.chatbot-header > div {
  display: grid;
  gap: 7px;
}
.chatbot-header strong {
  color: #f8f8f6;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
}
.chatbot-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.chatbot-train-toggle {
  padding: 5px 8px;
  border: 1px solid rgba(184, 219, 200, 0.45);
  border-radius: 3px;
  background: transparent;
  color: #b8dbc8;
  cursor: pointer;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 700;
}
.chatbot-train-toggle:hover,
.chatbot-train-toggle[aria-expanded="true"] {
  border-color: #d89a58;
  color: #d89a58;
}
.chatbot-close {
  border: 0;
  background: transparent;
  color: rgba(248, 248, 246, 0.7);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}
.chatbot-close:hover {
  color: #d89a58;
}
.chatbot-messages {
  display: grid;
  gap: 10px;
  max-height: 255px;
  overflow-y: auto;
  padding: 16px;
}
.chat-message {
  max-width: 88%;
  padding: 10px 12px;
  color: rgba(248, 248, 246, 0.86);
  font-size: 0.78rem;
  line-height: 1.55;
}
.chat-message-bot {
  justify-self: start;
  border-left: 2px solid #d89a58;
  background: rgba(255, 255, 255, 0.07);
}
.chat-message-user {
  justify-self: end;
  border-right: 2px solid #b8dbc8;
  background: rgba(184, 219, 200, 0.12);
  color: #f8f8f6;
}
.chatbot-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 16px 14px;
}
.chatbot-prompts button {
  padding: 7px 9px;
  border: 1px solid rgba(184, 219, 200, 0.35);
  border-radius: 999px;
  background: transparent;
  color: #b8dbc8;
  cursor: pointer;
  font: inherit;
  font-size: 0.7rem;
}
.chatbot-prompts button:hover {
  border-color: #d89a58;
  color: #d89a58;
}
.chatbot-training {
  display: grid;
  gap: 9px;
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(216, 154, 88, 0.07);
}
.chatbot-training[hidden] {
  display: none;
}
.chatbot-training strong {
  color: #f8f8f6;
  font-size: 0.82rem;
}
.chatbot-training p {
  margin: 0;
  color: rgba(248, 248, 246, 0.58);
  font-size: 0.7rem;
  line-height: 1.45;
}
.chatbot-training label {
  display: grid;
  gap: 5px;
  color: #b8dbc8;
  font-size: 0.68rem;
  font-weight: 700;
}
.chatbot-training input,
.chatbot-training textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  padding: 8px;
  resize: vertical;
  background: rgba(255, 255, 255, 0.08);
  color: #f8f8f6;
  font: inherit;
  font-size: 0.75rem;
}
.chatbot-training > button {
  justify-self: start;
  padding: 8px 11px;
  border: 0;
  border-radius: 2px;
  background: #d89a58;
  color: #171d1b;
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
}
.chatbot-training-status {
  color: #b8dbc8;
  font-size: 0.68rem;
}
.chatbot-form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.16);
}
.chatbot-form input {
  min-width: 0;
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: #f8f8f6;
  font: inherit;
  font-size: 0.78rem;
}
.chatbot-form input::placeholder {
  color: rgba(248, 248, 246, 0.48);
}
.chatbot-form button {
  width: 38px;
  border: 0;
  border-radius: 2px;
  background: #d89a58;
  color: #171d1b;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 700;
}
@media (max-width: 620px) {
  .chatbot {
    right: 14px;
    bottom: 74px;
  }
  .chatbot-panel {
    right: 0;
    bottom: 56px;
  }
  .chatbot-toggle {
    padding-right: 12px;
  }
}

/* ---------- FLOATING SOCIAL ICONS ---------- */
.social-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 200;
}
.landing-page:not(.is-dismissed) ~ .social-float {
  display: none;
}
.landing-page:not(.is-dismissed) ~ .chatbot {
  display: none;
}
.sf-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  color: var(--social-color, #222222);
  box-shadow: 0 2px 10px rgba(30, 36, 32, 0.08);
  transition:
    transform 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
  position: relative;
}
.sf-icon svg {
  width: 19px;
  height: 19px;
}
.sf-icon:hover {
  color: #ffffff;
  border-color: var(--social-color, var(--accent));
  background: var(--social-color, var(--accent));
  transform: translateY(-2px);
}
.sf-icon[data-tip="GitHub"] {
  --social-color: #181717;
}
.sf-icon[data-tip="X"] {
  --social-color: #000000;
}
.sf-icon[data-tip="LinkedIn"] {
  --social-color: #0a66c2;
}
.sf-icon[data-tip="WhatsApp"] {
  --social-color: #25d366;
}
.sf-icon[data-tip="Telegram"] {
  --social-color: #229ed9;
}
.sf-icon[data-tip="Instagram"] {
  --social-color: #e4405f;
}
.sf-icon[data-tip="TikTok"] {
  --social-color: #111111;
}
.sf-icon[data-tip="TikTok"]:hover {
  text-shadow:
    -2px 0 #25f4ee,
    2px 0 #fe2c55;
}
.sf-icon::after {
  content: attr(data-tip);
  position: absolute;
  right: 54px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--ink);
  color: var(--panel);
  font-size: 0.76rem;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.sf-icon:hover::after {
  opacity: 1;
}
@media (max-width: 620px) {
  .social-float {
    position: static;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 20px 20px;
  }
  .sf-icon {
    width: 40px;
    height: 40px;
  }
  .sf-icon::after {
    display: none;
  }
}

/* ---------- PRINT ---------- */
@media print {
  .sidebar,
  .kicker,
  .cv-download,
  .social-float {
    display: none !important;
  }
  .shell {
    display: block;
  }
  main {
    padding: 0;
    max-width: none;
  }
  .panel {
    display: none !important;
  }
  #panel-cv {
    display: block !important;
  }
  body {
    background: #fff;
  }
  .cv-sheet {
    border: none;
    padding: 0;
  }
}

/* ---------- AGENCY OVERRIDES ---------- */
body:has(.landing-page.is-dismissed) {
  background: #111416;
}
body:has(.landing-page.is-dismissed) .shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  background:
    radial-gradient(
      circle at 82% 8%,
      rgba(216, 154, 88, 0.1),
      transparent 23rem
    ),
    radial-gradient(
      circle at 8% 42%,
      rgba(88, 133, 119, 0.08),
      transparent 28rem
    ),
    #111416;
}
.landing-page.is-dismissed {
  display: none;
}
body:has(.landing-page.is-dismissed) .topbar {
  position: relative;
  z-index: 3;
  background: rgba(17, 20, 22, 0.92);
  backdrop-filter: blur(14px);
}
body:not(:has(#panel-overview.active)) .agency-panel {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}
body:not(:has(#panel-overview.active)) .agency-panel h2,
body:not(:has(#panel-overview.active)) .agency-panel h3 {
  color: #f8f8f6;
}
.agency-hero-art {
  min-height: 380px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(216, 154, 88, 0.55);
  background:
    radial-gradient(
      circle at 50% 45%,
      rgba(216, 154, 88, 0.58),
      transparent 16%
    ),
    radial-gradient(
      circle at 50% 45%,
      rgba(83, 130, 118, 0.5),
      transparent 45%
    ),
    #171d1b;
}
.agency-hero-art::before,
.agency-hero-art::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(248, 248, 246, 0.18);
  border-radius: 50%;
  inset: 14%;
  transform: rotate(-22deg) scaleX(1.3);
}
.agency-hero-art::after {
  inset: 26%;
  transform: rotate(38deg) scaleX(1.55);
  border-color: rgba(216, 154, 88, 0.58);
}
.agency-orbit {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d89a58;
  box-shadow: 0 0 26px 8px rgba(216, 154, 88, 0.35);
}
.agency-orbit-one {
  top: 24%;
  left: 20%;
}
.agency-orbit-two {
  right: 19%;
  bottom: 24%;
  background: #b8dbc8;
  box-shadow: 0 0 26px 8px rgba(184, 219, 200, 0.3);
}
.agency-art-label {
  position: absolute;
  left: 26px;
  bottom: 24px;
  display: grid;
  gap: 5px;
}
.agency-art-label strong {
  color: #f8f8f6;
  font-size: 1.6rem;
  letter-spacing: 0.18em;
}
.agency-art-label span {
  color: rgba(248, 248, 246, 0.62);
  font-size: 0.72rem;
}
.agency-footer {
  max-width: 1240px;
  margin: 80px auto 0;
  padding: 80px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.agency-footer-lead {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 70px;
}
.agency-footer-lead h2 {
  margin: 14px 0 0;
  font-size: clamp(2.6rem, 6vw, 6rem);
  line-height: 0.9;
}
.agency-footer-lead a {
  color: #d89a58;
}
.agency-footer-lead h2 span {
  color: #d89a58;
  font-weight: 600;
}
.agency-footer-email {
  display: grid;
  gap: 8px;
  min-width: 250px;
  padding: 18px 20px;
  border: 1px solid rgba(216, 154, 88, 0.5);
  background: rgba(216, 154, 88, 0.07);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.agency-footer-email:hover {
  border-color: #d89a58;
  background: rgba(216, 154, 88, 0.14);
}
.agency-footer-email span,
.agency-footer-email small {
  color: rgba(248, 248, 246, 0.6);
  font-size: 0.72rem;
}
.agency-footer-email strong {
  color: #f8f8f6;
  font-family: "Sora", sans-serif;
  font-size: 0.95rem;
}
.agency-footer-email strong b {
  color: #d89a58;
  font-size: 1.1rem;
  margin-left: 8px;
}
.agency-footer-email small {
  color: #b8dbc8;
  font-size: 0.78rem;
}
.landing-content h1 em {
  font-style: normal;
}
.agency-footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.agency-footer-columns div {
  display: grid;
  align-content: start;
  gap: 8px;
}
.agency-footer-columns span {
  color: rgba(248, 248, 246, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.agency-footer-columns strong {
  color: rgba(248, 248, 246, 0.75);
  font-size: 0.8rem;
  font-weight: 500;
}
.agency-footer-columns a {
  color: rgba(248, 248, 246, 0.75);
  font-size: 0.8rem;
  font-weight: 500;
}
.agency-footer-columns a:hover {
  color: #d89a58;
}
.agency-footer-columns button {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(248, 248, 246, 0.75);
  cursor: pointer;
  font: inherit;
  text-align: left;
}
.agency-footer-columns button:hover {
  color: #d89a58;
}
.agency-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  color: rgba(248, 248, 246, 0.42);
  font-size: 0.7rem;
}
@media (max-width: 780px) {
  body:not(:has(#panel-overview.active)) .agency-panel {
    max-width: none;
  }
  .agency-hero-art {
    min-height: 280px;
  }
  .agency-footer {
    padding: 55px 0 20px;
  }
  .agency-footer-lead {
    align-items: start;
    flex-direction: column;
    padding-bottom: 45px;
  }
  .agency-footer-columns {
    grid-template-columns: 1fr 1fr;
  }
  .agency-footer-bottom {
    flex-direction: column;
  }
  body:has(.landing-page.is-dismissed) main {
    padding: 30px 20px 70px;
  }
  body:has(.landing-page.is-dismissed) .topbar {
    padding: 18px 20px;
  }
  .agency-hero {
    min-height: auto;
    padding: 52px 0 58px;
    gap: 42px;
  }
  .agency-hero h1 {
    font-size: clamp(3.6rem, 14vw, 5.6rem);
  }
  .agency-hero p {
    font-size: 0.96rem;
  }
  .agency-hero-art {
    min-height: 240px;
  }
  .agency-section-head {
    margin-top: 72px;
  }
}

/* ---------- POLISHED BRAND SYSTEM ---------- */
.landing-brand,
.brand,
.topbar .brand,
.page-title,
.block-title,
.cv-sheet h2,
.project-mockup strong,
.service-list strong,
.profile-proof-row strong {
  font-family: "Sora", sans-serif;
  letter-spacing: -0.035em;
}
.topbar .tab-btn {
  font-family: "DM Sans", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.agency-hero-art {
  display: grid;
  place-items: center;
}
.getozvea-logo {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 12px;
  transform: translateY(-12px);
}
.getozvea-logo-mark {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border: 1px solid #d89a58;
  border-radius: 22px 22px 22px 4px;
  color: #171d1b;
  background: #d89a58;
  box-shadow: 10px 10px 0 rgba(184, 219, 200, 0.18);
  font-family: "Sora", sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
}
.getozvea-logo-word {
  color: #f8f8f6;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1;
}
.getozvea-logo-tag {
  color: #b8dbc8;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.agency-art-label {
  left: 26px;
  bottom: 24px;
}
.agency-art-label span {
  font-family: "DM Sans", sans-serif;
  letter-spacing: 0.04em;
}
.sf-icon::after {
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #f8f8f6;
  color: #141918;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
}
.sf-icon:hover::after,
.sf-icon:focus-visible::after,
.sf-icon:focus-within::after {
  opacity: 1;
}
.sf-icon:focus-visible {
  outline: 2px solid #d89a58;
  outline-offset: 4px;
}
@media (max-width: 620px) {
  .sf-icon {
    border-radius: 14px;
  }
  .sf-icon::after {
    display: block;
    right: 50%;
    top: auto;
    bottom: calc(100% + 8px);
    transform: translateX(50%);
    padding: 5px 8px;
    font-size: 0.68rem;
  }
  .sf-icon:hover::after,
  .sf-icon:focus-visible::after,
  .sf-icon:focus-within::after {
    opacity: 1;
  }
  .agency-hero h1 {
    font-size: clamp(2.8rem, 12vw, 4.7rem);
    letter-spacing: -0.06em;
  }
}
