/* ============================================================
   Zuhry — zuhry.web.id
   Editorial software-engineer profile
   ============================================================ */

:root {
  --paper: #f4efe6;
  --paper-2: #ece5d7;
  --paper-3: #e4dbc9;
  --ink: #101512;
  --ink-2: #1a211b;
  --muted: #5f665f;
  --line: rgba(16, 21, 18, 0.14);
  --line-strong: rgba(16, 21, 18, 0.28);
  --accent: #dd5426;
  --accent-deep: #b83f18;
  --lime: #c9ef6b;
  --cream: #f4efe6;
  --white: #fbf8f2;
  --dark: #0e1410;
  --dark-2: #151d17;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

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

/* subtle paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.32;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }

a { color: inherit; }

::selection {
  background: var(--lime);
  color: var(--ink);
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: min(100% - 48px, var(--wrap));
  margin-inline: auto;
}

/* ============ HEADER ============ */

.site-head {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-head.is-scrolled {
  background: rgba(244, 239, 230, 0.86);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--line);
}

.head-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1;
  padding-bottom: 2px;
  transition: transform 0.35s var(--ease), background 0.25s;
}
.brand:hover .brand-mark { transform: rotate(-8deg); background: var(--accent); }

.brand-text {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.brand-text span {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: var(--ink); background: rgba(16, 21, 18, 0.055); }
.nav a.is-active { color: var(--ink); }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s;
}
.btn svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }

.btn-ink {
  background: var(--ink);
  color: var(--cream);
}
.btn-ink:hover { background: var(--accent); color: var(--white); }

.btn-accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 12px 28px -14px rgba(221, 84, 38, 0.75);
}
.btn-accent:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -16px rgba(221, 84, 38, 0.8);
}

.head-cta { padding: 12px 20px; font-size: 0.82rem; }

.nav-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 23px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ============ HERO ============ */

.hero {
  position: relative;
  padding: 160px 0 84px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: -180px;
  right: -140px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 239, 107, 0.34), rgba(201, 239, 107, 0) 68%);
  pointer-events: none;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 26px;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(221, 84, 38, 0.14);
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.1rem, 6.2vw, 5.7rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero h1 em,
.section-head h2 em,
.contact h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--accent);
}

.lede {
  max-width: 33rem;
  margin: 28px 0 0;
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.75;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.2s, color 0.2s;
}
.text-link span { transition: transform 0.3s var(--ease); }
.text-link:hover { color: var(--accent); border-color: var(--accent); }
.text-link:hover span { transform: translateY(3px); }

