:root {
  --sun: #FFD83D;
  --butter: #FFF1B8;
  --pale: #FFF8DE;
  --cream: #FFFCF1;
  --gold: #F4C430;

  --ink: #493B24;
  --soft: #8B7956;

  --bg: var(--cream);
  --bg2: var(--pale);
  --card: var(--butter);
  --surface: #FFFFFF;

  --text: var(--ink);
  --muted: var(--soft);
  --line: rgba(139, 121, 86, .18);

  --shadow: 0 18px 50px -18px rgba(139, 121, 86, .35);
  --glow: rgba(255, 216, 61, .55);

  --radius: 24px;
  --ease: cubic-bezier(.22, .8, .25, 1);
}

[data-theme="dark"] {
  --bg: #1F1A10;
  --bg2: #272014;
  --card: #33291A;
  --surface: #2B2416;

  --text: #FFF1B8;
  --muted: #C9B98C;
  --line: rgba(255, 216, 61, .16);

  --shadow: 0 18px 50px -18px rgba(0, 0, 0, .7);
  --glow: rgba(255, 216, 61, .28);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background .5s, color .5s;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

.wrap {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section:nth-of-type(even) {
  background: linear-gradient(
    180deg,
    var(--bg),
    var(--bg2) 50%,
    var(--bg)
  );
}

.eyebrow {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

/* Judul section */
.title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.2;
  margin: 6px 0 22px;
}

/* Deskripsi About Me */
.about__description {
  font-size: .95rem;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0;
  color: var(--muted);
  margin-bottom: 18px;
  max-width: 650px;
}

.lead,
.muted {
  color: var(--muted);
}

.narrow {
  max-width: 520px;
  font-size: .92rem;
}

.sub {
  margin: 26px 0 10px;
  font-size: 1rem;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;

  background: radial-gradient(
    circle at 50% 45%,
    #5A4620,
    #2A2112 60%,
    #1F1A10
  );

  color: var(--butter);
  transition: opacity .7s, visibility .7s;
}

.loader.done {
  opacity: 0;
  visibility: hidden;
}

.loader__num {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 0 50px var(--glow);
}

.loader__num small {
  font-size: 1.5rem;
  color: var(--sun);
  margin-left: 4px;
  font-weight: 500;
}

.loader__bar {
  width: 120px;
  height: 2px;
  background: rgba(255, 241, 184, .2);
  border-radius: 9px;
  overflow: hidden;
}

.loader__bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--sun);
}

.loader p {
  font-size: .7rem;
  opacity: .6;
}

.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;

  display: flex;
  align-items: center;
  gap: 4px;

  padding: 6px;
  border-radius: 999px;

  background: color-mix(in srgb, var(--cream) 78%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid var(--line);
  box-shadow: 0 8px 30px -12px rgba(139, 121, 86, .35);

  max-width: 94vw;
  transition: background .5s;
}

