/* PastatysiuTau.lt — Final design system (D0–D10)
   Scope: Header, Hero, #kodel-mes, #sistema, #kelias, #paslaugos,
          #protingesne-statyba, #namu-kryptys, #kodel-pastatysiutau,
          #kam-skirta, #izvalgos, #duk, #kontaktai, footer
*/

/* Override global clip so real overflow cannot be hidden */
html:has(body.homepage-structure),
html:has(body.homepage-structure) body {
  width: 100%;
  max-width: 100%;
  overflow-x: visible;
}

.homepage-structure {
  /* Semantic aliases on P1 tokens */
  --hf-dark: var(--color-bg-dark, #1e1b17);
  --hf-dark-deep: var(--palette-graphite-900, #171512);
  --hf-dark-soft: #26211c;
  --hf-light: var(--color-bg-primary, #f4efe6);
  --hf-light-soft: var(--color-bg-secondary, #faf7f1);
  --hf-stone: var(--palette-cream-400, #ebe3d7);
  --hf-cream: var(--color-text-on-dark, #faf8f4);
  --hf-cream-soft: rgba(250, 248, 244, 0.72);
  --hf-ink: var(--color-text-primary, #171512);
  --hf-ink-soft: var(--color-text-secondary, #5f574d);
  --hf-bronze: var(--color-accent, #b78d57);
  --hf-bronze-soft: var(--color-accent-soft, #d9c09a);
  --hf-line-dark: rgba(250, 248, 244, 0.16);
  --hf-line-light: rgba(42, 35, 26, 0.14);
  --hf-line-bronze: rgba(183, 141, 87, 0.55);
  --hf-max: min(100% - (var(--hf-pad) * 2), 74rem);
  --hf-pad: 1.25rem;
  --hf-section: clamp(4.35rem, 5.6vw, 6rem);
  --hf-section-info: clamp(2.7rem, 4vw, 4rem);
  --hf-section-mobile: clamp(2.75rem, 9vw, 3.85rem);
  --hf-display: var(--font-display);
  --hf-body: var(--font-body);
  --hf-mono: var(--font-number);

  width: 100%;
  max-width: 100%;
  color: var(--hf-ink);
  background: var(--hf-light);
  font-family: var(--hf-body);
  overflow-x: visible;
}

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

.homepage-structure .hs-container {
  width: var(--hf-max);
  max-width: 100%;
  margin-inline: auto;
  min-width: 0;
}

.homepage-structure img,
.homepage-structure picture {
  max-width: 100%;
  height: auto;
}

.homepage-structure .hs-hero__grid > *,
.homepage-structure #kodel-mes .hs-container > *,
.homepage-structure #sistema .hs-item,
.homepage-structure #sistema .hs-stack,
.homepage-structure #kelias .hs-item,
.homepage-structure #kelias .hs-stack,
.homepage-structure #paslaugos .hs-article,
.homepage-structure #paslaugos .hs-stack,
.homepage-structure #protingesne-statyba .hs-container > *,
.homepage-structure #protingesne-statyba .hs-principles > div,
.homepage-structure #kodel-pastatysiutau .hs-container > *,
.homepage-structure #kodel-pastatysiutau .hs-item,
.homepage-structure #kodel-pastatysiutau .hs-stack,
.homepage-structure #kam-skirta .hs-container > *,
.homepage-structure #kam-skirta .hs-list,
.homepage-structure #izvalgos .hs-container > *,
.homepage-structure #izvalgos .hs-article,
.homepage-structure #izvalgos .hs-stack,
.homepage-structure #duk .hs-container > *,
.homepage-structure #duk .hs-faq,
.homepage-structure #kontaktai .hs-container > *,
.homepage-structure #kontaktai .hs-form,
.homepage-structure .hs-footer .hs-container > * {
  min-width: 0;
}

/* —— Neutral base for later sections —— */
.homepage-structure .hs-section {
  padding-block: var(--hf-section);
  border-bottom: 1px solid var(--hf-line-light);
  background: var(--hf-light-soft);
}

/* G1: no dark/light chessboard rhythm */

.homepage-structure .hs-eyebrow {
  margin: 0 0 0.85rem;
  font-size: var(--text-label, 0.6875rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hf-ink-soft);
  font-weight: 500;
}

.homepage-structure .hs-section h2 {
  margin: 0 0 0.85rem;
  font-family: var(--hf-display);
  font-size: clamp(2.6rem, 3.6vw, 4.2rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0;
  max-width: 18ch;
  color: var(--hf-ink);
}

.homepage-structure .hs-section h3 {
  margin: 0 0 0.45rem;
  font-family: var(--hf-display);
  font-size: clamp(1.35rem, 1.8vw, 2rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: 0;
  color: var(--hf-ink);
}

.homepage-structure .hs-lead,
.homepage-structure .hs-section p {
  margin: 0 0 0.85rem;
  max-width: 68ch;
  line-height: 1.68;
  color: var(--hf-ink-soft);
  font-size: clamp(1rem, 1.05vw, 1.125rem);
}

.homepage-structure .hs-list {
  margin: 0 0 1.25rem;
  padding-left: 1.15rem;
  max-width: 38rem;
  color: var(--hf-ink-soft);
  line-height: 1.65;
}

.homepage-structure .hs-list li + li {
  margin-top: 0.4rem;
}

.homepage-structure .hs-note {
  margin: 1.25rem 0 0;
  padding: 0.85rem 0 0.85rem 1rem;
  border-left: 1px solid var(--hf-line-bronze);
  max-width: 38rem;
  color: var(--hf-ink-soft);
}

.homepage-structure .hs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1.75rem;
}

.homepage-structure .hs-actions a,
.homepage-structure .hs-link,
.homepage-structure .hs-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--hf-ink);
  color: var(--hf-ink);
  text-decoration: none;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.homepage-structure .hs-actions a:first-child,
.homepage-structure .hs-button {
  background: var(--hf-ink);
  color: var(--hf-cream);
  border-color: var(--hf-ink);
}

.homepage-structure .hs-link {
  padding-inline: 0;
  border: 0;
  min-height: auto;
  text-decoration: none;
  background: transparent;
  color: var(--hf-ink);
  box-shadow: inset 0 -1px 0 var(--hf-line-bronze);
}

.homepage-structure a:focus-visible,
.homepage-structure button:focus-visible,
.homepage-structure summary:focus-visible,
.homepage-structure input:focus-visible,
.homepage-structure select:focus-visible,
.homepage-structure textarea:focus-visible {
  outline: 2px solid var(--color-focus, var(--hf-bronze));
  outline-offset: 3px;
}

/* =========================================================
   HEADER — integrated into dark hero field
   ========================================================= */
.homepage-structure .hs-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid var(--hf-line-dark);
  background: transparent;
  color: var(--hf-cream);
}

.homepage-structure .hs-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  min-height: 4.75rem;
  padding-block: 0.9rem;
  min-width: 0;
  max-width: 100%;
}

.homepage-structure .hs-brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.homepage-structure .hs-brand__name {
  font-family: var(--hf-display);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.homepage-structure .hs-brand__tag {
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hf-cream-soft);
  line-height: 1.2;
}

.homepage-structure .hs-nav {
  display: none;
  min-width: 0;
}

.homepage-structure .hs-nav ul {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.1rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 0;
}

.homepage-structure .hs-nav a,
.homepage-structure .hs-header__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  color: var(--hf-cream-soft);
  font-size: 0.875rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.homepage-structure .hs-nav a::after,
.homepage-structure .hs-header__cta::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0.55rem;
  height: 1px;
  background: var(--hf-bronze);
  transition: right 0.28s ease;
}

.homepage-structure .hs-nav a:hover,
.homepage-structure .hs-header__cta:hover {
  color: var(--hf-cream);
}

.homepage-structure .hs-nav a:hover::after,
.homepage-structure .hs-header__cta:hover::after {
  right: 0;
}

.homepage-structure .hs-header__cta {
  display: none;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--hf-line-dark);
  color: var(--hf-cream);
  white-space: nowrap;
}

.homepage-structure .hs-header__cta::after {
  bottom: 0.35rem;
  left: 0.85rem;
  right: calc(100% - 0.85rem);
}

.homepage-structure .hs-header__cta:hover::after {
  right: 0.85rem;
}

.homepage-structure .hs-mobile-nav {
  position: relative;
}

.homepage-structure .hs-mobile-nav summary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  padding: 0;
  border: 1px solid rgba(183, 141, 87, 0.5);
  border-radius: 0;
  background: transparent;
  color: transparent;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  list-style: none;
}

.homepage-structure .hs-mobile-nav summary::-webkit-details-marker {
  display: none;
}

.homepage-structure .hs-mobile-nav summary::before,
.homepage-structure .hs-mobile-nav summary::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--hf-cream);
  transition: transform 0.2s ease, top 0.2s ease;
}

.homepage-structure .hs-mobile-nav summary::before {
  top: 18px;
}

.homepage-structure .hs-mobile-nav summary::after {
  top: 28px;
}

.homepage-structure .hs-mobile-nav[open] summary::before {
  top: 23px;
  transform: rotate(45deg);
}

.homepage-structure .hs-mobile-nav[open] summary::after {
  top: 23px;
  transform: rotate(-45deg);
}

.homepage-structure .hs-mobile-nav__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.55rem);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  width: min(19rem, 100%);
  max-width: 100%;
  max-height: min(70vh, 28rem);
  overflow: auto;
  padding: 0.85rem 1rem 1rem;
  border: 1px solid var(--hf-line-dark);
  background: linear-gradient(180deg, var(--hf-dark-soft) 0%, var(--hf-dark) 100%);
  color: var(--hf-cream);
}

.homepage-structure .hs-mobile-nav__panel a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.15rem;
  text-decoration: none;
  color: var(--hf-cream-soft);
  border-bottom: 1px solid rgba(250, 248, 244, 0.08);
}

.homepage-structure .hs-mobile-nav__panel a:last-child {
  border-bottom: 0;
  margin-top: 0.35rem;
  color: var(--hf-cream);
}

.homepage-structure .hs-mobile-nav:not([open]) .hs-mobile-nav__panel {
  display: none;
}

/* =========================================================
   HERO — dark cinematic composition
   ========================================================= */
.homepage-structure .hs-hero {
  position: relative;
  padding: clamp(6.5rem, 10vw, 8.5rem) 0 clamp(2.5rem, 5vw, 3.75rem);
  background:
    radial-gradient(ellipse 60% 50% at 72% 40%, rgba(183, 141, 87, 0.1), transparent 58%),
    linear-gradient(155deg, #221e19 0%, var(--hf-dark) 42%, #191612 100%);
  color: var(--hf-cream);
  border-bottom: 0;
  overflow: hidden;
  max-width: 100%;
}

.homepage-structure .hs-hero::before {
  content: "";
  position: absolute;
  left: var(--hf-pad);
  top: 22%;
  bottom: 18%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--hf-line-dark) 18%, var(--hf-line-bronze) 52%, var(--hf-line-dark) 82%, transparent);
  pointer-events: none;
  z-index: 3;
}

.homepage-structure .hs-hero::after {
  content: none;
  display: none;
}

.homepage-structure .hs-hero .hs-container {
  position: relative;
}

.homepage-structure .hs-hero .hs-eyebrow {
  color: var(--hf-bronze-soft);
  margin-bottom: 0.75rem;
}

.homepage-structure .hs-hero h1 {
  margin: 0 0 1rem;
  font-family: var(--hf-display);
  font-size: clamp(4.5rem, 6vw, 7rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
  max-width: 10.5ch;
  color: var(--hf-cream);
  overflow-wrap: break-word;
}

.homepage-structure .hs-hero .hs-lead {
  max-width: 60ch;
  color: var(--hf-cream-soft);
  font-size: clamp(0.95rem, 1.25vw, 1.05rem);
  margin-bottom: 1.35rem;
}

.homepage-structure .hs-hero__grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.homepage-structure .hs-hero .hs-actions {
  margin-top: 0;
  gap: 0.65rem 0.85rem;
}

.homepage-structure .hs-hero .hs-actions a {
  border-color: rgba(250, 248, 244, 0.22);
  color: var(--hf-cream);
  background: transparent;
  min-width: auto;
  width: auto;
  min-height: 46px;
  padding: 0.65rem 1.1rem;
}

.homepage-structure .hs-hero .hs-actions a:first-child {
  background: rgba(183, 141, 87, 0.32);
  border-color: var(--hf-bronze);
  color: var(--hf-cream);
}

.homepage-structure .hs-hero .hs-actions a:hover {
  border-color: var(--hf-bronze-soft);
  background: rgba(183, 141, 87, 0.28);
}

.homepage-structure .hs-hero .hs-actions a:not(:first-child):hover {
  background: transparent;
}

.homepage-structure .hs-hero .hs-figure {
  position: relative;
  margin: 0;
  min-height: clamp(13rem, 38vw, 20rem);
  border: 0;
  padding: 0;
  display: block;
  overflow: hidden;
  background: transparent;
  color: var(--hf-cream-soft);
}

.homepage-structure .hs-hero .hs-figure picture,
.homepage-structure .hs-hero .hs-figure img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
}

.homepage-structure .hs-hero .hs-figure img {
  object-fit: cover;
  object-position: 58% center;
  border: 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
  filter: none;
  opacity: 1;
  transform: none;
  -webkit-mask-image: none;
  mask-image: none;
}

.homepage-structure .hs-hero .hs-figure::before,
.homepage-structure .hs-hero .hs-figure::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 1.15rem;
  height: 1.15rem;
  border-color: var(--hf-bronze);
  border-style: solid;
  pointer-events: none;
}

.homepage-structure .hs-hero .hs-figure::before {
  top: 0.85rem;
  left: 0.85rem;
  border-width: 1px 0 0 1px;
}

.homepage-structure .hs-hero .hs-figure::after {
  right: 0.85rem;
  bottom: 0.85rem;
  border-width: 0 1px 1px 0;
}

.homepage-structure .hs-hero .hs-figure figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   #KODEL-MES — light editorial
   ========================================================= */
.homepage-structure #kodel-mes {
  position: relative;
  background: var(--hf-light);
  padding-block: clamp(3.5rem, 7vw, 5.75rem);
  overflow: hidden;
  max-width: 100%;
}

.homepage-structure #kodel-mes .hs-container {
  position: relative;
  display: grid;
  gap: 1.5rem;
}

.homepage-structure #kodel-mes .hs-container::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1px;
  height: min(18rem, 42%);
  background: linear-gradient(180deg, var(--hf-line-bronze), var(--hf-line-light) 70%, transparent);
  pointer-events: none;
}

.homepage-structure #kodel-mes h2 {
  max-width: 14ch;
  font-size: clamp(1.85rem, 4.4vw, 3.25rem);
  margin-bottom: 0.35rem;
  padding-left: 1.1rem;
}

.homepage-structure #kodel-mes > .hs-container > p:first-of-type {
  max-width: 38rem;
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  margin-bottom: 0;
  padding-left: 1.1rem;
}

.homepage-structure #kodel-mes .hs-stack--three {
  display: grid;
  gap: 0;
  margin-top: 0.25rem;
  border-top: 1px solid var(--hf-line-light);
}

.homepage-structure #kodel-mes .hs-item {
  position: relative;
  padding: 1.15rem 0 1.15rem 2.75rem;
  border-top: 1px solid var(--hf-line-light);
}

.homepage-structure #kodel-mes .hs-item:first-child {
  border-top: 0;
}

.homepage-structure #kodel-mes .hs-item::before {
  position: absolute;
  left: 0;
  top: 1.25rem;
  font-family: var(--hf-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--hf-bronze);
  content: "01";
}

.homepage-structure #kodel-mes .hs-item:nth-child(2)::before { content: "02"; }
.homepage-structure #kodel-mes .hs-item:nth-child(3)::before { content: "03"; }

.homepage-structure #kodel-mes .hs-item::after {
  content: "";
  position: absolute;
  left: 1.7rem;
  top: 1.5rem;
  width: 0.75rem;
  height: 1px;
  background: var(--hf-line-bronze);
}

.homepage-structure #kodel-mes .hs-item h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
}

.homepage-structure #kodel-mes .hs-item p {
  margin-bottom: 0;
  max-width: 28rem;
  font-size: 0.98rem;
}

.homepage-structure #kodel-mes > .hs-container > p:last-of-type {
  margin: 0.15rem 0 0;
  max-width: 30rem;
  font-family: var(--hf-display);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.35;
  color: var(--hf-ink);
  padding-left: 1.1rem;
}

.homepage-structure #kodel-mes .hs-figure {
  position: relative;
  margin: 0;
  min-height: clamp(14rem, 42vw, 22rem);
  border: 0;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(244, 239, 230, 0.22) 0%, transparent 28%),
    url("../images/premium-home/flat-roof-house-1280.jpg") 55% center / cover no-repeat;
}

.homepage-structure #kodel-mes .hs-figure figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   #SISTEMA — light process field (G1: no longer full-dark)
   ========================================================= */
.homepage-structure #sistema {
  position: relative;
  background:
    linear-gradient(180deg, #faf7f1 0%, var(--hf-light) 48%, #f3ebe1 100%);
  color: var(--hf-ink);
  border-bottom: 1px solid var(--hf-line-light);
  overflow: hidden;
  max-width: 100%;
}

