/* ============================================================
   R3XBASE® — Jasa Pembuatan Website
   Editorial, warm, understated. No gradients, no fake proof.
   ============================================================ */

:root {
  --paper:      #f5f2ec;
  --paper-2:    #ece7dd;
  --ink:        #1a1917;
  --ink-2:      #3d3a35;
  --muted:      #77726a;
  --line:       #d8d2c6;
  --accent:     #d94f2b;
  --accent-lite:#f3e2da;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'DM Sans', 'Segoe UI', system-ui, sans-serif;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.12;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

.container { width: min(100% - 3rem, var(--container)); margin-inline: auto; }

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 999;
  background: var(--ink); color: var(--paper);
  padding: 10px 16px; font-size: 14px; font-weight: 600;
  transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: translateY(0); }

/* Paper grain — very light, gives a printed feel */
.grain {
  position: fixed; inset: 0; z-index: 200; pointer-events: none;
  opacity: .035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

/* Parallax layers are transformed through a CSS variable so they can
   keep their own rotation/position without JS overwriting it. */
[data-parallax] { will-change: transform; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 242, 236, .93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(26, 25, 23, .06); }

.header__inner {
  min-height: 76px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand__mark {
  width: 32px; height: 32px; border-radius: 3px;
  background: var(--ink); color: var(--accent);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 19px; font-weight: 600;
  line-height: 1; padding-top: 2px;
}
.brand__name {
  font-family: var(--font-display); font-weight: 600;
  font-size: 19px; letter-spacing: -.04em;
}
.brand__name sup { font-family: var(--font-body); font-size: 8px; color: var(--accent); top: -.8em; position: relative; margin-left: 1px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav > a:not(.nav__contact) {
  font-size: 14px; color: var(--ink-2);
  position: relative; transition: color .2s;
}
.nav > a:not(.nav__contact)::after {
  content: ''; position: absolute; left: 0; bottom: -5px; height: 1px; width: 0;
  background: var(--accent); transition: width .25s var(--ease);
}
.nav > a:not(.nav__contact):hover,
.nav > a.is-active { color: var(--ink); }
.nav > a:not(.nav__contact):hover::after,
.nav > a.is-active::after { width: 100%; }

.nav__contact {
  font-size: 13.5px; font-weight: 600;
  border: 1px solid var(--ink); padding: 9px 16px; border-radius: 2px;
  transition: background .25s, color .25s;
}
.nav__contact:hover { background: var(--ink); color: var(--paper); }
.nav__contact span { margin-left: 4px; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 2px;
  background: transparent; border: 1px solid var(--line);
  cursor: pointer; place-items: center; align-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 2px;
  font-size: 14.5px; font-weight: 600;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn span { transition: transform .25s var(--ease); }
.btn:hover span { transform: translate(3px, -2px); }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--accent); transform: translateY(-2px); }
.btn--text { padding-inline: 4px; color: var(--ink); border-bottom: 1px solid var(--ink); min-height: auto; padding-bottom: 3px; }
.btn--text:hover { color: var(--accent); border-color: var(--accent); }
.btn--text:hover span { transform: translateY(3px); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 600; color: var(--accent);
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.text-link span { transition: transform .25s var(--ease); }
.text-link:hover span { transform: translateX(5px); }

/* ---------- Hero ---------- */
.hero { padding-top: 96px; position: relative; overflow: hidden; }
.hero__watermark {
  position: absolute; top: 4%; left: -3%; z-index: 0;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(8rem, 21vw, 19rem); line-height: .8;
  letter-spacing: -.07em; white-space: nowrap;
  color: rgba(26, 25, 23, .035);
  transform: translate3d(0, var(--py, 0px), 0);
  pointer-events: none; user-select: none;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 80px; align-items: center;
}

/* Quiet entrance — only the first screen, not every section */
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.hero__copy > * { animation: rise .8s var(--ease) both; }
.hero__copy > *:nth-child(2) { animation-delay: .07s; }
.hero__copy > *:nth-child(3) { animation-delay: .14s; }
.hero__copy > *:nth-child(4) { animation-delay: .21s; }
.hero__copy > *:nth-child(5) { animation-delay: .28s; }
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 28px;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--accent); }

.hero h1 {
  font-size: clamp(2.9rem, 5.6vw, 4.7rem);
  line-height: 1.06; letter-spacing: -.04em;
  max-width: 720px;
}
.hero h1 em { color: var(--accent); font-style: italic; font-weight: 400; }

.hero__lead {
  margin-top: 28px; max-width: 560px;
  font-size: 17px; line-height: 1.8; color: var(--ink-2);
}
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 36px; }
.hero__note { margin-top: 22px; font-size: 13px; color: var(--muted); }

