/* ===== Color scheme redesign — orange accent replaces the default crimson ===== */
:root {
  --p1: #ffa500;
  /* Darker companion for orange text on light backgrounds (AA contrast). */
  --p1-text: #c25e00;
  --calendar-experience: #fff;
  --calendar-education: #fff;
}

/* ===== Inline SVG icons (replaced the Font Awesome CDN stylesheet) ===== */
.svg-icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: -0.125em;
}

/* ===== Visible keyboard focus (vendor CSS removes outlines globally) ===== */
:is(a, button, [tabindex]):focus-visible,
.vlt-contact-form input:focus-visible,
.vlt-contact-form textarea:focus-visible {
  outline: 2px solid var(--p1);
  outline-offset: 3px;
}

/* ===== Motion garnish transitions (desktop fine-pointer only) ===== */
@media (hover: hover) and (pointer: fine) {
  a.vlt-btn {
    transition: transform 0.25s cubic-bezier(0.3, 0, 0.2, 1);
    will-change: transform;
  }

  [data-anchor='Portfolio'] .vlt-post {
    transition: transform 0.2s ease;
  }

  .cert-tile__inner {
    transition: transform 0.2s ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  a.vlt-btn,
  [data-anchor='Portfolio'] .vlt-post,
  .cert-tile__inner {
    transition-duration: 0.01ms !important;
  }
}

/* ===== Sidebar — larger navigation viewport, compact footer ===== */
.vlt-offcanvas-menu__header {
  justify-content: flex-end;
  padding-bottom: 2rem;
  flex-shrink: 0;
}

.vlt-offcanvas-menu__navigation {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
}

.vlt-offcanvas-menu__footer {
  flex-shrink: 0;
  padding-top: 1.5rem;
}

.vlt-offcanvas-menu__socials {
  margin-bottom: 0.875rem;
}

.vlt-offcanvas-menu__socials a {
  font-size: 1.35rem;
}

.vlt-offcanvas-menu__copyright {
  font-size: 0.75rem;
  line-height: 1.5;
}

.vlt-navbar-logo {
  margin-top: 10px;
  margin-left: 10px;
}

/* Use one exact accent source. A blend over the old red image produced a
   different orange depending on image luminance. */
[data-anchor='Home'] {
  background-color: var(--p1) !important;
  background-image: none !important;
}

.vlt-custom--8131 {
  bottom: -250px;
  left: -200px;
  max-width: 550px;
}

.vlt-custom--1451 {
  top: -25px;
  left: -30px;
  width: 256px;
  height: 208px;
}

@media only screen and (max-width: 575px) {
  .vlt-custom--1451 {
    top: -100px;
    left: -100px;
  }
}

.vlt-custom--1512 {
  bottom: -28vw;
  left: 50vw;
  width: 75vw;
  height: 75vw;
  background-size: cover;
}

.vlt-custom--4124 {
  top: 0;
  right: 0;
  bottom: 0;
  width: 45vw;
  height: 100%;
  background-position: top left;
  background-size: cover;
}

@media only screen and (max-width: 991px) {
  .vlt-custom--4124 {
    right: 0vw;
    width: 55vw;
  }
}

@media only screen and (max-width: 767px) {
  [data-anchor='Home'] {
    overflow-y: hidden !important;
  }

  .vlt-custom--4124 {
    top: 0;
    left: auto;
    right: -50vw;
    bottom: 0;
    width: 120vw;
    height: 100%;
    background-position: top left;
    /* Phones get the 768w variant instead of the 2160px original (~5x
       oversampled there); !important beats the inline style. */
    background-image: url('../img/profil-background-768.webp') !important;
  }

  /* Light-orange corner circle. Painted as a particles ::after so it layers
     ABOVE the profile photo (also inside .vlt-section__particles) yet stays
     below the text content and far below the fixed social sheet (z-index 20). */
  [data-anchor='Home'] .vlt-section__particles::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(
      circle at left bottom,
      #ffb42a 0,
      #ffb42a 42vw,
      transparent 42.5vw
    );
  }

  /* Second, softer circle sitting BEHIND the profile photo for depth. Negative
     z-index keeps it under the photo (z-index auto) within the particles
     stacking context; positioned centre so it peeks around the figure. */
  [data-anchor='Home'] .vlt-section__particles::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(
      circle at 40% 90%,
      #b0781a 0,
      #b0781a 30vw,
      transparent 30.5vw
    );
  }
}

.vlt-custom--1259 {
  top: -20px;
  right: -5px;
  width: 256px;
  height: 208px;
}

.vlt-custom--2355 {
  bottom: -250px;
  left: 0;
  width: 389px;
  height: 550px;
}

/* ===== Reserve space for the fixed floating social icons (right:40px,
   shown from 992px up) so section content never renders underneath them. ===== */
@media only screen and (min-width: 992px) {
  .vlt-fullpage-slider .vlt-section .container {
    padding-right: 15px;
  }

  /* overflow:hidden clips at the border edge, not the padding edge, so this
     one needs a narrower box (not padding) to actually stop the parallax
     items from sliding under the icons. */
  .vlt-project-showcase {
    width: 100%;
  }

  /* Keep the form clear of the fixed social icons (right:40px, ~58px wide) so
     they never overlap the inputs. */
  .vlt-contact-grid {
    padding-right: 78px;
  }
}

/* ===== Portfolio — uniform tile geometry + motion-hover grid =====
   (the old selectors here targeted .vlt-work-thumbnail / .vlt-project-
   showcase__image, classes that no longer exist in the markup) */
[data-anchor='Portfolio'] .vlt-post-thumbnail {
  position: relative;
}

[data-anchor='Portfolio'] .vlt-post-thumbnail img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Description as an overlay on the image so revealing it never changes the
   card's box — cards with different text lengths stay put on hover. */
[data-anchor='Portfolio'] .vlt-post__desc-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 56px 16px 14px;
  background: linear-gradient(to top, rgba(12, 12, 13, 0.92) 0%, rgba(12, 12, 13, 0.62) 55%, rgba(12, 12, 13, 0) 100%);
  pointer-events: none;
}

[data-anchor='Portfolio'] .vlt-post__desc {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #fff;
}

/* Tablet/mobile: cards stack full-width and the description is hidden for a
   cleaner, more minimal card (title + Read more only). */