.homepage-structure #sistema h2,
.homepage-structure #sistema h3 {
  color: var(--hf-ink);
}

.homepage-structure #sistema > .hs-container > p {
  color: var(--hf-ink-soft);
  max-width: 62ch;
}

.homepage-structure #sistema .hs-stack {
  --sistema-rail: 0.85rem;
  position: relative;
  display: grid;
  gap: 0;
  margin-top: 1.5rem;
  padding-left: 1.85rem;
}

.homepage-structure #sistema .hs-stack::before {
  content: "";
  position: absolute;
  left: var(--sistema-rail);
  top: 0.35rem;
  bottom: 0.35rem;
  width: 1px;
  background: linear-gradient(180deg, var(--hf-line-bronze), var(--hf-line-light) 24%, var(--hf-line-light) 78%, transparent);
  pointer-events: none;
}

.homepage-structure #sistema .hs-item {
  position: relative;
  padding: 0.95rem 0;
  border-top: 1px solid var(--hf-line-light);
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.homepage-structure #sistema .hs-item:first-child {
  border-top: 0;
  padding-top: 0.15rem;
}

.homepage-structure #sistema .hs-item::before {
  content: "";
  position: absolute;
  left: calc(-1.85rem + var(--sistema-rail) - 0.2rem);
  top: 1.35rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--hf-bronze);
  box-shadow: 0 0 0 3px rgba(183, 141, 87, 0.1);
}

.homepage-structure #sistema .hs-item:first-child::before {
  top: 0.55rem;
}

.homepage-structure #sistema .hs-index {
  font-family: var(--hf-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--hf-bronze);
  margin: 0;
}

.homepage-structure #sistema .hs-item h3 {
  font-size: clamp(1.35rem, 1.8vw, 2rem);
  max-width: 20ch;
  margin: 0;
  letter-spacing: 0;
}

.homepage-structure #sistema .hs-item p {
  margin: 0;
  color: var(--hf-ink-soft);
  max-width: 58ch;
  min-width: 0;
}

/* =========================================================
   #KELIAS — chronological path (architectural process)
   ========================================================= */
.homepage-structure #kelias {
  --kelias-node: 0.6875rem;
  --kelias-rail: 0.7rem;
  --kelias-inset: 0.15rem;
  position: relative;
  background:
    linear-gradient(180deg, #f6f1e8 0%, var(--hf-light) 38%, #f2ebe2 100%);
  color: var(--hf-ink);
  border-bottom: 1px solid var(--hf-line-light);
  overflow: hidden;
  max-width: 100%;
}

/* Subtle vertical construction line — left edge of content field */
.homepage-structure #kelias::before {
  content: "";
  position: absolute;
  left: max(var(--hf-pad), calc((100% - 74rem) / 2));
  top: 12%;
  bottom: 10%;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(42, 35, 26, 0.09) 18%,
    rgba(42, 35, 26, 0.09) 82%,
    transparent
  );
  pointer-events: none;
  z-index: 0;
}

.homepage-structure #kelias > .hs-container {
  position: relative;
  z-index: 1;
}

/* Architectural eyebrow mark above H2 (no invented text) */
.homepage-structure #kelias h2 {
  position: relative;
  max-width: 16ch;
  padding-top: 1.15rem;
  margin-bottom: 1rem;
}

.homepage-structure #kelias h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2.35rem;
  height: 1px;
  background: var(--hf-line-bronze);
}

.homepage-structure #kelias h2::after {
  content: "";
  position: absolute;
  top: -0.2rem;
  left: 0;
  width: 1px;
  height: 0.55rem;
  background: var(--hf-bronze);
}

.homepage-structure #kelias > .hs-container > p {
  max-width: 40rem;
  margin-bottom: 0;
  color: var(--hf-ink-soft);
}

.homepage-structure #kelias .hs-stack {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin-top: 2.5rem;
  padding: 0 0 0 1.65rem;
  border: 0;
}

/* Mobile / base: single vertical process rail */
.homepage-structure #kelias .hs-stack::before {
  content: "";
  position: absolute;
  left: var(--kelias-rail);
  top: 1.15rem;
  bottom: 1.15rem;
  width: 1px;
  background: linear-gradient(
    180deg,
    var(--hf-line-bronze),
    rgba(42, 35, 26, 0.14) 12%,
    rgba(42, 35, 26, 0.14) 88%,
    rgba(183, 141, 87, 0.45)
  );
  pointer-events: none;
  z-index: 0;
}

.homepage-structure #kelias .hs-item {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 1.05rem 0 1.05rem 0.2rem;
  border: 0;
  background: transparent;
  display: grid;
  gap: 0.28rem;
  align-content: start;
}

.homepage-structure #kelias .hs-item:first-child {
  padding-top: 0.2rem;
}

.homepage-structure #kelias .hs-item:last-child {
  padding-bottom: 0.35rem;
}

/* Numbered process node 01–08 */
.homepage-structure #kelias .hs-item::before {
  content: "";
  position: absolute;
  left: calc(-1.65rem + var(--kelias-rail) - (var(--kelias-node) / 2));
  top: 1.35rem;
  width: var(--kelias-node);
  height: var(--kelias-node);
  box-sizing: border-box;
  border: 1px solid var(--hf-bronze);
  border-radius: 50%;
  background: #f6f1e8;
  z-index: 2;
  transition: border-color 0.22s ease, background-color 0.22s ease;
}

.homepage-structure #kelias .hs-item:first-child::before {
  top: 0.5rem;
}

/* Hide per-item horizontal stubs on mobile (rail handles the path) */
.homepage-structure #kelias .hs-item::after {
  content: none;
}

.homepage-structure #kelias .hs-index {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-family: var(--hf-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--hf-bronze);
  line-height: 1;
}

/* Short measure tick beside number — lengthens on hover without reflow */
.homepage-structure #kelias .hs-index::after {
  content: "";
  display: block;
  width: 1.35rem;
  height: 1px;
  background: var(--hf-line-bronze);
  transform: scaleX(0.55);
  transform-origin: left center;
  transition: transform 0.22s ease;
}

.homepage-structure #kelias .hs-item h3 {
  margin: 0;
  font-family: var(--hf-display);
  font-size: clamp(1.05rem, 2.8vw, 1.28rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--hf-ink);
  max-width: 16ch;
  overflow-wrap: break-word;
  hyphens: manual;
}

.homepage-structure #kelias .hs-item p {
  margin: 0;
  max-width: 34ch;
  min-width: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--hf-ink-soft);
  overflow-wrap: break-word;
}

.homepage-structure #kelias .hs-item:hover::before,
.homepage-structure #kelias .hs-item:focus-within::before {
  border-color: #8f6a3a;
  background: #faf7f1;
}

.homepage-structure #kelias .hs-item:hover .hs-index::after,
.homepage-structure #kelias .hs-item:focus-within .hs-index::after {
  transform: scaleX(1);
}

/* =========================================================
   #paslaugos — three directions (editorial / architectural)
   ========================================================= */
.homepage-structure #paslaugos {
  position: relative;
  background:
    linear-gradient(180deg, #f7f2ea 0%, var(--hf-light-soft) 40%, #f2ebe2 100%);
  color: var(--hf-ink);
  border-bottom: 1px solid var(--hf-line-light);
  overflow: hidden;
  max-width: 100%;
}

/* One horizontal construction line across the content field */
.homepage-structure #paslaugos::before {
  content: "";
  position: absolute;
  left: max(var(--hf-pad), calc((100% - 74rem) / 2));
  right: max(var(--hf-pad), calc((100% - 74rem) / 2));
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--hf-line-bronze) 14%,
    rgba(42, 35, 26, 0.12) 50%,
    var(--hf-line-bronze) 86%,
    transparent
  );
  pointer-events: none;
  z-index: 0;
}

/* Left structural vertical — pairs with column rails on wider viewports */
.homepage-structure #paslaugos::after {
  content: "";
  position: absolute;
  left: max(var(--hf-pad), calc((100% - 74rem) / 2));
  top: 14%;
  bottom: 12%;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(42, 35, 26, 0.08) 18%,
    rgba(42, 35, 26, 0.08) 82%,
    transparent
  );
  pointer-events: none;
  z-index: 0;
}

.homepage-structure #paslaugos > .hs-container {
  position: relative;
  z-index: 1;
}

/* Architectural eyebrow mark above H2 (no invented copy) */
.homepage-structure #paslaugos h2 {
  position: relative;
  max-width: 18ch;
  padding-top: 1.2rem;
  margin-bottom: 1rem;
}

.homepage-structure #paslaugos h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2.5rem;
  height: 1px;
  background: var(--hf-line-bronze);
}

.homepage-structure #paslaugos h2::after {
  content: "";
  position: absolute;
  top: -0.2rem;
  left: 0;
  width: 1px;
  height: 0.55rem;
  background: var(--hf-bronze);
}

.homepage-structure #paslaugos > .hs-container > p {
  max-width: 36rem;
  margin-bottom: 0;
  color: var(--hf-ink-soft);
}

/* Mobile base: single vertical sequence 01 → 03 */
.homepage-structure #paslaugos .hs-stack {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin-top: 2.35rem;
  padding: 0;
  border: 0;
}

.homepage-structure #paslaugos .hs-article {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  margin: 0;
  padding: 1.45rem 0 1.55rem;
  border: 0;
  border-top: 1px solid rgba(42, 35, 26, 0.12);
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  transition: border-color 0.22s ease;
}

.homepage-structure #paslaugos .hs-article:first-child {
  padding-top: 0.4rem;
  border-top-color: transparent;
}

.homepage-structure #paslaugos .hs-article:nth-child(2) {
  padding-top: 1.7rem;
}

/* Third direction: stronger top rule + slightly deeper entry */
.homepage-structure #paslaugos .hs-article:nth-child(3) {
  padding-top: 1.95rem;
  border-top-color: rgba(183, 141, 87, 0.48);
}

/* Number 01–03 + short bronze measure tick (reserved width, no reflow) */
.homepage-structure #paslaugos .hs-article::before {
  content: "01";
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0 0 0.85rem;
  padding-right: 2.35rem;
  font-family: var(--hf-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1;
  color: var(--hf-bronze);
  background: linear-gradient(var(--hf-line-bronze), var(--hf-line-bronze))
    right 0.15rem center / 1.15rem 1px no-repeat;
  transition: color 0.22s ease, background-size 0.22s ease;
}

.homepage-structure #paslaugos .hs-article:nth-child(2)::before {
  content: "02";
}

.homepage-structure #paslaugos .hs-article:nth-child(3)::before {
  content: "03";
}

/* G1: decorative tech codes removed (S-01 / S-02 / S-03) */
.homepage-structure #paslaugos .hs-article::after,
.homepage-structure #paslaugos .hs-article:first-child::after,
.homepage-structure #paslaugos .hs-article:nth-child(2)::after,
.homepage-structure #paslaugos .hs-article:nth-child(3)::after {
  content: none;
  display: none;
}

.homepage-structure #paslaugos .hs-article h3 {
  margin: 0 0 0.65rem;
  max-width: 11ch;
  font-family: var(--hf-display);
  font-size: clamp(1.12rem, 4.8vw, 1.38rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--hf-ink);
  overflow-wrap: break-word;
  hyphens: manual;
}

.homepage-structure #paslaugos .hs-article:nth-child(2) h3 {
  max-width: 13ch;
}

.homepage-structure #paslaugos .hs-article:nth-child(3) h3 {
  max-width: 15ch;
}

.homepage-structure #paslaugos .hs-article > p {
  margin: 0 0 1.05rem;
  max-width: 34ch;
  min-width: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--hf-ink-soft);
  overflow-wrap: break-word;
}

.homepage-structure #paslaugos .hs-list {
  list-style: none;
  width: 100%;
  max-width: 28rem;
  margin: 0 0 1.35rem;
  padding: 0;
  color: var(--hf-ink-soft);
}

.homepage-structure #paslaugos .hs-list li {
  position: relative;
  margin: 0;
  padding: 0.42rem 0 0.42rem 0.95rem;
  border-top: 1px solid rgba(42, 35, 26, 0.08);
  font-size: 0.9rem;
  line-height: 1.42;
  overflow-wrap: break-word;
}

.homepage-structure #paslaugos .hs-list li + li {
  margin-top: 0;
}

.homepage-structure #paslaugos .hs-list li:first-child {
  border-top: 0;
  padding-top: 0.15rem;
}

/* Bronze measure mark — not a bullet */
.homepage-structure #paslaugos .hs-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95em;
  width: 0.45rem;
  height: 1px;
  background: var(--hf-bronze);
}

.homepage-structure #paslaugos .hs-list li:first-child::before {
  top: 0.7em;
}

/* Text CTA: label + reserved bronze rule (lengthens via scaleX) */
.homepage-structure #paslaugos .hs-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: auto;
  padding: 0.2rem 0;
  min-height: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  color: var(--hf-ink);
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  line-height: 1.35;
}

.homepage-structure #paslaugos .hs-link::after {
  content: "";
  display: block;
  width: 2.15rem;
  height: 1px;
  flex: 0 0 2.15rem;
  background: var(--hf-bronze);
  transform: scaleX(0.55);
  transform-origin: left center;
  transition: transform 0.22s ease;
}

.homepage-structure #paslaugos .hs-article:hover,
.homepage-structure #paslaugos .hs-article:focus-within {
  border-top-color: rgba(183, 141, 87, 0.72);
}

.homepage-structure #paslaugos .hs-article:first-child:hover,
.homepage-structure #paslaugos .hs-article:first-child:focus-within {
  border-top-color: rgba(183, 141, 87, 0.55);
}

.homepage-structure #paslaugos .hs-article:hover::before,
.homepage-structure #paslaugos .hs-article:focus-within::before {
  color: #8f6a3a;
  background-size: 1.85rem 1px;
}

.homepage-structure #paslaugos .hs-article:hover .hs-link::after,
.homepage-structure #paslaugos .hs-article:focus-within .hs-link::after,
.homepage-structure #paslaugos .hs-link:hover::after,
.homepage-structure #paslaugos .hs-link:focus-visible::after {
  transform: scaleX(1);
}

/* =========================================================
   #protingesne-statyba — deep technical field (D4)
   ========================================================= */
.homepage-structure #protingesne-statyba {
  --ps-line: rgba(250, 248, 244, 0.14);
  --ps-line-soft: rgba(250, 248, 244, 0.08);
  --ps-bronze: rgba(183, 141, 87, 0.72);
  --ps-bronze-soft: rgba(183, 141, 87, 0.38);
  --ps-node: 7px;
  position: relative;
  isolation: isolate;
  color: var(--hf-cream);
  border-bottom: 0;
  overflow: hidden;
  max-width: 100%;
  background:
    radial-gradient(ellipse 50% 42% at 82% 18%, rgba(183, 141, 87, 0.07), transparent 58%),
    radial-gradient(ellipse 40% 36% at 8% 88%, rgba(183, 141, 87, 0.04), transparent 55%),
    linear-gradient(165deg, #2a241e 0%, var(--hf-dark) 42%, var(--hf-dark-deep) 78%, #14110e 100%);
  padding-block: clamp(3.75rem, 8vw, 6.25rem);
}

/* Partial technical grid — quiet corner only; stays under content */
.homepage-structure #protingesne-statyba::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(250, 248, 244, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250, 248, 244, 0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  background-position: 100% 0;
  opacity: 0.055;
  -webkit-mask-image: linear-gradient(225deg, #000 0%, #000 22%, transparent 52%);
  mask-image: linear-gradient(225deg, #000 0%, #000 22%, transparent 52%);
  pointer-events: none;
  z-index: 0;
}

/* Horizontal direction line only — no long diagonals on the section shell */
.homepage-structure #protingesne-statyba::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(var(--ps-line), var(--ps-line));
  background-size: min(46%, 26rem) 1px;
  background-position: left max(var(--hf-pad), calc((100% - 74rem) / 2)) top 12%;
  background-repeat: no-repeat;
}

.homepage-structure #protingesne-statyba > .hs-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.35rem 0;
  align-items: start;
}

/*
  Desktop-only construction diagonals live on the figure column
  (via media query). Hidden by default so they never cross copy.
*/
.homepage-structure #protingesne-statyba > .hs-container::before {
  content: "";
  display: none;
  pointer-events: none;
}

/* Single quiet technical code — not repeated per principle */
.homepage-structure #protingesne-statyba > .hs-container::after {
  content: none;
  display: none;
}

/* Decorative eyebrow mark (no invented copy) */
.homepage-structure #protingesne-statyba h2 {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  padding-top: 1.35rem;
  max-width: 16ch;
  font-family: var(--hf-display);
  font-size: clamp(1.7rem, 4.6vw, 2.85rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--hf-cream);
  overflow-wrap: break-word;
}

.homepage-structure #protingesne-statyba h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2.75rem;
  height: 1px;
  background: var(--ps-bronze);
}

.homepage-structure #protingesne-statyba h2::after {
  content: "";
  position: absolute;
  top: -0.22rem;
  left: 0;
  width: var(--ps-node);
  height: var(--ps-node);
  border: 1px solid var(--ps-bronze);
  border-radius: 50%;
  background: radial-gradient(circle, var(--hf-bronze) 1.1px, transparent 1.25px);
  box-shadow: none;
}

