﻿
.layout-classic .cv-shell {
  display: grid;
  grid-template-columns: 278px minmax(0, 1fr);
}

.layout-classic .sidebar {
  border-right: 7px solid var(--cyan);
  padding: 64px 20px 36px 42px;
}

.layout-classic .portrait {
  width: 174px;
  height: 174px;
  margin: 0 auto 62px;
  border: 2px solid #a8a8a8;
  border-radius: 50%;
}

.layout-classic .content {
  padding: 68px 56px 34px 54px;
}

.layout-classic .portrait-inline {
  display: none;
}

.layout-editorial .cv-shell {
  max-width: 1120px;
  padding: 0;
  border-left: 18px solid var(--cyan);
  background: #fffaf6;
}

.layout-editorial .content {
  padding: 62px 70px 48px;
}

.layout-editorial .hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 178px;
  gap: 38px;
  align-items: end;
  margin-bottom: 30px;
  padding-bottom: 0;
  border-bottom: 0;
}

.layout-editorial .portrait-inline {
  grid-column: 2;
  grid-row: 1;
  width: 178px;
  height: 178px;
  border: 2px solid #a8a8a8;
  border-radius: 50%;
}

.layout-editorial .hero-copy {
  grid-column: 1;
  grid-row: 1;
}

.layout-editorial h1 {
  max-width: 680px;
  font-size: 3.2rem;
  letter-spacing: -.04em;
}

.layout-editorial .role {
  max-width: 620px;
  border-bottom-width: 1px;
}

.layout-editorial .cv-meta-panel {
  margin: 0 0 34px;
  padding: 20px 22px;
  border: 0;
  background: rgba(155, 29, 53, .055);
}

.layout-editorial .cv-meta-panel .meta-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.layout-editorial .cv-meta-panel .side-block {
  border-top: 0;
  padding-top: 0;
}

.layout-editorial .side-block h2 {
  margin-bottom: 9px;
  color: var(--cyan);
  font-size: .75rem;
  letter-spacing: .04em;
}

.layout-editorial .side-block p,
.layout-editorial .side-block li,
.layout-editorial .side-block a {
  font-size: .68rem;
}

.layout-editorial .cv-section {
  border-top: 1px solid rgba(155, 29, 53, .32);
  padding: 26px 0;
}

.layout-editorial .cv-section[open] {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 42px;
}

.layout-editorial .cv-section > summary {
  align-items: flex-start;
  min-height: 0;
  padding-top: 0;
  color: var(--cyan);
  font-size: .8rem;
  letter-spacing: .06em;
}

.layout-editorial .cv-section > summary::after {
  color: var(--ink);
  margin-top: 1px;
}

.layout-editorial .section-body {
  padding-bottom: 0;
  max-width: 680px;
}

.layout-editorial .section-body p {
  font-size: .98rem;
  line-height: 1.52;
}

.layout-editorial .section-intro {
  color: var(--muted);
  font-style: italic;
}

.layout-editorial .gallery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.layout-compact .cv-shell {
  max-width: 960px;
}

.layout-compact .sidebar {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  border-bottom: 7px solid var(--cyan);
  padding: 24px 30px 22px;
}

.layout-compact .portrait {
  width: 136px;
  height: 136px;
  margin: 0;
  border: 2px solid #a8a8a8;
  border-radius: 50%;
}

.layout-compact .sidebar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 18px;
}

.layout-compact .content {
  padding: 34px 42px 30px;
}

.layout-compact .portrait-inline {
  display: none;
}

.layout-compact h1 {
  font-size: 2.15rem;
}

.layout-compact .role {
  max-width: 520px;
  font-size: .78rem;
}

.layout-compact .side-block {
  margin-top: 16px;
}

.layout-compact .side-block h2 {
  font-size: .82rem;
}

.layout-compact .side-block p,
.layout-compact .side-block li,
.layout-compact .side-block a {
  font-size: .66rem;
}

.layout-compact .cv-section {
  padding: 18px 0;
}

.layout-compact .cv-section > summary {
  min-height: 0;
  margin-bottom: 12px;
  font-size: .92rem;
}