@media only screen and (max-width: 991px) {
  [data-anchor='Portfolio'] .vlt-post__desc-overlay {
    display: none;
  }

  /* Vendor reveals the Read more link only on :hover — touch devices never
     hover, so it was invisible on phones/tablets. */
  [data-anchor='Portfolio'] .vlt-post-footer .vlt-post__link {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Desktop: flex rail — the hovered/focused tile grows; the widening image
   plus the overlay description act as the motion preview. */
@media only screen and (min-width: 992px) {
  /* Equal card geometry: identical title box on every card so text re-wrap
     during the width animation can't change row height. */
  [data-anchor='Portfolio'] .vlt-post-meta {
    white-space: nowrap;
    overflow: hidden;
  }

  [data-anchor='Portfolio'] .vlt-post-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    min-height: calc(3 * 1.4em);
  }

  [data-anchor='Portfolio'] .portfolio-posts {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 28px;
    margin: 0;
  }

  [data-anchor='Portfolio'] .portfolio-posts > .col-md-4 {
    flex: 1 1 0%;
    width: auto;
    max-width: none;
    min-width: 0;
    padding: 0;
    transition: flex-grow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  [data-anchor='Portfolio'] .portfolio-posts > .col-md-4:hover,
  [data-anchor='Portfolio'] .portfolio-posts > .col-md-4:focus-within {
    flex-grow: 1.75;
  }

  [data-anchor='Portfolio'] .vlt-post-thumbnail img {
    aspect-ratio: auto;
    height: 300px;
    /* Keep the vendor scale transition, add a brightness dim on hover so the
       overlay description stays readable over busy covers. */
    transition: transform 1s cubic-bezier(0.46, 0.03, 0.52, 0.96), filter 0.45s ease;
  }

  [data-anchor='Portfolio'] .portfolio-posts > .col-md-4:hover .vlt-post-thumbnail img,
  [data-anchor='Portfolio'] .portfolio-posts > .col-md-4:focus-within .vlt-post-thumbnail img {
    filter: brightness(0.62);
  }

  [data-anchor='Portfolio'] .vlt-post__desc-overlay {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease 0.08s, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  [data-anchor='Portfolio'] .portfolio-posts > .col-md-4:hover .vlt-post__desc-overlay,
  [data-anchor='Portfolio'] .portfolio-posts > .col-md-4:focus-within .vlt-post__desc-overlay {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-anchor='Portfolio'] .portfolio-posts > .col-md-4,
  [data-anchor='Portfolio'] .vlt-post__desc-overlay {
    transition-duration: 0.01ms !important;
  }
}

.portfolio-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.portfolio-title .h1 {
  margin-bottom: 0;
}

.portfolio-view-more {
  flex: 0 0 auto;
}

/* ===== Experiences — align logo top edge with job title ===== */
[data-anchor='Experiences'] .vlt-award-item {
  align-items: flex-start;
}

/* ===== Interest (merged Portfolio + Services) — dark section ===== */
.vlt-fullpage-slider [data-anchor='Interest'] {
  background-color: #101010;
  color: #fff;
}

body.pp-viewing-Interest [data-anchor='Interest'],
body.pp-viewing-Interest [data-anchor='Interest'] *,
body.pp-viewing-Interest .vlt-header,
body.pp-viewing-Interest .vlt-header *,
body.pp-viewing-Interest .vlt-fixed-socials,
body.pp-viewing-Interest .vlt-fixed-socials * {
  font-weight: 700;
}

body.pp-viewing-Interest .vlt-menu-burger svg {
  stroke-width: 3;
}

.vlt-fullpage-slider [data-anchor='Interest'] .vlt-section__ken-burn-background img {
  filter: grayscale(100%);
}

.vlt-fullpage-slider [data-anchor='Interest'] .vlt-section__ken-burn-background::after {
  position: absolute;
  inset: 0;
  content: '';
  background: rgba(0, 0, 0, 0.80);
  pointer-events: none;
}

@keyframes interest-pan {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-20%, 0, 0); }
}

@media (max-width: 767px) {
  .vlt-fullpage-slider [data-anchor='Interest'] .vlt-section__ken-burn-background img {
    width: 125%;
    max-width: none;
    left: 0;
    transform-origin: left center;
    animation: interest-pan 22s ease-in-out infinite alternate;
  }

  .vlt-fullpage-slider [data-anchor='Interest'].active .vlt-section__ken-burn-background img {
    animation: interest-pan 22s ease-in-out infinite alternate;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vlt-fullpage-slider [data-anchor='Interest'] .vlt-section__ken-burn-background img {
    animation: none;
    transform: none;
  }
}

/* Keep fixed header compact and prevent contact row from forcing content
   underneath it at intermediate desktop widths. */
.vlt-navbar .vlt-navbar-inner--left {
  min-width: 0;
}

.vlt-navbar-contacts {
  white-space: nowrap;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .vlt-navbar-contacts {
    margin-left: 5%;
    font-size: 0.875rem;
  }
}

/* Hash deep-link can paint before pagepiling updates html brightness class. */
body.pp-viewing-Experiences .vlt-header {
  color: #101010;
}

body.pp-viewing-Experiences .vlt-navbar-logo img.black {
  display: block;
}

body.pp-viewing-Experiences .vlt-navbar-logo img.white {
  display: none;
}

[data-anchor='Experiences'] .vlt-timeline-item__year,
[data-anchor='Experiences'] .vlt-timeline-item__title {
  color: #101010;
}

[data-anchor='Experiences'] .vlt-timeline-item+.vlt-timeline-item {
  border-top-color: rgba(16, 16, 16, 0.12);
}

[data-anchor='Experiences'] .vlt-timeline-slider-controls .next:hover,
[data-anchor='Experiences'] .vlt-timeline-slider-controls .prev:hover {
  color: #101010;
}

@media only screen and (max-height: 500px) {
  .vlt-navbar-contacts {
    display: none !important;
  }

  [data-anchor='Experiences'] .vlt-section__content {
    padding-top: 5.5rem !important;
  }
}

/* ===== Skills — stop tag-cloud overlapping "Me, Myself & I", avoid vertical clipping =====
   overflow:hidden is scoped to #holder only (not .vlt-slide-photo) — the
   decorative particle images are positioned with large negative offsets
   relative to .vlt-slide-photo, and hiding overflow there clipped them. */
[data-anchor='Skills'] .vlt-slide-photo {
  max-width: 100%;
}

[data-anchor='Skills'] #holder {
  max-width: calc(100% - 12px);
  margin-left: 26px;
  overflow: hidden;
}

@media only screen and (max-width: 767px) {
  [data-anchor='Skills'] .vlt-section__content {
    padding-top: 5.5rem;
    padding-bottom: 2rem;
  }

  [data-anchor='Skills'] .row {
    display: flex;
    flex-direction: column;
  }

  [data-anchor='Skills'] .col-lg-5 {
    order: 1;
    margin-left: 0;
  }

  [data-anchor='Skills'] .col-lg-6 {
    order: 2;
  }

  [data-anchor='Skills'] .skills-heading {
    display: block;
    margin-bottom: 56px;
    font-size: 3.5rem;
    line-height: 1.05;
    text-align: center;
  }

  [data-anchor='Skills'] .vlt-gap-50,
  [data-anchor='Skills'] .vlt-gap-100--md {
    display: none;
  }

  [data-anchor='Skills'] .vlt-slide-photo {
    width: 100%;
    max-height: none;
    overflow: visible;
  }

  [data-anchor='Skills'] #holder {
    width: min(310px, calc(100vw - 64px));
    aspect-ratio: 1 / 1;
    height: auto !important;
    min-height: 0;
    margin: 0 auto;
    overflow: visible;
  }

  [data-anchor='Skills'] #holder svg {
    display: block;
    width: auto !important;
    height: auto !important;
    margin: 8px;
    overflow: visible;
  }

  [data-anchor='Skills'] .vlt-slide-photo__particle {
    display: none;
  }

  [data-anchor='Skills'] .skills-cloud-particle {
    display: block;
    top: auto !important;
    right: 8px !important;
    bottom: 12px !important;
    left: auto !important;
    width: 72px !important;
    z-index: 2;
  }
}

/* Tablet widths use the stacked skills layout as well. Keep the heading
   centered above the cloud and arrange the three skill tiles around it. */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  [data-anchor='Skills'] .row {
    display: flex;
    flex-direction: column;
  }

  [data-anchor='Skills'] .col-lg-5 {
    order: 1;
    width: 100%;
    margin-left: 0;
    text-align: center;
  }

  [data-anchor='Skills'] .col-lg-6 {
    order: 2;
    width: 100%;
  }

  [data-anchor='Skills'] .skills-heading {
    display: block;
    margin-bottom: 42px;
    font-size: clamp(3.5rem, 7vw, 5.5rem);
    line-height: 1.05;
    text-align: center;
  }

  [data-anchor='Skills'] .vlt-gap-50,
  [data-anchor='Skills'] .vlt-gap-100--md {
    display: none;
  }

  [data-anchor='Skills'] .vlt-slide-photo {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
  }

  [data-anchor='Skills'] #holder {
    width: min(750px, 100%);
    aspect-ratio: 1 / 1;
    height: auto !important;
    min-height: 0;
    margin: 0 auto;
  }

  [data-anchor='Skills'] #holder svg {
    display: block;
    width: 100% !important;
    height: auto !important;
  }

  [data-anchor='Skills'] .vlt-slide-photo__particle {
    display: block;
    z-index: 2;
  }

  [data-anchor='Skills'] .skills-browser-particle {
    top: 16px !important;
    left: 16px !important;
    width: 80px !important;
  }

  [data-anchor='Skills'] .skills-cloud-particle {
    top: 16px !important;
    right: 16px !important;
    bottom: auto !important;
    left: auto !important;
    width: 80px !important;
  }

  [data-anchor='Skills'] .skills-chart-particle {
    top: auto !important;
    right: auto !important;
    bottom: 16px !important;
    left: 16px !important;
    width: 100px !important;
  }
}

