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

:root {
  /* ink — warm near-blacks, never pure grey */
  --ink: #1a1613;
  --ink-soft: #554e46;
  --ink-faint: #6a6158;

  /* paper */
  --paper: #faf8f4;
  --surface: #ffffff;
  --band: #f2ece4;          /* tinted section — gives the page a chapter break */
  --line: #e6ded3;
  --line-soft: #ece5dc;

  /* brand */
  --accent: #96482a;
  --accent-deep: #7a3a22;
  --accent-soft: #f6ece5;
  --dark: #241e18;          /* the colour block: warm charcoal, not black */
  --on-dark: #e8ded2;
  --on-dark-soft: #c9bdb0;

  --radius: 3px;
  --wrap: 1100px;
  --rule: 1px solid var(--line);

  --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;

  /* one scale, reused — stops every block inventing its own size */
  --label: 0.8125rem;   /* 13px uppercase labels */
  --body-md: 1.0625rem; /* 17px */
}

* { 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.62 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 28px; }

/* the one uppercase label style, used everywhere a label is needed */
.lbl {
  margin: 0; font: 700 var(--label)/1.4 var(--font-body);
  letter-spacing: 0.14em; text-transform: uppercase;
}

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

.site-head {
  background: var(--paper);
  border-bottom: var(--rule);
  position: sticky; top: 0; z-index: 5;
}
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px 26px; min-height: 76px; flex-wrap: wrap; padding-block: 12px;
}

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; min-height: 44px; }
.brand-mark { width: 36px; height: 36px; flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; gap: 1px; }
.brand-name { font: 700 17px/1.2 var(--font-display); letter-spacing: -0.012em; }
.brand-sub {
  font: 700 11.5px/1.3 var(--font-body);
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-faint);
}

.nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 13px;
  color: var(--ink-soft); text-decoration: none; font-size: 15.5px; font-weight: 500;
  border-radius: var(--radius);
}
.nav a:hover { color: var(--accent); background: var(--accent-soft); }