.homepage-structure #protingesne-statyba > .hs-container > p {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  max-width: 58ch;
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
  line-height: 1.72;
  color: var(--hf-cream-soft);
}

.homepage-structure #protingesne-statyba .hs-figure {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 3;
  margin: 0.35rem 0 0;
  min-height: clamp(14.5rem, 52vw, 22rem);
  border: 0;
  padding: 0;
  display: block;
  overflow: hidden;
  color: var(--hf-cream-soft);
  background:
    linear-gradient(105deg, rgba(30, 27, 23, 0.82) 0%, rgba(30, 27, 23, 0.28) 34%, transparent 58%),
    url("../images/premium-home/cutaway-house-1280.jpg") 46% 42% / cover no-repeat;
}

.homepage-structure #protingesne-statyba .hs-figure picture,
.homepage-structure #protingesne-statyba .hs-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
  filter: none;
  opacity: 1;
  transform: none;
  -webkit-mask-image: none;
  mask-image: none;
}

/* Soft left blend into the graphite field — does not veil the whole image */
.homepage-structure #protingesne-statyba .hs-figure::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    96deg,
    rgba(23, 21, 18, 0.78) 0%,
    rgba(23, 21, 18, 0.34) 26%,
    transparent 48%
  );
  transition: opacity 0.25s ease;
}

/* Corner accent + 4 decision nodes (volume / structure / facade / sketch) */
.homepage-structure #protingesne-statyba .hs-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border: 0;
  background:
    linear-gradient(var(--ps-bronze), var(--ps-bronze)) 0.9rem 0.9rem / 1.15rem 1px no-repeat,
    linear-gradient(var(--ps-bronze), var(--ps-bronze)) 0.9rem 0.9rem / 1px 1.15rem no-repeat,
    radial-gradient(circle, var(--hf-bronze) 1.15px, transparent 1.35px) 28% 58% / var(--ps-node) var(--ps-node) no-repeat,
    radial-gradient(circle, transparent 1.4px, var(--ps-bronze) 1.5px, var(--ps-bronze) 2.1px, transparent 2.3px) 28% 58% / var(--ps-node) var(--ps-node) no-repeat,
    radial-gradient(circle, var(--hf-bronze) 1.15px, transparent 1.35px) 48% 44% / var(--ps-node) var(--ps-node) no-repeat,
    radial-gradient(circle, transparent 1.4px, var(--ps-bronze) 1.5px, var(--ps-bronze) 2.1px, transparent 2.3px) 48% 44% / var(--ps-node) var(--ps-node) no-repeat,
    radial-gradient(circle, var(--hf-bronze) 1.15px, transparent 1.35px) 68% 30% / var(--ps-node) var(--ps-node) no-repeat,
    radial-gradient(circle, transparent 1.4px, var(--ps-bronze) 1.5px, var(--ps-bronze) 2.1px, transparent 2.3px) 68% 30% / var(--ps-node) var(--ps-node) no-repeat,
    radial-gradient(circle, var(--hf-bronze) 1.15px, transparent 1.35px) 82% 72% / var(--ps-node) var(--ps-node) no-repeat,
    radial-gradient(circle, transparent 1.4px, var(--ps-bronze) 1.5px, var(--ps-bronze) 2.1px, transparent 2.3px) 82% 72% / var(--ps-node) var(--ps-node) no-repeat,
    linear-gradient(var(--ps-line-soft), var(--ps-line-soft)) 28% 58% / 1px 12% no-repeat,
    linear-gradient(var(--ps-line-soft), var(--ps-line-soft)) 48% 44% / 1px 10% no-repeat,
    linear-gradient(var(--ps-line-soft), var(--ps-line-soft)) 68% 30% / 1px 9% no-repeat,
    linear-gradient(var(--ps-line-soft), var(--ps-line-soft)) 82% 72% / 1px 11% no-repeat;
  transition: opacity 0.25s ease;
}

.homepage-structure #protingesne-statyba .hs-figure:hover::before,
.homepage-structure #protingesne-statyba .hs-figure:focus-within::before {
  opacity: 0.92;
}

.homepage-structure #protingesne-statyba .hs-figure:hover::after,
.homepage-structure #protingesne-statyba .hs-figure:focus-within::after {
  opacity: 1;
  background:
    linear-gradient(var(--hf-bronze), var(--hf-bronze)) 0.9rem 0.9rem / 1.35rem 1px no-repeat,
    linear-gradient(var(--hf-bronze), var(--hf-bronze)) 0.9rem 0.9rem / 1px 1.35rem no-repeat,
    radial-gradient(circle, var(--hf-bronze) 1.15px, transparent 1.35px) 28% 58% / var(--ps-node) var(--ps-node) no-repeat,
    radial-gradient(circle, transparent 1.4px, var(--hf-bronze) 1.5px, var(--hf-bronze) 2.2px, transparent 2.4px) 28% 58% / var(--ps-node) var(--ps-node) no-repeat,
    radial-gradient(circle, var(--hf-bronze) 1.15px, transparent 1.35px) 48% 44% / var(--ps-node) var(--ps-node) no-repeat,
    radial-gradient(circle, transparent 1.4px, var(--hf-bronze) 1.5px, var(--hf-bronze) 2.2px, transparent 2.4px) 48% 44% / var(--ps-node) var(--ps-node) no-repeat,
    radial-gradient(circle, var(--hf-bronze) 1.15px, transparent 1.35px) 68% 30% / var(--ps-node) var(--ps-node) no-repeat,
    radial-gradient(circle, transparent 1.4px, var(--hf-bronze) 1.5px, var(--hf-bronze) 2.2px, transparent 2.4px) 68% 30% / var(--ps-node) var(--ps-node) no-repeat,
    radial-gradient(circle, var(--hf-bronze) 1.15px, transparent 1.35px) 82% 72% / var(--ps-node) var(--ps-node) no-repeat,
    radial-gradient(circle, transparent 1.4px, var(--hf-bronze) 1.5px, var(--hf-bronze) 2.2px, transparent 2.4px) 82% 72% / var(--ps-node) var(--ps-node) no-repeat,
    linear-gradient(var(--ps-line), var(--ps-line)) 28% 58% / 1px 14% no-repeat,
    linear-gradient(var(--ps-line), var(--ps-line)) 48% 44% / 1px 12% no-repeat,
    linear-gradient(var(--ps-line), var(--ps-line)) 68% 30% / 1px 11% no-repeat,
    linear-gradient(var(--ps-line), var(--ps-line)) 82% 72% / 1px 13% no-repeat;
}

.homepage-structure #protingesne-statyba .hs-figure figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Four principles — shared rail, not cards */
.homepage-structure #protingesne-statyba .hs-principles {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 1.1rem 0 0;
  padding: 0 0 0 1.35rem;
  border: 0;
  background: transparent;
}

.homepage-structure #protingesne-statyba .hs-principles::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  bottom: 0.55rem;
  left: calc(var(--ps-node) / 2);
  width: 1px;
  background: linear-gradient(180deg, var(--ps-bronze-soft), var(--ps-line) 18%, var(--ps-line) 82%, transparent);
  pointer-events: none;
}

.homepage-structure #protingesne-statyba .hs-principles > div {
  position: relative;
  margin: 0;
  padding: 0.95rem 0 0.95rem 0.15rem;
  border: 0;
  background: transparent;
  min-width: 0;
}

.homepage-structure #protingesne-statyba .hs-principles > div:first-child {
  padding-top: 0.15rem;
}

.homepage-structure #protingesne-statyba .hs-principles > div::before {
  content: "01";
  display: block;
  margin: 0 0 0.4rem;
  font-family: var(--hf-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--hf-bronze-soft);
  transition: color 0.2s ease;
}

.homepage-structure #protingesne-statyba .hs-principles > div:nth-child(2)::before { content: "02"; }
.homepage-structure #protingesne-statyba .hs-principles > div:nth-child(3)::before { content: "03"; }
.homepage-structure #protingesne-statyba .hs-principles > div:nth-child(4)::before { content: "04"; }

.homepage-structure #protingesne-statyba .hs-principles > div::after {
  content: "";
  position: absolute;
  top: 1.15rem;
  left: -1.35rem;
  width: var(--ps-node);
  height: var(--ps-node);
  border: 1px solid var(--ps-bronze);
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--hf-bronze) 1.1px, var(--hf-dark-deep) 1.25px);
  box-shadow: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.homepage-structure #protingesne-statyba .hs-principles > div:first-child::after {
  top: 0.35rem;
}

.homepage-structure #protingesne-statyba .hs-principles > div h3 {
  margin: 0 0 0.4rem;
  color: var(--hf-cream);
  font-size: clamp(1.08rem, 2.4vw, 1.22rem);
  max-width: 12ch;
}

.homepage-structure #protingesne-statyba .hs-principles > div p {
  margin: 0;
  max-width: 34ch;
  font-size: 0.94rem;
  line-height: 1.62;
  color: rgba(250, 248, 244, 0.64);
}

/* Short principle accent line under the index */
.homepage-structure #protingesne-statyba .hs-principles > div h3 {
  background-image: linear-gradient(var(--ps-bronze), var(--ps-bronze));
  background-size: 1.1rem 1px;
  background-position: 0 0;
  background-repeat: no-repeat;
  padding-top: 0.55rem;
  transition: background-size 0.22s ease;
}

.homepage-structure #protingesne-statyba .hs-principles > div:hover::before,
.homepage-structure #protingesne-statyba .hs-principles > div:focus-within::before {
  color: var(--hf-bronze);
}

.homepage-structure #protingesne-statyba .hs-principles > div:hover::after,
.homepage-structure #protingesne-statyba .hs-principles > div:focus-within::after {
  border-color: var(--hf-bronze);
  background: radial-gradient(circle, var(--hf-bronze) 1.35px, var(--hf-dark-soft) 1.5px);
}

.homepage-structure #protingesne-statyba .hs-principles > div:hover h3,
.homepage-structure #protingesne-statyba .hs-principles > div:focus-within h3 {
  background-size: 2rem 1px;
}

/* Neutral figure placeholder for later sections only */
.homepage-structure .hs-section:not(.hs-hero):not(#kodel-mes):not(#protingesne-statyba) .hs-figure {
  margin: 1.5rem 0 0;
  min-height: 12rem;
  border: 1px solid var(--hf-line-light);
  background: var(--hf-stone);
  display: grid;
  place-items: center;
  color: var(--hf-ink-soft);
  font-size: 0.8125rem;
  text-align: center;
  padding: 1rem;
}

.homepage-structure .hs-section:not(.hs-hero):not(#kodel-mes):not(#protingesne-statyba) .hs-figure figcaption {
  margin: 0;
}

.homepage-structure .hs-section:not(.hs-hero):not(#kodel-mes):not(#sistema):not(#kelias):not(#paslaugos):not(#kodel-pastatysiutau) .hs-stack {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.homepage-structure .hs-section:not(.hs-hero):not(#kodel-mes):not(#sistema):not(#kelias):not(#paslaugos):not(#kodel-pastatysiutau) .hs-item,
.homepage-structure .hs-section:not(#paslaugos) .hs-article {
  padding: 1rem 0;
  border-top: 1px solid var(--hf-line-light);
}

.homepage-structure .hs-section:not(.hs-hero):not(#kodel-mes):not(#sistema):not(#kelias):not(#paslaugos):not(#kodel-pastatysiutau) .hs-item:first-child,
.homepage-structure .hs-section:not(#paslaugos) .hs-article:first-child {
  border-top: 0;
  padding-top: 0;
}

.homepage-structure .hs-section:not(#sistema):not(#kelias):not(#kodel-pastatysiutau) .hs-index {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8125rem;
  color: var(--hf-ink-soft);
  letter-spacing: 0.08em;
}

.homepage-structure .hs-category {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hf-ink-soft);
}

.homepage-structure .hs-principles {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

.homepage-structure .hs-principles > div {
  padding-top: 0.75rem;
  border-top: 1px solid var(--hf-line-light);
}

/* =========================================================
   #namu-kryptys — premium editorial gallery (D5)
   Desktop: asymmetric 12-col · Tablet: 2-col · Mobile: stack
   ========================================================= */
.homepage-structure #namu-kryptys {
  position: relative;
  background:
    linear-gradient(180deg, #faf7f1 0%, var(--hf-light) 42%, #f2ebe2 100%);
  color: var(--hf-ink);
  border-bottom: 1px solid var(--hf-line-light);
  overflow: hidden;
  max-width: 100%;
}

.homepage-structure #namu-kryptys::before {
  content: "";
  position: absolute;
  left: max(var(--hf-pad), calc((100% - 74rem) / 2));
  right: max(var(--hf-pad), calc((100% - 74rem) / 2));
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--hf-line-bronze) 12%,
    rgba(42, 35, 26, 0.1) 50%,
    var(--hf-line-bronze) 88%,
    transparent
  );
  pointer-events: none;
  z-index: 0;
}

.homepage-structure #namu-kryptys::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 40% at 8% 18%, rgba(183, 141, 87, 0.07), transparent 70%),
    radial-gradient(ellipse 45% 35% at 92% 78%, rgba(42, 35, 26, 0.04), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.homepage-structure #namu-kryptys > .hs-container {
  position: relative;
  z-index: 1;
}

.homepage-structure #namu-kryptys h2 {
  position: relative;
  padding-top: 1.15rem;
  max-width: 20ch;
}

.homepage-structure #namu-kryptys h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2.5rem;
  height: 1px;
  background: var(--hf-line-bronze);
}

.homepage-structure #namu-kryptys h2::after {
  content: "";
  position: absolute;
  top: -0.2rem;
  left: 0;
  width: 1px;
  height: 0.55rem;
  background: var(--hf-bronze);
}

.homepage-structure #namu-kryptys > .hs-container > p {
  max-width: 46rem;
}

.homepage-structure #namu-kryptys .hs-directions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.25rem;
  margin-top: 2.25rem;
}

.homepage-structure #namu-kryptys .hs-direction {
  margin: 0;
  min-width: 0;
  padding: 0;
  border: 0;
}

.homepage-structure #namu-kryptys .hs-direction__media {
  margin: 0 0 0.95rem;
  overflow: hidden;
  background: var(--hf-stone);
}

.homepage-structure #namu-kryptys .hs-direction__media img {
  display: block;
  width: 100%;
  height: auto;
}

.homepage-structure #namu-kryptys .hs-direction figcaption {
  margin: 0;
  max-width: 34rem;
}

.homepage-structure #namu-kryptys .hs-direction figcaption h3 {
  margin-bottom: 0.4rem;
  max-width: 18ch;
}

.homepage-structure #namu-kryptys .hs-direction figcaption p {
  margin-bottom: 0;
  max-width: 36ch;
  color: var(--hf-ink-soft);
}

/* =========================================================
   #kodel-pastatysiutau — trust principles (D6)
   Ivory intro + deep graphite principles · architectural, no cards
   ========================================================= */
.homepage-structure #kodel-pastatysiutau {
  --kpt-node: 0.625rem;
  --kpt-rail: 0.75rem;
  --kpt-gap: 0;
  position: relative;
  background:
    linear-gradient(180deg, #faf7f1 0%, var(--hf-light-soft) 52%, #f3ebe1 100%);
  color: var(--hf-ink);
  border-bottom: 0;
  overflow: hidden;
  max-width: 100%;
  padding-block: clamp(3.25rem, 6.5vw, 5rem) 0;
}

.homepage-structure #kodel-pastatysiutau > .hs-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  min-width: 0;
}

/* Short bronze measure before eyebrow */
.homepage-structure #kodel-pastatysiutau .hs-eyebrow {
  position: relative;
  display: block;
  margin: 0 0 0.95rem;
  padding-top: 1.05rem;
  padding-right: 4.5rem;
  color: var(--hf-ink-soft);
  letter-spacing: 0.14em;
}

.homepage-structure #kodel-pastatysiutau .hs-eyebrow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2.25rem;
  height: 1px;
  background: var(--hf-line-bronze);
}

.homepage-structure #kodel-pastatysiutau .hs-eyebrow::after {
  content: none;
  display: none;
}

/* Editorial H2 — below Hero H1 scale */
.homepage-structure #kodel-pastatysiutau h2 {
  margin: 0 0 1.05rem;
  max-width: 15ch;
  font-family: var(--hf-display);
  font-size: clamp(1.6rem, 3.5vw, 2.55rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.028em;
  color: var(--hf-ink);
  overflow-wrap: break-word;
}

.homepage-structure #kodel-pastatysiutau > .hs-container > p {
  margin: 0 0 2rem;
  max-width: 56ch;
  font-size: clamp(0.975rem, 1.15vw, 1.05rem);
  line-height: 1.7;
  color: var(--hf-ink-soft);
}

/* Deep graphite principles band */
.homepage-structure #kodel-pastatysiutau .hs-stack {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 0;
  padding: 1.65rem 0 2.15rem;
  background:
    radial-gradient(ellipse 48% 32% at 92% 8%, rgba(183, 141, 87, 0.08), transparent 62%),
    linear-gradient(165deg, rgba(250, 248, 244, 0.03) 0%, transparent 28%),
    linear-gradient(180deg, #221e19 0%, var(--hf-dark-deep) 46%, #12100e 100%);
  color: var(--hf-cream);
  min-width: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/* Vertical axis — optional on small screens via media query */
.homepage-structure #kodel-pastatysiutau .hs-stack::before {
  content: "";
  position: absolute;
  left: var(--kpt-rail);
  top: 1.85rem;
  bottom: 1.85rem;
  width: 1px;
  background: linear-gradient(
    180deg,
    var(--hf-line-bronze),
    rgba(250, 248, 244, 0.12) 18%,
    rgba(250, 248, 244, 0.1) 82%,
    rgba(183, 141, 87, 0.4)
  );
  pointer-events: none;
  z-index: 0;
}