.layout-compact .section-body {
  padding-bottom: 0;
}

.layout-compact .experience-item,
.layout-compact .section-body > p,
.layout-compact .cv-list li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.layout-compact .gallery-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.layout-compact .gallery-strip .card {
  flex: 0 0 190px;
  scroll-snap-align: start;
}

.layout-showcase .cv-shell {
  max-width: 1180px;
  background: #171717;
  color: #f4f4f0;
}

.layout-showcase .sidebar {
  display: grid;
  grid-template-columns: 174px minmax(0, 1fr);
  gap: 30px;
  border-bottom: 7px solid var(--cyan);
  padding: 34px 42px 28px;
}

.layout-showcase .sidebar:not(.has-portrait) {
  grid-template-columns: 1fr;
}

.layout-showcase .portrait {
  width: 174px;
  height: 174px;
  margin: 0;
  border: 2px solid #a8a8a8;
  border-radius: 50%;
}

.layout-showcase .sidebar-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0 18px;
}

.layout-showcase .portrait-inline {
  display: none;
}

.layout-showcase .content {
  padding: 48px 54px 40px;
}

.layout-showcase .hero {
  margin-bottom: 22px;
}

.layout-showcase h1,
.layout-showcase .cv-section > summary {
  color: #fff;
}

.layout-showcase .role {
  color: #c9c9c9;
}

.layout-showcase .section-body h3 {
  color: #fff;
}

.layout-showcase .section-body .meta,
.layout-showcase .section-body p,
.layout-showcase .cv-list li {
  color: #dedede;
}

.layout-showcase .card {
  color: var(--ink);
}

.layout-showcase .gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
}

.layout-showcase .gallery-grid .card {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(58px, auto);
  border-radius: 6px;
  background: #fbfbf8;
}

.layout-showcase .gallery-grid .card img {
  width: 100%;
  max-height: none;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.layout-showcase .gallery-grid .card-copy {
  min-height: 0;
  margin: 8px;
  padding: 8px 2px 0;
}

.layout-showcase .gallery-grid .card h3 {
  overflow-wrap: anywhere;
}

.layout-showcase.is-section-editing .gallery-grid .gallery-editor-actions {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 4;
  grid-template-columns: repeat(2, max-content);
  gap: 5px;
  max-width: calc(100% - 16px);
  border: 1px solid rgba(0, 171, 200, .32);
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  padding: 4px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .16);
}

.layout-showcase.is-section-editing .gallery-grid .gallery-editor-actions button {
  border-radius: 999px;
  padding: 5px 7px 4px;
  font-size: .48rem;
  line-height: 1;
}

.layout-showcase .gallery-hero {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
}

.layout-showcase .gallery-hero .card:first-child {
  grid-column: 1 / -1;
}

.layout-showcase .gallery-hero .card {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  border-radius: 6px;
  background: #fbfbf8;
}

.layout-showcase .gallery-hero .card img {
  width: 100%;
  max-height: none;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.layout-showcase .gallery-hero .card:first-child img {
  aspect-ratio: 16 / 6;
}

.layout-showcase .gallery-hero .card-copy {
  min-height: 0;
  margin: 8px;
  padding: 8px 2px 0;
}

.layout-showcase .gallery-hero .card h3 {
  overflow-wrap: anywhere;
}

.layout-showcase.is-section-editing .gallery-hero .gallery-editor-actions {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 4;
  grid-template-columns: repeat(2, max-content);
  gap: 5px;
  max-width: calc(100% - 16px);
  border: 1px solid rgba(0, 171, 200, .32);
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  padding: 4px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .16);
}

.layout-showcase.is-section-editing .gallery-hero .gallery-editor-actions button {
  border-radius: 999px;
  padding: 5px 7px 4px;
  font-size: .48rem;
  line-height: 1;
}

.layout-minimal .cv-shell {
  max-width: 920px;
}

.layout-minimal .content {
  padding: 58px 64px 42px;
}

.layout-minimal .portrait-inline {
  display: none;
}

.layout-minimal .cv-meta-panel {
  border-top-width: 1px;
  border-bottom-width: 1px;
}

