:root {
  --bg: #FFF7EB;
  --card: #F9F0E0;
  --sage: #A2AB73;
  --accent: #CC3A63;
  --cream: #FFF7EB;
  --txt: #2B1D22;
  --mut: #75605b;
  --line: #e6d8c2;
}

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

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

body {
  background: var(--bg);
  color: var(--txt);
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}

a,
button {
  color: inherit;
}

h1,
h2,
h3 {
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: .92;
}

::selection {
  background: var(--sage);
  color: var(--txt);
}

/* Custom Cursor */
#cur {
  position: fixed;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  pointer-events: none;
  z-index: 99;
  transform: translate(-50%, -50%);
  transition: width .25s, height .25s, background .25s;
  opacity: 0;
}

#cur.big {
  width: 48px;
  height: 48px;
  background: var(--sage);
  opacity: .6;
}

/* Loading Screen */
#load {
  position: fixed;
  inset: 0;
  background: var(--accent);
  color: var(--cream);
  z-index: 98;
  display: grid;
  place-items: center;
  font: 900 clamp(60px, 14vw, 180px) "Space Grotesk", Arial, sans-serif;
  transition: transform .9s cubic-bezier(.8, 0, .2, 1);
}

#load.out {
  transform: translateY(-100%);
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 4vw;
  z-index: 20;
  background: #FFF7EBcc;
  backdrop-filter: blur(10px);
}

nav .logo {
  text-decoration: none;
  font-weight: 700;
}

nav .logo {
  font-size: 20px;
  letter-spacing: -.05em;
}

nav div a {
  margin-left: 28px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--txt);
}

nav a:hover {
  color: var(--accent);
}

/* Scroll Progress Bar */
#bar {
  position: fixed;
  left: 0;
  top: 0;
  height: 4px;
  background: var(--accent);
  width: 0;
  z-index: 30;
}

/* Hero Section */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  padding: 0 0 0 4vw;
  position: relative;
  overflow: hidden;
  gap: 0;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 6vh;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(52px, 11vw, 200px);
}

.hero h1 .l {
  display: block;
  overflow: hidden;
}

.hero h1 .l span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s cubic-bezier(.2, .8, .2, 1);
}

.go .hero h1 .l span {
  transform: none;
}

.go .hero h1 .l:nth-child(2) span {
  transition-delay: .12s;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.sub {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 34px;
  align-items: flex-end;
}

.sub p {
  max-width: 440px;
  color: var(--mut);
  font-size: 18px;
  line-height: 1.5;
}

.sub p b {
  color: var(--txt);
}

/* Hero Photo - full height, right side */
.hero-photo {
  position: relative;
  width: min(38vw, 520px);
  height: 100svh;
  flex-shrink: 0;
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  pointer-events: none;
  transition: transform .6s ease;
}

.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    transparent 60%,
    var(--bg) 100%
  ), linear-gradient(
    to top,
    var(--bg) 0%,
    transparent 25%
  );
  pointer-events: none;
}

.hero-photo:hover img {
  transform: scale(1.03);
}

.pill {
  display: inline-block;
  border: 1.5px solid var(--txt);
  padding: 16px 30px;
  border-radius: 99px;
  text-decoration: none;
  font-weight: 700;
  transition: .25s;
}

.pill:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--cream);
}

/* Running Text (Marquee) */
.mq {
  background: var(--sage);
  color: var(--txt);
  overflow: hidden;
  white-space: nowrap;
  padding: 12px 0;
  border-top: 1.5px solid var(--txt);
  border-bottom: 1.5px solid var(--txt);
  transform: rotate(-0.8deg);
  margin: 36px -2vw;
}

.mq:hover div {
  animation-play-state: paused;
}

.mq div {
  display: inline-block;
  animation: mq 30s linear infinite;
  font: 700 clamp(16px, 2.2vw, 24px) "Space Grotesk", Arial, sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
}

@keyframes mq {
  to {
    transform: translateX(-50%);
  }
}

/* Sections General */
section {
  padding: 14vh 4vw;
}

.lab {
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(48px, 9vw, 140px);
  margin-bottom: 6vh;
}