.homepage-structure #kodel-pastatysiutau .hs-item {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.35rem 0;
  align-items: start;
  margin: 0;
  padding: 1.15rem 0 1.15rem 1.85rem;
  border: 0;
  border-top: 1px solid rgba(250, 248, 244, 0.1);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  min-width: 0;
}

.homepage-structure #kodel-pastatysiutau .hs-item:first-child {
  border-top: 0;
  padding-top: 0.35rem;
}

.homepage-structure #kodel-pastatysiutau .hs-item:last-child {
  padding-bottom: 0.2rem;
}

/* Bronze node aligned to rail */
.homepage-structure #kodel-pastatysiutau .hs-item::before {
  content: "";
  position: absolute;
  left: calc(var(--kpt-rail) - (var(--kpt-node) / 2));
  top: 1.45rem;
  width: var(--kpt-node);
  height: var(--kpt-node);
  box-sizing: border-box;
  border: 1px solid var(--hf-bronze);
  border-radius: 50%;
  background: #1a1714;
  z-index: 2;
  transition: border-color 0.22s ease, background-color 0.22s ease;
}

.homepage-structure #kodel-pastatysiutau .hs-item:first-child::before {
  top: 0.65rem;
}

.homepage-structure #kodel-pastatysiutau .hs-index {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-family: var(--hf-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1;
  color: var(--hf-bronze);
}

/* Measure tick beside number — lengthens on hover, no row reflow */
.homepage-structure #kodel-pastatysiutau .hs-index::after {
  content: "";
  display: block;
  width: 1.25rem;
  height: 1px;
  background: var(--hf-line-bronze);
  transform: scaleX(0.55);
  transform-origin: left center;
  transition: transform 0.22s ease, background-color 0.22s ease;
}

.homepage-structure #kodel-pastatysiutau .hs-item h3 {
  margin: 0;
  max-width: 22ch;
  font-family: var(--hf-display);
  font-size: clamp(1.05rem, 2.6vw, 1.28rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--hf-cream);
  overflow-wrap: break-word;
  transition: color 0.22s ease;
}

.homepage-structure #kodel-pastatysiutau .hs-item p {
  margin: 0;
  max-width: 42ch;
  min-width: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(250, 248, 244, 0.62);
  overflow-wrap: break-word;
}

.homepage-structure #kodel-pastatysiutau .hs-item:hover::before,
.homepage-structure #kodel-pastatysiutau .hs-item:focus-within::before {
  border-color: var(--hf-bronze-soft);
  background: rgba(183, 141, 87, 0.35);
}

.homepage-structure #kodel-pastatysiutau .hs-item:hover .hs-index::after,
.homepage-structure #kodel-pastatysiutau .hs-item:focus-within .hs-index::after {
  transform: scaleX(1);
  background: var(--hf-bronze-soft);
}

.homepage-structure #kodel-pastatysiutau .hs-item:hover h3,
.homepage-structure #kodel-pastatysiutau .hs-item:focus-within h3 {
  color: #fff8ee;
}

/* =========================================================
   #kam-skirta — audience (D7)
   Ivory · H2 left / numbered rows right · no cards
   ========================================================= */
.homepage-structure #kam-skirta {
  background: var(--hf-light-soft);
  color: var(--hf-ink);
  border-bottom: 1px solid var(--hf-line-light);
  max-width: 100%;
  overflow: hidden;
}

.homepage-structure #kam-skirta > .hs-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
  min-width: 0;
}

.homepage-structure #kam-skirta h2 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(1.55rem, 3.8vw, 2.45rem);
  line-height: 1.08;
}

.homepage-structure #kam-skirta .hs-list {
  counter-reset: kam-row;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
  border-top: 1px solid var(--hf-line-light);
}

.homepage-structure #kam-skirta .hs-list li {
  counter-increment: kam-row;
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  column-gap: 0.85rem;
  align-items: baseline;
  margin: 0;
  padding: 1rem 0;
  border-bottom: 1px solid var(--hf-line-light);
  color: var(--hf-ink-soft);
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.6;
}

.homepage-structure #kam-skirta .hs-list li::before {
  content: counter(kam-row, decimal-leading-zero);
  font-family: var(--hf-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--hf-bronze);
  line-height: 1.6;
}

.homepage-structure #kam-skirta .hs-note {
  margin: 0;
  padding: 0.15rem 0 0.15rem 1rem;
  border-left: 1px solid var(--hf-line-bronze);
  max-width: 42rem;
  color: var(--hf-ink-soft);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* =========================================================
   #izvalgos — editorial insights (D8)
   3 articles · thin H/V rules · no card chrome
   ========================================================= */
.homepage-structure #izvalgos {
  background: var(--hf-light);
  color: var(--hf-ink);
  border-bottom: 1px solid var(--hf-line-light);
  max-width: 100%;
  overflow: hidden;
}

.homepage-structure #izvalgos h2 {
  margin: 0 0 1.75rem;
  max-width: 18ch;
  font-size: clamp(1.55rem, 3.8vw, 2.45rem);
  line-height: 1.08;
}

.homepage-structure #izvalgos .hs-stack.hs-stack--three {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 0;
  counter-reset: izv-art;
  border-top: 1px solid var(--hf-line-light);
}

.homepage-structure #izvalgos .hs-article {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.45rem;
  margin: 0;
  padding: 1.5rem 0 1.65rem;
  border: 0;
  border-bottom: 1px solid var(--hf-line-light);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  counter-increment: izv-art;
  min-width: 0;
}

.homepage-structure #izvalgos .hs-article:first-child {
  padding-top: 1.5rem;
  border-top: 0;
}

.homepage-structure #izvalgos .hs-article::before {
  content: counter(izv-art, decimal-leading-zero);
  display: block;
  margin: 0 0 0.15rem;
  font-family: var(--hf-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--hf-bronze);
  line-height: 1;
}

.homepage-structure #izvalgos .hs-category {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hf-ink-soft);
}

.homepage-structure #izvalgos .hs-article h3 {
  margin: 0.15rem 0 0;
  max-width: 22ch;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--hf-ink);
  overflow-wrap: break-word;
}

.homepage-structure #izvalgos .hs-article > p {
  margin: 0.35rem 0 0;
  max-width: 36ch;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--hf-ink-soft);
}

.homepage-structure #izvalgos .hs-link {
  justify-self: start;
  margin-top: 0.85rem;
  padding: 0;
  min-height: 2rem;
  border: 0;
  background: transparent;
  color: var(--hf-ink);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: inset 0 -1px 0 var(--hf-line-bronze);
}

.homepage-structure #izvalgos .hs-link:hover,
.homepage-structure #izvalgos .hs-link:focus-visible {
  color: var(--hf-bronze);
  box-shadow: inset 0 -1px 0 var(--hf-bronze);
}

/* =========================================================
   #duk — FAQ (D9)
   Soft ivory · native details · +/− markers
   ========================================================= */
.homepage-structure #duk {
  background:
    linear-gradient(180deg, #faf7f1 0%, var(--hf-light-soft) 55%, #f3ebe1 100%);
  color: var(--hf-ink);
  border-bottom: 1px solid var(--hf-line-light);
  max-width: 100%;
  overflow: hidden;
}

.homepage-structure #duk > .hs-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  min-width: 0;
}

.homepage-structure #duk h2 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(1.55rem, 3.8vw, 2.45rem);
  line-height: 1.08;
}

.homepage-structure #duk .hs-faq {
  display: grid;
  gap: 0;
  margin: 0;
  max-width: none;
  width: 100%;
  border-top: 1px solid var(--hf-line-light);
}

.homepage-structure #duk .hs-faq details {
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--hf-line-light);
  background: transparent;
  border-radius: 0;
}

.homepage-structure #duk .hs-faq summary {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.5rem;
  align-items: center;
  column-gap: 0.75rem;
  min-height: 3.25rem;
  padding: 0.95rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--hf-display);
  font-size: clamp(1.02rem, 2.2vw, 1.15rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--hf-ink);
}

.homepage-structure #duk .hs-faq summary::-webkit-details-marker {
  display: none;
}

.homepage-structure #duk .hs-faq summary::after {
  content: "+";
  grid-column: 2;
  justify-self: end;
  font-family: var(--hf-mono);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1;
  color: var(--hf-bronze);
}

.homepage-structure #duk .hs-faq details[open] summary::after {
  content: "\2212";
}

.homepage-structure #duk .hs-faq details p {
  margin: 0 0 1.15rem;
  max-width: 48ch;
  padding-right: 2rem;
  font-size: 0.9375rem;
  line-height: 1.68;
  color: var(--hf-ink-soft);
}

/* =========================================================
   #kontaktai — contact + form (D10)
   Warm graphite · cream type · linear fields
   ========================================================= */
.homepage-structure #kontaktai {
  background:
    linear-gradient(180deg, #221e19 0%, var(--hf-dark-deep) 48%, #12100e 100%);
  color: var(--hf-cream);
  border-bottom: 0;
  max-width: 100%;
  overflow: hidden;
}

.homepage-structure #kontaktai > .hs-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
  min-width: 0;
}

.homepage-structure #kontaktai h2 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(1.6rem, 3.8vw, 2.55rem);
  line-height: 1.08;
  color: var(--hf-cream);
}

.homepage-structure #kontaktai > .hs-container > p:not(.hs-note) {
  margin: 0;
  max-width: 40ch;
  font-size: clamp(0.975rem, 1.2vw, 1.05rem);
  line-height: 1.7;
  color: var(--hf-cream-soft);
}

.homepage-structure #kontaktai .hs-form {
  margin: 0;
  max-width: none;
  width: 100%;
  position: relative;
}

.homepage-structure #kontaktai .hs-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.homepage-structure #kontaktai .hs-form legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.homepage-structure #kontaktai .hs-form__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.15rem;
}

.homepage-structure #kontaktai .hs-form__grid--after {
  margin-top: 1.15rem;
  gap: 1.25rem;
}

.homepage-structure #kontaktai .hs-field {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  min-width: 0;
}

.homepage-structure #kontaktai .hs-field label {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(250, 248, 244, 0.78);
}

.homepage-structure #kontaktai .hs-field input,
.homepage-structure #kontaktai .hs-field select,
.homepage-structure #kontaktai .hs-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0;
  border: 0;
  border-bottom: 1px solid rgba(250, 248, 244, 0.28);
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  color: var(--hf-cream);
  appearance: none;
  box-shadow: none;
}

.homepage-structure #kontaktai .hs-field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--hf-bronze) 50%),
    linear-gradient(135deg, var(--hf-bronze) 50%, transparent 50%);
  background-position: calc(100% - 0.7rem) calc(50% + 0.15rem),
    calc(100% - 0.35rem) calc(50% + 0.15rem);
  background-size: 0.35rem 0.35rem, 0.35rem 0.35rem;
  background-repeat: no-repeat;
  padding-right: 1.5rem;
}

.homepage-structure #kontaktai .hs-field select option {
  color: var(--hf-ink);
  background: var(--hf-cream);
}

.homepage-structure #kontaktai .hs-field textarea {
  min-height: 9rem;
  resize: vertical;
  padding-top: 0.85rem;
}

.homepage-structure #kontaktai .hs-field input:focus-visible,
.homepage-structure #kontaktai .hs-field select:focus-visible,
.homepage-structure #kontaktai .hs-field textarea:focus-visible {
  border-bottom-color: var(--hf-bronze);
  outline-offset: 2px;
}

.homepage-structure #kontaktai .hs-field input::placeholder,
.homepage-structure #kontaktai .hs-field textarea::placeholder {
  color: rgba(250, 248, 244, 0.35);
}

.homepage-structure #kontaktai .hs-field--check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.homepage-structure #kontaktai .hs-field--check input {
  width: 1.15rem;
  height: 1.15rem;
  min-height: 0;
  margin-top: 0.2rem;
  flex-shrink: 0;
  border: 1px solid rgba(250, 248, 244, 0.4);
  accent-color: var(--hf-bronze);
}

.homepage-structure #kontaktai .hs-field--check label {
  font-weight: 400;
  font-size: 0.875rem;
  letter-spacing: 0;
  line-height: 1.55;
  color: var(--hf-cream-soft);
  max-width: none;
}

.homepage-structure #kontaktai .hs-field--check a {
  color: var(--hf-bronze-soft);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.homepage-structure #kontaktai .hs-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: 100%;
  max-width: 20rem;
  padding: 0.8rem 1.35rem;
  border: 1px solid var(--hf-bronze);
  border-radius: 0;
  background: var(--hf-bronze);
  color: var(--hf-dark-deep);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: none;
}

.homepage-structure #kontaktai .hs-button:hover,
.homepage-structure #kontaktai .hs-button:focus-visible {
  background: var(--hf-bronze-soft);
  border-color: var(--hf-bronze-soft);
  color: var(--hf-dark-deep);
}

.homepage-structure #kontaktai .hs-note {
  margin: 0;
  padding: 0.1rem 0 0.1rem 1rem;
  border-left: 1px solid var(--hf-line-bronze);
  max-width: 40rem;
  color: rgba(250, 248, 244, 0.55);
  font-size: 0.875rem;
  line-height: 1.6;
}

.homepage-structure #kontaktai .hs-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* =========================================================
   Footer — dark band continuation
   ========================================================= */
.homepage-structure .hs-footer {
  padding-block: 2.75rem 3rem;
  border-top: 1px solid rgba(250, 248, 244, 0.14);
  background: #12100e;
  color: var(--hf-cream);
  max-width: 100%;
  overflow: hidden;
}

.homepage-structure .hs-footer > .hs-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.35rem;
  min-width: 0;
}

.homepage-structure .hs-footer__brand {
  margin: 0;
  font-family: var(--hf-display);
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--hf-cream);
}

.homepage-structure .hs-footer__tag {
  margin: 0 0 0.85rem;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hf-bronze);
}

.homepage-structure .hs-footer > .hs-container > p {
  margin: 0 0 1.5rem;
  max-width: 36ch;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--hf-cream-soft);
}

.homepage-structure .hs-footer nav {
  margin: 0 0 1.5rem;
}

.homepage-structure .hs-footer nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.homepage-structure .hs-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(250, 248, 244, 0.78);
  text-decoration: none;
  font-size: 0.9375rem;
}

.homepage-structure .hs-footer a:hover,
.homepage-structure .hs-footer a:focus-visible {
  color: var(--hf-bronze-soft);
}

.homepage-structure .hs-footer__meta {
  display: grid;
  gap: 0.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(250, 248, 244, 0.1);
  color: rgba(250, 248, 244, 0.5);
  font-size: 0.875rem;
}

.homepage-structure .hs-footer__meta p {
  margin: 0;
  max-width: none;
}