[data-anchor='Skills'] .vlt-section__vertical-align {
  overflow: visible;
}

/* h7 defaults to 4.2rem, too wide for the col-lg-5 column at that size —
   wraps mid-phrase ("Me, Myself &" / "I."). Cap the size so it fits the column
   on one line, and nowrap so it can never break again. Scoped to >=992px: the
   stacked mobile/tablet layouts above set their own size, and an unscoped rule
   here would beat them on source order. */
@media only screen and (min-width: 992px) {
  [data-anchor='Skills'] .skills-heading {
    font-size: clamp(3.4rem, 4vw, 4.4rem);
    line-height: 1.05;
    white-space: nowrap;
  }
}

@media only screen and (max-width: 991px) {
  .vlt-fullpage-slider .pp-scrollable {
    overflow-x: hidden;
  }
}

/* ===== Contact form — design 1a/1c ("Football player contact redesign",
   claude.ai/design). Inline field tags on the right, translucent inputs,
   consent checkbox, full-width orange submit. ===== */
.vlt-contact-form .cf-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.cf-field {
  position: relative;
  margin-bottom: 14px;
}

.vlt-contact-form .cf-grid-2 .cf-field {
  margin-bottom: 0;
}

.vlt-contact-form input[type='text'],
.vlt-contact-form input[type='email'],
.vlt-contact-form textarea {
  width: 100%;
  margin: 0;
  padding: 16px 110px 16px 18px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.vlt-contact-form textarea {
  resize: vertical;
  min-height: 150px;
  display: block;
}

.vlt-contact-form input::placeholder,
.vlt-contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.vlt-contact-form input:focus,
.vlt-contact-form textarea:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 165, 0, 0.7);
}

/* Name and Email use only their left-side placeholders. */
.vlt-contact-form input[name='name'],
.vlt-contact-form input[name='email'] {
  padding-right: 18px;
}

.cf-field__tag {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.38);
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.cf-field input:not(:placeholder-shown) ~ .cf-field__tag,
.cf-field textarea:not(:placeholder-shown) ~ .cf-field__tag {
  opacity: 0;
}

.cf-field__tag--top {
  top: 17px;
  transform: none;
}

.vlt-contact-form input.error,
.vlt-contact-form textarea.error {
  border-color: #ff4d4d;
}

.vlt-contact-form .vlt-btn.cf-submit {
  width: 100%;
  justify-content: center;
  margin-top: 0;
  padding: 17px;
  border: none;
  border-radius: 10px;
  background: var(--p1);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 5px 15px 5px rgba(16, 16, 16, 0.1), inset 0 -2px 0 0 rgba(16, 16, 16, 0.2);
  transition: background 0.3s ease;
}

.vlt-contact-form .vlt-btn.cf-submit:hover {
  background: #222;
}

.vlt-contact-form .vlt-btn[disabled] {
  opacity: 0.6;
  pointer-events: none;
}

.vlt-contact-form .message {
  display: none;
  margin-top: 20px;
  padding: 12px 18px;
  border-radius: 6px;
  font-size: 0.95rem;
}

/* Light text on solid dark chips — the old palette (dark text on 12-15%
   alpha fills) composited to ~2:1 contrast over the dark Contact photo. */
.vlt-contact-form .message.success {
  color: #7ee2a0;
  background: rgba(30, 122, 61, 0.35);
  border: 1px solid rgba(76, 217, 100, 0.5);
}

.vlt-contact-form .message.danger {
  color: #ff9c8f;
  background: rgba(192, 57, 43, 0.35);
  border: 1px solid rgba(255, 77, 77, 0.5);
}

.vlt-contact-form .message.is-visible {
  display: block;
}

/* ===== Contact grid layout — design 1a =====
   Desktop: heading + info rows in a 450px left column, form right.
   Mobile (1c): single column heading → form; info rows hidden.
*/
.vlt-contact-grid {
  display: grid;
  gap: 0 96px;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "heading form";
  align-content: center;
  align-items: center;
}

.vlt-contact-grid__heading {
  grid-area: heading;
  padding-bottom: 0;
}

.vlt-contact-grid__form {
  grid-area: form;
  align-self: center;
}

/* Contact detail rows (email/phone/instagram) are hidden on every viewport —
   the form itself is the only call to action. */
.vlt-contact-grid__info {
  display: none;
}

/* Heading block */
.cf-title {
  margin: 0;
  font-family: 'Archivo Black', 'Inter', sans-serif;
  font-weight: 400;
  font-size: 104px;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #fff;
}

.cf-title-stroke {
  color: transparent;
  -webkit-text-stroke: 2px var(--p1);
}

.cf-sub {
  margin: 20px 0 0;
  color: #a5a5a5;
  font-size: 16px;
  line-height: 1.7;
  max-width: 400px;
}

/* Accent stays neutral by default (mobile/tablet); the orange highlight is a
   desktop-only touch — see the min-width:992px block below. */
.cf-sub-accent {
  color: inherit;
}

/* Desktop-only Contact intro: prominent subtitle above the form, orange accent.
   Below 992px the base rules above keep the original compact grey subtitle. */
@media only screen and (min-width: 992px) {
  .cf-sub {
    margin-top: 40px;
    color: #cfcfcf;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
    max-width: 460px;
  }

  .cf-sub-accent {
    color: var(--p1);
  }
}

/* Info rows (1a): small uppercase label over value, hairline dividers */
.cf-info-row {
  padding: 18px 0;
}

.cf-info-row:first-child {
  padding-top: 0;
}

.cf-info-row:last-child {
  padding-bottom: 0;
}

.cf-info-row + .cf-info-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cf-info-label {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.cf-info-row a {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
}

/* Tablet/mobile: single column, heading → form → info */
@media only screen and (max-width: 991px) {
  /* The stacked heading + form is taller than a phone viewport; the vendor
     section centering (justify-content: center + overflow: hidden) clipped
     it at both ends — top unreachable by scrolling, bottom cut off. Same
     treatment as the Experiences section. */
  [data-anchor='Contact'] .vlt-section__vertical-align {
    justify-content: flex-start;
    overflow: visible;
  }

  [data-anchor='Contact'] .vlt-section__content {
    align-items: flex-start;
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  /* Center the complete Contact composition whenever it fits. Cross-axis auto
     margins collapse to zero when it is taller than the viewport, preserving
     the top-aligned, end-to-end scrolling fallback for short screens. */
  [data-anchor='Contact'] .vlt-section__content > .container {
    margin-top: auto;
    margin-bottom: auto;
  }

  .vlt-contact-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "form"
      "info";
    gap: 0;
  }

  .vlt-contact-grid__heading {
    padding-bottom: 26px;
  }

  .vlt-contact-grid__form {
    padding-bottom: 40px;
  }

  .cf-title {
    font-size: 72px;
  }
}

/* ===== Experiences Calendar ===== */
[data-anchor='Experiences'] .vlt-section__vertical-align {
  justify-content: flex-start;
  overflow: visible;
}

[data-anchor='Experiences'] .vlt-section__content {
  align-items: flex-start;
  padding-top: 9rem;
  padding-bottom: 4rem;
}

[data-anchor='Experiences'] .experiences-container {
  width: 80%;
  max-width: 1600px;
  padding-right: 15px;
}

[data-anchor='Experiences'] .cal-header {
  margin-bottom: 8px;
}

[data-anchor='Experiences'] .vlt-timeline-slider-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin-left: auto;
  margin-bottom: 8px;
}

/* Prev/next are real buttons with inline SVG arrows (the old 🡐/🡒 glyphs
   render as tofu on many mobile system fonts). */