[data-theme="dark"] .nav {
  background: color-mix(in srgb, #2B2416 80%, transparent);
}

.nav a {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background .3s, box-shadow .3s;
}

.nav a:hover {
  background: var(--butter);
  color: var(--ink);
  box-shadow: 0 0 0 3px rgba(255, 216, 61, .35);
}

.nav a.active {
  background: var(--sun);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 4px 14px -4px var(--glow);
}

.nav__theme {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-left: 4px;
  transition: background .3s;
}

.nav__theme:hover {
  background: var(--butter);
}

.nav svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav .i-moon {
  display: none;
}

[data-theme="dark"] .nav .i-moon {
  display: block;
}

[data-theme="dark"] .nav .i-sun {
  display: none;
}

[data-theme="dark"] .nav a:hover {
  color: var(--ink);
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 20px;

  padding: 110px max(4vw, 24px) 60px max(7vw, 24px);

  position: relative;
  overflow: hidden;

  background:
    radial-gradient(
      ellipse at 80% 55%,
      rgba(255, 216, 61, .32),
      transparent 55%
    ),
    radial-gradient(
      ellipse at 10% 0%,
      var(--butter),
      transparent 50%
    ),
    var(--bg);
}

[data-theme="dark"] .hero {
  background:
    radial-gradient(
      ellipse at 80% 55%,
      rgba(255, 216, 61, .16),
      transparent 55%
    ),
    var(--bg);
}

.hero__hi {
  display: inline-block;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -.02em;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.05;
  margin: 4px 0 12px;
}

.hero h2 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.hero__desc {
  max-width: 480px;
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 14px;
  font-weight: 600;
  font-size: .9rem;
  transition: transform .3s var(--ease), box-shadow .3s;
}

.btn--primary {
  background: linear-gradient(135deg, var(--sun), var(--gold));
  color: var(--ink);
  box-shadow: 0 10px 26px -10px var(--glow);
}

.btn--ghost {
  background: var(--surface);
  box-shadow: var(--shadow);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -10px var(--glow);
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: .3s;
}

.socials a:hover {
  background: var(--sun);
  color: var(--ink);
  transform: translateY(-3px);
}

.socials svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero__card {
  position: relative;
  height: min(78vh, 640px);
  display: flex;
  justify-content: center;
}

.glow {
  position: absolute;
  top: 34%;
  left: 50%;
  width: 300px;
  height: 340px;
  transform: translateX(-50%);
  background: var(--sun);
  filter: blur(70px);
  opacity: .55;
  border-radius: 50%;
  animation: pulse 5s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    opacity: .8;
    transform: translateX(-50%) scale(1.08);
  }
}

.swing {
  position: absolute;
  top: -30px;
  left: 50%;
  width: 260px;
  margin-left: -130px;
  transform-origin: 50% 0;
  animation: swing 6s ease-in-out infinite;
  will-change: transform;
}

@keyframes swing {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}


.strap {
    height: 210px;
    width: 28px;
    margin: 0 auto;
    margin-top: -80px;
    background: linear-gradient(90deg, #3B2F1B, #5B4727 50%, #3B2F1B);
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .1);
}

.strap span {
    position: absolute;
    inset: 8px 0 auto 0;
    writing-mode: vertical-rl;
    white-space: nowrap;
    text-align: center;
    font-size: .45rem;
    font-weight: 700;
    letter-spacing: .15em;
    color: var(--sun);
}

.clip {
    width: 28px;
    height: 20px;
    margin: -2px auto 0;
    background: linear-gradient(#D9D2C0, #9A937F);
    border-radius: 4px 4px 8px 8px;
    position: relative;
    z-index: 2;
}

.idcard {
    width: 170px;
    margin-top: -8px;
    padding: 10px 9px 7px;
    border-radius: 14px;
    background: linear-gradient(170deg, #FFFDF4, var(--butter));
    box-shadow: 0 15px 30px -12px rgba(139, 121, 86, .45);
    position: relative;
    color: var(--ink);
}

.idcard::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 50%;
    width: 34px;
    height: 5px;
    margin-left: -17px;
    border-radius: 9px;
    background: #E8D99A;
}

.idcard__tag {
    position: absolute;
    top: 24px;
    left: 10px;
    font-size: .45rem;
    font-weight: 700;
    background: var(--ink);
    color: var(--sun);
    padding: 3px 6px;
    border-radius: 4px;
    letter-spacing: .05em;
}

.idcard__star {
    position: absolute;
    top: 22px;
    right: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--sun);
    display: grid;
    place-items: center;
    font-size: .65rem;
}

.idcard h3 {
    margin: 30px 0 0;
    font-size: 1.15rem;
    line-height: 1.1;
}

.idcard img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin-top: 5px;
    border-radius: 10px;
}

.idcard__name {
    margin-top: -17px;
    position: relative;
    background: var(--ink);
    color: var(--sun);
    font-size: .48rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-align: center;
    padding: 5px;
    transform: rotate(-2deg);
}