.homepage-structure .hs-footer__meta a {
  min-height: auto;
  color: var(--hf-bronze-soft);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (min-width: 768px) {
  .homepage-structure {
    --hf-pad: 1.75rem;
  }

  .homepage-structure .hs-hero .hs-container.hs-hero__grid {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-left: var(--hf-pad);
    padding-right: 0;
    box-sizing: border-box;
    grid-template-columns: minmax(0, 40%) minmax(0, 60%);
    gap: 0;
    align-items: center;
    min-height: min(64vh, 32rem);
  }

  .homepage-structure .hs-hero__grid > div:first-child {
    position: relative;
    z-index: 2;
    max-width: 28rem;
    min-width: 0;
    padding: 1.5rem 1rem 1.5rem 0.85rem;
  }

  .homepage-structure .hs-hero .hs-figure {
    min-height: min(60vh, 30rem);
    width: 100%;
    max-width: 100%;
    margin: 0;
    min-width: 0;
    -webkit-mask-image: none;
    mask-image: none;
    box-shadow: none;
  }

  /* Soft left fade into dark hero field (no full-image mask/inset shadow) */
  .homepage-structure .hs-hero .hs-figure::before {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    height: auto;
    border: 0;
    z-index: 1;
    pointer-events: none;
    background:
      linear-gradient(var(--hf-bronze), var(--hf-bronze)) 0.85rem 0.85rem / 1px 1.15rem no-repeat,
      linear-gradient(var(--hf-bronze), var(--hf-bronze)) 0.85rem 0.85rem / 1.15rem 1px no-repeat,
      linear-gradient(90deg, rgba(25, 22, 18, 0.9) 0%, rgba(25, 22, 18, 0.45) 12%, transparent 20%);
  }

  .homepage-structure .hs-hero .hs-figure img {
    object-position: 62% center;
    filter: none;
    opacity: 1;
    transform: none;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .homepage-structure .hs-hero h1 {
    max-width: 10.5ch;
  }

  .homepage-structure #kodel-mes {
    overflow: hidden;
  }

  .homepage-structure #kodel-mes .hs-container {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    grid-template-areas:
      "title media"
      "intro media"
      "close media"
      "issues issues";
    column-gap: clamp(1.25rem, 3vw, 2.5rem);
    row-gap: 1.15rem;
    align-items: start;
    min-width: 0;
  }

  .homepage-structure #kodel-mes h2 { grid-area: title; }
  .homepage-structure #kodel-mes > .hs-container > p:first-of-type { grid-area: intro; }
  .homepage-structure #kodel-mes .hs-stack--three { grid-area: issues; min-width: 0; }
  .homepage-structure #kodel-mes > .hs-container > p:last-of-type { grid-area: close; }
  .homepage-structure #kodel-mes .hs-figure {
    grid-area: media;
    width: 100%;
    max-width: 100%;
    margin: 0;
    min-height: 26rem;
    min-width: 0;
    align-self: stretch;
    background-position: 48% center;
    justify-self: stretch;
  }

  .homepage-structure #sistema .hs-item {
    grid-template-columns: 2.5rem minmax(0, 13rem) minmax(0, 1fr);
    align-items: baseline;
    column-gap: 1rem;
    min-width: 0;
  }

  .homepage-structure #sistema .hs-item h3 {
    max-width: none;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .homepage-structure #sistema .hs-item p {
    max-width: 46ch;
    min-width: 0;
    overflow-wrap: break-word;
  }

  .homepage-structure .hs-stack--two {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  /* #kelias tablet: 2 chronological columns + horizontal process lines */
  .homepage-structure #kelias .hs-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 0;
    row-gap: 2.35rem;
    padding: 0;
    margin-top: 2.75rem;
  }

  .homepage-structure #kelias .hs-stack::before {
    display: none;
  }

  .homepage-structure #kelias .hs-item {
    padding: 1.7rem 1rem 0 0;
    min-width: 0;
  }

  .homepage-structure #kelias .hs-item:first-child,
  .homepage-structure #kelias .hs-item:last-child {
    padding-top: 1.7rem;
    padding-bottom: 0;
  }

  /* Node sits on the process line */
  .homepage-structure #kelias .hs-item::before {
    left: var(--kelias-inset);
    top: 0;
    transform: none;
  }

  .homepage-structure #kelias .hs-item:first-child::before {
    top: 0;
  }

  /* Horizontal process segment through each cell; nodes align on the line */
  .homepage-structure #kelias .hs-item::after {
    content: "";
    position: absolute;
    top: calc(var(--kelias-node) / 2 - 0.5px);
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(42, 35, 26, 0.14);
    z-index: 1;
    pointer-events: none;
  }

  /* Row starts at node; row ends at node */
  .homepage-structure #kelias .hs-item:nth-child(2n + 1)::after {
    left: var(--kelias-inset);
  }

  .homepage-structure #kelias .hs-item:nth-child(2n)::after {
    right: auto;
    left: 0;
    width: calc(var(--kelias-inset) + var(--kelias-node));
  }

  /* Vertical stub: node → content */
  .homepage-structure #kelias .hs-item {
    background-image: linear-gradient(
      var(--hf-line-bronze),
      var(--hf-line-bronze)
    );
    background-size: 1px 0.7rem;
    background-position: calc(var(--kelias-inset) + var(--kelias-node) / 2 - 0.5px) var(--kelias-node);
    background-repeat: no-repeat;
  }

  /* Clear 04 → 05 row break: slightly stronger gap already; mark row-2 start */
  .homepage-structure #kelias .hs-item:nth-child(5),
  .homepage-structure #kelias .hs-item:nth-child(6),
  .homepage-structure #kelias .hs-item:nth-child(7),
  .homepage-structure #kelias .hs-item:nth-child(8) {
    padding-top: 1.7rem;
  }

  /* Subtle end arrow after stage 08 */
  .homepage-structure #kelias .hs-item:nth-child(8)::after {
    width: calc(var(--kelias-inset) + var(--kelias-node) + 0.85rem);
    background:
      linear-gradient(rgba(42, 35, 26, 0.14), rgba(42, 35, 26, 0.14)) left center / calc(100% - 0.35rem) 1px no-repeat,
      linear-gradient(135deg, transparent 50%, rgba(183, 141, 87, 0.85) 50%) right 0.05rem top calc(50% - 0.2rem) / 0.35rem 0.35rem no-repeat,
      linear-gradient(-135deg, transparent 50%, rgba(183, 141, 87, 0.85) 50%) right 0.05rem bottom calc(50% - 0.2rem) / 0.35rem 0.35rem no-repeat;
  }

  .homepage-structure #kelias .hs-item h3 {
    max-width: 14ch;
    font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  }

  .homepage-structure #kelias .hs-item p {
    max-width: 28ch;
  }

  .homepage-structure .hs-principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* #namu-kryptys tablet: two editorial columns */
  .homepage-structure #namu-kryptys .hs-directions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.75rem;
    row-gap: 2.35rem;
  }

  .homepage-structure #namu-kryptys .hs-direction:nth-child(odd) {
    padding-right: 0.15rem;
  }

  .homepage-structure #namu-kryptys .hs-direction:nth-child(even) {
    padding-left: 0.15rem;
    padding-top: 1.75rem;
  }

  .homepage-structure #namu-kryptys .hs-direction:nth-child(5) {
    grid-column: 1 / -1;
    padding: 0.5rem 8% 0;
  }

  .homepage-structure #namu-kryptys .hs-direction:nth-child(5) figcaption {
    max-width: 40rem;
  }

  .homepage-structure .hs-form__grid--two {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  /* #izvalgos tablet: 2 + 1 */
  .homepage-structure #izvalgos .hs-stack.hs-stack--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--hf-line-light);
  }

  .homepage-structure #izvalgos .hs-article {
    padding: 1.65rem 1.25rem 1.75rem;
    border-bottom: 0;
  }

  .homepage-structure #izvalgos .hs-article:first-child {
    padding-left: 0;
    padding-top: 1.65rem;
    border-right: 1px solid var(--hf-line-light);
  }

  .homepage-structure #izvalgos .hs-article:nth-child(2) {
    padding-right: 0;
    padding-top: 1.65rem;
  }

  .homepage-structure #izvalgos .hs-article:nth-child(3) {
    grid-column: 1 / -1;
    padding: 1.85rem 0 1.5rem;
    border-top: 1px solid var(--hf-line-bronze);
  }

  .homepage-structure #izvalgos .hs-article h3 {
    max-width: 20ch;
  }

  .homepage-structure #kontaktai .hs-form__grid--two {
    column-gap: 1.25rem;
  }

  .homepage-structure #kontaktai .hs-button {
    width: auto;
  }

  .homepage-structure .hs-footer > .hs-container {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    column-gap: 2rem;
    row-gap: 0.5rem;
    align-items: start;
  }

  .homepage-structure .hs-footer__brand,
  .homepage-structure .hs-footer__tag,
  .homepage-structure .hs-footer > .hs-container > p {
    grid-column: 1;
  }

  .homepage-structure .hs-footer nav {
    grid-column: 2;
    grid-row: 1 / span 3;
    margin: 0;
  }

  .homepage-structure .hs-footer__meta {
    grid-column: 1 / -1;
  }

  /* #paslaugos tablet 768–1099: two columns + full-width third */
  .homepage-structure #paslaugos > .hs-container > p {
    max-width: none;
  }

  .homepage-structure #paslaugos .hs-stack.hs-stack--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 0;
    row-gap: 0;
    margin-top: 2.75rem;
    border-top: 1px solid rgba(42, 35, 26, 0.12);
  }

  .homepage-structure #paslaugos .hs-article {
    padding: 1.65rem 1.35rem 1.85rem;
    border-top: 0;
    min-width: 0;
  }

  .homepage-structure #paslaugos .hs-article:first-child {
    padding-top: 1.55rem;
    padding-left: 0;
    border-right: 1px solid rgba(42, 35, 26, 0.12);
    border-top-color: transparent;
  }

  .homepage-structure #paslaugos .hs-article:nth-child(2) {
    padding-top: 2.05rem;
    padding-right: 0;
  }

  .homepage-structure #paslaugos .hs-article:nth-child(3) {
    grid-column: 1 / -1;
    padding: 2.15rem 0 1.7rem;
    border-top: 1px solid rgba(183, 141, 87, 0.5);
    border-right: 0;
  }

  .homepage-structure #paslaugos .hs-article::after {
    top: 1.7rem;
    right: 1.35rem;
  }

  .homepage-structure #paslaugos .hs-article:first-child::after {
    top: 1.6rem;
    right: 1.35rem;
  }

  .homepage-structure #paslaugos .hs-article:nth-child(2)::after {
    top: 2.1rem;
    right: 0;
  }

  .homepage-structure #paslaugos .hs-article:nth-child(3)::after {
    top: 2.25rem;
    right: 0;
  }

  .homepage-structure #paslaugos .hs-article h3 {
    font-size: clamp(1.18rem, 2.2vw, 1.42rem);
  }

  .homepage-structure #paslaugos .hs-article > p {
    max-width: 36ch;
  }

  .homepage-structure #paslaugos .hs-list li {
    line-height: 1.4;
  }

  /* #protingesne-statyba tablet: no long diagonals through 2×2 copy */
  .homepage-structure #protingesne-statyba > .hs-container::before {
    display: none;
  }

  /* #protingesne-statyba tablet: principles 2×2 on a shared horizontal rail */
  .homepage-structure #protingesne-statyba .hs-principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 0;
    row-gap: 0;
    margin-top: 1.75rem;
    padding: 0;
  }

  .homepage-structure #protingesne-statyba .hs-principles::before {
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    width: auto;
    height: 1px;
    background: var(--ps-line);
  }

  .homepage-structure #protingesne-statyba .hs-principles > div {
    padding: 1.35rem 1.15rem 1.5rem 0;
    border-top: 1px solid var(--ps-line-soft);
  }

  .homepage-structure #protingesne-statyba .hs-principles > div:nth-child(-n + 2) {
    border-top: 0;
    padding-top: 1.35rem;
  }

  .homepage-structure #protingesne-statyba .hs-principles > div:nth-child(2n) {
    border-left: 1px solid var(--ps-line-soft);
    padding-left: 1.25rem;
  }

  .homepage-structure #protingesne-statyba .hs-principles > div::after {
    top: -3.5px;
    left: 0;
  }

  .homepage-structure #protingesne-statyba .hs-principles > div:first-child::after {
    top: -3.5px;
  }

  .homepage-structure #protingesne-statyba .hs-principles > div:nth-child(2)::after {
    left: 1.25rem;
  }

  .homepage-structure #protingesne-statyba .hs-principles > div:nth-child(3)::after,
  .homepage-structure #protingesne-statyba .hs-principles > div:nth-child(4)::after {
    top: -3.5px;
  }

  .homepage-structure #protingesne-statyba .hs-principles > div:nth-child(4)::after {
    left: 1.25rem;
  }

  .homepage-structure #protingesne-statyba .hs-principles > div p {
    max-width: 32ch;
  }

  .homepage-structure #protingesne-statyba .hs-figure {
    min-height: clamp(18rem, 44vw, 24rem);
  }
}

/* #kodel-pastatysiutau tablet 768–1099: intro full width, principles below */
@media (min-width: 768px) and (max-width: 1099px) {
  .homepage-structure #kodel-pastatysiutau {
    padding-block: clamp(3.25rem, 5vw, 4.5rem) 0;
  }

  .homepage-structure #kodel-pastatysiutau > .hs-container {
    grid-template-columns: minmax(0, 1fr);
  }

  .homepage-structure #kodel-pastatysiutau h2 {
    max-width: 18ch;
    font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  }

  .homepage-structure #kodel-pastatysiutau > .hs-container > p {
    max-width: 58ch;
    margin-bottom: 2.15rem;
  }

  .homepage-structure #kodel-pastatysiutau .hs-stack {
    padding: 1.85rem 0 2.4rem;
  }

  .homepage-structure #kodel-pastatysiutau .hs-item {
    grid-template-columns: 3.75rem minmax(0, 1fr);
    column-gap: 0.9rem;
    row-gap: 0.4rem;
    align-items: start;
    padding: 1.2rem 0 1.2rem 1.9rem;
  }

  .homepage-structure #kodel-pastatysiutau .hs-index {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }

  .homepage-structure #kodel-pastatysiutau .hs-item h3 {
    grid-column: 2;
    grid-row: 1;
    max-width: none;
    font-size: clamp(1.12rem, 2.2vw, 1.32rem);
  }

  .homepage-structure #kodel-pastatysiutau .hs-item p {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: 54ch;
  }
}

/* Mid tablet: text + image side by side when width allows */
@media (min-width: 900px) and (max-width: 1099px) {
  .homepage-structure #protingesne-statyba > .hs-container {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    column-gap: 1.75rem;
    row-gap: 2rem;
  }

  .homepage-structure #protingesne-statyba h2 {
    grid-column: 1;
    grid-row: 1;
    max-width: 14ch;
    font-size: clamp(1.85rem, 3.4vw, 2.45rem);
  }

  .homepage-structure #protingesne-statyba > .hs-container > p {
    grid-column: 1;
    grid-row: 2;
    max-width: 48ch;
  }

  .homepage-structure #protingesne-statyba .hs-figure {
    grid-column: 2;
    grid-row: 1 / 3;
    margin: 0;
    min-height: 100%;
    align-self: stretch;
  }

  .homepage-structure #protingesne-statyba .hs-principles {
    grid-column: 1 / -1;
    grid-row: 3;
  }
}