[data-anchor='Experiences'] .vlt-timeline-slider-controls .prev,
[data-anchor='Experiences'] .vlt-timeline-slider-controls .next {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: #101010;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}

[data-anchor='Experiences'] .vlt-timeline-slider-controls .prev:hover,
[data-anchor='Experiences'] .vlt-timeline-slider-controls .next:hover {
  color: var(--p1);
}

[data-anchor='Experiences'] .vlt-timeline-slider-controls .slider-arrow {
  display: block;
  width: 30px;
  height: 16px;
}

[data-anchor='Experiences'] .vlt-timeline-slider-controls .pagination {
  position: static;
  width: auto;
}

/* Boundary arrows — experiences-slider-arrows.js marks prev/next disabled on
   the first/last slide. Fade instead of display:none so "1 / 2" doesn't shift. */
[data-anchor='Experiences'] .vlt-timeline-slider-controls .prev.is-disabled,
[data-anchor='Experiences'] .vlt-timeline-slider-controls .next.is-disabled {
  opacity: 0;
  pointer-events: none;
}

[data-anchor='Experiences'] .education-timeline-slide {
  padding-top: 46px;
}

[data-anchor='Experiences'] .cal-resume {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

/* One radius scale for buttons site-wide (vendor default was 4px, Resume
   had 8px, the contact submit 10px — 10px wins). */
.vlt-btn {
  border-radius: 10px;
}

[data-anchor='Experiences'] .cal-resume .vlt-btn {
  color: #fff;
  background-color: #101010;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

[data-anchor='Experiences'] .cal-resume .vlt-btn:hover {
  color: #101010;
  background-color: var(--p1);
}

/* ===== Button hover micro-interaction (links only — the form submit button
   is a <button>, so scoping to a.vlt-btn can never touch it). The label
   rolls up and its duplicate (from data-text) rolls in from below. ===== */
a.vlt-btn .vlt-btn__text {
  display: inline-block;
  position: relative;
  overflow: hidden;
}

a.vlt-btn .vlt-btn__label {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.5, 0, 0.2, 1);
}

a.vlt-btn .vlt-btn__text::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.5, 0, 0.2, 1);
}

a.vlt-btn:hover .vlt-btn__label,
a.vlt-btn:focus-visible .vlt-btn__label {
  transform: translateY(-110%);
}

a.vlt-btn:hover .vlt-btn__text::after,
a.vlt-btn:focus-visible .vlt-btn__text::after {
  transform: translateY(0);
}

a.vlt-btn .vlt-btn__icon svg {
  transition: transform 0.35s cubic-bezier(0.5, 0, 0.2, 1);
}

a.vlt-btn:hover .vlt-btn__icon svg,
a.vlt-btn:focus-visible .vlt-btn__icon svg {
  transform: translateY(3px);
}

/* Redirect buttons (Resume, View More Project): text at rest; on hover the
   label rolls up and an external-link icon rolls in instead of the duplicated
   text. Higher specificity than the vendor ::after rule so it wins. */
a.vlt-btn.vlt-btn--redirect .vlt-btn__text::after {
  content: none;
}

.vlt-btn--redirect .vlt-btn__redirect {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.5, 0, 0.2, 1);
}

.vlt-btn--redirect .vlt-btn__redirect svg {
  width: 1.3em;
  height: 1.3em;
}

a.vlt-btn.vlt-btn--redirect:hover .vlt-btn__redirect,
a.vlt-btn.vlt-btn--redirect:focus-visible .vlt-btn__redirect {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  a.vlt-btn .vlt-btn__label,
  a.vlt-btn .vlt-btn__text::after,
  a.vlt-btn .vlt-btn__icon svg,
  .vlt-btn--redirect .vlt-btn__redirect {
    transition-duration: 0.01ms;
  }
}

.cal-timeline {
  font-family: inherit;
  color: #5c5c5c;
}

.cal-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 22px;
}

.cal-title {
  font-size: 3rem;
  font-weight: 700;
  margin: 0;
  padding: 0;
  letter-spacing: -0.02em;
  color: #101010;
  line-height: 1.4;
}

.cal-legend {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-bottom: 14px;
}

.cal-legend--mobile {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-top: 10px;
  padding-bottom: 0;
}

.cal-legend__item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #101010;
}

.cal-legend__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
}

.cal-grid {
  position: relative;
}

.cal-year-row {
  position: absolute;
  left: 0;
  right: 0;
}

.cal-line {
  position: absolute;
  left: 70px;
  right: 0;
  top: 0;
  border-top: 1px solid #ececec;
}

.cal-year {
  position: absolute;
  left: 0;
  top: -13px;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 15px;
  font-weight: 500;
  color: #6b6b6b;
}

.cal-events {
  position: absolute;
  left: 82px;
  right: 12px;
  top: 0;
  bottom: 0;
}

.cal-card {
  position: absolute;
  border: 1px solid rgba(16, 16, 16, 0.07);
  border-radius: 14px;
  box-shadow: 0 4px 14px 3px rgba(16, 16, 16, 0.13);
  cursor: pointer;
  box-sizing: border-box;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  overflow: hidden;
}

.cal-card[data-type='edu'] {
  border: 2px solid var(--p1);
  box-shadow: 0 4px 14px 3px rgba(255, 165, 0, 0.24);
  /* Subtle orange-tinted stripe (derived from --p1) so edu cards read apart
     from the neutral experience stripe. !important beats the inline
     background written by ExperienceCalendar.astro. */
  background: repeating-linear-gradient(
    135deg,
    color-mix(in srgb, var(--p1) 5%, #fff) 0px,
    color-mix(in srgb, var(--p1) 5%, #fff) 10px,
    color-mix(in srgb, var(--p1) 12%, #fff) 10px,
    color-mix(in srgb, var(--p1) 12%, #fff) 20px
  ) !important;
}

/* Ongoing education (MBA) stays solid — only finished edu entries get the
   tinted stripe. */
.cal-card[data-type='edu'][data-ongoing] {
  background: var(--calendar-education) !important;
}

/* Past (finished) events sit back slightly so ongoing cards read brighter. */
.cal-card:not([data-ongoing]) {
  filter: brightness(0.95);
}

.cal-card[data-type='edu']:hover {
  box-shadow: 0 6px 18px 4px rgba(255, 165, 0, 0.34);
}

.cal-card:hover {
  box-shadow: 0 6px 18px 4px rgba(16, 16, 16, 0.22);
  transform: translateY(-2px);
}

.cal-card--disabled {
  pointer-events: none;
  cursor: default;
}

.cal-card--disabled:hover {
  box-shadow: 0 4px 14px 3px rgba(16, 16, 16, 0.13);
  transform: none;
}

.cal-card[data-type='edu'].cal-card--disabled:hover {
  box-shadow: 0 4px 14px 3px rgba(255, 165, 0, 0.24);
}

.cal-card--earlier-education {
  mask-image: linear-gradient(to bottom,
      #000 0%,
      #000 50%,
      rgba(0, 0, 0, 0.72) 58%,
      rgba(0, 0, 0, 0.2) 70%,
      transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom,
      #000 0%,
      #000 50%,
      rgba(0, 0, 0, 0.72) 58%,
      rgba(0, 0, 0, 0.2) 70%,
      transparent 78%);
}

.cal-card--earlier-education .cal-card__inner {
  transform: translateY(-10px);
}

.cal-card__inner {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
}

.cal-card__inner--tall {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 18px;
}

.cal-card__inner--short {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
}

.cal-card__icon {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cal-card__logo {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background-color: #fff;
  background-size: cover;
  background-position: center;
  box-shadow: 0 2px 5px 0 rgba(16, 16, 16, 0.1);
  display: block;
  flex-shrink: 0;
}

.cal-card__logo--sm {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.cal-card__logo--brawijaya,
.cal-modal__logo.cal-modal__logo--brawijaya {
  background-color: transparent;
  box-shadow: none;
}

.cal-card__logo--school {
  background-color: transparent;
  box-shadow: none;
}

.cal-card__logo--initials {
  color: var(--p1);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
}

.cal-card__logo--sm.cal-card__logo--initials {
  font-size: 10px;
}

.cal-card__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.cal-card__text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 8px;
  row-gap: 2px;
  min-width: 0;
  color: #101010;
}

.cal-card__text--row {
  flex: 1;
  line-height: 1.3;
  overflow: hidden;
  column-gap: 7px;
}

.cal-title-sm {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.cal-card--short .cal-title-sm {
  font-size: 13.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.cal-org {
  font-size: 14px;
  line-height: 1.4;
  color: rgba(16, 16, 16, 0.66);
}

.cal-card--short .cal-org {
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.cal-ev-date {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(16, 16, 16, 0.66);
  white-space: nowrap;
  text-transform: uppercase;
  flex-shrink: 0;
}

.cal-card--short .cal-ev-date {
  font-size: 11px;
}

.cal-marker {
  position: absolute;
  left: 70px;
  right: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cal-marker__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--p1);
  display: inline-block;
}

.cal-marker__label {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #7a7a7a;
  text-transform: uppercase;
}

.cal-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(16, 16, 16, 0.72);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.cal-modal.is-open {
  display: flex;
}

.cal-modal__card {
  background: #fff;
  border-radius: 16px;
  max-width: 660px;
  width: 100%;
  max-height: 82vh;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 60px rgba(16, 16, 16, 0.35);
}

.cal-modal__detail-shell::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 52px;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.08) 28%,
    rgba(255, 255, 255, 0.42) 68%,
    rgba(255, 255, 255, 0.88) 100%
  );
  -webkit-mask-image: linear-gradient(to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.18) 22%,
    rgba(0, 0, 0, 0.7) 62%,
    #000 100%
  );
  mask-image: linear-gradient(to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.18) 22%,
    rgba(0, 0, 0, 0.7) 62%,
    #000 100%
  );
  backdrop-filter: blur(3px);
  transition: opacity 180ms ease;
}

.cal-modal--has-more .cal-modal__detail-shell::after {
  opacity: 1;
}

/* Symmetric top cue: signal clipped content above once the list is scrolled. */
.cal-modal__detail-shell::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  left: 0;
  z-index: 2;
  height: 36px;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(to top,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.08) 28%,
    rgba(255, 255, 255, 0.42) 68%,
    rgba(255, 255, 255, 0.88) 100%
  );
  -webkit-mask-image: linear-gradient(to top,
    transparent 0%,
    rgba(0, 0, 0, 0.18) 22%,
    rgba(0, 0, 0, 0.7) 62%,
    #000 100%
  );
  mask-image: linear-gradient(to top,
    transparent 0%,
    rgba(0, 0, 0, 0.18) 22%,
    rgba(0, 0, 0, 0.7) 62%,
    #000 100%
  );
  transition: opacity 180ms ease;
}

