/* CV Deshkara Baliksehati Jaya — single stylesheet.
   No webfonts, no framework: system fonts only, 0 external requests. */

:root {
  --ink: #14181a;
  --ink-soft: #4b5459;
  --paper: #fbfaf8;
  --surface: #ffffff;
  --line: #e3dfd8;
  --accent: #0b5d4c;
  --accent-soft: #eaf2ef;
  --radius: 4px;
  --wrap: 1080px;
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/1.65 var(--font-body);
  text-wrap: pretty;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

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

.skip {
  position: absolute; left: -9999px;
  background: var(--accent); color: #fff; padding: 12px 18px; z-index: 10;
}
.skip:focus { left: 12px; top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */

.site-head {
  border-top: 4px solid var(--accent);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky; top: 0; z-index: 5;
}
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 72px; flex-wrap: wrap; padding-block: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; min-height: 44px; }
.brand-mark { width: 38px; height: 38px; flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font: 700 17px/1.2 var(--font-display); letter-spacing: -0.01em; }
.brand-sub {
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 600;
}

.nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px;
  color: var(--ink); text-decoration: none; font-size: 16px;
  border-bottom: 2px solid transparent; border-radius: var(--radius) var(--radius) 0 0;
}
.nav a:hover { border-bottom-color: var(--accent); background: var(--accent-soft); }

.lang { display: flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.lang a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 15px; font-weight: 700; letter-spacing: 0.06em;
  padding: 10px 15px; text-decoration: none; color: var(--ink-soft); background: var(--surface);
}
.lang a[aria-current="page"] { background: var(--accent); color: #fff; }

/* ---------- hero ---------- */

.hero { position: relative; padding: clamp(48px, 9vw, 104px) 0 clamp(40px, 7vw, 80px); }

/* faint measurement grid, fading away from the top-left */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(11, 93, 76, .22) 1px, transparent 1.4px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(to bottom left, rgba(0, 0, 0, .9), transparent 58%);
  mask-image: linear-gradient(to bottom left, rgba(0, 0, 0, .9), transparent 58%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 72px); align-items: start;
}
.eyebrow {
  margin: 0 0 18px; font-size: 14px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
}
h1 {
  font: 700 clamp(2.05rem, 5.2vw, 3.35rem)/1.1 var(--font-display);
  letter-spacing: -0.02em; margin: 0 0 22px; max-width: 20ch;
}
.lede { font-size: clamp(1.05rem, 2.1vw, 1.2rem); color: var(--ink-soft); margin: 0 0 32px; max-width: 46ch; }

.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-block; padding: 15px 26px; border-radius: var(--radius);
  font-size: 16.5px; font-weight: 600; text-decoration: none; border: 1px solid var(--accent);
  min-height: 48px;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #084639; }
.btn-ghost { color: var(--accent); background: transparent; }
.btn-ghost:hover { background: var(--accent-soft); }

.facts {
  margin: 0; padding: 26px 26px 22px;
  background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent);
  border-radius: var(--radius);
}

/* hero panel: monogram plate + facts in one bordered object */
.panel {
  margin: 0; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.panel .facts { border: 0; border-top: 1px solid var(--line); border-radius: 0; }

.plate {
  position: relative; min-height: 172px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
  background: var(--accent-wash);
}
.plate .rings {
  position: absolute; top: -86px; right: -86px; width: 300px; height: 300px;
  color: var(--accent); opacity: .2; pointer-events: none;
}
.plate .mark-lg { width: 78px; height: 78px; position: relative; }
.plate .grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(11, 93, 76, .3) 1px, transparent 1.4px);
  background-size: 20px 20px;
  -webkit-mask-image: linear-gradient(to top right, rgba(0, 0, 0, .85), transparent 62%);
  mask-image: linear-gradient(to top right, rgba(0, 0, 0, .85), transparent 62%);
}
.plate .tag {
  position: relative;
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
}
.facts dt {
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: 18px;
}
.facts dt:first-of-type { margin-top: 0; }
.facts dd { margin: 4px 0 0; font-size: 17px; font-weight: 600; word-break: break-word; }
.facts dd a { font-weight: 600; }

/* ---------- sections ---------- */