/* Note card — a small, human detail instead of a fake dashboard */
.hero__aside { position: relative; display: flex; justify-content: center; }
.note-card {
  position: relative; z-index: 2; width: 100%; max-width: 390px;
  background: #fffdf8; border: 1px solid var(--line);
  padding: 28px 30px 24px;
  transform: rotate(-1.4deg) translate3d(0, var(--py, 0px), 0);
  box-shadow: 0 18px 40px rgba(26, 25, 23, .08);
}
.note-card__head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.note-card__head span:last-child { color: var(--accent); }
.note-card__body { padding: 22px 0 18px; display: grid; gap: 16px; }
.note-card__body p { font-family: var(--font-display); font-size: 17px; line-height: 1.35; }
.note-card__body span {
  display: block; font-family: var(--font-body); font-size: 10px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 3px;
}
.note-card__foot {
  display: flex; align-items: center; gap: 6px;
  padding-top: 16px; border-top: 1px solid var(--line);
}
.note-card__foot i { width: 16px; height: 16px; border-radius: 50%; display: block; }
.note-card__foot i:nth-child(1) { background: var(--ink); }
.note-card__foot i:nth-child(2) { background: var(--accent); }
.note-card__foot i:nth-child(3) { background: #c9bda9; }
.note-card__foot small { margin-left: auto; font-size: 10.5px; color: var(--muted); }
.note-card__shadow {
  position: absolute; z-index: 1; width: 100%; max-width: 390px; height: 100%;
  border: 1px solid var(--line); background: var(--paper-2);
  transform: rotate(2.2deg) translate(10px, 8px);
}

.hero__rule {
  margin-top: 96px; padding: 18px 0;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 20px;
  font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
}
.hero__rule span:first-child { color: var(--ink); }

.hero__scroll {
  position: absolute; right: 22px; bottom: 120px; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  writing-mode: vertical-rl;
  font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted);
}
.hero__scroll i { width: 1px; height: 54px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll i::after {
  content: ''; position: absolute; inset: 0; background: var(--accent);
  animation: scrollDrop 2.4s var(--ease) infinite;
}
@keyframes scrollDrop {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section--tint { background: var(--paper-2); }

.section-label {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 20px;
}
.section-label::before {
  content: ''; width: 6px; height: 6px; background: var(--accent); flex: none;
}
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2,
.deliver__intro h2,
.about h2,
.faq__head h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem); letter-spacing: -.035em;
}
.section-intro { margin-top: 20px; font-size: 16px; line-height: 1.8; color: var(--muted); max-width: 580px; }

/* Services */
.service-list { border-top: 1px solid var(--line); }
.service {
  position: relative;
  display: grid; grid-template-columns: 64px 1fr 40px; gap: 12px;
  align-items: start; padding: 32px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .18s var(--ease), background .18s;
}
.service::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--accent); transform: scaleY(0);
  transform-origin: top; transition: transform .25s var(--ease);
}
.service:hover { padding-left: 14px; background: rgba(217, 79, 43, .025); }
.service:hover::before { transform: scaleY(1); }
.service__no { font-family: var(--font-display); font-size: 15px; color: var(--accent); padding-top: 4px; }
.service h3 { font-size: 24px; }
.service p { margin-top: 10px; font-size: 15px; line-height: 1.75; color: var(--muted); max-width: 660px; }
.service__mark { font-size: 20px; color: var(--accent); opacity: 0; transform: translate(-6px, 6px); transition: all .3s var(--ease); }
.service:hover .service__mark { opacity: 1; transform: translate(0, 0); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step { position: relative; border-top: 2px solid var(--ink); padding-top: 20px; }
.step::before {
  content: ''; position: absolute; top: -5px; left: 0;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px var(--paper-2);
}
.step__no { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--accent); }
.step h3 { font-size: 21px; margin: 16px 0 10px; }
.step p { font-size: 14.5px; line-height: 1.75; color: var(--muted); }