.cal-modal--has-prev .cal-modal__detail-shell::before {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .cal-modal__detail-shell::after {
    transition-duration: 0.01ms;
  }

  .cal-modal__detail-shell::before {
    transition-duration: 0.01ms;
  }
}

.cal-modal__body {
  max-height: 82vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 44px 48px;
}

/* Mobile browsers size vh against the largest viewport (URL bar collapsed);
   dvh tracks the actually-visible area so the card never overflows it. */
@supports (height: 100dvh) {
  .cal-modal__card,
  .cal-modal__body {
    max-height: 82dvh;
  }
}

.cal-modal__detail-shell {
  position: relative;
  flex: 0 1 auto;
  min-height: 0;
  overflow: hidden;
}

.cal-modal__scroll {
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  scrollbar-width: thin;
  scrollbar-color: #b8b8b8 transparent;
}

.cal-modal__scroll::-webkit-scrollbar {
  width: 10px;
}

.cal-modal__scroll::-webkit-scrollbar-track {
  margin-block: 12px;
  background: transparent;
}

.cal-modal__scroll::-webkit-scrollbar-thumb {
  background: #b8b8b8;
  border: 3px solid #fff;
  border-radius: 999px;
}

.cal-modal__close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: #6b6b6b;
  cursor: pointer;
  padding: 6px;
  font-family: inherit;
  z-index: 2;
}

.cal-modal__header {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #efefef;
}

.cal-modal__header-content {
  flex: 1;
  min-width: 0;
}

.cal-modal__details-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  margin-top: 6px;
  width: 100%;
}

.cal-modal__period {
  flex-shrink: 0;
  margin-left: auto;
  padding: 8px 12px;
  color: #fff;
  background: #101010;
  border-radius: 999px;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
  white-space: nowrap;
}

.cal-modal__logo {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  background-color: #fff;
  background-size: cover;
  background-position: center;
  box-shadow: 0 2px 5px 0 rgba(16, 16, 16, 0.1);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cal-modal__type-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.cal-modal__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(16, 16, 16, 0.2);
  display: inline-block;
  box-sizing: border-box;
}

.cal-modal__type {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b6b6b;
}

.cal-modal__heading {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  letter-spacing: -0.02em;
  color: #101010;
}

.cal-modal__org {
  font-weight: 400;
  color: #5c5c5c;
}

.cal-modal__org::before {
  content: ' / ';
}

.cal-modal__meta {
  flex: 0 0 auto;
  margin: 0;
  color: #5c5c5c;
  white-space: nowrap;
}

.cal-modal__bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #5c5c5c;
  font-size: 14.5px;
  line-height: 1.65;
}

.cal-modal__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.cal-modal__bullets li>span {
  display: block;
  min-width: 0;
  flex: 1;
  text-align: justify;
  text-justify: inter-word;
}

.cal-modal__bullets li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--p1);
  margin-top: 9px;
  flex-shrink: 0;
}

.cal-modal__bullets--education li {
  gap: 0;
}

.cal-modal__bullets--education li::before {
  display: none;
}