.layout-flow {
  overflow: hidden;
  border-radius: 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 47, 175, .26), transparent 24%),
    radial-gradient(circle at 84% 8%, rgba(37, 72, 255, .28), transparent 28%),
    radial-gradient(circle at 72% 92%, rgba(0, 171, 200, .22), transparent 30%),
    radial-gradient(circle at 18% 76%, rgba(255, 233, 79, .16), transparent 24%),
    #050505;
  padding: clamp(18px, 3vw, 42px);
  scroll-snap-type: y proximity;
}

.layout-flow .cv-shell {
  max-width: min(1380px, 100%);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  box-shadow: none;
}

.layout-flow .content {
  display: grid;
  gap: 42px;
  padding: 0;
}

.layout-flow .hero,
.layout-flow .cv-meta-panel,
.layout-flow .cv-section {
  position: relative;
  min-height: min(72vh, 760px);
  scroll-snap-align: center;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 47, 175, .16), transparent 30%),
    radial-gradient(circle at 92% 18%, rgba(37, 72, 255, .18), transparent 36%),
    radial-gradient(circle at 82% 88%, rgba(255, 233, 79, .1), transparent 30%),
    linear-gradient(rgba(12, 12, 14, .88), rgba(5, 5, 5, .78));
  padding: clamp(42px, 6vw, 86px);
  opacity: 1;
  transform: translateY(52px) scale(.94);
  transition: transform .78s cubic-bezier(.2, .8, .2, 1), box-shadow .78s ease;
}

.layout-flow .flow-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #ff2faf, #ffe94f, #00abc8, #2548ff);
  opacity: .88;
}

.layout-flow .flow-panel::after {
  content: counter(flow-panel, decimal-leading-zero);
  position: absolute;
  right: -10px;
  bottom: -12px;
  color: rgba(255, 255, 255, .055);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 950;
  line-height: 1;
  z-index: 0;
}

.layout-flow .cv-section[data-cv-type="gallery"]::after {
  right: -18px;
  bottom: -20px;
  color: rgba(255, 255, 255, .035);
}

.layout-flow .content {
  counter-reset: flow-panel;
}

.layout-flow .flow-panel {
  counter-increment: flow-panel;
}

.layout-flow .flow-panel > * {
  position: relative;
  z-index: 1;
  opacity: .18;
  transform: translateY(24px);
  transition: opacity .68s ease, transform .68s cubic-bezier(.2, .8, .2, 1);
}

.layout-flow .flow-panel.is-flow-active > * {
  opacity: 1;
  transform: translateY(0);
}

.layout-flow .flow-panel.is-flow-active::before {
  height: 7px;
  opacity: 1;
}

.layout-flow .is-flow-active {
  transform: translateY(0) scale(1);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .12);
}

.layout-flow .hero {
  display: grid;
  grid-template-columns: minmax(190px, .72fr) minmax(320px, .58fr);
  gap: 36px;
  align-items: center;
}

.layout-flow .portrait-inline {
  width: 190px;
  height: 190px;
  border: 3px solid transparent;
  border-radius: 50%;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #ff2faf, #ffe94f, #00abc8, #2548ff) border-box;
  box-shadow: 0 18px 36px rgba(0, 0, 0, .16);
}

.layout-flow h1 {
  max-width: 720px;
  color: #fff;
  font-size: clamp(2.8rem, 5.4vw, 4.9rem);
  line-height: .98;
  overflow-wrap: anywhere;
}

.layout-flow .role {
  max-width: 620px;
  color: rgba(255, 255, 255, .78);
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, #ff2faf, #ffe94f, #00abc8, #2548ff) 1;
}

.layout-flow .cv-meta-panel {
  display: grid;
  align-content: center;
  border-top: 0;
  border-bottom: 0;
}

.layout-flow .cv-meta-panel .meta-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.layout-flow .cv-section {
  display: grid;
  align-content: center;
  gap: 26px;
  border-top: 0;
}

.layout-flow .cv-section > summary {
  min-height: 0;
  margin: 0;
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 2.8rem);
  line-height: .96;
}

