/* Generated by build.js from "Sandaru Wijewardhana - Portfolio v3.dc.html". Do not edit by hand. */

  html { scroll-behavior: smooth; }
  body { margin: 0; background: #0A0B0D; color: #E9ECEF; font-family: Archivo, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
  * { box-sizing: border-box; }
  a { color: #F0A05A; text-decoration: none; }
  a:hover { color: #FFC38C; }
  ::selection { background: #F0A05A; color: #0A0B0D; }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
  @keyframes growX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes pulse { 0%,100% { opacity: .25; } 50% { opacity: 1; } }
  @keyframes spinDash { to { stroke-dashoffset: -160; } }
  @keyframes drift { to { background-position: 240px 240px; } }
  @keyframes blink { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }
  @keyframes glow { 0%,100% { opacity: .35; } 50% { opacity: .75; } }
  @keyframes spin { to { transform: rotate(360deg); } }
  @keyframes spinRev { to { transform: rotate(-360deg); } }
  @keyframes float1 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
  @keyframes float2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
  @keyframes caret { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }
  [data-reveal] { animation: fadeUp .8s cubic-bezier(.2,.7,.2,1) both; animation-timeline: view(); animation-range: entry 2% cover 26%; }
  [data-bar] { transform-origin: left; animation: bar 1.2s cubic-bezier(.2,.8,.2,1) both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
  @media (prefers-reduced-motion: reduce) { [data-reveal], [data-bar] { animation: none !important; } }
  a[download], a[href^="mailto:"], a[href^="tel:"], a[data-pill] { white-space: nowrap; }
  [data-scrollhint] { display: none; }
  @media (max-width: 1000px) {
    [data-diagram] { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
    [data-diagram] svg { min-width: 960px; }
    [data-scrollhint] { display: inline; }
    [data-meta] { display: none !important; }
  }
  @media (max-width: 1180px) { [data-rail] { display: none !important; } }
  @media (max-width: 1000px) {
    [data-orbit], [data-badge] { display: none !important; }
    [data-g="svc"] { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
    [data-g="facts"] { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
    [data-g="prof"] { grid-template-columns: minmax(0,1fr) !important; gap: 20px !important; padding: 24px 22px !important; }
    [data-main] { padding-left: 22px !important; padding-right: 22px !important; }
    [data-g] { grid-template-columns: minmax(0,1fr) !important; gap: 30px !important; }
    [data-g="stats"] { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 26px !important; }
    [data-hero] { padding-top: 118px !important; gap: 40px !important; }
    [data-photo] { max-width: 360px; }
    [data-navlink] { display: none !important; }
    [data-contact] { padding: 40px 26px !important; }
    [data-timecol] { grid-template-columns: minmax(0,1fr) !important; gap: 8px !important; }
  }
  @media (max-width: 560px) {
    [data-g="stats"] { grid-template-columns: minmax(0,1fr) !important; }
    [data-g="svc"], [data-g="facts"] { grid-template-columns: minmax(0,1fr) !important; }
    [data-main] { padding-left: 16px !important; padding-right: 16px !important; }
    [data-card] { padding: 24px 20px !important; }
  }


/* Hover states lifted from style-hover="" attributes. */
.h0:hover, .h0:focus-visible { color:#E9ECEF !important; }
.h1:hover, .h1:focus-visible { border-color:#F0A05A !important; color:#F0A05A !important; }
.h2:hover, .h2:focus-visible { color:#F0A05A !important; }
.h3:hover, .h3:focus-visible { filter:brightness(1.08) !important; }
.h4:hover, .h4:focus-visible { border-color:#59C9B5 !important; color:#59C9B5 !important; }
.h5:hover, .h5:focus-visible { border-color:#F0A05A !important; }
.h6:hover, .h6:focus-visible { border-color:#2E3741 !important; background:#101419 !important; }
.h7:hover, .h7:focus-visible { border-color:#2E3741 !important; }
.h8:hover, .h8:focus-visible { background:#12161B !important; border-color:#2E3741 !important; }
.h9:hover, .h9:focus-visible { border-color:#59C9B5 !important; color:#E9ECEF !important; }
.h10:hover, .h10:focus-visible { background:#FFC38C !important; }

/* ---------------------------------------------------------------------------
   Added by build.js — behaviour the canvas runtime used to provide.
   --------------------------------------------------------------------------- */

/* Hover/focus transitions for the generated .hN rules above. */
[class^="h"], a, button {
  transition: color .18s ease, background-color .18s ease,
              border-color .18s ease, filter .18s ease, opacity .18s ease;
}

/* Keyboard focus — the design has none, and it is needed to navigate. */
:focus-visible {
  outline: 2px solid #F0A05A;
  outline-offset: 3px;
  border-radius: 4px;
}

/* Theme toggle, injected into the nav. */
[data-theme-toggle] {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; padding: 0; margin-left: -12px;
  background: transparent; cursor: pointer;
  border: 1px solid #2A323B;
  border-radius: 999px;
  color: #8B949E;
}
[data-theme-toggle]:hover {
  color: #F0A05A;
  border-color: #F0A05A;
}

/* Scroll-driven animations only exist in Chromium. Everywhere else, site.js
   adds .no-atl and drives the same effects from an IntersectionObserver. */
.no-atl [data-reveal] { animation: none; opacity: 0; transform: translateY(22px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.no-atl [data-reveal].is-in { opacity: 1; transform: none; }
.no-atl [data-bar] { animation: none; transform: scaleX(0); transform-origin: left;
  transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.no-atl [data-bar].is-in { transform: scaleX(1); }
.no-atl [data-progress] { animation: none; }

/* Active section marker on the left rail. */
[data-rail] a.is-active { color: #F0A05A; }
[data-rail] a.is-active span { width: 34px; }
[data-rail] a span { transition: width .2s ease; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important;
      transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .no-atl [data-reveal] { opacity: 1; transform: none; }
  .no-atl [data-bar] { transform: scaleX(1); }
}

/* Never let a wide diagram scroll the whole page sideways. Body only — putting
   this on <html> too would make it a scroll container and break smooth anchors. */
body { overflow-x: hidden; }