@media only screen and (max-width: 767px) {
  /* Row + wrap so the slider arrows and the Download Resume button share one
     line under the calendar; heading and calendar keep full width. */
  [data-anchor='Experiences'] .col-lg-10 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  [data-anchor='Experiences'] .experiences-heading {
    order: 1;
    flex: 0 0 100%;
    margin-bottom: 4px;
  }

  [data-anchor='Experiences'] .experiences-calendar {
    order: 2;
    flex: 0 0 100%;
    /* Flex items default to min-width:auto, which lets the Swiper content
       stretch this past the container and push the legend off-screen. */
    min-width: 0;
    max-width: 100%;
  }

  [data-anchor='Experiences'] .experiences-controls {
    order: 3;
    flex: 0 1 auto;
    margin-top: 8px;
    margin-right: auto;
  }

  [data-anchor='Experiences'] .experiences-controls .vlt-timeline-slider-controls {
    margin-left: 0;
    margin-bottom: 0;
  }

  [data-anchor='Experiences'] .cal-resume {
    order: 4;
    flex: 0 0 auto;
    justify-content: flex-end;
    margin-top: 8px;
  }

  [data-anchor='Experiences'] .experiences-container {
    width: 100%;
    padding-right: 12px;
    padding-left: 12px;
  }

  [data-anchor='Experiences'] .vlt-section__content {
    padding-top: 5.75rem;
    padding-bottom: 2rem;
  }

  [data-anchor='Experiences'] .cal-header {
    gap: 8px;
    margin-bottom: 0;
  }

  [data-anchor='Experiences'] .cal-title {
    font-size: 2.6rem;
  }

  [data-anchor='Experiences'] .cal-legend {
    gap: 10px;
    padding-bottom: 4px;
  }

  [data-anchor='Experiences'] .cal-legend--mobile {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    width: 100%;
    margin: 10px 0 0;
    padding-bottom: 0;
  }

  [data-anchor='Experiences'] .cal-legend__item {
    gap: 5px;
    font-size: 8px;
  }

  [data-anchor='Experiences'] .cal-legend__dot {
    width: 7px;
    height: 7px;
  }

  [data-anchor='Experiences'] .cal-line,
  [data-anchor='Experiences'] .cal-marker {
    left: 34px;
  }

  [data-anchor='Experiences'] .cal-events {
    left: 42px;
    right: 4px;
  }

  [data-anchor='Experiences'] .cal-year {
    font-size: 10px;
  }

  [data-anchor='Experiences'] .cal-card {
    border-radius: 9px;
  }

  [data-anchor='Experiences'] .cal-card__inner--tall {
    padding: 9px 7px;
  }

  [data-anchor='Experiences'] .cal-card__inner--short {
    gap: 5px;
    padding: 0 6px;
  }

  [data-anchor='Experiences'] .cal-card__logo {
    width: 28px;
    height: 28px;
    border-radius: 6px;
  }

  [data-anchor='Experiences'] .cal-card__logo--sm {
    width: 20px;
    height: 20px;
    border-radius: 4px;
  }

  [data-anchor='Experiences'] .cal-card__foot {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 4px;
  }

  [data-anchor='Experiences'] .cal-title-sm {
    font-size: 12px;
    line-height: 1.15;
  }

  [data-anchor='Experiences'] .cal-card--short .cal-title-sm {
    font-size: 14px;
    line-height: 1.1;
  }

  [data-anchor='Experiences'] .cal-card--tall .cal-title-sm {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  [data-anchor='Experiences'] .cal-card--short .cal-card__text--row,
  [data-anchor='Experiences'] .cal-card--tall .cal-card__text {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 2px;
  }

  [data-anchor='Experiences'] .cal-card[data-title='MBA'] .cal-card__text--row {
    flex-direction: row;
    align-items: baseline;
    column-gap: 3px;
    white-space: nowrap;
  }

  [data-anchor='Experiences'] .cal-card[data-title='MBA'] .cal-ev-date {
    display: none;
  }

  [data-anchor='Experiences'] .cal-card--tall .cal-card__foot {
    row-gap: 2px;
  }

  [data-anchor='Experiences'] .cal-card[data-type='exp'].cal-card--tall .cal-ev-date {
    position: absolute;
    right: 7px;
    bottom: 11px;
  }

  [data-anchor='Experiences'] .cal-org,
  [data-anchor='Experiences'] .cal-ev-date {
    display: block;
  }

  [data-anchor='Experiences'] .cal-org {
    font-size: 10px;
    line-height: 1.2;
  }

  [data-anchor='Experiences'] .cal-card[data-title='MBA'] .cal-org {
    font-size: 0;
  }

  [data-anchor='Experiences'] .cal-card[data-title='MBA'] .cal-org::after {
    content: '/ ITB';
    font-size: 10px;
  }

  [data-anchor='Experiences'] .cal-ev-date {
    justify-self: start;
    font-size: 9px;
    line-height: 1.2;
  }

  [data-anchor='Experiences'] .cal-card--short .cal-ev-date {
    position: absolute;
    right: 6px;
    bottom: 4px;
    justify-self: auto;
  }

  [data-anchor='Experiences'] .cal-card--earlier-education .cal-ev-date {
    display: none;
  }

  [data-anchor='Experiences'] .cal-card--mobile-title-only .cal-org,
  [data-anchor='Experiences'] .cal-card--mobile-title-only .cal-ev-date {
    display: none;
  }

  [data-anchor='Experiences'] .cal-card--mobile-title-only[data-title='MBA'] .cal-org {
    display: block;
    font-size: 0;
  }

  [data-anchor='Experiences'] .cal-card--mobile-title-only[data-title='MBA'] .cal-org::after {
    content: ' / ITB';
    font-size: 10px;
  }

  [data-anchor='Experiences'] .cal-resume .vlt-btn {
    width: auto;
    min-height: 40px;
    padding: 10px 14px;
    font-size: 0.75rem;
  }

  [data-anchor='Experiences'] .cal-resume .vlt-btn__icon {
    margin-left: 8px;
  }

  .cal-modal__body {
    padding: 30px 22px;
  }

  .cal-modal__header {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-areas:
      'logo type'
      'logo period'
      'heading heading'
      'meta meta';
    column-gap: 14px;
    row-gap: 6px;
    align-items: start;
    width: 100%;
  }

  .cal-modal__logo {
    grid-area: logo;
  }

  .cal-modal__header-content,
  .cal-modal__details-row {
    display: contents;
  }

  .cal-modal__type-row {
    grid-area: type;
    align-self: end;
    margin: 2px 40px 0 0;
  }

  .cal-modal__period {
    grid-area: period;
    justify-self: start;
    align-self: start;
    margin-left: 0;
    padding: 7px 10px;
    text-align: left;
    font-size: 10px;
  }

  .cal-modal__heading {
    grid-area: heading;
    margin-top: 8px;
  }

  .cal-modal__meta {
    grid-area: meta;
    margin-top: 0;
    font-size: 13px;
  }

  .cal-modal__bullets {
    gap: 5px;
    font-size: 13px;
    line-height: 1.55;
  }
}

/* Areas of Interest (merged Portfolio + Services) */
.ps-wrap {
  display: flex;
  flex-direction: column;
  width: 100vw;
  box-sizing: border-box;
}

.ps-eyebrow-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: 0 8vw;
}