.layout-flow .cv-section > summary::before {
  width: 84px;
  height: 4px;
  background: linear-gradient(90deg, #ff2faf, #ffe94f, #00abc8, #2548ff);
}

.layout-flow .cv-section > summary::after {
  display: none;
}

.layout-flow .section-body {
  max-width: 760px;
}

.layout-flow .cv-section[data-cv-type="gallery"] .section-body {
  max-width: 920px;
  margin-inline: auto;
  width: 100%;
}

.layout-flow .section-body p,
.layout-flow .cv-list li,
.layout-flow .section-body .meta {
  color: rgba(255, 255, 255, .78);
  font-size: clamp(.95rem, 1.4vw, 1.08rem);
}

.layout-flow .section-body h3,
.layout-flow .section-body strong,
.layout-flow .side-block h2,
.layout-flow .side-block strong {
  color: #7defff;
}

.layout-flow .section-body a,
.layout-flow .side-block a {
  color: #9af6ff;
}

.layout-flow .section-body .meta {
  color: rgba(125, 239, 255, .78);
}

.layout-flow .gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
}

.layout-flow .gallery-grid .card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  background:
    linear-gradient(rgba(255, 255, 255, .08), rgba(255, 255, 255, .04));
  color: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
}

.layout-flow .gallery-grid .card-copy {
  border-top-color: rgba(0, 171, 200, .9);
}

.layout-flow .gallery-grid .card h3 {
  color: rgba(255, 255, 255, .94);
}

.layout-flow .gallery-grid .card p {
  color: rgba(255, 255, 255, .72);
}

.layout-flow .gallery-grid .card img {
  width: 100%;
  height: clamp(220px, 28vw, 340px);
  aspect-ratio: auto;
  max-height: none;
  object-fit: contain;
  background: rgba(255, 255, 255, .06);
}