.lang { display: flex; gap: 2px; padding: 3px; background: var(--band); border-radius: var(--radius); }
.lang a {
  display: inline-flex; align-items: center; min-height: 38px;
  font: 700 13px/1 var(--font-body); letter-spacing: 0.07em;
  padding: 10px 14px; border-radius: 2px; text-decoration: none; color: var(--ink-soft);
}
.lang a:hover { color: var(--ink); }
.lang a[aria-current="page"] { background: var(--accent); color: #fff; }

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

.hero { position: relative; padding: clamp(52px, 8.5vw, 110px) 0 clamp(44px, 6.5vw, 86px); }

/* faint dot grid fading down-right — texture, not ornament */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(150, 72, 42, .18) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(to bottom right, #000, transparent 52%);
  mask-image: linear-gradient(to bottom right, #000, transparent 52%);
}
.hero .wrap {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(292px, 1fr);
  gap: clamp(34px, 5.5vw, 78px); align-items: start;
}

.eyebrow { color: var(--accent); margin: 0 0 20px; }

h1 {
  font: 700 clamp(2.15rem, 5.6vw, 3.7rem)/1.06 var(--font-display);
  letter-spacing: -0.028em; margin: 0 0 24px; max-width: 17ch;
}
.lede {
  font-size: clamp(1.05rem, 1.8vw, 1.16rem); line-height: 1.6;
  color: var(--ink-soft); margin: 0 0 34px; max-width: 44ch;
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; min-height: 50px; padding: 14px 26px;
  border: 1px solid var(--accent); border-radius: var(--radius);
  font-size: 16.5px; font-weight: 600; text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost { color: var(--accent); }
.btn-ghost:hover { background: var(--accent-soft); }

/* hero panel: dark colour block over the facts, one object */
.panel {
  margin: 0; background: var(--surface);
  border: var(--rule); border-radius: var(--radius);
  overflow: hidden;
}
.plate {
  display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
  padding: 30px 28px 28px;
  background: var(--dark);
}
.plate .mark-lg { width: 54px; height: 54px; }
.plate .tag {
  color: var(--on-dark-soft); font: 700 var(--label)/1.4 var(--font-body);
  letter-spacing: 0.14em; text-transform: uppercase;
}
.plate .tag .t1 {
  display: block; font: 700 20px/1.25 var(--font-display);
  letter-spacing: -0.012em; color: #fff; text-transform: none;
  margin-bottom: 4px;
}

.facts { margin: 0; padding: 24px 28px 26px; }
.facts div { padding-top: 18px; }
.facts div:first-child { padding-top: 0; }
.facts dt {
  font: 700 var(--label)/1.4 var(--font-body);
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-faint);
}
.facts dd { margin: 5px 0 0; font-size: 16.5px; font-weight: 600; overflow-wrap: anywhere; }

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

section { border-top: var(--rule); padding: clamp(48px, 6.5vw, 86px) 0; }

.sec-head { margin: 0 0 36px; }
.sec-head .lbl { color: var(--accent); margin-bottom: 15px; }

h2 {
  font: 700 clamp(1.5rem, 3vw, 2.05rem)/1.18 var(--font-display);
  letter-spacing: -0.018em; margin: 0; max-width: 24ch;
}
h3 { font: 700 18.5px/1.38 var(--font-body); margin: 0 0 7px; letter-spacing: -0.006em; }
p { margin: 0 0 18px; }
p:last-child { margin-bottom: 0; }
.prose { max-width: 64ch; }
.prose strong { font-weight: 650; }

/* about: two text columns on wide screens — magazine, not a narrow stack */
.about-body { columns: 2; column-gap: clamp(32px, 5vw, 66px); max-width: 82ch; }
.about-body p { break-inside: avoid; }

/* services sit on a tinted band, giving the page a real chapter break */
.band { background: var(--band); border-top-color: var(--line-soft); }
.band .rows > li { border-color: rgba(150, 72, 42, .2); }

.rows { list-style: none; margin: 0; padding: 0; }
.rows > li {
  position: relative;
  display: grid; grid-template-columns: 64px minmax(0, 1fr);
  gap: 4px 20px; padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.rows > li:first-child { border-top: 1px solid var(--line); }
.rows > li::after {
  content: ""; position: absolute; left: 0; top: -1px;
  width: 0; height: 2px; background: var(--accent);
  transition: width .5s cubic-bezier(.2, .7, .3, 1);
}
.rows > li:hover::after { width: 100%; }
.rows .num {
  grid-row: span 2; padding-top: 3px;
  font: 700 14px/1.7 var(--font-body); letter-spacing: 0.06em;
  color: var(--accent); font-variant-numeric: tabular-nums;
}
.rows p { margin: 0; font-size: var(--body-md); color: var(--ink-soft); max-width: 62ch; }

/* process: rail on narrow screens, four columns on wide */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps > li {
  counter-increment: s; position: relative;
  display: grid; grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px; padding-bottom: 28px;
}
.steps > li:last-child { padding-bottom: 0; }
.steps > li:not(:last-child)::after {
  content: ""; position: absolute; left: 17px; top: 38px; bottom: 6px;
  width: 1px; background: var(--line);
}
.steps > li::before {
  content: counter(s, decimal-leading-zero);
  display: grid; place-items: center; position: relative;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font: 700 12.5px/1 var(--font-body); font-variant-numeric: tabular-nums;
}
.steps p { margin: 0; font-size: var(--body-md); color: var(--ink-soft); max-width: 52ch; }

/* ---------- contact: full colour block ---------- */

.contact { background: var(--dark); border-top-color: var(--dark); }
.contact .lbl { color: var(--on-dark-soft); }
.contact h2 { color: #fff; max-width: 20ch; }
.contact .prose { color: var(--on-dark); }
.contact a { color: #fff; }
.contact .mailto {
  display: inline-block; margin: 4px 0 28px;
  font: 700 clamp(1.25rem, 3.4vw, 1.95rem)/1.25 var(--font-display);
  letter-spacing: -0.018em; overflow-wrap: anywhere;
  text-decoration-color: rgba(255, 255, 255, .4);
}
.contact .btn { border-color: #fff; }
.contact .btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.contact .btn-primary:hover { background: var(--accent-deep); }
.contact .btn-ghost { color: #fff; }
.contact .btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.contact .note { color: var(--on-dark-soft); margin-top: 28px; }

/* ---------- footer ---------- */

.site-foot { border-top: var(--rule); padding: 36px 0 48px; font-size: 15.5px; color: var(--ink-soft); }
.site-foot .wrap {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 22px 34px;
}
.site-foot .brand-mark { width: 32px; height: 32px; }
.site-foot .brand-name { font-size: 15px; }
.site-foot .brand-sub { font-size: 10.5px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-foot nav a { color: var(--ink-soft); text-decoration: none; }
.site-foot nav a:hover { color: var(--accent); text-decoration: underline; }
.foot-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; }
.note { font-size: 15.5px; color: var(--ink-soft); }

/* 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; }

/* ---------- wide: process becomes four columns ---------- */

@media (min-width: 900px) {
  .steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps > li {
    display: block; padding: 22px 26px 0 0; border-top: 2px solid var(--line);
  }
  .steps > li::before { margin-bottom: 16px; }
  .steps > li:not(:last-child)::after { display: none; }
  .steps > li:first-child { border-top-color: var(--accent); }
  .steps p { max-width: none; }
}

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

@media (max-width: 880px) {
  body { font-size: 17px; }
  .wrap { padding: 0 22px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 38px; }
  h1 { max-width: none; }
  .site-head .wrap { min-height: 0; }
  .nav { gap: 0; margin-inline: -13px; }
  .about-body { columns: 1; }
  .rows > li { grid-template-columns: 48px minmax(0, 1fr); padding: 22px 0; }
  .plate { padding: 26px 22px 24px; }
  .facts { padding: 22px 22px 24px; }
}

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

@media print {
  .site-head, .actions { display: none; }
  body { background: #fff; font-size: 12pt; }
  .contact, .band { background: #fff; }
  .contact h2, .contact .prose, .contact .note, .contact .lbl { color: #000; }
}