.ps-eyebrow {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ps-eyebrow__label {
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #777;
}

.ps-eyebrow__heading {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  max-width: 460px;
  text-align: right;
  text-wrap: pretty;
  color: #fff;
}

.ps-strip-zone {
  display: flex;
  align-items: center;
  min-height: clamp(130px, 18vh, 220px);
  margin: 13vh 0 6vh;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
}

.ps-strip-zone.is-dragging {
  cursor: grabbing;
}

.ps-strip {
  list-style: none;
  margin: 0;
  padding: 0 8vw;
  white-space: nowrap;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.ps-strip__item {
  display: inline-block;
  margin-left: 14vw;
  opacity: 0.20;
  transition: opacity 0.3s cubic-bezier(0.46, 0.03, 0.52, 0.96);
  vertical-align: top;
}

.ps-strip__item:first-child {
  margin-left: 0;
}

.ps-strip__item.is-active {
  opacity: 1;
}

.ps-title {
  margin: 0;
  font-size: 7rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #fff;
}

.ps-title a {
  cursor: pointer;
  color: #fff;
}

.ps-title a:hover {
  color: var(--p1);
}

.ps-detail {
  display: flex;
  flex-direction: column;
  gap: 100px;
  padding: 0 8vw;
  margin-top: 6vh;
}

.ps-detail__text {
  max-width: 640px;
  height: 160px;
  overflow: hidden;
}

.ps-detail__label {
  display: block;
  font-size: 18px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--p1);
  margin-bottom: 12px;
  transition: opacity 0.25s ease;
}

.ps-detail__body {
  margin: 0;
  font-size: 18px;
  line-height: 1.8;
  color: #c9c9c9;
  transition: opacity 0.25s ease;
  text-wrap: pretty;
}

@media (max-width: 991px) {
  .ps-eyebrow-row {
    align-items: center;
    gap: 16px;
  }

  .ps-eyebrow {
    gap: 12px;
  }

  .ps-eyebrow svg {
    width: 32px;
    height: 32px;
  }

  .ps-eyebrow__label {
    font-size: 15px;
  }

  .ps-eyebrow__heading {
    font-size: 1.2rem;
    max-width: 150px;
  }

  .ps-title {
    font-size: 6rem;
  }

  .ps-strip__item+.ps-strip__item {
    margin-left: 18vw !important;
  }

  .ps-detail {
    margin-top: 18vh;
  }

  .ps-detail__text {
    height: 310px;
  }
}

@media (max-width: 767px) {
  [data-anchor='Interest'] .vlt-section__content {
    padding-top: 5.5rem;
    padding-bottom: 2rem;
  }

  .ps-eyebrow-row {
    gap: 12px;
    padding: 0 6vw;
  }

  .ps-eyebrow svg {
    width: 28px;
    height: 28px;
  }

  .ps-eyebrow__label {
    font-size: 10px;
  }

  .ps-eyebrow__heading {
    max-width: 175px;
    font-size: 0.95rem;
  }

  .ps-strip-zone {
    min-height: clamp(150px, 26vh, 240px);
    margin: 7vh 0 4vh;
  }

  .ps-strip {
    padding: 0 6vw;
    transition: transform 0.18s ease-out;
  }

  .ps-strip__item + .ps-strip__item {
    margin-left: 12vw !important;
  }

  .ps-title {
    font-size: clamp(3rem, 15vw, 4.25rem);
  }

  .ps-detail {
    gap: 0;
    padding: 0 6vw;
    margin-top: 3.5vh;
  }

  .ps-detail__text {
    height: 180px;
    max-height: 180px;
  }

  .ps-detail__label {
    margin-bottom: 8px;
    font-size: 11px;
  }

  .ps-detail__body {
    font-size: 13px;
    line-height: 1.55;
  }

  [data-anchor='Certificate'] .certificate-title {
    font-size: 2.5rem !important;
    line-height: 1.1;
  }

  [data-anchor='Certificate'] .certificate-subtitle {
    font-size: 1.25rem !important;
  }


  [data-anchor='Portfolio'] .portfolio-column {
    display: flex;
    flex-direction: column;
  }

  [data-anchor='Portfolio'] .portfolio-heading-row {
    display: contents;
  }

  [data-anchor='Portfolio'] .portfolio-title {
    order: 1;
  }

  [data-anchor='Portfolio'] .portfolio-heading-gap {
    order: 2;
  }

  [data-anchor='Portfolio'] .portfolio-posts {
    order: 3;
  }

  [data-anchor='Portfolio'] .portfolio-view-more {
    order: 4;
    align-self: flex-end;
    margin-top: 8px;
  }

  [data-anchor='Portfolio'] .portfolio-view-more .vlt-btn {
    width: auto;
    min-height: 42px;
    padding: 10px 16px;
    font-size: 0.8rem;
  }

  /* Design 1c: heading + form stacked; info rows hidden on phones. */
  [data-anchor='Contact'] .contact-intro {
    display: block;
    padding-bottom: 26px;
  }

  [data-anchor='Contact'] .cf-title {
    font-size: 56px;
    line-height: 0.96;
  }

  [data-anchor='Contact'] .cf-sub {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.65;
  }

  [data-anchor='Contact'] .vlt-contact-grid__info {
    display: none;
  }

  [data-anchor='Contact'] .vlt-contact-grid__form {
    padding-bottom: 20px;
  }

  [data-anchor='Contact'] .vlt-contact-form input[type='text'],
  [data-anchor='Contact'] .vlt-contact-form input[type='email'],
  [data-anchor='Contact'] .vlt-contact-form textarea {
    padding: 15px 16px;
    font-size: 14px;
  }

  [data-anchor='Contact'] .vlt-contact-form input[name='user_subject'],
  [data-anchor='Contact'] .vlt-contact-form textarea {
    padding-right: 100px;
  }

  [data-anchor='Contact'] .vlt-contact-form textarea {
    min-height: 130px;
  }

  [data-anchor='Contact'] .cf-field__tag {
    right: 16px;
    font-size: 12px;
  }

  [data-anchor='Contact'] .vlt-contact-form .vlt-btn.cf-submit {
    padding: 16px;
  }
}

.home-typing-slot {
  min-height: 2.2em;
  display: flex;
  align-items: flex-end;
}

/* Education slide 2 — .ti-line2 is the second line of a year/title; desktop
   keeps it on its own line (as the old <br /> did), phones inline it so
   "2015-2018 (3 years)" and "SMA Negeri 5, Bengkulu City." read as one line. */
.vlt-timeline-item .ti-line2 {
  display: block;
}

@media only screen and (max-width: 767px) {
  .vlt-timeline-item .ti-line2 {
    display: inline;
  }
}

.home-mobile-socials {
  display: none;
}

@media only screen and (max-width: 767px) {
  .vlt-fullpage-slider-numbers {
    display: none !important;
  }

  /* Reserve exactly two typing lines so the quote below never shifts while
     Typed.js changes between short and wrapped roles. */
  /* Bottom-anchor the name + typed line as one group in a reserved block so
     the quote below never shifts, while the name always rides directly above
     the typed line (small, constant gap) instead of at a fixed distance. */
  [data-anchor='Home'] .home-intro {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 11rem;
    min-height: 11rem;
  }

  /* Natural height (grows to two lines) with a one-line floor keeps the name
     close to the role whether it wraps or not. */
  [data-anchor='Home'] .home-typing-slot {
    height: auto;
    min-height: 4.2rem;
  }

  /* Keep the original mobile size for roles that fit on one line. JavaScript
     adds .is-compact only when the current role wraps at this default size. */
  [data-anchor='Home'] .home-typing-slot .vlt-large-heading {
    font-size: 4rem;
  }

  [data-anchor='Home'] .home-typing-slot .vlt-large-heading.is-compact {
    font-size: 3rem;
  }

  /* Lives outside .vlt-fullpage-slider (see Base.astro) so position:fixed
     anchors to the real viewport instead of a transformed section ancestor.
     Bottom sheet: peeks 26px from the bottom while Home is in view; the FAB
     slides it fully up and the social links pop in staggered. */
  .home-mobile-socials {
    display: flex;
    font-size: 1.85rem;
  }

  .home-socials-scrim {
    position: fixed;
    inset: 0;
    /* .vlt-section.active carries z-index:7 (vendor); the sheet matches
       .vlt-fixed-socials' z-index:20 so neither renders underneath it. */
    z-index: 19;
    background: rgba(11, 11, 13, 0);
    pointer-events: none;
    transition: background 0.4s ease;
  }

  /* Soft dark pool behind the peeking sheet so it reads as a layer above the
     artwork even while closed (radial, not a straight-edged band). */
  .home-socials-scrim::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 190px;
    background: radial-gradient(130% 100% at 50% 100%, rgba(11, 11, 13, 0.62) 0%, rgba(11, 11, 13, 0.28) 48%, rgba(11, 11, 13, 0) 80%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
  }

  body.pp-viewing-Home .home-socials-scrim::after {
    opacity: 1;
  }

  body.pp-viewing-Home .home-mobile-socials.is-open .home-socials-scrim {
    background: rgba(11, 11, 13, 0.55);
    pointer-events: auto;
  }

  .home-socials-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    background: #ffffff;
    border-radius: 34px 34px 0 0;
    box-shadow: none;
    /* Fully off-screen (incl. the FAB overhang) until Home is in view. */
    transform: translateY(calc(100% + 34px));
    transition: transform 0.5s cubic-bezier(0.5, 0, 0.1, 1);
  }

  body.pp-viewing-Home .home-socials-sheet {
    transform: translateY(calc(100% - 34px));
    /* Ambient shadow already in the peek state so the sheet separates from
       the page instead of appearing only once fully open. */
    box-shadow: 0 -12px 32px -14px rgba(11, 11, 13, 0.55);
  }

  body.pp-viewing-Home .home-mobile-socials.is-open .home-socials-sheet {
    transform: translateY(0);
    box-shadow: 0 -16px 40px -18px rgba(11, 11, 13, 0.85);
  }

  .home-socials-fab {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    padding: 0;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 3;
    background: #101010;
    box-shadow: 0 16px 38px -8px rgba(11, 11, 13, 0.68);
  }

  .home-socials-fab .svg-icon {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 1.35rem;
    height: 1.35rem;
    color: #fff;
    transition: transform 0.4s cubic-bezier(0.5, 0, 0.2, 1), opacity 0.3s ease;
  }

  .home-socials-fab .fa-plus {
    transform: rotate(0deg);
    opacity: 1;
  }

  .home-socials-fab .fa-chevron-up {
    transform: rotate(-135deg);
    opacity: 0;
  }

  .home-mobile-socials.is-open .home-socials-fab .fa-plus {
    transform: rotate(135deg);
    opacity: 0;
  }

  .home-mobile-socials.is-open .home-socials-fab .fa-chevron-up {
    transform: rotate(0deg);
    opacity: 1;
  }

  .home-socials-links {
    position: relative;
    padding: 42px 30px calc(24px + env(safe-area-inset-bottom, 0px));
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
  }

  .home-socials-links a {
    display: inline-flex;
    align-items: baseline;
    text-decoration: none;
    color: #101010;
    font-weight: 700;
    font-size: 3rem;
    line-height: 1;
    transform: translateY(14px) scale(0.6);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0ms, opacity 0.3s ease 0ms;
  }

  .home-mobile-socials.is-open .home-socials-links a {
    transform: translateY(0) scale(1);
    opacity: 1;
  }

  /* Staggered pop-in: 90ms + 55ms per item, matching the design canvas. */
  .home-mobile-socials.is-open .home-socials-links a:nth-child(1) {
    transition-delay: 90ms, 90ms;
  }

  .home-mobile-socials.is-open .home-socials-links a:nth-child(2) {
    transition-delay: 145ms, 145ms;
  }

  .home-mobile-socials.is-open .home-socials-links a:nth-child(3) {
    transition-delay: 200ms, 200ms;
  }
}