html[data-template="holo-flow"] .cv-shell {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.layout-corp .cv-shell {
  max-width: 980px;
  background: #fff;
  color: #161616;
  border: 1px solid #d6d1c8;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .12);
  font-family: Georgia, "Times New Roman", Times, serif;
}

.layout-corp .content {
  padding: clamp(46px, 7vw, 88px) clamp(28px, 7vw, 92px);
}

.layout-corp .hero {
  display: block;
  margin: 0 auto 34px;
  border-bottom: 1px solid #111;
  padding-bottom: 28px;
  text-align: center;
}

.layout-corp .portrait-inline {
  display: none;
}

.layout-corp .kicker {
  margin-bottom: 14px;
  color: #777;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.layout-corp h1 {
  max-width: 760px;
  margin: 0 auto 16px;
  color: #111;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  font-weight: 500;
  line-height: 1.02;
  text-align: center;
}

.layout-corp .role {
  max-width: 620px;
  margin: 0 auto;
  border-bottom: 0;
  color: #454545;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.45;
  text-align: center;
}

.layout-corp .role::after {
  display: none;
}

.layout-corp .cv-meta-panel {
  margin: 0 auto 38px;
  border-top: 1px solid #d6d1c8;
  border-bottom: 1px solid #d6d1c8;
  padding: 22px 0;
}

.layout-corp .cv-meta-panel .meta-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.layout-corp .side-block {
  border-top: 0;
  padding-top: 0;
}

.layout-corp .side-block h2,
.layout-corp .cv-section > summary {
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.layout-corp .side-block h2::after,
.layout-corp .cv-section > summary::before {
  background: #111;
}

.layout-corp .side-block p,
.layout-corp .side-block li,
.layout-corp .side-block a {
  color: #444;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .68rem;
  line-height: 1.45;
}

.layout-corp .cv-section {
  border-top: 1px solid #d6d1c8;
  padding: 30px 0;
}

.layout-corp .cv-section > summary {
  min-height: 0;
  margin-bottom: 20px;
}

.layout-corp .cv-section > summary::after {
  color: #777;
}

.layout-corp .section-body {
  max-width: 740px;
  margin: 0 auto;
}

.layout-corp .section-body p,
.layout-corp .cv-list li {
  color: #222;
  font-size: 1rem;
  line-height: 1.72;
}

.layout-corp .section-body h3 {
  color: #111;
  font-size: 1.02rem;
  font-weight: 700;
}

.layout-corp .section-body .meta {
  color: #666;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .74rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

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

.layout-corp .card {
  border-color: #d6d1c8;
  border-radius: 0;
}

.layout-corp .card img {
  max-height: 320px;
  object-fit: contain;
  background: #f7f5f0;
}

.layout-corp .card-copy {
  border-top-color: #111;
}

.layout-corp .card h3 {
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
}

html[data-template="corp"] .cv-shell {
  background: #fff;
  color: #161616;
}

.layout-split .cv-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  max-width: 1160px;
}

.layout-split .content {
  grid-column: 1;
  padding: 54px 54px 38px;
}

.layout-split .sidebar {
  grid-column: 2;
  grid-row: 1;
  border-left: 7px solid var(--cyan);
  padding: 42px 28px 34px;
}

.layout-split .portrait {
  width: 166px;
  height: 166px;
  margin: 0 auto 42px;
  border: 2px solid #a8a8a8;
  border-radius: 50%;
}

.layout-split .portrait-inline {
  display: none;
}

.layout-poster .cv-shell {
  max-width: 1080px;
  background: var(--dark);
  color: #fff;
}

.layout-poster .content {
  padding: 64px 70px 52px;
}

.layout-poster h1,
.layout-poster .cv-section > summary {
  color: #fff;
}

.layout-poster .role,
.layout-poster .section-body p,
.layout-poster .cv-list li {
  color: #e4e4e4;
}

.layout-poster .cv-meta-panel {
  border-color: var(--cyan);
}

.layout-poster .portrait-inline {
  width: 210px;
  height: 210px;
  border-radius: 0;
}

.gallery-mosaic {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-mosaic .card:first-child,
.gallery-mosaic .card:nth-child(5) {
  grid-column: span 2;
}

.gallery-none {
  display: none;
}

html[data-template="prime"] .cv-shell {
  letter-spacing: 0;
}

html[data-template="eu-standard"] .cv-shell {
  max-width: 1040px;
  background: #fff;
  color: #111;
  border-color: #d8dde3;
  box-shadow: 0 0 0 1px #d8dde3;
}

html[data-template="eu-standard"] .sidebar {
  border-color: #00abc8;
  background: #f5f8f9;
  color: #111;
}

html[data-template="eu-standard"] .side-block,
html[data-template="eu-standard"] .cv-section,
html[data-template="eu-standard"] .role,
html[data-template="eu-standard"] .cv-meta-panel {
  border-color: #00abc8;
}

html[data-template="eu-standard"] h1 {
  color: #111;
  font-size: 2.35rem;
  letter-spacing: -.025em;
}

html[data-template="eu-standard"] .role,
html[data-template="eu-standard"] .cv-section > summary,
html[data-template="eu-standard"] .side-block h2 {
  color: #111;
  letter-spacing: .035em;
}

html[data-template="eu-standard"] .role::after,
html[data-template="eu-standard"] .cv-section > summary::before,
html[data-template="eu-standard"] .side-block h2::after {
  background: #00abc8;
}

html[data-template="eu-standard"] .cv-section > summary::after {
  color: #00abc8;
}

html[data-template="eu-standard"] .sidebar a,
html[data-template="eu-standard"] strong {
  color: #111;
}

html[data-template="eu-standard"] .card,
html[data-template="eu-standard"] .experience-item {
  border-color: rgba(0, 171, 200, .45);
}

html[data-template="eu-standard"] .section-body p,
html[data-template="eu-standard"] .cv-list li {
  font-size: .92rem;
  line-height: 1.55;
}

html[data-template="eu-standard"] .card {
  border-radius: 0;
}

html[data-template="developer-tech"] .cv-shell {
  max-width: 1040px;
  overflow: hidden;
  border: 1px solid rgba(0, 171, 200, .26);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(245, 251, 250, .96)),
    radial-gradient(circle at 86% 8%, rgba(0, 216, 143, .14), transparent 30%);
  color: #172125;
  box-shadow: 0 24px 72px rgba(0, 0, 0, .14);
}

html[data-template="developer-tech"] .sidebar {
  border-bottom-width: 5px;
  background:
    linear-gradient(135deg, #071015, #101c20 70%, #122823);
  color: #e8f3f2;
}

html[data-template="developer-tech"] h1,
html[data-template="developer-tech"] .cv-section > summary,
html[data-template="developer-tech"] .section-body h3 {
  color: #111820;
}

html[data-template="developer-tech"] .role,
html[data-template="developer-tech"] .section-body p,
html[data-template="developer-tech"] .section-body .meta,
html[data-template="developer-tech"] .cv-list li {
  color: #344246;
}

html[data-template="developer-tech"] .role,
html[data-template="developer-tech"] .side-block,
html[data-template="developer-tech"] .cv-section,
html[data-template="developer-tech"] .cv-meta-panel {
  border-color: rgba(0, 171, 200, .45);
}

html[data-template="developer-tech"] .cv-section > summary::after {
  color: #00abc8;
}

html[data-template="developer-tech"] .section-body strong,
html[data-template="developer-tech"] .side-block strong {
  color: #007f74;
}

html[data-template="developer-tech"] .card {
  border-color: rgba(0, 171, 200, .3);
  background: #fbfffe;
}

html[data-template="developer-tech"] .side-block h2 {
  color: #9af6ff;
}

html[data-template="developer-tech"] .side-block p,
html[data-template="developer-tech"] .side-block li,
html[data-template="developer-tech"] .side-block a {
  color: rgba(232, 243, 242, .84);
}

html[data-template="developer-tech"] .layout-compact .sidebar-grid {
  gap: 0 22px;
}

html[data-template="developer-tech"] .layout-compact .content {
  padding: 42px 48px 36px;
}

html[data-template="developer-tech"] .layout-compact h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: .92;
}

html[data-template="developer-tech"] .layout-compact .role {
  max-width: 640px;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: .08em;
}

html[data-template="developer-tech"] .layout-compact .cv-section {
  padding: 24px 0;
}

html[data-template="developer-tech"] .layout-compact .cv-section > summary {
  margin-bottom: 14px;
  font-size: .8rem;
  letter-spacing: .14em;
}

html[data-template="developer-tech"] .layout-compact .experience-item,
html[data-template="developer-tech"] .layout-compact .section-body > p,
html[data-template="developer-tech"] .layout-compact .cv-list li {
  border-top-color: rgba(0, 171, 200, .22);
}

html[data-template="stylist"] .cv-layout {
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 218, 190, .16), transparent 26%),
    radial-gradient(circle at 92% 16%, rgba(255, 255, 255, .1), transparent 22%),
    radial-gradient(circle at 70% 96%, rgba(118, 86, 64, .18), transparent 30%),
    #090807;
  padding: clamp(18px, 4vw, 54px);
}