.idcard__foot {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 8px;
}

.idcard__foot b {
    font-size: .8rem;
    font-weight: 800;
}

.idcard__foot small {
    font-size: .4rem;
    text-align: right;
    color: var(--soft);
    line-height: 1.3;
}

.about {
    padding: 110px 0;
    overflow: hidden;
}

.about__grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 75px;
    align-items: center;
}

/* PROFILE PHOTO */

.about__photo {
    position: relative;
    aspect-ratio: 4 / 5;
    max-width: 390px;
    width: 100%;
    border-radius: 30px;
    background: var(--butter);
    box-shadow: 0 25px 60px -25px rgba(139, 121, 86, .4);
    isolation: isolate;
}

.about__photo::after {
    content: "";
    position: absolute;
    inset: 18px -18px -18px 18px;
    border-radius: 30px;
    background: var(--sun);
    opacity: .35;
    z-index: -1;
}

.about__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

.photo-label {
    position: absolute;
    bottom: 18px;
    left: 18px;
    padding: 9px 15px;
    border-radius: 9px;
    background: rgba(73, 59, 36, .85);
    color: var(--butter);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .12em;
    backdrop-filter: blur(8px);
}

.sun-dot {
    position: absolute;
    top: -16px;
    left: -16px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--sun), var(--gold));
    box-shadow: 0 0 35px var(--glow);
    z-index: 2;
}

/* ABOUT CONTENT */

.about__content {
    max-width: 650px;
}

.about__content .eyebrow {
    font-size: .7rem;
    letter-spacing: .25em;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 12px;
}

.about__title {
    max-width: 620px;
    font-size: clamp(2rem, 3.3vw, 2.8rem);
    line-height: 1.2;
    letter-spacing: -.045em;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 24px;
}

.about__description {
    font-size: .94rem;
    line-height: 1.9;
    color: var(--muted);
    margin-bottom: 14px;
    text-align: justify;
}

/* QUOTE */

.about__quote {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px 19px;
    margin: 24px 0;
    border-left: 4px solid var(--sun);
    border-radius: 0 14px 14px 0;
    background: linear-gradient(
        100deg,
        var(--butter),
        rgba(255, 241, 184, .25)
    );
}

.about__quote span {
    font-size: 1.4rem;
    color: var(--gold);
}

.about__quote p {
    font-size: .85rem;
    font-weight: 600;
    font-style: italic;
    color: var(--ink);
    letter-spacing: .01em;
}

/* PERSONAL INFORMATION */

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    margin-top: 25px;
}

.mini {
    padding: 17px 19px;
    border-radius: 17px;
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: 0 8px 25px -15px rgba(139, 121, 86, .35);
    transition: transform .3s, box-shadow .3s;
}

.mini:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.mini small {
    display: block;
    font-size: .7rem;
    color: var(--muted);
    margin-bottom: 5px;
}

.mini b {
    display: block;
    font-size: .86rem;
    line-height: 1.5;
    color: var(--text);
}

/* SKILLS */

.about__skills {
    margin-top: 30px;
}