/* ===== Certificates — horizontal accordion =====
   Replaces the old two-column award list. One rail of logo tiles; the active
   tile expands to reveal its detail. Desktop drives it on hover, mobile on tap
   with the rail scrolling sideways. Per-tile colours (--cert-bg, --cert-tint)
   are sampled from each logo by certificates-accordion.js; the values below
   are the fallbacks used before that resolves. */
[data-anchor='Certificate'] .cert-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 48px;
}

[data-anchor='Certificate'] .certificate-title {
  line-height: 1.15;
  margin-bottom: 0;
}

[data-anchor='Certificate'] .cert-hint {
  margin: 0;
  font-size: 0.85rem;
  color: #9a9a9a;
}

[data-anchor='Certificate'] .cert-scroll-hint {
  display: none;
}

[data-anchor='Certificate'] .cert-accordion {
  display: flex;
  gap: 10px;
  height: clamp(300px, 46vh, 400px);
}

[data-anchor='Certificate'] .cert-tile {
  --cert-bg: #f6f6f6;
  --cert-tint: var(--p1, #ffa500);
  position: relative;
  /* Closed tiles carry all the shrink; the open one holds its 340px so its
     detail column never gets clipped, however narrow the row gets. */
  flex: 0 1 84px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 16, 16, 0.07);
  border-radius: 44px;
  background: var(--cert-bg);
  cursor: pointer;
  transition:
    flex 0.5s cubic-bezier(0.46, 0.03, 0.52, 0.96),
    border-radius 0.5s cubic-bezier(0.46, 0.03, 0.52, 0.96);
}

[data-anchor='Certificate'] .cert-tile.is-active {
  flex: 1 0 340px;
  border-radius: 14px;
}

[data-anchor='Certificate'] .cert-tile__inner {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 340px;
  padding: 26px;
}

[data-anchor='Certificate'] .cert-tile__logo {
  width: 64px;
  height: 64px;
}

[data-anchor='Certificate'] .cert-tile__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

[data-anchor='Certificate'] .cert-tile__text {
  width: 288px;
  color: #101010;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.5s cubic-bezier(0.46, 0.03, 0.52, 0.96),
    transform 0.5s cubic-bezier(0.46, 0.03, 0.52, 0.96);
}

[data-anchor='Certificate'] .cert-tile.is-active .cert-tile__text {
  opacity: 1;
  transform: translateY(0);
}

[data-anchor='Certificate'] .cert-tile__bar {
  width: 34px;
  height: 3px;
  margin-bottom: 16px;
  background: var(--cert-tint);
}

[data-anchor='Certificate'] .cert-tile__text h6 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  line-height: 1.35;
  color: inherit;
}

[data-anchor='Certificate'] .cert-tile__text p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #5c5c5c;
}

/* Logos whose dominant colour is dark get light copy instead. Tiles now carry
   the logo's true brand colour, which can be mid-luminance (e.g. Cisco blue),
   so a soft shadow keeps the light copy legible without altering the fill. */
[data-anchor='Certificate'] .cert-tile.is-dark .cert-tile__text {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

[data-anchor='Certificate'] .cert-tile.is-dark .cert-tile__text p {
  color: rgba(255, 255, 255, 0.9);
}

[data-anchor='Certificate'] .cert-tile.is-dark .cert-tile__bar {
  background: rgba(255, 255, 255, 0.85);
}

/* The decorative plus-pattern is absolutely positioned; give it a context. */
[data-anchor='Certificate'] .cert-rail {
  position: relative;
}

@media only screen and (max-width: 767px) {
  /* Rail stays horizontal and scrolls; tap expands. Bleeds to the screen edges
     so a half-visible tile hints that there is more to the right. */
  [data-anchor='Certificate'] .cert-header {
    display: block;
    margin-bottom: 28px;
  }

  [data-anchor='Certificate'] .cert-hint {
    display: none;
  }

  [data-anchor='Certificate'] .cert-accordion {
    width: calc(100% + 15px);
    height: 320px;
    gap: 8px;
    padding-bottom: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  [data-anchor='Certificate'] .cert-accordion::-webkit-scrollbar {
    display: none;
  }

  [data-anchor='Certificate'] .cert-accordion--has-more {
    -webkit-mask-image: linear-gradient(to right,
      #000 0,
      #000 calc(100% - 32px),
      rgba(0, 0, 0, 0.72) calc(100% - 16px),
      transparent 100%
    );
    mask-image: linear-gradient(to right,
      #000 0,
      #000 calc(100% - 32px),
      rgba(0, 0, 0, 0.72) calc(100% - 16px),
      transparent 100%
    );
  }

  [data-anchor='Certificate'] .cert-scroll-fade {
    display: none;
  }

  [data-anchor='Certificate'] .cert-tile {
    flex: 0 0 60px;
    min-width: 0;
    border-radius: 30px;
    transition:
      flex-basis 0.5s cubic-bezier(0.46, 0.03, 0.52, 0.96),
      border-radius 0.5s cubic-bezier(0.46, 0.03, 0.52, 0.96);
  }

  [data-anchor='Certificate'] .cert-tile.is-active {
    flex: 0 0 236px;
    min-width: 0;
  }

  [data-anchor='Certificate'] .cert-tile__inner {
    width: 236px;
    padding: 16px;
  }

  [data-anchor='Certificate'] .cert-tile__logo {
    width: 44px;
    height: 44px;
  }

  [data-anchor='Certificate'] .cert-tile__text {
    width: 200px;
  }

  [data-anchor='Certificate'] .cert-tile__bar {
    width: 28px;
    margin-bottom: 10px;
  }

  [data-anchor='Certificate'] .cert-tile__text h6 {
    margin-bottom: 6px;
    font-size: 1rem;
    line-height: 1.3;
  }

  [data-anchor='Certificate'] .cert-tile__text p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  [data-anchor='Certificate'] .cert-scroll-hint {
    display: block;
    margin: 8px 0 0;
    color: #5c5c5c;
    line-height: 0;
    /* Only meaningful while there is more rail to scroll; certificates-
       accordion.js keeps .cert-accordion--has-more in sync. */
    opacity: 0;
    transition: opacity 0.25s ease;
  }

  [data-anchor='Certificate'] .cert-accordion--has-more ~ .cert-scroll-hint {
    opacity: 1;
  }

  [data-anchor='Certificate'] .cert-scroll-hint__icon {
    display: block;
    width: 64px;
    height: 35px;
    animation: cert-hint-nudge 1.8s ease-in-out infinite;
  }

  @keyframes cert-hint-nudge {
    0%,
    100% {
      transform: translateX(0);
    }
    50% {
      transform: translateX(-7px);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-anchor='Certificate'] .cert-tile,
  [data-anchor='Certificate'] .cert-tile__text {
    transition-duration: 0.01ms;
  }

  [data-anchor='Certificate'] .cert-scroll-fade {
    transition-duration: 0.01ms;
  }

  [data-anchor='Certificate'] .cert-scroll-hint__icon {
    animation: none;
  }
}

/* ===== Reduced-motion coverage for the remaining animated surfaces ===== */
@media (prefers-reduced-motion: reduce) {
  .home-socials-sheet,
  .home-socials-scrim,
  .home-socials-scrim::after,
  .home-socials-links a,
  .home-socials-fab .svg-icon,
  .ps-strip,
  .cal-card {
    transition-duration: 0.01ms !important;
  }
}