html[data-template="stylist"] .cv-shell {
  max-width: 1180px;
  background:
    linear-gradient(rgba(15, 14, 13, .94), rgba(10, 9, 8, .96)),
    radial-gradient(circle at 84% 8%, rgba(255, 229, 202, .14), transparent 30%);
  color: #f8f3ec;
  border: 1px solid rgba(255, 240, 220, .12);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .46);
}

html[data-template="stylist"] .layout-showcase .sidebar {
  border-bottom: 1px solid rgba(255, 234, 212, .22);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015)),
    radial-gradient(circle at 12% 12%, rgba(255, 218, 190, .12), transparent 34%);
  padding: 42px 46px 34px;
}

html[data-template="stylist"] .layout-showcase .sidebar:not(.has-portrait) {
  grid-template-columns: 1fr;
}

html[data-template="stylist"] .layout-showcase .portrait {
  width: 158px;
  height: 158px;
  border: 1px solid rgba(255, 240, 220, .42);
  box-shadow: 0 22px 48px rgba(0, 0, 0, .34);
}

html[data-template="stylist"] .layout-showcase .sidebar-grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 10px 14px;
}

html[data-template="stylist"] .side-block,
html[data-template="stylist"] .cv-section,
html[data-template="stylist"] .role,
html[data-template="stylist"] .cv-meta-panel {
  border-color: rgba(255, 235, 215, .18);
}