/* About Section */
.about {
  font-size: clamp(28px, 4.4vw, 64px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.08;
  max-width: 1200px;
}

.about span {
  color: #dccdb5;
  transition: color .4s;
}

.about span.on {
  color: var(--txt);
}

.about span.hl.on {
  color: var(--accent);
}

/* Horizontal Scroll Section (Work) */
.hs {
  height: 200vh;
  position: relative;
  padding: 0;
}

.stick {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stick h2 {
  padding: 0 4vw;
  margin-bottom: 4vh;
  font-size: clamp(48px, 8vw, 120px);
}

.track {
  display: flex;
  gap: 2vw;
  padding: 0 4vw;
  will-change: transform;
}

.pc {
  flex: none;
  width: min(62vw, 720px);
  height: 52vh;
  border-radius: 28px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform .4s;
}

.pc:hover {
  transform: scale(.98) rotate(-.6deg);
}

.pc.a {
  background: var(--accent);
  color: var(--cream);
}

.pc.b {
  background: var(--sage);
  color: var(--txt);
}

.pc.c {
  background: var(--card);
  border: 1.5px dashed #c9b899;
}

.pc h3 {
  font-size: clamp(36px, 5vw, 72px);
}

.pc .n {
  font: 900 clamp(90px, 14vw, 200px) "Space Grotesk", Arial, sans-serif;
  letter-spacing: -.06em;
  opacity: .12;
  position: absolute;
  right: 20px;
  top: -10px;
  line-height: 1;
}

.pc .tags span {
  display: inline-block;
  border: 1.5px solid currentColor;
  border-radius: 99px;
  padding: 4px 14px;
  font-size: 13px;
  font-weight: 700;
  margin: 0 6px 6px 0;
}

.pc .more {
  max-height: 0;
  opacity: 0;
  transition: .5s;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
}

.pc:hover .more,
.pc:focus-within .more {
  max-height: 230px;
  opacity: 1;
}

.pc .more b {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: 8px;
}

/* Full-Bleed Project Showcase Card */
.pc.pc-full-bleed {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #0f1311;
  color: #FFF7EB;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  isolation: isolate;
}

.pc-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.pc-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transform: scale(1.01);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.7s ease;
  filter: brightness(0.92) contrast(1.05);
}

.pc-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 16, 14, 0.55) 0%,
    rgba(12, 16, 14, 0.25) 30%,
    rgba(8, 12, 10, 0.85) 68%,
    rgba(5, 8, 7, 0.98) 100%
  );
  transition: opacity 0.4s ease;
}

.pc-bg-vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.65);
  pointer-events: none;
}

.pc.pc-full-bleed:hover .pc-bg-img,
.pc.pc-full-bleed:focus-within .pc-bg-img {
  transform: scale(1.05);
  filter: brightness(1) contrast(1.08);
}

.pc.pc-full-bleed .pc-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.pc.pc-full-bleed .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pc.pc-full-bleed .tags span {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFF7EB;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 99px;
  margin: 0;
  letter-spacing: .02em;
}

.pc-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(16, 185, 129, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #6ee7b7;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 99px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.75);
  }
}

.pc.pc-full-bleed .pc-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.pc-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(255, 247, 235, 0.72);
  font-weight: 700;
}

.pc.pc-full-bleed h3 {
  font-size: clamp(30px, 4.2vw, 54px);
  color: #FFF7EB;
  margin: 0;
  line-height: 1.05;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
}

.pc-desc {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 247, 235, 0.88);
  max-width: 580px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
  margin: 0;
}

.pc-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.pc-btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFF7EB;
  color: #1a1215;
  font-size: 14px;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 99px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.pc-btn-cta .btn-icon {
  font-size: 11px;
}

.pc-btn-cta .btn-arrow {
  font-size: 14px;
  transition: transform 0.2s ease;
}

.pc-btn-cta:hover {
  background: #ffffff;
  color: #000;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.pc-btn-cta:hover .btn-arrow {
  transform: translate(2px, -2px);
}

.pc-hint {
  font-size: 12px;
  color: rgba(255, 247, 235, 0.65);
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.pc.pc-full-bleed .n {
  color: #fff;
  opacity: 0.16;
  right: 24px;
  top: -8px;
  pointer-events: none;
}

/* Customizations for Card 2 (Bless Laundry) */
.pc.b.pc-full-bleed {
  background: #09131f;
  border-color: rgba(56, 189, 248, 0.22);
}

.pc.b .pc-bg-img {
  object-position: center top;
}

.pc.b .pc-bg-gradient {
  background: linear-gradient(
    180deg,
    rgba(10, 24, 40, 0.42) 0%,
    rgba(10, 24, 40, 0.16) 32%,
    rgba(6, 18, 32, 0.88) 68%,
    rgba(4, 12, 22, 0.98) 100%
  );
}

.pc-status-pill.blue {
  background: rgba(56, 189, 248, 0.16);
  border-color: rgba(56, 189, 248, 0.4);
  color: #7dd3fc;
}

.live-dot.blue {
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
}

/* Timeline / Path Section */
.tlr {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 30px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  align-items: center;
  transition: .35s;
}

.tlr:last-child {
  border-bottom: 1px solid var(--line);
}

.tlr:hover {
  padding-left: 26px;
  background: linear-gradient(90deg, #CC3A6314, transparent);
}

.tlr .y {
  color: var(--mut);
  font-weight: 600;
}

.tlr h3 {
  font-size: clamp(26px, 3.6vw, 52px);
}

.tlr p {
  color: var(--mut);
  margin-top: 8px;
  font-size: 16px;
  max-width: 560px;
}

.tlr .ar {
  font-size: 40px;
  color: var(--accent);
  opacity: 0;
  transition: .3s;
  transform: translateX(-14px);
}

.tlr:hover .ar {
  opacity: 1;
  transform: none;
}

/* Skill Stack Section */
.sk {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.chip {
  font: 800 clamp(28px, 5vw, 72px) "Space Grotesk", Arial, sans-serif;
  letter-spacing: -.04em;
  border: 2px solid var(--txt);
  background: var(--card);
  border-radius: 99px;
  padding: .15em .6em;
  transition: .3s;
  user-select: none;
  position: relative;
}

.chip:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--cream);
  transform: rotate(-3deg) scale(1.06);
}

.chip.dim {
  border-color: #c9b899;
  color: #7d6f5c;
  border-style: dashed;
  background: none;
}

.chip.dim:hover {
  color: var(--cream);
}

.note {
  margin-top: 26px;
  color: var(--mut);
}

/* Contact Section */
.ct {
  text-align: center;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--cream);
  padding: 10vh 4vw;
}