/* Desktop header only when full nav + CTA fit */
@media (min-width: 1100px) {
  .homepage-structure .hs-nav {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
  }

  .homepage-structure .hs-header__cta {
    display: inline-flex;
    flex-shrink: 0;
  }

  .homepage-structure .hs-mobile-nav {
    display: none;
  }

  .homepage-structure .hs-header__inner {
    gap: 1.25rem 1.5rem;
  }

  .homepage-structure .hs-nav ul {
    gap: 0.1rem 1.15rem;
  }

  .homepage-structure .hs-nav a,
  .homepage-structure .hs-header__cta {
    font-size: 0.9375rem;
  }

  /* #protingesne-statyba desktop: asymmetric copy + integrated figure */
  .homepage-structure #protingesne-statyba > .hs-container {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    column-gap: clamp(1.75rem, 3.2vw, 3rem);
    row-gap: clamp(2.25rem, 4vw, 3.25rem);
  }

  .homepage-structure #protingesne-statyba h2 {
    grid-column: 1;
    grid-row: 1;
    max-width: 13ch;
    font-size: clamp(2.1rem, 3.1vw, 2.85rem);
  }

  .homepage-structure #protingesne-statyba > .hs-container > p {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    max-width: 55ch;
  }

  .homepage-structure #protingesne-statyba .hs-figure {
    grid-column: 2;
    grid-row: 1 / 3;
    margin: 0;
    min-height: clamp(22rem, 34vw, 28rem);
    align-self: stretch;
    z-index: 1;
  }

  /*
    Gray diagonal: clipped inside the figure (upper image zone only).
    Stays under figure nodes (::after z-index: 2); never reaches copy or 01–04.
  */
  .homepage-structure #protingesne-statyba .hs-figure::before {
    background:
      linear-gradient(
        118deg,
        transparent 0 38%,
        rgba(250, 248, 244, 0.12) 38% 38.16%,
        transparent 38.16%
      ),
      linear-gradient(
        96deg,
        rgba(23, 21, 18, 0.78) 0%,
        rgba(23, 21, 18, 0.34) 26%,
        transparent 48%
      );
    -webkit-clip-path: inset(0 0 6% 0);
    clip-path: inset(0 0 6% 0);
  }

  /*
    Short bronze direction accent in the gap between figure and principles rail.
    Anchored to figure column only — does not enter principle text cells.
  */
  .homepage-structure #protingesne-statyba > .hs-container::before {
    display: block;
    content: "";
    position: absolute;
    grid-column: 2;
    grid-row: 1 / 3;
    top: auto;
    left: 18%;
    right: 4%;
    bottom: calc(-0.55 * clamp(2.25rem, 4vw, 3.25rem));
    height: 2.75rem;
    z-index: 0;
    pointer-events: none;
    background-image: linear-gradient(
      152deg,
      transparent 0 42%,
      rgba(183, 141, 87, 0.4) 42% 42.14%,
      transparent 42.14%
    );
    background-size: 100% 100%;
    background-repeat: no-repeat;
    opacity: 0.42;
  }

  .homepage-structure #protingesne-statyba .hs-principles {
    grid-column: 1 / -1;
    grid-row: 3;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 0.35rem;
    padding: 0;
  }

  .homepage-structure #protingesne-statyba .hs-principles::before {
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    width: auto;
    height: 1px;
    background: linear-gradient(
      90deg,
      var(--ps-bronze-soft),
      var(--ps-line) 18%,
      var(--ps-line) 82%,
      var(--ps-bronze-soft)
    );
  }

  .homepage-structure #protingesne-statyba .hs-principles > div {
    padding: 1.45rem 1.15rem 0.25rem 1.15rem;
    border-top: 0;
    border-left: 1px solid var(--ps-line-soft);
  }

  .homepage-structure #protingesne-statyba .hs-principles > div:first-child {
    border-left: 0;
    padding-left: 0;
  }

  .homepage-structure #protingesne-statyba .hs-principles > div:nth-child(-n + 2),
  .homepage-structure #protingesne-statyba .hs-principles > div:nth-child(2n) {
    border-top: 0;
  }

  .homepage-structure #protingesne-statyba .hs-principles > div:nth-child(2n) {
    border-left: 1px solid var(--ps-line-soft);
    padding-left: 1.15rem;
  }

  .homepage-structure #protingesne-statyba .hs-principles > div::after {
    top: -3.5px;
    left: 1.15rem;
  }

  .homepage-structure #protingesne-statyba .hs-principles > div:first-child::after {
    left: 0;
  }

  .homepage-structure #protingesne-statyba .hs-principles > div:nth-child(2)::after,
  .homepage-structure #protingesne-statyba .hs-principles > div:nth-child(4)::after {
    left: 1.15rem;
  }

  .homepage-structure #protingesne-statyba .hs-principles > div p {
    max-width: 28ch;
  }

  /* #kelias desktop: 2 rows × 4 stages on one continuous process field */
  .homepage-structure #kelias .hs-stack.hs-stack--two {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 2.85rem;
  }

  .homepage-structure #kelias .hs-item {
    padding: 1.75rem 1.15rem 0 0;
    min-width: 0;
  }

  /* Reset tablet 2-col line caps; apply 4-col caps */
  .homepage-structure #kelias .hs-item::after {
    left: 0;
    right: 0;
    width: auto;
    background: rgba(42, 35, 26, 0.14);
  }

  .homepage-structure #kelias .hs-item:nth-child(2n + 1)::after,
  .homepage-structure #kelias .hs-item:nth-child(2n)::after {
    left: 0;
    right: 0;
    width: auto;
  }

  .homepage-structure #kelias .hs-item:nth-child(4n + 1)::after {
    left: var(--kelias-inset);
  }

  .homepage-structure #kelias .hs-item:nth-child(4n)::after {
    right: auto;
    left: 0;
    width: calc(var(--kelias-inset) + var(--kelias-node));
    background: rgba(42, 35, 26, 0.14);
  }

  /* End arrow on stage 08 only */
  .homepage-structure #kelias .hs-item:nth-child(8)::after {
    width: calc(var(--kelias-inset) + var(--kelias-node) + 0.95rem);
    background:
      linear-gradient(rgba(42, 35, 26, 0.14), rgba(42, 35, 26, 0.14)) left center / calc(100% - 0.4rem) 1px no-repeat,
      linear-gradient(135deg, transparent 48%, rgba(183, 141, 87, 0.9) 48%) right 0 top calc(50% - 0.22rem) / 0.4rem 0.4rem no-repeat,
      linear-gradient(-135deg, transparent 48%, rgba(183, 141, 87, 0.9) 48%) right 0 bottom calc(50% - 0.22rem) / 0.4rem 0.4rem no-repeat;
  }

  /* Small measure ticks at nodes 01 and 05 (row starts) */
  .homepage-structure #kelias .hs-item:nth-child(1),
  .homepage-structure #kelias .hs-item:nth-child(5) {
    background-image:
      linear-gradient(var(--hf-bronze), var(--hf-bronze)),
      linear-gradient(var(--hf-line-bronze), var(--hf-line-bronze));
    background-size:
      1px 0.45rem,
      1px 0.7rem;
    background-position:
      calc(var(--kelias-inset) + var(--kelias-node) / 2 - 0.5px) -0.15rem,
      calc(var(--kelias-inset) + var(--kelias-node) / 2 - 0.5px) var(--kelias-node);
    background-repeat: no-repeat;
  }

  .homepage-structure #kelias .hs-item h3 {
    max-width: 13ch;
    font-size: clamp(1.12rem, 1.15vw, 1.32rem);
  }

  .homepage-structure #kelias .hs-item p {
    max-width: 26ch;
    font-size: 0.95rem;
  }

  /* #paslaugos desktop: asymmetric 3-column editorial frame */
  .homepage-structure #paslaugos h2 {
    max-width: 16ch;
  }

  .homepage-structure #paslaugos > .hs-container > p {
    max-width: 38rem;
  }

  .homepage-structure #paslaugos .hs-stack.hs-stack--three {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1.15fr);
    column-gap: 0;
    row-gap: 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(42, 35, 26, 0.12);
  }

  .homepage-structure #paslaugos .hs-article {
    padding: 1.85rem 1.5rem 2rem;
    border-top: 0;
    border-right: 1px solid rgba(42, 35, 26, 0.12);
    min-width: 0;
  }

  .homepage-structure #paslaugos .hs-article:first-child {
    padding-top: 1.55rem;
    padding-left: 0;
    border-top-color: transparent;
  }

  .homepage-structure #paslaugos .hs-article:nth-child(2) {
    padding-top: 2.15rem;
  }

  .homepage-structure #paslaugos .hs-article:nth-child(3) {
    grid-column: auto;
    padding-top: 2.45rem;
    padding-right: 0;
    border-right: 0;
    /* Stronger bronze crown on the lead direction */
    box-shadow: inset 0 2px 0 0 rgba(183, 141, 87, 0.62);
  }

  .homepage-structure #paslaugos .hs-article::after {
    top: 1.9rem;
    right: 1.5rem;
  }

  .homepage-structure #paslaugos .hs-article:first-child::after {
    top: 1.6rem;
  }

  .homepage-structure #paslaugos .hs-article:nth-child(2)::after {
    top: 2.2rem;
  }

  .homepage-structure #paslaugos .hs-article:nth-child(3)::after {
    top: 2.55rem;
    right: 0;
  }

  .homepage-structure #paslaugos .hs-article h3 {
    font-size: clamp(1.22rem, 1.35vw, 1.48rem);
  }

  .homepage-structure #paslaugos .hs-article:first-child h3 {
    max-width: 10ch;
  }

  .homepage-structure #paslaugos .hs-article:nth-child(2) h3 {
    max-width: 12ch;
  }

  .homepage-structure #paslaugos .hs-article:nth-child(3) h3 {
    max-width: 14ch;
  }

  .homepage-structure #paslaugos .hs-article > p {
    max-width: 32ch;
    font-size: 0.9375rem;
  }

  .homepage-structure #paslaugos .hs-article:nth-child(3) > p {
    max-width: 36ch;
  }

  .homepage-structure #paslaugos .hs-list {
    max-width: none;
  }

  .homepage-structure #paslaugos .hs-list li {
    font-size: 0.875rem;
    line-height: 1.38;
  }

  .homepage-structure #paslaugos .hs-article:hover,
  .homepage-structure #paslaugos .hs-article:focus-within {
    border-top-color: transparent;
  }

  .homepage-structure #paslaugos .hs-article:nth-child(3):hover,
  .homepage-structure #paslaugos .hs-article:nth-child(3):focus-within {
    box-shadow: inset 0 2px 0 0 rgba(143, 106, 58, 0.85);
  }

  .homepage-structure #paslaugos .hs-article:not(:nth-child(3)):hover,
  .homepage-structure #paslaugos .hs-article:not(:nth-child(3)):focus-within {
    box-shadow: inset 0 1px 0 0 rgba(183, 141, 87, 0.7);
  }
}

@media (min-width: 1024px) {
  .homepage-structure .hs-hero .hs-container.hs-hero__grid {
    grid-template-columns: minmax(0, 38%) minmax(0, 62%);
    padding-left: max(var(--hf-pad), calc((100% - 74rem) / 2));
  }

  .homepage-structure .hs-hero::before,
  .homepage-structure .hs-hero::after {
    left: max(var(--hf-pad), calc((100% - 74rem) / 2));
  }

  .homepage-structure .hs-hero .hs-actions a {
    padding-inline: 1.2rem;
  }

  .homepage-structure .hs-stack--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .homepage-structure #kodel-mes .hs-stack--three {
    grid-template-columns: minmax(0, 1fr);
  }

  .homepage-structure #kodel-mes .hs-figure {
    min-height: 30rem;
  }

  .homepage-structure .hs-principles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  /* #namu-kryptys desktop: asymmetric 12-column editorial gallery */
  .homepage-structure #namu-kryptys .hs-directions {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 1.35rem;
    row-gap: 3.25rem;
    margin-top: 2.75rem;
  }

  .homepage-structure #namu-kryptys .hs-direction:nth-child(1) {
    grid-column: 1 / 8;
    padding: 0;
  }

  .homepage-structure #namu-kryptys .hs-direction:nth-child(2) {
    grid-column: 8 / 13;
    padding: 3.5rem 0 0;
  }

  .homepage-structure #namu-kryptys .hs-direction:nth-child(3) {
    grid-column: 1 / 6;
    padding: 1.25rem 0 0;
  }

  .homepage-structure #namu-kryptys .hs-direction:nth-child(4) {
    grid-column: 6 / 13;
    padding: 0;
  }

  .homepage-structure #namu-kryptys .hs-direction:nth-child(5) {
    grid-column: 3 / 11;
    padding: 0.75rem 0 0;
  }

  .homepage-structure #namu-kryptys .hs-direction figcaption h3 {
    font-size: clamp(1.2rem, 1.35vw, 1.45rem);
  }

  .homepage-structure #namu-kryptys .hs-direction:nth-child(1) figcaption,
  .homepage-structure #namu-kryptys .hs-direction:nth-child(4) figcaption,
  .homepage-structure #namu-kryptys .hs-direction:nth-child(5) figcaption {
    max-width: 38rem;
  }

  .homepage-structure #namu-kryptys .hs-direction:nth-child(2) figcaption,
  .homepage-structure #namu-kryptys .hs-direction:nth-child(3) figcaption {
    max-width: 26rem;
  }

  /* #kodel-pastatysiutau desktop: ivory intro | graphite principles */
  .homepage-structure #kodel-pastatysiutau {
    --kpt-gap: clamp(1.75rem, 3.2vw, 3rem);
    --kpt-rail: 0.2rem;
    padding-block: clamp(3.5rem, 5.5vw, 5rem);
    background: linear-gradient(180deg, #faf7f1 0%, var(--hf-light-soft) 100%);
  }

  .homepage-structure #kodel-pastatysiutau::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: max(
      40.5%,
      calc(
        (100% - min(74rem, 100% - (var(--hf-pad) * 2))) / 2
        + min(74rem, 100% - (var(--hf-pad) * 2)) * 0.4
        + (var(--kpt-gap) * 0.5)
      )
    );
    background:
      radial-gradient(ellipse 46% 38% at 82% 14%, rgba(183, 141, 87, 0.08), transparent 62%),
      linear-gradient(165deg, rgba(250, 248, 244, 0.03) 0%, transparent 30%),
      linear-gradient(180deg, #221e19 0%, var(--hf-dark-deep) 48%, #12100e 100%);
    pointer-events: none;
    z-index: 0;
  }

  .homepage-structure #kodel-pastatysiutau > .hs-container {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    column-gap: var(--kpt-gap);
    align-items: start;
  }

  /* Left column: source-order auto rows (eyebrow → H2 → lead) */
  .homepage-structure #kodel-pastatysiutau .hs-eyebrow,
  .homepage-structure #kodel-pastatysiutau h2,
  .homepage-structure #kodel-pastatysiutau > .hs-container > p {
    grid-column: 1;
  }

  .homepage-structure #kodel-pastatysiutau h2 {
    max-width: 14ch;
    font-size: clamp(1.85rem, 2.35vw, 2.55rem);
  }

  .homepage-structure #kodel-pastatysiutau > .hs-container > p {
    margin-bottom: 0;
    max-width: 54ch;
  }

  /*
   * Principles in column 2. padding-top ≈ eyebrow block
   * (line + label + margin) so 01 sits level with H2.
   */
  .homepage-structure #kodel-pastatysiutau .hs-stack {
    --kpt-eye-block: 5.85rem;
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: start;
    margin: 0;
    padding: var(--kpt-eye-block) 0 0 0.5rem;
    background: transparent;
  }

  /* Measure tick in the column gap — not a grid ::pseudo */
  .homepage-structure #kodel-pastatysiutau::after {
    content: "";
    position: absolute;
    top: clamp(3.5rem, 5.5vw, 5rem);
    bottom: clamp(3.5rem, 5.5vw, 5rem);
    left: max(
      40.5%,
      calc(
        (100% - min(74rem, 100% - (var(--hf-pad) * 2))) / 2
        + min(74rem, 100% - (var(--hf-pad) * 2)) * 0.4
        + (var(--kpt-gap) * 0.5)
      )
    );
    width: 1px;
    margin-left: -0.5px;
    background: linear-gradient(
      180deg,
      var(--hf-line-bronze),
      rgba(42, 35, 26, 0.1) 22%,
      rgba(250, 248, 244, 0.12) 55%,
      transparent
    );
    pointer-events: none;
    z-index: 2;
  }

  .homepage-structure #kodel-pastatysiutau .hs-stack::before {
    left: var(--kpt-rail);
    top: 0.55rem;
    bottom: 0.55rem;
  }

  .homepage-structure #kodel-pastatysiutau .hs-item {
    grid-template-columns: 4rem minmax(12rem, 0.8fr) minmax(0, 1.2fr);
    column-gap: 1rem;
    row-gap: 0;
    align-items: baseline;
    padding: 0.95rem 0 0.95rem 1.25rem;
  }

  .homepage-structure #kodel-pastatysiutau .hs-item:first-child {
    padding-top: 0;
  }

  .homepage-structure #kodel-pastatysiutau .hs-item:last-child {
    padding-bottom: 0.05rem;
  }

  .homepage-structure #kodel-pastatysiutau .hs-item::before {
    left: calc(var(--kpt-rail) - (var(--kpt-node) / 2));
    top: 1.2rem;
  }

  .homepage-structure #kodel-pastatysiutau .hs-item:first-child::before {
    top: 0.3rem;
  }

  .homepage-structure #kodel-pastatysiutau .hs-index {
    grid-column: auto;
    grid-row: auto;
  }

  .homepage-structure #kodel-pastatysiutau .hs-item h3 {
    grid-column: auto;
    grid-row: auto;
    max-width: none;
    font-size: clamp(1.1rem, 1.25vw, 1.3rem);
  }

  .homepage-structure #kodel-pastatysiutau .hs-item p {
    grid-column: auto;
    grid-row: auto;
    max-width: none;
    font-size: 0.9375rem;
  }

  /* #kam-skirta desktop: H2 left · numbered rows right */
  .homepage-structure #kam-skirta > .hs-container {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    column-gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
  }

  .homepage-structure #kam-skirta h2 {
    grid-column: 1;
    grid-row: 1 / span 2;
    max-width: 13ch;
    position: sticky;
    top: 1.5rem;
  }

  .homepage-structure #kam-skirta .hs-list {
    grid-column: 2;
    grid-row: 1;
  }

  .homepage-structure #kam-skirta .hs-note {
    grid-column: 2;
    grid-row: 2;
    margin-top: 0.35rem;
  }

  .homepage-structure #kam-skirta .hs-list li {
    padding: 1.1rem 0;
  }

  /* #izvalgos desktop: three editorial columns */
  .homepage-structure #izvalgos .hs-stack.hs-stack--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .homepage-structure #izvalgos .hs-article,
  .homepage-structure #izvalgos .hs-article:first-child,
  .homepage-structure #izvalgos .hs-article:nth-child(2),
  .homepage-structure #izvalgos .hs-article:nth-child(3) {
    grid-column: auto;
    padding: 1.75rem 1.35rem 1.85rem;
    border-top: 0;
    border-bottom: 0;
    border-right: 1px solid var(--hf-line-light);
  }

  .homepage-structure #izvalgos .hs-article:first-child {
    padding-left: 0;
  }

  .homepage-structure #izvalgos .hs-article:nth-child(3) {
    padding-right: 0;
    border-right: 0;
  }

  .homepage-structure #izvalgos .hs-article h3 {
    max-width: 18ch;
  }

  /* #duk desktop: title left · accordion right */
  .homepage-structure #duk > .hs-container {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    column-gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
  }

  .homepage-structure #duk h2 {
    position: sticky;
    top: 1.5rem;
    max-width: 12ch;
  }

  .homepage-structure #duk .hs-faq {
    margin-top: 0.15rem;
  }

  /* #kontaktai desktop: copy left · form right */
  .homepage-structure #kontaktai > .hs-container {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    column-gap: clamp(2rem, 4vw, 3.75rem);
    align-items: start;
  }

  .homepage-structure #kontaktai h2 {
    grid-column: 1;
    grid-row: 1;
    max-width: 12ch;
  }

  .homepage-structure #kontaktai > .hs-container > p:not(.hs-note) {
    grid-column: 1;
    grid-row: 2;
    margin-top: 0.25rem;
  }

  .homepage-structure #kontaktai .hs-form {
    grid-column: 2;
    grid-row: 1 / span 3;
  }

  .homepage-structure #kontaktai .hs-note {
    grid-column: 1;
    grid-row: 3;
    align-self: end;
    margin-top: 1.5rem;
  }

  .homepage-structure .hs-footer > .hs-container {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.9fr);
    column-gap: 2.5rem;
  }

  .homepage-structure .hs-footer nav {
    grid-column: 2;
    grid-row: 1 / span 3;
  }

  .homepage-structure .hs-footer__meta {
    grid-column: 3;
    grid-row: 1 / span 3;
    border-top: 0;
    padding-top: 0;
    align-content: start;
  }
}