.about__skills .sub {
    font-size: .95rem;
    font-weight: 800;
    margin: 0 0 13px;
    color: var(--text);
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.chips span {
    padding: 9px 15px;
    border-radius: 999px;
    background: var(--card);
    border: 1px solid var(--line);
    color: var(--text);
    font-size: .75rem;
    font-weight: 600;
    transition: .3s;
}

.chips span:hover {
    background: var(--sun);
    color: var(--ink);
    transform: translateY(-3px);
    box-shadow: 0 7px 18px -8px var(--glow);
}

/* RESPONSIVE ABOUT */

@media (max-width: 900px) {
    .about__grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .about__photo {
        max-width: 360px;
        margin: 0 auto;
    }

    .about__content {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .about {
        padding: 80px 0;
    }

    .about__grid {
        gap: 40px;
    }

    .about__title {
        font-size: 2rem;
    }

    .about__description {
        font-size: .88rem;
        text-align: left;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .about__quote {
        padding: 14px;
    }

    .chips span {
        font-size: .7rem;
        padding: 8px 12px;
    }
}

.chips span:hover {
  background: var(--sun);
  color: var(--ink);
}

.edu {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 30px;
  padding: 26px;
  border-radius: 30px;
  background: var(--card);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.edu__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.edu__top small {
  display: block;
  font-size: .7rem;
  color: var(--muted);
}

.edu__top b {
  font-size: .9rem;
}

.dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sun);
  display: grid;
  place-items: center;
  font-weight: 700;
  flex: none;
}

.score {
  margin-left: auto;
  background: var(--surface);
  padding: 8px 16px;
  border-radius: 14px;
  text-align: right;
}

.score b {
  color: var(--gold);
  font-size: 1.05rem;
}

.edu h3 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.02em;
}

.edu h4 {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 20px 0 10px;
}

.edu p {
  font-size: .92rem;
  margin-top: 8px;
}

.check li {
  font-size: .88rem;
  padding-left: 24px;
  position: relative;
  margin-bottom: 6px;
}

.check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 800;
}

.edu__photo {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 380px;
  background: var(--pale);
}

.edu__photo img,
.stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.pill {
  position: absolute;
  top: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 600;
  background: rgba(73, 59, 36, .75);
  color: #FFF;
  backdrop-filter: blur(6px);
}

.pill--l { left: 14px; }

.pill--r {
  right: 14px;
  background: var(--sun);
  color: var(--ink);
}

.edu__photo figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 40px 18px 16px;
  color: #FFF;
  font-weight: 600;
  font-size: .9rem;
  background: linear-gradient(transparent, rgba(73, 59, 36, .8));
}

.exp {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  margin-top: 60px;
}

.exp--rev {
  grid-template-columns: .95fr 1.05fr;
}

.exp--rev .stack {
  order: 2;
}

.stack {
  position: relative;
  aspect-ratio: 16 / 11;
  perspective: 900px;
}

.stack img {
  border-radius: 24px;
  box-shadow: var(--shadow);
  transition: transform .7s var(--ease), opacity .7s, filter .7s;
  background: var(--butter);
}

.stack .front {
  z-index: 2;
}

.stack .back {
  z-index: 1;
  transform: translate(-14px, -14px) rotate(-2deg) scale(.97);
  opacity: .7;
  filter: saturate(.8);
}

.stack.flip .front {
  z-index: 1;
  transform: translate(-14px, -14px) rotate(-2deg) scale(.97);
  opacity: .7;
}

.stack.flip .back {
  z-index: 2;
  transform: none;
  opacity: 1;
  filter: none;
}

.swap {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  background: var(--ink);
  color: #FFF;
  font-size: .72rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  transition: .3s;
}

.swap:hover {
  background: var(--gold);
  color: var(--ink);
}

.period {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}

.period i {
  font-style: normal;
  background: var(--sun);
  color: var(--ink);
  padding: 2px 9px;
  border-radius: 7px;
  margin-right: 8px;
}

.exp h3 {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin: 8px 0 2px;
}

.exp h4 {
  color: var(--gold);
  font-size: 1.02rem;
  margin-bottom: 12px;
}

.exp p:not(.period) {
  color: var(--muted);
  font-size: .92rem;
  margin-bottom: 12px;
}

.exp .check {
  margin-bottom: 12px;
}

.contact {
  background: linear-gradient(180deg, var(--bg), var(--butter)) !important;
}

[data-theme="dark"] .contact {
  background: linear-gradient(180deg, var(--bg), #2D2414) !important;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.clist {
  margin-top: 26px;
  display: grid;
  gap: 12px;
}

.clist li {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--surface);
  padding: 12px 16px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition: transform .3s;
}