.ct h2 {
  margin-bottom: 3.5vh;
}

.ct .lab {
  color: var(--cream);
  opacity: .85;
}

/* Contact Form */
.cform {
  width: min(100%, 540px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 auto 20px;
}

.cform-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 600px) {
  .cform-row {
    grid-template-columns: 1fr;
  }
}

.cform input,
.cform textarea {
  width: 100%;
  padding: 15px 18px;
  background: rgba(255, 247, 235, 0.12);
  border: 1.5px solid rgba(255, 247, 235, 0.35);
  border-radius: 14px;
  color: var(--cream);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  transition: all .25s ease;
  cursor: text;
}

.cform input::placeholder,
.cform textarea::placeholder {
  color: rgba(255, 247, 235, 0.65);
}

.cform input:focus,
.cform textarea:focus {
  outline: none;
  background: rgba(255, 247, 235, 0.22);
  border-color: var(--cream);
  box-shadow: 0 0 0 3px rgba(255, 247, 235, 0.18);
}

.cform textarea {
  resize: vertical;
  min-height: 110px;
}

.cform button {
  align-self: center;
  cursor: pointer;
  margin-top: 4px;
  font-size: 18px;
  padding: 16px 36px;
  font-family: inherit;
  font-weight: 700;
}

.cform button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cform-status {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  min-height: 20px;
  line-height: 1.4;
}

.cform-status.success {
  color: #bbf7d0;
}

.cform-status.error {
  color: #fecaca;
}

.ct .pill {
  border-color: var(--cream);
  font-size: 18px;
  padding: 16px 36px;
  background: var(--cream);
  color: var(--accent);
}

.ct .pill:hover {
  background: transparent;
  color: var(--cream);
}

.ct small {
  margin-top: 14px;
  font-weight: 700;
  font-size: 16px;
}

.ct-copy {
  margin-top: 36px;
  font-size: 13px;
  opacity: .65;
  letter-spacing: .02em;
}

/* Scroll Animations */
.rv {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1);
}

.tlr.rv {
  transition: opacity .9s, transform .9s, padding .35s, background .35s;
}

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

/* Responsive Styles */
@media (max-width: 800px) {
  .tlr {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .hero-photo {
    width: 100%;
    height: 55vw;
    min-height: 220px;
    max-height: 380px;
    order: -1;
  }

  .hero-photo::after {
    background: linear-gradient(
      to bottom,
      transparent 50%,
      var(--bg) 100%
    );
  }

  .hero-left {
    padding: 0 4vw 6vh;
  }

  .pc {
    width: 82vw;
  }

  body,
  a,
  button {
    cursor: auto;
  }

  #cur {
    display: none;
  }
}

/* ---- Revisi tambahan ---- */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.todo {
  background: #ffe066;
  color: #2B1D22;
  padding: 0 4px;
  border-radius: 4px;
}

.plink {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  text-decoration: underline;
}

.ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.ct .pill.alt {
  background: transparent;
  color: var(--cream);
}

.ct .pill.alt:hover {
  background: var(--cream);
  color: var(--accent);
}

.ct small a {
  text-decoration: underline;
  margin: 0 6px;
}

/* Kursor custom hanya untuk mouse */
@media (hover: hover) and (pointer: fine) {

  body,
  a,
  button {
    cursor: none;
  }

  #cur.on {
    opacity: .85;
  }

  #cur.on.big {
    opacity: .5;
  }
}

@media (hover: none),
(pointer: coarse) {
  #cur {
    display: none;
  }
}

/* Detail proyek selalu terlihat di layar sentuh */
@media (hover: none) {
  .pc .more {
    max-height: none;
    opacity: 1;
  }
}

@media (max-width: 800px) {
  nav {
    padding: 16px 4vw;
  }

  nav div a {
    margin-left: 14px;
    font-size: 12px;
  }

  .pc {
    height: auto;
    min-height: 52svh;
    gap: 24px;
  }

  .pc.pc-full-bleed {
    padding: 26px 22px;
  }

  .pc.pc-full-bleed h3 {
    font-size: clamp(26px, 6vw, 34px);
  }

  .pc-desc {
    font-size: 14px;
  }

  .pc-actions {
    gap: 12px;
  }

  .pc-btn-cta {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .mq div {
    animation: none;
  }

  #load {
    display: none;
  }

  .hero h1 .l span {
    transform: none;
    transition: none;
  }

  .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
}