@media (min-width: 1200px) {
  .homepage-structure #kodel-mes .hs-stack--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 1.5rem;
    border-top: 1px solid var(--hf-line-light);
    padding-top: 1.35rem;
    margin-top: 0.5rem;
    min-width: 0;
  }

  .homepage-structure #kodel-mes .hs-item {
    padding: 0;
    border-top: 0;
    min-width: 0;
  }

  .homepage-structure #kodel-mes .hs-item::before {
    position: static;
    display: block;
    width: max-content;
    margin: 0 0 0.85rem;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid var(--hf-line-bronze);
  }

  .homepage-structure #kodel-mes .hs-item::after {
    display: none;
  }

  .homepage-structure #kodel-mes .hs-item h3 {
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .homepage-structure #kodel-mes .hs-item p {
    max-width: none;
  }

  .homepage-structure #kodel-mes .hs-figure {
    min-height: 32rem;
  }
}

@media (max-width: 767px) {
  .homepage-structure .hs-hero {
    padding: 5.25rem 0 1.75rem;
  }

  .homepage-structure .hs-hero::before,
  .homepage-structure .hs-hero::after {
    display: none;
  }

  .homepage-structure .hs-hero .hs-container.hs-hero__grid {
    gap: 1rem;
  }

  .homepage-structure .hs-hero__grid > div:first-child {
    display: contents;
  }

  .homepage-structure .hs-hero .hs-eyebrow {
    order: 1;
  }

  .homepage-structure .hs-hero h1 {
    order: 2;
    max-width: 11ch;
    font-size: clamp(1.85rem, 8.2vw, 2.35rem);
    margin-bottom: 0.85rem;
  }

  .homepage-structure .hs-hero .hs-figure {
    order: 3;
    min-height: 12.5rem;
    width: 100%;
    margin: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .homepage-structure .hs-hero .hs-figure img {
    object-position: center center;
  }

  .homepage-structure .hs-hero .hs-lead {
    order: 4;
    max-width: none;
    margin-bottom: 1rem;
  }

  .homepage-structure .hs-hero .hs-actions {
    order: 5;
    flex-direction: column;
    align-items: stretch;
  }

  .homepage-structure .hs-hero .hs-actions a {
    width: 100%;
  }

  .homepage-structure .hs-hero .hs-actions a:first-child {
    background: rgba(183, 141, 87, 0.24);
  }

  .homepage-structure #kodel-mes .hs-container::before {
    display: none;
  }

  .homepage-structure #kodel-mes h2,
  .homepage-structure #kodel-mes > .hs-container > p:first-of-type,
  .homepage-structure #kodel-mes > .hs-container > p:last-of-type {
    padding-left: 0;
  }

  .homepage-structure #kodel-mes h2 { order: 1; }
  .homepage-structure #kodel-mes > .hs-container > p:first-of-type { order: 2; }
  .homepage-structure #kodel-mes .hs-figure {
    order: 3;
    min-height: 15rem;
    margin: 0;
  }
  .homepage-structure #kodel-mes .hs-stack--three { order: 4; }
  .homepage-structure #kodel-mes > .hs-container > p:last-of-type { order: 5; }

  .homepage-structure #kodel-mes .hs-item {
    padding: 1.1rem 0 1.1rem 2.5rem;
  }

  .homepage-structure #sistema .hs-stack {
    --sistema-rail: 0.55rem;
    padding-left: 1.55rem;
  }

  .homepage-structure #sistema .hs-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.25rem;
    padding: 1.05rem 0 1.05rem 0.15rem;
  }

  .homepage-structure #sistema .hs-item::before {
    left: calc(-1.55rem + var(--sistema-rail) - 0.2rem);
    top: 1.35rem;
  }

  .homepage-structure #sistema .hs-item:first-child::before {
    top: 0.45rem;
  }

  .homepage-structure #sistema .hs-index {
    margin: 0;
  }

  .homepage-structure #sistema .hs-item h3 {
    max-width: none;
  }

  .homepage-structure #sistema .hs-item p {
    max-width: none;
  }

  .homepage-structure #kelias .hs-stack {
    padding-left: 1.55rem;
    margin-top: 2.15rem;
  }

  .homepage-structure #kelias .hs-item {
    padding: 1rem 0 1rem 0.15rem;
  }

  .homepage-structure #kelias .hs-item:first-child {
    padding-top: 0.15rem;
  }

  .homepage-structure #kelias .hs-item::before {
    left: calc(-1.55rem + var(--kelias-rail) - (var(--kelias-node) / 2));
    top: 1.25rem;
  }

  .homepage-structure #kelias .hs-item:first-child::before {
    top: 0.4rem;
  }

  .homepage-structure #kelias .hs-item h3 {
    max-width: none;
    font-size: clamp(1.08rem, 4.6vw, 1.22rem);
  }

  .homepage-structure #kelias .hs-item p {
    max-width: none;
  }

  /* #paslaugos mobile: calm vertical stack, no card chrome */
  .homepage-structure #paslaugos::after {
    display: none;
  }

  .homepage-structure #paslaugos h2 {
    max-width: none;
    font-size: clamp(1.55rem, 7vw, 2.1rem);
  }

  .homepage-structure #paslaugos > .hs-container > p {
    max-width: none;
  }

  .homepage-structure #paslaugos .hs-stack {
    margin-top: 2rem;
  }

  .homepage-structure #paslaugos .hs-article {
    padding: 1.35rem 0 1.4rem;
  }

  .homepage-structure #paslaugos .hs-article:first-child {
    padding-top: 0.25rem;
  }

  .homepage-structure #paslaugos .hs-article:nth-child(2) {
    padding-top: 1.5rem;
  }

  .homepage-structure #paslaugos .hs-article:nth-child(3) {
    padding-top: 1.65rem;
  }

  /* #protingesne-statyba mobile: eyebrow → H2 → intro → image → principles */
  .homepage-structure #protingesne-statyba {
    padding-block: clamp(3.25rem, 12vw, 4.25rem);
  }

  .homepage-structure #protingesne-statyba > .hs-container {
    gap: 1.1rem;
  }

  /* No long diagonals on small screens — keep only short eyebrow accent */
  .homepage-structure #protingesne-statyba > .hs-container::before {
    display: none;
  }

  .homepage-structure #protingesne-statyba > .hs-container::after {
    font-size: 0.58rem;
  }

  .homepage-structure #protingesne-statyba h2 {
    max-width: none;
    font-size: clamp(1.6rem, 7.2vw, 2.05rem);
  }

  .homepage-structure #protingesne-statyba h2::before {
    width: 3.25rem; /* ~52px — short bronze near eyebrow, not a section diagonal */
  }

  .homepage-structure #protingesne-statyba > .hs-container > p {
    max-width: none;
    font-size: 0.98rem;
  }

  .homepage-structure #protingesne-statyba .hs-figure {
    grid-row: 3;
    margin-top: 0.15rem;
    min-height: clamp(13.5rem, 58vw, 17.5rem);
  }

  .homepage-structure #protingesne-statyba .hs-principles {
    grid-row: 4;
    margin-top: 0.85rem;
  }

  .homepage-structure #protingesne-statyba .hs-principles > div h3 {
    max-width: none;
  }

  .homepage-structure #protingesne-statyba .hs-principles > div p {
    max-width: none;
  }

  .homepage-structure #paslaugos .hs-article::after {
    display: none;
  }

  .homepage-structure #paslaugos .hs-article h3,
  .homepage-structure #paslaugos .hs-article:nth-child(2) h3,
  .homepage-structure #paslaugos .hs-article:nth-child(3) h3 {
    max-width: none;
    font-size: clamp(1.15rem, 5.2vw, 1.32rem);
  }

  .homepage-structure #paslaugos .hs-article > p {
    max-width: none;
  }

  .homepage-structure #paslaugos .hs-list {
    max-width: none;
  }

  /* #kodel-pastatysiutau mobile: stacked principles, rail optional */
  .homepage-structure #kodel-pastatysiutau {
    padding-block: 3rem 0;
  }

  .homepage-structure #kodel-pastatysiutau .hs-eyebrow {
    gap: 0.4rem 0.75rem;
  }

  .homepage-structure #kodel-pastatysiutau h2 {
    max-width: 12ch;
    font-size: clamp(1.55rem, 7vw, 1.95rem);
  }

  .homepage-structure #kodel-pastatysiutau > .hs-container > p {
    max-width: none;
    margin-bottom: 1.75rem;
  }

  .homepage-structure #kodel-pastatysiutau .hs-stack {
    padding: 1.45rem 0 1.85rem;
  }

  .homepage-structure #kodel-pastatysiutau .hs-stack::before {
    display: none;
  }

  .homepage-structure #kodel-pastatysiutau .hs-item {
    gap: 0.3rem;
    padding: 1.05rem 0 1.05rem 1.1rem;
  }

  .homepage-structure #kodel-pastatysiutau .hs-item:first-child {
    padding-top: 0.2rem;
  }

  .homepage-structure #kodel-pastatysiutau .hs-item::before {
    left: 0;
    top: 1.35rem;
    width: 0.4375rem;
    height: 0.4375rem;
  }

  .homepage-structure #kodel-pastatysiutau .hs-item:first-child::before {
    top: 0.5rem;
  }

  .homepage-structure #kodel-pastatysiutau .hs-item h3 {
    max-width: none;
    font-size: clamp(1.05rem, 4.6vw, 1.2rem);
  }

  .homepage-structure #kodel-pastatysiutau .hs-item p {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .homepage-structure *,
  .homepage-structure *::before,
  .homepage-structure *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* =========================================================
   G1 — GLOBAL HOMEPAGE ART DIRECTION
   ~70% ivory / ~30% graphite · reduced AI motifs · tighter rhythm
   Full-dark ONLY: Header+Hero · #protingesne-statyba · #kontaktai+footer
   ========================================================= */

/* —— Global rhythm (compress info; keep presence on key fields) —— */
.homepage-structure {
  --hf-section: clamp(4.35rem, 5.6vw, 6rem);
  --hf-section-info: clamp(2.7rem, 4vw, 4rem);
}

.homepage-structure .hs-section {
  padding-block: var(--hf-section-info);
  border-bottom: 1px solid rgba(42, 35, 26, 0.08);
  background: var(--hf-light-soft);
}

.homepage-structure #kodel-mes,
.homepage-structure #sistema,
.homepage-structure #kelias,
.homepage-structure #paslaugos,
.homepage-structure #kodel-pastatysiutau,
.homepage-structure #kam-skirta,
.homepage-structure #izvalgos,
.homepage-structure #duk {
  padding-block: var(--hf-section-info);
}

.homepage-structure #protingesne-statyba {
  padding-block: clamp(4.75rem, 6.5vw, 7.25rem);
}

.homepage-structure #kontaktai {
  padding-block: clamp(3.5rem, 4.8vw, 5rem);
}

.homepage-structure #namu-kryptys {
  padding-block: clamp(3.15rem, 4.4vw, 4.75rem);
}

/* —— Motif budget: only 3 languages ——
   1) short eyebrow line
   2) subtle section divider (border-bottom / top hairline)
   3) nodes only on process rails (#sistema, #kelias, #protingesne, kodel panel)
*/

/* Kill repeating vertical construction lines on light sections */
.homepage-structure #kodel-mes .hs-container::before,
.homepage-structure #paslaugos::after,
.homepage-structure #kelias::before,
.homepage-structure #kelias h2::after,
.homepage-structure #paslaugos h2::after,
.homepage-structure #namu-kryptys h2::after,
.homepage-structure #namu-kryptys::after {
  content: none !important;
  display: none !important;
}

/* Corner ticks only on Hero figure — hide elsewhere */
.homepage-structure #protingesne-statyba .hs-figure::after {
  background-image:
    radial-gradient(circle, var(--hf-bronze) 1.15px, transparent 1.35px) 32% 52% / var(--ps-node) var(--ps-node) no-repeat,
    radial-gradient(circle, transparent 1.4px, var(--ps-bronze) 1.5px, var(--ps-bronze) 2.1px, transparent 2.3px) 32% 52% / var(--ps-node) var(--ps-node) no-repeat,
    radial-gradient(circle, var(--hf-bronze) 1.15px, transparent 1.35px) 58% 38% / var(--ps-node) var(--ps-node) no-repeat,
    radial-gradient(circle, transparent 1.4px, var(--ps-bronze) 1.5px, var(--ps-bronze) 2.1px, transparent 2.3px) 58% 38% / var(--ps-node) var(--ps-node) no-repeat;
}

/* Soften hero vertical rail — keep subtle grid zone via ::before only */
.homepage-structure .hs-hero::before {
  opacity: 0.55;
  width: 1px;
}

/* Subtle technical grid ONLY on Hero + Protingesnė */
.homepage-structure .hs-hero {
  background:
    linear-gradient(rgba(250, 248, 244, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250, 248, 244, 0.035) 1px, transparent 1px),
    radial-gradient(ellipse 60% 50% at 72% 40%, rgba(183, 141, 87, 0.1), transparent 58%),
    linear-gradient(155deg, #221e19 0%, var(--hf-dark) 42%, #191612 100%);
  background-size: 56px 56px, 56px 56px, auto, auto;
  background-position: 100% 0, 100% 0, center, center;
}

.homepage-structure .hs-hero {
  -webkit-mask-image: none;
}

/* No technical grids on light sections (Hero + Protingesnė keep theirs) */
.homepage-structure #kodel-mes,
.homepage-structure #sistema,
.homepage-structure #kelias,
.homepage-structure #paslaugos,
.homepage-structure #namu-kryptys,
.homepage-structure #kam-skirta,
.homepage-structure #izvalgos,
.homepage-structure #duk {
  background-size: auto;
}

/* Subtle section hairline dividers (motif #2) */
.homepage-structure #paslaugos::before,
.homepage-structure #namu-kryptys::before {
  content: "";
  display: block;
  height: 1px;
  opacity: 0.85;
  background-image: linear-gradient(
    90deg,
    transparent,
    rgba(42, 35, 26, 0.12) 18%,
    rgba(42, 35, 26, 0.12) 82%,
    transparent
  );
  background-size: auto;
}

/* —— Light section surfaces (no chessboard) —— */
.homepage-structure #kodel-mes {
  background: var(--hf-light);
  padding-block: var(--hf-section-info);
}

.homepage-structure #kodel-mes h2 {
  padding-left: 0;
  font-size: clamp(2.9rem, 4.4vw, 4.8rem);
  letter-spacing: 0;
  margin-bottom: 0.45rem;
}

.homepage-structure #kelias,
.homepage-structure #paslaugos {
  background: var(--hf-light-soft);
}

.homepage-structure #namu-kryptys {
  background: linear-gradient(180deg, #faf7f1 0%, var(--hf-light) 100%);
}

.homepage-structure #kam-skirta {
  background: var(--hf-light);
}

.homepage-structure #izvalgos {
  background: linear-gradient(180deg, #f6f1e9 0%, var(--hf-light-soft) 100%);
}

.homepage-structure #duk {
  background: var(--hf-light-soft);
}

/* —— Typography hierarchy —— */
/* Informational / mid sections — visual but not hero-scale */
.homepage-structure #sistema h2,
.homepage-structure #kelias h2,
.homepage-structure #paslaugos h2,
.homepage-structure #namu-kryptys h2,
.homepage-structure #kodel-pastatysiutau h2 {
  font-size: clamp(2.8rem, 4.2vw, 4.6rem);
  letter-spacing: 0;
  line-height: 1.03;
  margin-bottom: 0.5rem;
}

/* Peak weight — Protingesnė + Kontaktai (with Hero H1) */
.homepage-structure #protingesne-statyba h2,
.homepage-structure #kontaktai h2 {
  font-size: clamp(3.2rem, 4.8vw, 5.5rem);
  letter-spacing: 0;
  line-height: 1.02;
  margin-bottom: 0.55rem;
}

.homepage-structure #kam-skirta h2,
.homepage-structure #izvalgos h2,
.homepage-structure #duk h2 {
  font-size: clamp(2.6rem, 3.6vw, 4.2rem);
  letter-spacing: 0;
  font-weight: 500;
  line-height: 1.06;
  margin-bottom: 0.7rem;
}

.homepage-structure .hs-section h2,
.homepage-structure #kodel-mes h2,
.homepage-structure #sistema h2,
.homepage-structure #kelias h2,
.homepage-structure #paslaugos h2,
.homepage-structure #protingesne-statyba h2,
.homepage-structure #namu-kryptys h2,
.homepage-structure #kodel-pastatysiutau h2,
.homepage-structure #kam-skirta h2,
.homepage-structure #izvalgos h2,
.homepage-structure #duk h2,
.homepage-structure #kontaktai h2,
.homepage-structure .hs-hero h1 {
  letter-spacing: 0;
}

.homepage-structure #kodel-mes > .hs-container > p,
.homepage-structure #sistema > .hs-container > p,
.homepage-structure #kelias > .hs-container > p,
.homepage-structure #paslaugos > .hs-container > p,
.homepage-structure #protingesne-statyba > .hs-container > p,
.homepage-structure #namu-kryptys > .hs-container > p,
.homepage-structure #kodel-pastatysiutau > .hs-container > p,
.homepage-structure #kontaktai > .hs-container > p:not(.hs-note),
.homepage-structure .hs-hero .hs-lead {
  max-width: 62ch;
}

.homepage-structure #kam-skirta .hs-list li,
.homepage-structure #duk .hs-faq details p,
.homepage-structure #izvalgos .hs-article > p {
  max-width: 58ch;
  font-size: clamp(1rem, 1.05vw, 1.0625rem);
}