.hero-meta {
  display: flex;
  gap: 0;
  margin: 52px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.hero-meta li {
  flex: 1;
  padding: 18px 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-meta li + li {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.hero-meta strong {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 400;
  line-height: 1;
}
.hero-meta span {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* --- photo --- */

.hero-visual { justify-self: end; width: 100%; max-width: 460px; }

.photo-frame {
  position: relative;
  padding: 0 14px 14px 0;
}

.photo-accent {
  position: absolute;
  inset: 18px 0 0 18px;
  border-radius: 220px 220px 22px 22px;
  background: var(--lime);
  transform: rotate(-3deg);
}

.photo {
  position: relative;
  margin: 0;
  border-radius: 220px 220px 22px 22px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--paper-3);
  box-shadow: 0 30px 70px -40px rgba(16, 21, 18, 0.55);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  transition: transform 1.2s var(--ease);
}
.photo-frame:hover .photo img { transform: scale(1.03); }

.float-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 15px 18px;
  background: rgba(251, 248, 242, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(16, 21, 18, 0.1);
  border-radius: 16px;
  box-shadow: 0 22px 44px -28px rgba(16, 21, 18, 0.5);
}
.float-card--top {
  top: 54px;
  right: -26px;
  min-width: 158px;
}
.float-kicker {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.float-card strong { font-size: 0.98rem; letter-spacing: -0.02em; }
.float-sub { font-size: 0.71rem; color: var(--muted); line-height: 1.45; }

.float-card--bottom {
  left: -30px;
  bottom: 46px;
  max-width: 210px;
  gap: 7px;
}
.float-badge {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--lime);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============ TICKER ============ */

.ticker {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: 17px 0;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.ticker span {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============ SECTIONS ============ */

.section { padding: clamp(80px, 10vw, 128px) 0; }
.section--line { border-top: 1px solid var(--line); }

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker span {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 22px;
  padding: 0 7px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.kicker--light { color: rgba(244, 239, 230, 0.55); }
.kicker--light span { border-color: rgba(244, 239, 230, 0.3); color: var(--lime); }

.section-head h2 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(2.2rem, 4.1vw, 3.6rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: clamp(48px, 6vw, 76px);
}
.section-head--row h2 { max-width: 16ch; }

.section-note {
  max-width: 24rem;
  margin: 0 0 6px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--muted);
  text-align: right;
}

/* ============ ABOUT ============ */

.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

.about-body p { margin: 0 0 20px; color: var(--muted); font-size: 1.02rem; line-height: 1.78; }
.about-body .about-lead {
  font-size: clamp(1.12rem, 1.5vw, 1.28rem);
  line-height: 1.68;
  color: var(--ink);
  letter-spacing: -0.012em;
}

.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
  margin: 36px 0 34px;
  border-top: 1px solid var(--line);
}
.about-facts div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.about-facts span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.about-facts strong { font-size: 0.94rem; font-weight: 600; letter-spacing: -0.01em; }

.about-cv { margin: 0 0 30px; }

.signature {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--ink);
  transform: rotate(-4deg);
  transform-origin: left;
}

/* ============ SERVICES ============ */

.services { border-top: 1px solid var(--line-strong); }

.service {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 28px;
  align-items: start;
  padding: 34px 20px 34px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, padding-left 0.3s var(--ease);
}
.service:hover { background: rgba(16, 21, 18, 0.035); padding-left: 20px; }

.service-num {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--accent);
  padding-top: 4px;
}
.service-main h3 {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.service-main p {
  margin: 0;
  max-width: 40rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tags li {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
}
.service .tags { justify-content: flex-end; max-width: 230px; padding-top: 4px; }

/* ============ WORK ============ */

.works { display: flex; flex-direction: column; gap: clamp(56px, 8vw, 96px); }

.work {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.work--flip .work-visual { order: 2; }
.work--flip .work-copy { order: 1; }

.work-visual {
  position: relative;
  padding: clamp(22px, 3vw, 40px);
  border-radius: 22px;
  overflow: hidden;
  min-height: 340px;
  display: grid;
  place-items: center;
}
.work-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(16, 21, 18, 0.08);
  pointer-events: none;
}
.work-visual--asera { background: linear-gradient(140deg, #dbe6d6, #eae3cf); }
.work-visual--simkeu { background: linear-gradient(140deg, #e0dcec, #ece5d7); }
.work-visual--chocofun { background: linear-gradient(140deg, #f3d3c8, #f7e4d2); }
.work-visual--klinik { background: linear-gradient(140deg, #d7e5e6, #e8e2d4); }

.work-copy { max-width: 30rem; }

.work-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.work-year {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--accent);
}
.work-tag {
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.work-copy h3 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.work-title {
  margin: 0 0 12px !important;
  font-size: 1.02rem !important;
  font-weight: 600;
  color: var(--ink) !important;
  letter-spacing: -0.015em;
  line-height: 1.5 !important;
}
.work-copy > p {
  margin: 0 0 20px;
  font-size: 0.93rem;
  line-height: 1.72;
  color: var(--muted);
}
.work-copy .tags li { background: rgba(251, 248, 242, 0.5); }

/* --- mockups --- */

.mock {
  width: 100%;
  max-width: 460px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 28px 50px -30px rgba(16, 21, 18, 0.45);
  overflow: hidden;
  font-size: 0;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(16, 21, 18, 0.07);
  background: rgba(16, 21, 18, 0.025);
}
.mock-bar span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(16, 21, 18, 0.18);
}
.mock-bar em {
  margin-left: 8px;
  font-style: normal;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(16, 21, 18, 0.35);
}

.mock-body { display: flex; min-height: 230px; }
.mock-side {
  width: 48px;
  padding: 14px 11px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-right: 1px solid rgba(16, 21, 18, 0.06);
  background: rgba(16, 21, 18, 0.02);
}
.mock-side i {
  height: 6px;
  border-radius: 3px;
  background: rgba(16, 21, 18, 0.1);
}
.mock-side i:first-child { background: var(--accent); opacity: 0.7; }

.mock-main { flex: 1; padding: 16px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-kpis b {
  height: 34px;
  border-radius: 6px;
  background: rgba(16, 21, 18, 0.05);
}
.mock-kpis b:first-child { background: rgba(201, 239, 107, 0.45); }

.mock-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 96px;
  margin-top: 12px;
  padding: 10px;
  border-radius: 6px;
  background: rgba(16, 21, 18, 0.035);
}
.mock-chart u {
  flex: 1;
  height: var(--h);
  border-radius: 3px 3px 0 0;
  background: rgba(16, 21, 18, 0.14);
}
.mock-chart u:nth-child(2n) { background: var(--accent); opacity: 0.75; }

.mock-lines { display: flex; flex-direction: column; gap: 7px; margin-top: 12px; }
.mock-lines s { height: 5px; border-radius: 3px; background: rgba(16, 21, 18, 0.07); }
.mock-lines s:nth-child(2) { width: 70%; }
.mock-lines s:nth-child(3) { width: 45%; }

/* sheet / SIMKEU */
.mock-sheet { padding: 10px 14px 16px; }
.sheet-head,
.sheet-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 0.8fr;
  gap: 10px;
  align-items: center;
  padding: 9px 6px;
  border-bottom: 1px solid rgba(16, 21, 18, 0.055);
}
.sheet-head b { height: 5px; border-radius: 3px; background: rgba(16, 21, 18, 0.14); }
.sheet-row s { height: 5px; border-radius: 3px; background: rgba(16, 21, 18, 0.08); }
.sheet-row s:nth-child(2) { width: 75%; }
.pill {
  justify-self: start;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  white-space: nowrap;
}
.pill--ok { background: rgba(73, 143, 96, 0.16); color: #35714b; }
.pill--wait { background: rgba(221, 84, 38, 0.14); color: var(--accent-deep); }
.pill--new { background: rgba(16, 21, 18, 0.07); color: rgba(16, 21, 18, 0.45); }

/* landing / chocofun */
.mock--landing .landing-stage {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  background: radial-gradient(circle at 70% 42%, #ffe3d5, #f7c9b7 55%, #f0b6a2);
}
.landing-glow {
  position: absolute;
  top: 50%;
  right: 8%;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0) 65%);
  transform: translateY(-50%);
}
.landing-copy {
  position: absolute;
  left: 22px;
  top: 34px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  z-index: 2;
}
.landing-copy i { width: 92px; height: 6px; border-radius: 3px; background: rgba(16, 21, 18, 0.2); }
.landing-copy i:nth-child(2) { width: 62px; }
.landing-copy b {
  width: 76px;
  height: 20px;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--ink);
}

.cake {
  position: absolute;
  right: 16%;
  bottom: 26px;
  width: 150px;
  height: 170px;
  z-index: 2;
  filter: drop-shadow(0 22px 18px rgba(90, 33, 18, 0.28));
}
.cake-tier {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 14px;
  background: linear-gradient(180deg, #f9e3cf, #eec4a3);
  border-bottom: 9px solid #cf8f66;
}
.cake-tier--1 { bottom: 0; width: 150px; height: 62px; border-radius: 16px; }
.cake-tier--2 { bottom: 62px; width: 112px; height: 54px; }
.cake-tier--3 { bottom: 116px; width: 74px; height: 42px; }
.cake-tier::before {
  content: "";
  position: absolute;
  inset: 8px 0 auto;
  height: 10px;
  border-radius: 8px;
  background: repeating-linear-gradient(90deg, #d98d7a 0 10px, #e9a892 10px 20px);
  opacity: 0.9;
}
.cake-cherry {
  position: absolute;
  left: 50%;
  bottom: 156px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #c9362c;
  transform: translateX(-50%);
  box-shadow: 0 3px 6px rgba(90, 20, 10, 0.3);
}

/* records / klinik */
.mock--records .records { padding: 14px; display: flex; flex-direction: column; gap: 9px; }
.record {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 8px;
  background: rgba(16, 21, 18, 0.03);
  border: 1px solid rgba(16, 21, 18, 0.05);
}
.record .avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #b8d3d5, #8fb3b6);
  flex-shrink: 0;
}
.record div { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.record b { height: 5px; width: 60%; border-radius: 3px; background: rgba(16, 21, 18, 0.16); }
.record s { height: 4px; width: 42%; border-radius: 3px; background: rgba(16, 21, 18, 0.08); text-decoration: none; }
.record u {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(70, 123, 128, 0.14);
  color: #356b70;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
}

/* ============ STATEMENT ============ */

.statement {
  background: var(--dark);
  color: var(--cream);
  padding: clamp(80px, 10vw, 130px) 0;
  position: relative;
  overflow: hidden;
}
.statement::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 239, 107, 0.14), transparent 65%);
}
.statement blockquote {
  max-width: 22ch;
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 3.9rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.statement blockquote em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--lime);
  letter-spacing: -0.01em;
}
.statement-by {
  margin: 34px 0 0;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.5);
}

/* ============ PROCESS ============ */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(22px, 3vw, 44px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 26px;
  border-top: 1px solid var(--line-strong);
}
.step::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.step-num {
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--accent);
  line-height: 1;
}
.step h3 {
  margin: 20px 0 10px;
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.step p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ============ EXPERIENCE ============ */

.exp-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.exp-grid .section-head { position: sticky; top: 110px; }
.exp-grid .section-head .section-note { margin-top: 22px; text-align: left; }

.timeline { border-top: 1px solid var(--line-strong); }
.job {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 26px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.job-time { display: flex; flex-direction: column; gap: 4px; padding-top: 4px; }
.job-year {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.job-place {
  font-size: 0.74rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.job-body h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.job-body p {
  margin: 0 0 14px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
}
.job-body .tags li { font-size: 0.64rem; padding: 4px 9px; }

/* ============ CONTACT ============ */

.contact {
  background: var(--dark);
  color: var(--cream);
  padding: clamp(80px, 10vw, 130px) 0;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  left: -160px;
  bottom: -220px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(221, 84, 38, 0.18), transparent 68%);
  pointer-events: none;
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: clamp(44px, 7vw, 96px);
  align-items: start;
}

.contact h2 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.contact-lede {
  max-width: 27rem;
  margin: 24px 0 0;
  font-size: 0.98rem;
  line-height: 1.75;
  color: rgba(244, 239, 230, 0.62);
}

.contact-list {
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(244, 239, 230, 0.16);
}
.contact-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(244, 239, 230, 0.12);
}
.contact-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.45);
}
.contact-list a,
.contact-list li > span:last-child {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--cream);
  text-decoration: none;
  transition: color 0.2s;
}
.contact-list a:hover { color: var(--lime); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(244, 239, 230, 0.14);
  border-radius: 20px;
  background: rgba(244, 239, 230, 0.035);
}

.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.5);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(244, 239, 230, 0.16);
  border-radius: 10px;
  background: rgba(244, 239, 230, 0.05);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.9rem;
  line-height: 1.5;
  transition: border-color 0.2s, background 0.2s;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23f4efe6' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.field select option { background: var(--dark-2); color: var(--cream); }
.field textarea { resize: vertical; min-height: 108px; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(244, 239, 230, 0.3); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--lime);
  background: rgba(244, 239, 230, 0.075);
}
.field input:user-invalid,
.field textarea:user-invalid { border-color: #e8896d; }

.btn-full { width: 100%; margin-top: 4px; }

.form-note {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.5;
  color: rgba(244, 239, 230, 0.4);
  text-align: center;
}
.form-note.is-error { color: #f0a48d; }
.form-note.is-ok { color: var(--lime); }

/* ============ FOOTER ============ */

.site-foot {
  background: var(--dark);
  color: rgba(244, 239, 230, 0.55);
  border-top: 1px solid rgba(244, 239, 230, 0.1);
  padding: 44px 0;
}
.foot-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
}
.foot-brand { display: flex; align-items: center; gap: 14px; }
.brand-mark--light { background: transparent; border: 1px solid rgba(244, 239, 230, 0.3); color: var(--cream); }
.foot-brand p { margin: 0; font-size: 0.76rem; line-height: 1.55; }

.foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; }
.foot-nav a {
  font-size: 0.76rem;
  text-decoration: none;
  transition: color 0.2s;
}
.foot-nav a:hover { color: var(--lime); }

.foot-meta { justify-self: end; text-align: right; }
.foot-meta p { margin: 0; font-size: 0.72rem; line-height: 1.7; }

/* ============ REVEAL ============ */

html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--delay, 0ms);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */

@media (max-width: 1080px) {
  .nav { gap: 0; }
  .nav a { padding: 8px 10px; }
  .hero-grid { grid-template-columns: 1fr 0.86fr; gap: 44px; }
  .float-card--top { right: -8px; }
  .float-card--bottom { left: -10px; }
}

@media (max-width: 920px) {
  .head-cta { display: none; }
  .nav {
    position: fixed;
    inset: 78px 0 auto;
    flex-direction: column;
    gap: 2px;
    padding: 12px 24px 26px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(16, 21, 18, 0.3);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0.25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 13px 4px; font-size: 0.95rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a:last-child { border-bottom: 0; }
  .nav a.is-active::after { display: none; }
  .nav-toggle { display: block; }

  .hero { padding-top: 132px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: start; max-width: 420px; margin-top: 18px; }
  .hero-meta { max-width: 480px; }

  .section-head--row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .section-note { text-align: left; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-grid .section-head h2 { max-width: 18ch; }

  .service { grid-template-columns: 48px 1fr; gap: 16px 20px; }
  .service .tags { grid-column: 2; justify-content: flex-start; max-width: none; padding-top: 0; }

  .work,
  .work--flip { grid-template-columns: 1fr; gap: 26px; }
  .work--flip .work-visual,
  .work--flip .work-copy { order: 0; }
  .work-visual { min-height: 0; }
  .work-copy { max-width: none; }

  .process { grid-template-columns: 1fr 1fr; gap: 34px; }

  .exp-grid { grid-template-columns: 1fr; }
  .exp-grid .section-head { position: static; }
  .exp-grid .section-head h2 { max-width: 18ch; }

  .contact-grid { grid-template-columns: 1fr; }

  .foot-inner { grid-template-columns: 1fr; justify-items: start; gap: 26px; }
  .foot-nav { justify-content: flex-start; }
  .foot-meta { justify-self: start; text-align: left; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 36px); }
  .head-inner { height: 68px; }
  .nav { top: 68px; }
  .brand-text span { display: none; }

  .hero { padding: 112px 0 64px; }
  .hero h1 { font-size: clamp(2.75rem, 13vw, 3.6rem); }
  .hero-actions { gap: 18px; }
  .hero-meta { margin-top: 38px; }
  .hero-meta li { padding-right: 12px; }
  .hero-meta li + li { padding-left: 16px; }
  .hero-meta strong { font-size: 1.55rem; }
  .hero-meta span { font-size: 0.64rem; }

  .hero-visual { max-width: 340px; }
  .float-card--top { top: 28px; right: -8px; padding: 11px 14px; }
  .float-card--bottom { left: -8px; bottom: 26px; max-width: 185px; padding: 12px 14px; }

  .section { padding: 68px 0; }
  .section-head h2 { font-size: clamp(1.95rem, 9.4vw, 2.6rem); }
  .kicker { margin-bottom: 18px; }

  .service { padding: 26px 4px; }
  .service:hover { padding-left: 4px; }

  .work-visual { padding: 18px; border-radius: 16px; }
  .mock { max-width: 100%; }

  .statement blockquote { max-width: none; }
  .process { grid-template-columns: 1fr; gap: 28px; }
  .step { padding-top: 20px; }

  .job { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .job-time { flex-direction: row; gap: 10px; align-items: baseline; }

  .contact-form { padding: 22px 18px; }
  .contact-list li { flex-direction: column; gap: 4px; }
}

/* ============ MOTION / PRINT ============ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  .photo img,
  .btn,
  .service { transition: none; }
}

@media print {
  .site-head, .ticker, .contact-form, .nav-toggle { display: none !important; }
  body { background: #fff; }
  .hero { padding-top: 24px; }
  .photo-accent, .float-card { display: none; }
  a { text-decoration: none; }
}