section { border-top: 1px solid var(--line); padding: clamp(44px, 7vw, 76px) 0; }
.grid-2 > * { max-width: 74ch; }
.sec-label {
  margin: 0 0 14px; font-size: 14px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
}
h2 {
  font: 700 clamp(1.5rem, 3.4vw, 2.1rem)/1.2 var(--font-display);
  letter-spacing: -0.015em; margin: 0 0 20px;
}
h3 { font: 700 19px/1.35 var(--font-body); margin: 0 0 8px; letter-spacing: -0.005em; }
p { margin: 0 0 18px; }
p:last-child { margin-bottom: 0; }
.prose { max-width: 62ch; }
.prose strong { font-weight: 650; }

/* services: numbered editorial rows, not a card grid */
.rows { list-style: none; margin: 0; padding: 0; counter-reset: row; }
.rows > li {
  position: relative; counter-increment: row;
  display: grid; grid-template-columns: 58px minmax(0, 1fr);
  gap: 4px 18px; padding: 26px 0; border-bottom: 1px solid var(--line);
}
.rows > li::after {
  content: ""; position: absolute; left: 0; top: -1px;
  width: 0; height: 2px; background: var(--accent);
  transition: width .45s ease;
}
.rows > li:hover::after { width: 100%; }
.rows > li:first-child { border-top: 1px solid var(--line); }
.rows .num {
  grid-row: span 2; padding-top: 2px;
  font: 700 15px/1.7 var(--font-body); letter-spacing: 0.04em; color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.rows p { color: var(--ink-soft); margin: 0; font-size: 17px; }

/* process: numbered steps on a connecting rail */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; position: relative; }
.steps > li {
  counter-increment: s; position: relative;
  display: grid; grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px; padding-bottom: 26px;
}
.steps > li:last-child { padding-bottom: 0; }
.steps > li:not(:last-child)::after {
  content: ""; position: absolute; left: 16.5px; top: 36px; bottom: 4px;
  width: 1px; background: var(--line);
}
.steps > li::before {
  content: counter(s); display: grid; place-items: center; position: relative;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent-soft); border: 1px solid var(--accent); color: var(--accent);
  font: 700 15px/1 var(--font-body);
  font-variant-numeric: tabular-nums;
}
.steps p { margin: 0; font-size: 17px; color: var(--ink-soft); }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { padding-left: 30px; position: relative; font-size: 17px; }
.ticks li::before {
  content: ""; position: absolute; left: 4px; top: 11px;
  width: 12px; height: 7px; border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent); transform: rotate(-45deg);
}

/* contact */
.contact { background: var(--surface); }
.contact .mailto { margin-bottom: 26px; }
.mailto {
  display: inline-block; font: 700 clamp(1.2rem, 3.6vw, 1.9rem)/1.3 var(--font-display);
  letter-spacing: -0.01em; margin: 6px 0 22px; word-break: break-word;
}
.note { font-size: 15.5px; color: var(--ink-soft); margin-top: 22px; }

/* inline text links: hit area >= 24px without breaking vertical rhythm */
.facts dd a, .note a, .site-foot a { display: inline-block; padding-block: 5px; margin-block: -5px; }

/* footer */
.site-foot { border-top: 1px solid var(--line); padding: 34px 0 44px; font-size: 15.5px; color: var(--ink-soft); }
.site-foot .wrap {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 20px 32px;
}
.site-foot .brand-mark { width: 34px; height: 34px; }
.site-foot .brand-name { font-size: 15.5px; }
.site-foot .brand-sub { font-size: 12px; }
.foot-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; }

/* ---------- mobile ---------- */

@media (max-width: 860px) {
  body { font-size: 17px; }
  .hero .wrap { grid-template-columns: 1fr; align-items: start; gap: 36px; }
  .grid-2 { grid-template-columns: 1fr; gap: 18px; }
  h1 { max-width: none; }
  .nav { gap: 2px; margin-inline: -12px; }
  .nav a { padding: 8px 12px; font-size: 16.5px; }
  .site-head .wrap { min-height: 0; }
  .rows > li { grid-template-columns: 44px minmax(0, 1fr); padding: 22px 0; }
  .steps > li { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding-bottom: 22px; }
  .steps > li:not(:last-child)::after { left: 15.5px; top: 34px; }
  .facts { padding: 22px; }
  .plate { min-height: 152px; gap: 12px; }
  .plate .mark-lg { width: 62px; height: 62px; }
  .plate .tag { font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rows > li::after { transition: none; }
}

@media print {
  .site-head, .actions { display: none; }
  body { background: #fff; font-size: 12pt; }
}