/* Quiet weight on calm sections */
.homepage-structure #kam-skirta,
.homepage-structure #izvalgos,
.homepage-structure #duk {
  --hf-ink-soft: #6a6258;
}

.homepage-structure #kam-skirta h2,
.homepage-structure #izvalgos h2,
.homepage-structure #duk h2 {
  color: #2a241e;
}

/* —— CTA system: primary / secondary / text —— */
.homepage-structure .hs-actions a,
.homepage-structure .hs-button {
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.homepage-structure .hs-actions a:first-child,
.homepage-structure .hs-button {
  background: var(--hf-ink);
  border-color: var(--hf-ink);
  color: var(--hf-cream);
}

.homepage-structure .hs-actions a:not(:first-child) {
  background: transparent;
  border-color: rgba(42, 35, 26, 0.28);
  color: var(--hf-ink);
  font-weight: 500;
}

.homepage-structure .hs-link {
  padding-inline: 0;
  border: 0;
  min-height: auto;
  background: transparent;
  color: var(--hf-ink);
  font-weight: 500;
  box-shadow: inset 0 -1px 0 var(--hf-line-bronze);
}

.homepage-structure .hs-hero .hs-actions a:first-child {
  background: var(--hf-bronze);
  border-color: var(--hf-bronze);
  color: var(--hf-dark-deep);
}

.homepage-structure .hs-hero .hs-actions a:not(:first-child) {
  background: transparent;
  border-color: rgba(250, 248, 244, 0.32);
  color: var(--hf-cream);
}

.homepage-structure #kontaktai .hs-button {
  background: var(--hf-bronze);
  border-color: var(--hf-bronze);
  color: var(--hf-dark-deep);
  max-width: 18rem;
}

/* —— Eyebrow short line motif (shared) —— */
.homepage-structure .hs-eyebrow {
  position: relative;
  display: inline-block;
  padding-top: 0.95rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.12em;
}

.homepage-structure .hs-eyebrow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2.25rem;
  height: 1px;
  background: var(--hf-line-bronze);
}

.homepage-structure .hs-hero .hs-eyebrow::before {
  background: var(--hf-bronze-soft);
}

/* —— Compress stacks / empty air —— */
.homepage-structure #kodel-mes .hs-stack--three {
  margin-top: 0.85rem;
  gap: 0;
}

.homepage-structure #kodel-mes .hs-item {
  padding: 0.55rem 0;
}

.homepage-structure #kodel-mes .hs-container {
  gap: 0.65rem;
}

.homepage-structure #kodel-mes .hs-figure {
  min-height: clamp(13rem, 32vw, 20rem);
}

.homepage-structure #sistema .hs-stack {
  margin-top: 0.85rem;
}

.homepage-structure #sistema .hs-item {
  padding: 0.55rem 0;
}

.homepage-structure #sistema .hs-item p {
  font-size: 0.975rem;
  line-height: 1.55;
}

.homepage-structure #kelias .hs-stack {
  margin-top: 1rem;
}

.homepage-structure #kelias .hs-item {
  padding-top: 0.95rem;
}

.homepage-structure #paslaugos .hs-stack {
  margin-top: 1rem;
}

.homepage-structure #paslaugos .hs-article {
  padding-block: 0.85rem 0.95rem;
}

.homepage-structure #paslaugos .hs-list li {
  padding-block: 0.35rem;
}

.homepage-structure #kodel-mes .hs-item::before {
  color: rgba(95, 87, 77, 0.55);
}

/* Gallery denser — crop to editorial ratios, no beige empty frames */
.homepage-structure #namu-kryptys .hs-directions {
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.homepage-structure #namu-kryptys .hs-direction__media {
  margin-bottom: 0.35rem;
  background: #2a241e;
  aspect-ratio: 1.85 / 1;
  overflow: hidden;
}

.homepage-structure #namu-kryptys .hs-direction__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.homepage-structure #namu-kryptys .hs-direction:nth-child(2) .hs-direction__media,
.homepage-structure #namu-kryptys .hs-direction:nth-child(3) .hs-direction__media {
  aspect-ratio: 4 / 3;
}

.homepage-structure #namu-kryptys .hs-direction:nth-child(4) .hs-direction__media {
  aspect-ratio: 3 / 2;
}

.homepage-structure #namu-kryptys .hs-direction:nth-child(5) .hs-direction__media {
  aspect-ratio: 2.6 / 1;
}

.homepage-structure #namu-kryptys > .hs-container > p {
  margin-bottom: 0.15rem;
}

.homepage-structure #namu-kryptys .hs-direction figcaption h3 {
  margin-bottom: 0.2rem;
  font-size: clamp(1.2rem, 1.3vw, 1.4rem);
}

.homepage-structure #namu-kryptys .hs-direction figcaption p {
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* #kodel-pastatysiutau — light shell + limited dark principles panel */
.homepage-structure #kodel-pastatysiutau {
  background: var(--hf-light);
  padding-block: var(--hf-section-info) 0;
}

.homepage-structure #kodel-pastatysiutau .hs-eyebrow {
  padding-right: 0;
}

.homepage-structure #kodel-pastatysiutau > .hs-container > p {
  margin-bottom: 1.25rem;
}

.homepage-structure #kodel-pastatysiutau .hs-stack {
  padding: 1.1rem 0 1.25rem;
}

.homepage-structure #kodel-pastatysiutau .hs-item {
  padding-block: 0.7rem;
}

/* DUK cleaner + compact */
.homepage-structure #duk .hs-faq summary {
  min-height: 2.55rem;
  padding: 0.65rem 0;
  font-size: clamp(1.05rem, 1.4vw, 1.15rem);
}

.homepage-structure #duk .hs-faq details p {
  margin-bottom: 0.75rem;
}

.homepage-structure #kam-skirta .hs-list li {
  padding: 0.7rem 0;
}

.homepage-structure #izvalgos h2 {
  margin-bottom: 1rem;
}

.homepage-structure #izvalgos .hs-article {
  padding: 1.05rem 0 1.1rem;
}

/* Kontaktai + footer — final band, less empty chrome */
.homepage-structure #kontaktai > .hs-container {
  gap: 1.1rem;
}

.homepage-structure #kontaktai .hs-form__grid {
  gap: 0.55rem;
}

.homepage-structure #kontaktai .hs-form__grid--after {
  margin-top: 0.65rem;
  gap: 0.7rem;
}

.homepage-structure #kontaktai .hs-field {
  gap: 0.22rem;
}

.homepage-structure #kontaktai .hs-field label {
  font-size: 0.75rem;
}

.homepage-structure #kontaktai .hs-field textarea {
  min-height: 5.25rem;
}

.homepage-structure #kontaktai .hs-field input,
.homepage-structure #kontaktai .hs-field select,
.homepage-structure #kontaktai .hs-field textarea {
  min-height: 42px;
  padding-block: 0.45rem;
}

.homepage-structure #kontaktai .hs-button {
  min-height: 46px;
  margin-top: 0.15rem;
}

.homepage-structure #kontaktai .hs-note {
  margin-top: 0.5rem;
}

.homepage-structure .hs-footer {
  padding-block: 1.1rem 1.25rem;
}

.homepage-structure .hs-footer > .hs-container > p {
  margin-bottom: 0.65rem;
}

.homepage-structure .hs-footer nav {
  margin-bottom: 0.65rem;
}

.homepage-structure .hs-footer__meta {
  padding-top: 0.75rem;
}

.homepage-structure .hs-footer a {
  min-height: 36px;
}

/* Protingesnė — presence without excess air */
.homepage-structure #protingesne-statyba .hs-principles {
  margin-top: 1rem;
}

.homepage-structure #protingesne-statyba .hs-principles > div {
  padding-block: 0.7rem;
}

.homepage-structure #protingesne-statyba > .hs-container {
  gap: 1rem;
}

/* Hide leftover tech-code positioning in media queries */
.homepage-structure #paslaugos .hs-article::after,
.homepage-structure #paslaugos .hs-article:first-child::after,
.homepage-structure #paslaugos .hs-article:nth-child(2)::after,
.homepage-structure #paslaugos .hs-article:nth-child(3)::after {
  content: none !important;
  display: none !important;
}

/* Ensure max 3 tech codes: keep none of A·01 / S-0x / PS / PT */
.homepage-structure .hs-hero::after,
.homepage-structure #protingesne-statyba > .hs-container::after,
.homepage-structure #kodel-pastatysiutau .hs-eyebrow::after {
  content: none !important;
  display: none !important;
}

/* —— Desktop refinements —— */
@media (min-width: 1100px) {
  .homepage-structure #namu-kryptys .hs-directions {
    row-gap: 0.95rem;
    column-gap: 0.85rem;
    margin-top: 0.95rem;
  }

  .homepage-structure #namu-kryptys .hs-direction:nth-child(2) {
    padding-top: 0.75rem;
  }

  .homepage-structure #namu-kryptys .hs-direction:nth-child(3) {
    padding-top: 0.15rem;
  }

  .homepage-structure #namu-kryptys .hs-direction:nth-child(5) {
    padding-top: 0;
  }

  .homepage-structure #kelias .hs-stack.hs-stack--two {
    row-gap: 1.5rem;
  }

  .homepage-structure #kelias .hs-item {
    padding: 1.25rem 0.85rem 0 0;
  }

  .homepage-structure #paslaugos .hs-stack.hs-stack--three {
    margin-top: 1.35rem;
  }

  .homepage-structure #paslaugos .hs-article {
    padding: 1.25rem 1.15rem 1.35rem;
  }

  .homepage-structure #kodel-pastatysiutau {
    padding-block: clamp(3.75rem, 5vw, 5.5rem);
  }

  .homepage-structure #kodel-pastatysiutau .hs-stack {
    --kpt-eye-block: 4.5rem;
    padding-top: var(--kpt-eye-block);
  }

  .homepage-structure #kodel-pastatysiutau .hs-item {
    padding: 0.7rem 0 0.7rem 1.1rem;
  }

  .homepage-structure #kam-skirta h2,
  .homepage-structure #duk h2 {
    font-size: clamp(2.4rem, 3vw, 3.5rem);
  }

  .homepage-structure #kontaktai h2 {
    font-size: clamp(3.2rem, 4vw, 4.75rem);
  }

  .homepage-structure #protingesne-statyba h2 {
    font-size: clamp(3.2rem, 4vw, 4.75rem);
  }

  .homepage-structure #protingesne-statyba > .hs-container {
    row-gap: clamp(1.15rem, 2.2vw, 1.75rem);
  }

  .homepage-structure #protingesne-statyba .hs-figure {
    min-height: clamp(18rem, 28vw, 23rem);
  }

  .homepage-structure #protingesne-statyba .hs-principles > div {
    padding: 0.95rem 0.85rem 0.1rem 0.85rem;
  }

  .homepage-structure #kontaktai > .hs-container {
    gap: 1.15rem;
  }

  .homepage-structure #kontaktai .hs-note {
    margin-top: 0.75rem;
  }

  .homepage-structure .hs-footer {
    padding-block: 1.2rem 1.35rem;
  }

  .homepage-structure #kodel-mes .hs-figure {
    min-height: 22rem;
  }

  .homepage-structure #izvalgos .hs-article,
  .homepage-structure #izvalgos .hs-article:first-child,
  .homepage-structure #izvalgos .hs-article:nth-child(2),
  .homepage-structure #izvalgos .hs-article:nth-child(3) {
    padding: 1.15rem 1.1rem 1.25rem;
  }
}

@media (min-width: 1024px) {
  .homepage-structure #kodel-mes .hs-figure {
    min-height: 22rem !important;
  }
}

@media (min-width: 1200px) {
  .homepage-structure #kodel-mes .hs-figure {
    min-height: 23rem !important;
  }

  .homepage-structure #kodel-mes .hs-stack--three {
    padding-top: 0.85rem;
    margin-top: 0.25rem;
  }
}

@media (min-width: 768px) {
  .homepage-structure #namu-kryptys .hs-directions {
    row-gap: 0.85rem;
    column-gap: 0.9rem;
  }

  .homepage-structure #namu-kryptys .hs-direction:nth-child(even) {
    padding-top: 0.65rem;
  }

  .homepage-structure #namu-kryptys .hs-direction:nth-child(5) {
    padding: 0.15rem 6% 0;
  }

  .homepage-structure #izvalgos .hs-article {
    padding: 1.05rem 0.95rem 1.15rem;
  }

  .homepage-structure #kelias .hs-stack {
    row-gap: 1.5rem;
    margin-top: 1.5rem;
  }

  .homepage-structure #kodel-mes .hs-figure {
    min-height: 20rem;
  }
}

/* —— Mobile typography + rhythm —— */
@media (max-width: 767px) {
  .homepage-structure {
    --hf-section: clamp(3.25rem, 11vw, 4.5rem);
    --hf-section-info: clamp(3rem, 10vw, 4rem);
    --hf-section-mobile: clamp(3rem, 10vw, 4rem);
  }

  .homepage-structure .hs-hero {
    padding: 4.75rem 0 1.5rem;
  }

  .homepage-structure .hs-hero h1 {
    font-size: clamp(2.75rem, 12vw, 3.6rem);
    letter-spacing: 0;
    margin-bottom: 0.65rem;
  }

  .homepage-structure .hs-hero .hs-lead {
    margin-bottom: 0.75rem;
    font-size: 1rem;
  }

  .homepage-structure .hs-hero .hs-figure {
    min-height: 11rem;
  }

  .homepage-structure .hs-section h2,
  .homepage-structure #kodel-mes h2,
  .homepage-structure #sistema h2,
  .homepage-structure #kelias h2,
  .homepage-structure #paslaugos h2,
  .homepage-structure #namu-kryptys h2,
  .homepage-structure #kodel-pastatysiutau h2,
  .homepage-structure #kam-skirta h2,
  .homepage-structure #izvalgos h2,
  .homepage-structure #duk h2 {
    font-size: clamp(2.2rem, 8.5vw, 2.85rem);
    letter-spacing: 0;
    margin-bottom: 0.45rem;
  }

  .homepage-structure #protingesne-statyba h2,
  .homepage-structure #kontaktai h2 {
    font-size: clamp(2.35rem, 9vw, 3.1rem);
  }

  .homepage-structure .hs-section h3,
  .homepage-structure #sistema .hs-item h3,
  .homepage-structure #kelias .hs-item h3,
  .homepage-structure #paslaugos .hs-article h3 {
    font-size: clamp(1.25rem, 5.5vw, 1.55rem);
  }

  .homepage-structure .hs-lead,
  .homepage-structure .hs-section p,
  .homepage-structure #kodel-mes > .hs-container > p,
  .homepage-structure #sistema > .hs-container > p {
    font-size: 1rem;
    margin-bottom: 0.65rem;
  }

  .homepage-structure #kodel-mes,
  .homepage-structure #sistema,
  .homepage-structure #kelias,
  .homepage-structure #paslaugos,
  .homepage-structure #namu-kryptys,
  .homepage-structure #kam-skirta,
  .homepage-structure #izvalgos,
  .homepage-structure #duk {
    padding-block: var(--hf-section-info);
  }

  .homepage-structure #protingesne-statyba,
  .homepage-structure #kontaktai {
    padding-block: clamp(3.5rem, 12vw, 4.75rem);
  }

  .homepage-structure #kodel-pastatysiutau {
    padding-block: var(--hf-section-info) 0;
  }

  .homepage-structure #kodel-mes .hs-figure {
    min-height: 12.5rem;
  }

  .homepage-structure #kodel-mes .hs-item,
  .homepage-structure #sistema .hs-item,
  .homepage-structure #kelias .hs-item {
    padding: 0.75rem 0 0.75rem 0.15rem;
  }

  .homepage-structure #paslaugos .hs-article {
    padding: 0.95rem 0 1rem;
  }

  .homepage-structure #namu-kryptys .hs-directions {
    gap: 1rem;
    margin-top: 0.85rem;
  }

  .homepage-structure #namu-kryptys .hs-direction__media {
    aspect-ratio: 16 / 10;
  }

  .homepage-structure #protingesne-statyba .hs-figure {
    min-height: clamp(11.5rem, 48vw, 15rem);
  }

  .homepage-structure #protingesne-statyba .hs-principles > div {
    padding: 0.7rem 0;
  }

  .homepage-structure #kodel-pastatysiutau .hs-item {
    padding: 0.75rem 0 0.75rem 1rem;
  }

  .homepage-structure #kam-skirta .hs-list li {
    padding: 0.55rem 0;
    font-size: 0.975rem;
  }

  .homepage-structure #izvalgos .hs-article {
    padding: 0.95rem 0 1rem;
  }

  .homepage-structure #duk .hs-faq summary {
    padding: 0.55rem 0;
    min-height: 2.35rem;
  }

  .homepage-structure #kontaktai .hs-field textarea {
    min-height: 4.75rem;
  }

  .homepage-structure .hs-footer {
    padding-block: 1.15rem 1.35rem;
  }

  .homepage-structure .hs-hero .hs-actions a:first-child {
    background: var(--hf-bronze);
    color: var(--hf-dark-deep);
  }
}

/* Overflow guard */
.homepage-structure,
.homepage-structure .hs-section,
.homepage-structure .hs-hero {
  max-width: 100%;
  overflow-x: clip;
}