.clist li:hover {
  transform: translateX(6px);
}

.clist span {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--sun);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-weight: 700;
  flex: none;
}

.clist small {
  display: block;
  font-size: .7rem;
  color: var(--muted);
}

.clist a {
  font-weight: 600;
  font-size: .92rem;
}

.form {
  background: var(--surface);
  padding: 30px;
  border-radius: 28px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.form label {
  font-size: .8rem;
  font-weight: 600;
  display: grid;
  gap: 6px;
}

.form input,
.form textarea {
  font: inherit;
  font-size: .92rem;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--text);
  resize: vertical;
  transition: border .3s, box-shadow .3s;
}

.form input:focus,
.form textarea:focus {
  outline: 0;
  border-color: var(--sun);
  box-shadow: 0 0 0 4px rgba(255, 216, 61, .3);
}

.form .invalid {
  border-color: #B5543A;
}

.form button {
  justify-content: center;
  border: 0;
}

.form__msg {
  font-size: .82rem;
  min-height: 1.2em;
  color: var(--muted);
}

footer {
  text-align: center;
  font-size: .78rem;
  color: var(--muted);
  margin-top: 80px;
}

.totop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 10px 24px -8px var(--glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: .4s;
}

.totop.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.totop:hover {
  transform: translateY(-4px);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  background: rgba(40, 31, 16, .82);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: .4s;
  padding: 24px;
}

.modal.open {
  opacity: 1;
  visibility: visible;
}

.modal img {
  max-width: min(1000px, 94vw);
  max-height: 86vh;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  transform: scale(.92);
  transition: transform .5s var(--ease);
}

.modal.open img {
  transform: none;
}

.modal__x {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 100px 24px 40px;
    text-align: left;
  }

  .hero__card {
    height: 520px;
    order: -1;
    margin-top: -10px;
  }

  .about__grid,
  .edu,
  .exp,
  .exp--rev,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .exp--rev .stack {
    order: 0;
  }

  .about__photo {
    max-width: 340px;
  }

  .edu__photo {
    min-height: 300px;
  }

  .section {
    padding: 80px 0;
  }
}

@media (max-width: 640px) {
  .nav {
    top: 10px;
    gap: 0;
    padding: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    width: 94vw;
    justify-content: flex-start;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    padding: 8px 11px;
    font-size: .72rem;
  }

  .hero__card {
    height: 470px;
  }

  .strap {
    height: 230px;
  }

  .swing {
    transform: scale(.88);
    transform-origin: 50% 0;
    animation-name: swingS;
  }

  @keyframes swingS {
    0%, 100% {
      transform: scale(.88) rotate(-3deg);
    }

    50% {
      transform: scale(.88) rotate(3deg);
    }
  }

  .title {
    font-size: 1.75rem;
  }

  .about__description {
    font-size: .9rem;
    line-height: 1.75;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .cover {
    height: 260px;
  }

  .arrow {
    width: 38px;
    height: 38px;
  }

  .edu {
    padding: 18px;
  }

  .edu__top {
    flex-wrap: wrap;
  }

  .form {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: .01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


.project-slider {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 35px;
  padding: 28px;
  border-radius: 24px;
  background: var(--card, #f5f3ef);
  align-items: center;
}

.project-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
}

.project-content h3 {
  font-size: 28px;
  margin: 15px 0;
}

.project-content p {
  line-height: 1.8;
}

.project-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
}

.project-controls button {
  cursor: pointer;
  border: 0;
  border-radius: 50%;
  padding: 12px 16px;
}

#projectDots {
  display: flex;
  gap: 9px;
}

.project-dot {
  width: 9px;
  height: 9px;
  padding: 0 !important;
  background: #aaa;
}

.project-dot.active {
  background: #52745e;
  width: 25px;
  border-radius: 10px;
}

@media (max-width: 700px) {
  .project-slider {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