html[data-template="stylist"] .side-block h2,
html[data-template="stylist"] .cv-section > summary {
  color: #fff2df;
  font-size: .7rem;
  letter-spacing: .16em;
}

html[data-template="stylist"] .side-block h2::after,
html[data-template="stylist"] .cv-section > summary::before,
html[data-template="stylist"] .role::after {
  background: linear-gradient(90deg, rgba(255, 223, 190, .95), rgba(255, 255, 255, .55), rgba(194, 151, 111, .78));
}

html[data-template="stylist"] .side-block p,
html[data-template="stylist"] .side-block li,
html[data-template="stylist"] .side-block a {
  color: rgba(248, 243, 236, .8);
  font-size: .72rem;
  line-height: 1.55;
}

html[data-template="stylist"] .layout-showcase .content {
  padding: 56px 58px 50px;
}

html[data-template="stylist"] .layout-showcase h1 {
  max-width: 760px;
  color: #fff8ee;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(3rem, 5vw, 5.8rem);
  line-height: .9;
  letter-spacing: 0;
}

html[data-template="stylist"] .layout-showcase .role {
  max-width: 680px;
  color: rgba(248, 243, 236, .72);
  font-size: .72rem;
  letter-spacing: .18em;
}

html[data-template="stylist"] .layout-showcase .section-body p,
html[data-template="stylist"] .layout-showcase .cv-list li,
html[data-template="stylist"] .layout-showcase .section-body .meta {
  color: rgba(248, 243, 236, .78);
}

html[data-template="stylist"] .layout-showcase .section-body h3,
html[data-template="stylist"] .layout-showcase .section-body strong {
  color: #fff2df;
}

html[data-template="stylist"] .layout-showcase .cv-section[data-cv-type="gallery"] {
  padding-top: 42px;
}

html[data-template="stylist"] .layout-showcase .cv-section[data-cv-type="gallery"] .section-body {
  max-width: 100%;
}

html[data-template="stylist"] .layout-showcase .gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

html[data-template="stylist"] .layout-showcase .gallery-grid .card {
  border: 1px solid rgba(255, 240, 220, .18);
  border-radius: 16px;
  background: rgba(255, 255, 255, .045);
  color: #fff8ee;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .34);
}

html[data-template="stylist"] .layout-showcase .gallery-grid .card img {
  aspect-ratio: 4 / 5;
  background: rgba(255, 255, 255, .04);
  object-fit: cover;
}

html[data-template="stylist"] .layout-showcase .gallery-grid .card-copy {
  border-top-color: rgba(255, 223, 190, .64);
}

html[data-template="stylist"] .layout-showcase .gallery-grid .card h3 {
  color: #fff4e8;
  font-size: .68rem;
  letter-spacing: .12em;
}

html[data-template="stylist"] .layout-showcase .gallery-grid .card p {
  color: rgba(248, 243, 236, .62);
}

html[data-template="developer-tech"][data-theme="holo"] .cv-shell {
  background:
    linear-gradient(var(--paper), var(--paper)) padding-box,
    linear-gradient(135deg, #ff2faf, #ffe94f, #00abc8, #2548ff) border-box;
  color: var(--ink);
}

html[data-template="developer-tech"][data-theme="holo"] h1,
html[data-template="developer-tech"][data-theme="holo"] .cv-section > summary,
html[data-template="developer-tech"][data-theme="holo"] .section-body h3 {
  color: #111;
}

html[data-template="developer-tech"][data-theme="holo"] .role,
html[data-template="developer-tech"][data-theme="holo"] .section-body p,
html[data-template="developer-tech"][data-theme="holo"] .section-body .meta,
html[data-template="developer-tech"][data-theme="holo"] .cv-list li {
  color: #333;
}

html[data-template="developer-tech"][data-theme="holo"] .section-body strong {
  color: #111;
}

html[data-template="developer-tech"] .side-block h2,
html[data-template="developer-tech"] .role {
  font-family: Consolas, "Courier New", monospace;
}






