:root {
  color-scheme: light;
  --paper: #f8f8f2;
  --ink: #202a21;
  --muted: #525c50;
  --line: #d9ddd1;
  --forest: #1c3024;
  --lime: #e2f49f;
  --wrap: 72rem;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; }
p, h1, h2, h3 { margin: 0; }
a:focus-visible { outline: 2px solid #497e3b; outline-offset: 5px; }
.contact a:focus-visible { outline-color: var(--lime); }
.wrap { width: min(var(--wrap), calc(100% - 5rem)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 2; top: 1rem; left: 1rem; padding: .65rem; background: var(--paper); transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer { display: flex; justify-content: space-between; align-items: center; }
.header-inner { min-height: 5rem; gap: 1rem; }
.wordmark, nav a { text-decoration: none; }
.wordmark { display: inline-flex; align-items: center; gap: .7rem; font-weight: 700; letter-spacing: -.025em; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  flex: 0 0 auto;
  border-radius: .55rem;
  color: var(--lime);
  background: var(--forest);
  font-size: .72rem;
  letter-spacing: .04em;
}
nav { display: flex; align-items: center; gap: 1.75rem; }
nav a { font-size: .9rem; font-weight: 600; }
nav a:hover, .footer a:hover { color: #486343; }
.nav-contact { border: 1px solid var(--line); border-radius: 100vw; padding: .55rem 1rem; transition: background .2s; }
.nav-contact:hover { background: #e9eddf; }

.hero { display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; padding-block: 4.5rem; }
.eyebrow { display: flex; align-items: center; gap: .55rem; color: #476144; font-size: .875rem; font-weight: 700; letter-spacing: .095em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: .9rem; height: 2px; background: currentColor; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.065em; }
h1 { font-size: clamp(3rem, 5.1vw, 4.6rem); line-height: .99; margin-block: 1.1rem 1.4rem; text-wrap: balance; }
.lede { max-width: 34rem; color: var(--muted); font-size: 1.125rem; line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.hero .actions { margin-top: 1.75rem; }
.button {
  min-height: 3.125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .65rem 1.25rem;
  border: 1px solid transparent;
  border-radius: .65rem;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .22s ease, border-color .22s ease, transform .22s ease;
}
a.button:hover { transform: translateY(-2px); }
.primary { background: var(--forest); color: #fff; }
a.primary:hover { background: #324e38; }
.outline { border-color: var(--line); }
a.outline:hover { background: #ecefe3; border-color: #a6b19d; }

.hero-art {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1.14;
  border-radius: 1rem;
  background: radial-gradient(ellipse at 54% 36%, #4c6848 0%, #253e2c 49%, #14291d 100%);
}
.art-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(#e2f49f18 1px, transparent 1px), linear-gradient(90deg, #e2f49f18 1px, transparent 1px);
  background-size: 9% 10%;
  background-position: center;
  mask-image: radial-gradient(ellipse, #000, #0005 83%);
}
.art-corner { position: absolute; width: 1rem; height: 1rem; border-color: #cde8a1; border-style: solid; opacity: .7; }
.top-left { top: 1.25rem; left: 1.25rem; border-width: 1px 0 0 1px; }
.bottom-right { bottom: 1.25rem; right: 1.25rem; border-width: 0 1px 1px 0; }
.hero-object { position: absolute; inset: 0; filter: drop-shadow(0 1.6rem 1.3rem #0d1b1280); }
.orbit { position: absolute; border-radius: 50%; translate: -50% -50%; top: 50%; left: 50%; }
.orbit-outer {
  width: 79%;
  height: 56%;
  transform: rotate(-35deg);
  border: 1px solid #beeea980;
  box-shadow: inset 0 0 1.25rem #baf09527, 0 0 1.5rem #c3ed9225;
}
.orbit-mid {
  width: 69%;
  height: 39%;
  transform: rotate(-35deg);
  border: 1px solid #d5f5a9;
  background: conic-gradient(from 10deg, #c4e99715, #dafdaab0, #6ea87340, #d8f6a41f, #e8ffaeac, #c4e99715);
  box-shadow: inset 0 0 1.3rem #e9ffc747, 0 0 1rem #c3ed924f;
}
.orbit-inner {
  width: 62%;
  height: 35%;
  transform: rotate(39deg);
  border: 1px solid #d2efa58f;
  background: linear-gradient(135deg, #a3d98b17, #b0d98521 50%, #d3efa363);
  z-index: 2;
}
.orb {
  position: absolute;
  width: 34%;
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #faffd7 0%, #d2ed9c 18%, #8ab77c 38%, #345e42 70%, #b2dc83 100%);
  box-shadow: inset -.25rem -.35rem .85rem #e2f49f7e, 0 1rem 2rem #1c352f88;
}

.work { border-top: 1px solid var(--line); padding-block: 2.65rem 5rem; }
#proyek, #kontak { scroll-margin-top: 1.5rem; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .7rem 1.5rem; margin-bottom: 1.6rem; }
h2 { font-size: clamp(2.25rem, 4vw, 3.5rem); line-height: 1.05; }
.section-heading p { color: var(--muted); font-size: .95rem; line-height: 1.6; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.project-card { overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: #fcfcf7; transition: border-color .25s, box-shadow .25s; }
.project-card:hover { border-color: #a6b19d; box-shadow: 0 .5rem 1.4rem #293b2310; }
.project-visual { aspect-ratio: 1.8; overflow: hidden; background: #e7eadf; }
.project-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.project-art { height: 100%; display: grid; place-items: center; overflow: hidden; }
.project-placeholder {
  background: url("./mark.svg") center / 3rem no-repeat, radial-gradient(ellipse at 45% 40%, #f0f3e4, #d6dfce);
}
.art-sheets { background: radial-gradient(ellipse at 36% 16%, #eaf6d9, #b8d5aa); color: #233e30; --art-accent: #4e8d68; --art-line: #d8e6d7; }
.art-marketplace { background: radial-gradient(ellipse at 66% 20%, #ffedcd, #e0bc92); color: #513821; --art-accent: #b87537; --art-line: #ead7bf; }
.art-warehouse { background: radial-gradient(ellipse at 38% 16%, #e5edf9, #b3c5e3); color: #293c61; --art-accent: #5676a8; --art-line: #d5e0f2; }
.art-links { background: radial-gradient(ellipse at 65% 18%, #efebfa, #cfc4e8); color: #382959; --art-accent: #8765ae; --art-line: #e6ddf4; }
.mini-window {
  width: 73%;
  height: 75%;
  overflow: hidden;
  border-radius: .65rem;
  border: 1px solid #ffffffb0;
  background: #fdfdf8;
  box-shadow: 0 .85rem 2rem #302e3b35;
  transition: transform .45s cubic-bezier(.2,.65,.3,1);
}
.project-card:hover .mini-window { transform: translateY(-3px); }
.mini-heading { display: flex; align-items: center; gap: .5rem; min-width: 0; font-size: clamp(.75rem, 1.55vw, 1.15rem); }
.mini-heading strong { min-width: 0; }
.mini-pill { margin-left: auto; padding: .25em .55em; border-radius: 1rem; background: var(--art-line); white-space: nowrap; font-size: .65em; font-weight: 700; }
.art-icon { display: grid; width: 1.4em; aspect-ratio: 1; flex: 0 0 auto; place-items: center; border-radius: .3em; background: var(--art-accent); color: #fff; }
.art-icon::before { content: ""; width: 55%; height: 52%; border: 1px solid currentColor; border-radius: 1px; }
.sheet-icon::before { background: linear-gradient(90deg, transparent 43%, #fff 43% 57%, transparent 57%), linear-gradient(transparent 43%, #fff 43% 57%, transparent 57%); }
.shop-icon::before { box-shadow: 0 -.18em currentColor; }
.warehouse-icon::before { background: linear-gradient(transparent 45%, currentColor 45% 55%, transparent 55%); }
.portal-icon::before { width: 58%; height: 33%; border-radius: 10em; transform: rotate(-35deg); }

.sheet-window, .warehouse-window { display: grid; gap: 9%; padding: 5%; }
.sheet-window { grid-template-rows: auto 22% 1fr; }
.sheet-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4%; }
.sheet-tiles span, .stock-list span { display: flex; align-items: center; padding-inline: .45em; border: 1px solid var(--art-line); border-radius: .3rem; font-size: clamp(.52rem, 1.1vw, .83rem); font-weight: 600; white-space: nowrap; }
.sheet-tiles span { background: #f3f8ee; }
.sheet-body { display: grid; grid-template-columns: 1.4fr 1fr; min-height: 0; gap: 5%; }
.art-chart {
  display: flex;
  align-items: end;
  gap: 6%;
  padding: 5% 6% 0;
  background: repeating-linear-gradient(0deg, #fff 0 19%, var(--art-line) 19% 20%);
  border: 1px solid var(--art-line);
  border-radius: .3rem;
}
.art-chart span { width: 100%; height: 35%; border-radius: .2rem .2rem 0 0; background: #83ad88; transform-origin: bottom; }
.art-chart span:nth-child(2n) { height: 56%; --motion-delay: .12s; }
.art-chart span:nth-child(3n) { height: 75%; --motion-delay: .22s; }
.art-chart span:last-child { height: 90%; background: var(--art-accent); --motion-delay: .32s; }
.cell-grid { position: relative; min-height: 0; border: 1px solid var(--art-line); border-radius: .3rem; overflow: hidden; background: linear-gradient(var(--art-line) 1px, transparent 1px) 0 0 / 100% 25%, linear-gradient(90deg, var(--art-line) 1px, #fff 1px) 0 0 / 25% 100%; }

.pipeline { display: grid; width: 85%; grid-template-columns: 29% 15% 56%; align-items: center; }
.pipeline-source { display: grid; justify-items: center; gap: .5rem; padding: .65em .2em; border: 1px solid #ffffffbc; border-radius: .55rem; background: #fff8eb; box-shadow: 0 .3rem .9rem #64451d20; font-size: clamp(.6rem, 1.5vw, 1rem); font-weight: 700; }
.pipeline-track { height: 2px; background: repeating-linear-gradient(90deg, #a15f24 0 4px, transparent 4px 8px); position: relative; }
.pipeline-track span { position: absolute; top: 50%; left: 48%; width: .48rem; height: .48rem; translate: -50% -50%; border-radius: 50%; background: #9a521e; box-shadow: 0 0 .25rem #fff; }
.pipeline-sheet { display: grid; width: 100%; height: auto; aspect-ratio: 1.47; padding: 7%; grid-template-rows: auto 1fr auto; gap: 8%; }
.pipeline-status { font-size: clamp(.52rem, 1.12vw, .82rem); font-weight: 700; }
.active-cell { position: absolute; width: 25%; height: 25%; top: 25%; left: 50%; border: 1px solid #a86835; background: #e9b57582; }

.warehouse-window { grid-template-rows: auto 1fr; }
.warehouse-body { display: grid; min-height: 0; grid-template-columns: 1.22fr 1fr; gap: 8%; }
.shelf { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 7%; align-items: end; padding: 9%; border-radius: .35rem; background: repeating-linear-gradient(#e9eff9 0 46%, #a0b7d6 46% 50%); }
.shelf span { height: 70%; border-radius: .2rem .2rem .1rem .1rem; background: linear-gradient(110deg, #7694be, #5979aa); transform-origin: bottom; }
.shelf span:nth-child(even) { height: 90%; background: linear-gradient(110deg, #b9cbe1, #8aa7cf); --motion-delay: .12s; }
.shelf span:nth-child(n+3) { --motion-delay: .25s; }
.stock-list { display: grid; gap: 8%; }
.stock-list span { gap: .5em; background: #f3f6fc; }
.stock-list i { width: .55em; height: .55em; border-radius: 50%; background: var(--art-accent); }

.portal-window { display: grid; width: 54%; height: 83%; grid-template-rows: auto 1fr; gap: 9%; padding: 3% 5%; }
.portal-heading { display: flex; align-items: center; justify-content: center; gap: .4em; font-size: clamp(.75rem, 1.5vw, 1.1rem); }
.portal-links { display: grid; gap: 8%; min-height: 0; }
.portal-links span { display: grid; place-items: center; border: 1px solid var(--art-line); border-radius: .3rem; background: #f5f0fc; font-size: clamp(.55rem, 1.1vw, .86rem); font-weight: 600; }
.portal-links span:nth-child(2) { --motion-delay: .21s; }
.portal-links span:nth-child(3) { --motion-delay: .42s; }
.project-copy { padding: 1.35rem 1.5rem 1.55rem; }
.project-copy h3 { margin-block: .35rem .6rem; font-size: 1.75rem; line-height: 1.1; }
.project-copy p { color: var(--muted); line-height: 1.6; }
.project-copy .project-type { font-size: .875rem; font-weight: 700; color: #496144; }
.text-link { display: inline-block; margin-top: 1rem; font-size: .95rem; font-weight: 700; text-underline-offset: .25em; }

.services { border-top: 1px solid var(--line); padding-block: 2.65rem 4rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.service-grid li { border: 1px solid var(--line); border-radius: .8rem; padding: 1.35rem; background: #fcfcf7; }
.service-grid h3 { font-size: 1.3rem; letter-spacing: -.04em; }
.service-grid p { margin-top: .55rem; color: var(--muted); line-height: 1.6; }

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.6rem, 4.6vw, 3.75rem);
  border-radius: 1rem;
  color: #f9fbf3;
  background: radial-gradient(ellipse at 93% 0%, #3c583c, var(--forest) 60%);
}
.contact h2 { max-width: 12em; margin-block: .85rem .65rem; }
.contact p { line-height: 1.6; }
.contact .eyebrow { color: var(--lime); }
.contact-copy > p:last-child, .contact-note { color: #d5dfd1; }
.contact-actions { flex: 0 0 auto; }
.contact-note { margin-top: .7rem; font-size: .875rem; }
.light { color: var(--forest); background: var(--lime); }
.light-outline { border-color: #a9ba9e; color: #f9fbf3; }
a.light:hover { background: #f0ffc1; }
a.light-outline:hover { background: #ffffff18; }
.unavailable { opacity: .8; }
.contact-icon { position: relative; display: inline-block; width: .95rem; height: .68rem; border: 1.5px solid currentColor; border-radius: .15rem; }
.mail-icon::before { content: ""; position: absolute; top: 0; left: 22%; width: 55%; height: 68%; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translate(-12%, -17%); }
.chat-icon { height: .8rem; border-radius: .3rem .3rem .3rem .08rem; }
.linkedin-icon { display: grid; place-items: center; width: .85rem; height: .85rem; }
.linkedin-icon::before { content: "in"; font-size: .59rem; line-height: 1; font-weight: 800; }
.footer { padding-block: 1.65rem; gap: .75rem; color: var(--muted); font-size: .875rem; }
.footer a { text-underline-offset: .2em; }

@media (max-width: 58rem) {
  .wrap { width: calc(100% - 3.5rem); }
  .hero { gap: 2rem; padding-block: 3.5rem; }
  h1 { font-size: clamp(2.6rem, 6.4vw, 4rem); }
}
@media (max-width: 44rem) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { min-height: 4.2rem; }
  nav { gap: 1rem; }
  .hero { grid-template-columns: 1fr; padding-block: 2.75rem; }
  .hero-art { aspect-ratio: 1.45; }
  .work { padding-block: 2rem 3rem; }
  .project-grid { grid-template-columns: 1fr; }
  .mini-heading { font-size: clamp(.75rem, 3vw, 1.15rem); }
  .services { padding-block: 2rem 3rem; }
  .service-grid { grid-template-columns: 1fr; gap: .75rem; }
}
@media (max-width: 52rem) {
  .contact { flex-direction: column; align-items: flex-start; gap: 1.4rem; }
}
@media (max-width: 24rem) {
  .wordmark { font-size: .9rem; }
  nav { gap: .55rem; }
  .nav-contact { padding-inline: .6rem; }
  .contact-actions { width: 100%; }
  .contact-actions .actions { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: arrive .65s cubic-bezier(.2,.65,.3,1) both; }
  .hero-object { animation: arrive .85s .08s cubic-bezier(.2,.65,.3,1) both; }
  .is-visible .art-chart span { animation: grow-bar .8s cubic-bezier(.2,.65,.3,1) var(--motion-delay, 0s) backwards; }
  .is-visible .pipeline-track span { animation: flow 1.1s ease-in-out 2; }
  .is-visible .active-cell { animation: sync-cell 1.1s ease 2; }
  .is-visible .shelf span { animation: stock-in .65s cubic-bezier(.2,.65,.3,1) var(--motion-delay, 0s) backwards; }
  .is-visible .portal-links span { animation: highlight-link .75s ease-out var(--motion-delay, 0s); }
}
@keyframes arrive {
  from { opacity: .35; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes grow-bar { from { transform: scaleY(.2); } }
@keyframes flow {
  0% { left: 0; opacity: 0; }
  20%, 80% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
@keyframes sync-cell { 0%, 55% { opacity: .35; } 85% { opacity: 1; } }
@keyframes stock-in { from { opacity: .35; transform: translateY(-.45rem) scale(.85); } }
@keyframes highlight-link { 45% { background: #e2d2f4; transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