/* Deliverables */
.deliver { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.deliver__intro p:last-child { margin-top: 20px; font-size: 16px; line-height: 1.8; color: var(--muted); max-width: 400px; }
.deliver__list li {
  position: relative; padding: 17px 0 17px 30px;
  border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--ink-2);
  transition: padding-left .18s var(--ease), color .18s;
}
.deliver__list li:hover { padding-left: 38px; color: var(--ink); }
.deliver__list li:first-child { border-top: 1px solid var(--line); }
.deliver__list li::before {
  content: '—'; position: absolute; left: 0; top: 17px; color: var(--accent); font-weight: 700;
}

/* About */
#tentang { position: relative; overflow: hidden; }
.about { position: relative; }
.about__ghost {
  position: absolute; top: -70px; right: 2%; z-index: 0;
  font-family: var(--font-display); font-size: clamp(14rem, 28vw, 26rem);
  line-height: 1; color: rgba(217, 79, 43, .07);
  transform: translate3d(0, var(--py, 0px), 0);
  pointer-events: none; user-select: none;
}
.about > .container { position: relative; z-index: 1; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.about__text p { font-size: 16px; line-height: 1.85; color: var(--ink-2); margin-bottom: 18px; }
.about__text .text-link { margin-top: 10px; }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.faq__head > p:not(.section-label) { margin-top: 20px; font-size: 15.5px; line-height: 1.8; color: var(--muted); max-width: 340px; }
.faq__head .text-link { margin-top: 24px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-family: var(--font-display); font-size: 18px; font-weight: 500;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 18px; height: 18px; flex: none; }
.faq__icon::before, .faq__icon::after {
  content: ''; position: absolute; background: var(--ink); transition: transform .3s var(--ease), background .3s;
}
.faq__icon::before { top: 8px; left: 1px; width: 16px; height: 1.5px; }
.faq__icon::after { top: 1px; left: 8px; width: 1.5px; height: 16px; }
.faq__item[open] .faq__icon::before { background: var(--accent); }
.faq__item[open] .faq__icon::after { transform: rotate(90deg); background: var(--accent); }
.faq__answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq__item[open] .faq__answer { grid-template-rows: 1fr; }
.faq__answer p { overflow: hidden; color: var(--muted); font-size: 15px; line-height: 1.8; padding: 0 40px 0 0; }
.faq__item[open] .faq__answer p { padding-bottom: 24px; }

/* Contact */
.contact { padding-bottom: 110px; }
.contact__panel {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--paper);
  padding: 80px 72px; border-radius: 2px; text-align: center;
}
.contact__ghost {
  position: absolute; left: -2%; bottom: -14%; z-index: 0;
  font-family: var(--font-display); font-size: clamp(10rem, 24vw, 22rem);
  line-height: .8; letter-spacing: -.06em;
  color: rgba(245, 242, 236, .045);
  transform: translate3d(0, var(--py, 0px), 0);
  pointer-events: none; user-select: none;
}
.contact__panel > *:not(.contact__ghost) { position: relative; z-index: 1; }
.contact__label {
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: #f08a6c; margin-bottom: 22px;
}
.contact__panel h2 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); letter-spacing: -.04em; }
.contact__lead { margin: 20px auto 0; font-size: 16px; line-height: 1.8; color: rgba(245,242,236,.7); max-width: 540px; }
.contact__number {
  display: inline-block; margin: 38px 0 30px; padding-bottom: 10px;
  font-family: var(--font-display); font-size: clamp(2rem, 4.2vw, 3rem); letter-spacing: -.03em;
  border-bottom: 1px solid rgba(245,242,236,.3); transition: color .25s, border-color .25s;
}
.contact__number:hover { color: #f08a6c; border-color: #f08a6c; }
.contact__number span { font-size: .6em; margin-left: 8px; }
.contact__hours { margin-top: 24px; font-size: 12.5px; color: rgba(245,242,236,.5); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 50px 0; }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; align-items: flex-start; }
.brand--footer .brand__mark { background: var(--paper); color: var(--accent); border: 1px solid var(--ink); }
.footer p { margin-top: 16px; font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.footer__right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right; }
.footer__right a { font-size: 14px; font-weight: 600; }
.footer__right a:hover { color: var(--accent); }
.footer__right span { font-size: 12.5px; color: var(--muted); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .service-list > .reveal:nth-child(2) { transition-delay: .06s; }
.js .service-list > .reveal:nth-child(3) { transition-delay: .12s; }
.js .service-list > .reveal:nth-child(4) { transition-delay: .18s; }
.js .steps > .reveal:nth-child(2) { transition-delay: .07s; }
.js .steps > .reveal:nth-child(3) { transition-delay: .14s; }
.js .steps > .reveal:nth-child(4) { transition-delay: .21s; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero__grid { gap: 50px; }
  .deliver, .about__grid, .faq { gap: 50px; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 12px 24px 24px;
    transform: translateY(-120%); opacity: 0; visibility: hidden;
    transition: transform .35s var(--ease), opacity .25s, visibility .25s;
    box-shadow: 0 20px 40px rgba(26,25,23,.08);
  }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav > a:not(.nav__contact) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav > a:not(.nav__contact)::after { display: none; }
  .nav__contact { margin-top: 20px; text-align: center; }
  .nav-toggle { display: grid; }

  .hero { padding-top: 70px; }
  .hero__grid { grid-template-columns: 1fr; gap: 60px; }
  .hero__aside { max-width: 420px; margin-inline: auto; width: 100%; }
  .hero__rule { margin-top: 70px; }
  .hero__scroll { display: none; }
  .hero__watermark { font-size: clamp(7rem, 26vw, 14rem); top: 8%; }
  .about__ghost { right: -6%; }
  .section { padding: 90px 0; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 28px; }
  .deliver, .about__grid, .faq { grid-template-columns: 1fr; }
  .contact { padding-bottom: 90px; }
  .contact__panel { padding: 64px 40px; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 80px; }
  .container { width: min(100% - 2rem, var(--container)); }
  .header__inner { min-height: 68px; }
  .nav { top: 68px; }
  .hero { padding-top: 56px; }
  .hero h1 { font-size: clamp(2.5rem, 10.5vw, 3.4rem); }
  .hero__lead { font-size: 16px; }
  .hero__actions { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero__actions .btn--solid { width: 100%; }
  .note-card { padding: 24px 22px 20px; }
  .note-card__body p { font-size: 16px; }
  .hero__rule { flex-direction: column; gap: 6px; margin-top: 60px; }
  .hero__watermark { font-size: 30vw; top: 12%; opacity: .7; }
  .about__ghost { font-size: 16rem; top: -30px; right: -10%; }
  .contact__ghost { font-size: 12rem; bottom: -8%; }

  .section { padding: 76px 0; }
  .section-head { margin-bottom: 40px; }
  .service { grid-template-columns: 40px 1fr; padding: 26px 0; }
  .service__mark { display: none; }
  .service h3 { font-size: 21px; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .contact { padding-bottom: 76px; }
  .contact__panel { padding: 52px 24px; }
  .contact__number { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .footer__inner { flex-direction: column; }
  .footer__right { align-items: flex-start; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  [data-parallax] { --py: 0px !important; transform: none !important; }
  .hero__copy > * { animation: none !important; opacity: 1 !important; transform: none !important; }
  .hero__scroll i::after { animation: none !important; }
}
