:root {
  --ink: #19171b;
  --ink-soft: #312f35;
  --paper: #f7f5f0;
  --surface: #ffffff;
  --muted: #706d67;
  --line: #dfd9cf;
  --accent: #f1b22a;
  --accent-strong: #d83a32;
  --green: #0da85b;
  --blue: #1a9dcc;
  --shadow: 0 18px 50px rgba(25, 23, 27, 0.14);
  --sidebar: 292px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

#site-chrome {
  position: relative;
  z-index: 80;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: 18px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--surface);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 40;
  width: var(--sidebar);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: #19171b;
  color: #f7f5f0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
}

.brand-logo {
  width: 150px;
  aspect-ratio: 1;
  border-radius: var(--radius);
  object-fit: cover;
  background: transparent;
  padding: 0;
}

.brand-name {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.15;
  letter-spacing: 0;
  font-weight: 800;
}

.brand-tagline {
  margin: 0;
  color: rgba(247, 245, 240, 0.68);
  font-size: 0.9rem;
}

.footer-policies {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
}

.footer-policies a {
  color: rgba(255, 255, 255, 0.64);
  text-decoration: none;
  font-size: 0.88rem;
}

.footer-policies a:hover {
  color: #fff;
}

.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1200;
  width: min(420px, calc(100vw - 28px));
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(17, 17, 17, 0.96);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.32);
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.cookie-banner p a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.cookie-btn {
  padding: 9px 14px;
  border: 1px solid rgba(201, 161, 91, 0.6);
  border-radius: 999px;
  background: var(--accent);
  color: #1d1710;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.cookie-btn.ghost {
  border-color: rgba(255, 255, 255, 0.22);
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
}

.main-nav {
  display: grid;
  gap: 4px;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 9px 12px;
  border-radius: var(--radius);
  color: rgba(247, 245, 240, 0.72);
  font-size: 0.93rem;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-link::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: transparent;
  transition: background 180ms ease, transform 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-link:hover {
  transform: translateX(3px);
}

.nav-link.is-active::after {
  background: var(--accent);
  transform: scale(1.1);
}

.sidebar-bottom {
  margin-top: auto;
  display: grid;
  gap: 14px;
}

.social-row {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: #fff;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(241, 178, 42, 0.8);
  background: rgba(241, 178, 42, 0.12);
}

.phone-card {
  display: grid;
  gap: 3px;
  padding: 13px;
  border-radius: var(--radius);
  background: #f7f5f0;
  color: var(--ink);
}

.phone-card span {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.phone-card strong {
  font-size: 1rem;
}

.mobile-toggle {
  position: fixed;
  right: 16px;
  top: 16px;
  z-index: 60;
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--accent);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

body.nav-open .mobile-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .mobile-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .mobile-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-overlay {
  position: fixed;
  inset: 0;
  z-index: 35;
  display: none;
  background: rgba(25, 23, 27, 0.58);
}

.page-shell {
  margin-left: var(--sidebar);
  min-height: 100vh;
}

.page-content {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
  padding: 72px 0;
}

.narrow {
  width: min(860px, calc(100% - 44px));
}

.section {
  padding: 70px 0;
}

.section:first-child {
  padding-top: 0;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-title.tight {
  font-size: clamp(2rem, 3.2vw, 3.4rem);
}

.lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.copy {
  color: var(--muted);
  max-width: 720px;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #111;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 800ms ease, transform 1200ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 16, 18, 0.7), rgba(17, 16, 18, 0.18) 54%, rgba(17, 16, 18, 0.5)),
    linear-gradient(0deg, rgba(17, 16, 18, 0.72), transparent 58%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1100px, calc(100% - 44px));
  margin: 0 auto;
  padding: 0 0 76px;
  color: #fff;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.7rem, 6.8vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero h1 span {
  display: inline;
}

.hero-line {
  max-width: 620px;
  min-height: 76px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.08rem, 2vw, 1.36rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-dots {
  display: flex;
  gap: 8px;
  margin-top: 34px;
}

.hero-dot {
  width: 36px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  cursor: pointer;
}

.hero-dot.is-active {
  background: var(--accent);
}

.button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 17px;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button {
  border: 1px solid var(--accent);
  color: var(--ink);
  background: var(--accent);
}

.button:hover,
.button:focus-visible,
.ghost-button:hover,
.ghost-button:focus-visible {
  transform: translateY(-2px);
}

.ghost-button {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.button.dark {
  border-color: var(--ink);
  color: #fff;
  background: var(--ink);
}

.ghost-button.dark {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.8fr);
  gap: 42px;
  align-items: start;
}

.split.center {
  align-items: center;
}

.panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(25, 23, 27, 0.08);
}

.panel h2,
.panel h3,
.panel h4 {
  margin-top: 0;
}

.grid {
  display: grid;
  gap: 18px;
}

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

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(25, 23, 27, 0.06);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  line-height: 1.2;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  color: #fff;
  background: #222;
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.08));
}

.service-card:hover img {
  transform: scale(1.06);
}

.service-card > div {
  position: relative;
  z-index: 1;
}

.service-card p {
  color: rgba(255, 255, 255, 0.78);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.metric {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.check-list,
.plain-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 13px;
  height: 9px;
  border-left: 3px solid var(--green);
  border-bottom: 3px solid var(--green);
  transform: rotate(-45deg);
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.67em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.timeline {
  counter-reset: steps;
  display: grid;
  gap: 12px;
}

.timeline-item {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.timeline-item::before {
  content: counter(steps, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--accent);
  font-weight: 900;
}

.timeline-item h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
}

.media-frame {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.media-frame.logo-frame {
  background: transparent;
}

.media-frame.logo-frame img {
  padding: 0;
  object-fit: contain;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.42), transparent 58%);
  pointer-events: none;
}

.media-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  color: #fff;
}

.media-caption strong {
  display: block;
  font-size: 1.05rem;
}

.media-caption span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-soft);
  background: var(--surface);
  font-weight: 800;
  font-size: 0.84rem;
}

.badge.red {
  border-color: rgba(216, 58, 50, 0.25);
  color: #9d231d;
  background: rgba(216, 58, 50, 0.08);
}

.badge.green {
  border-color: rgba(13, 168, 91, 0.25);
  color: #097844;
  background: rgba(13, 168, 91, 0.08);
}

.badge.blue {
  border-color: rgba(26, 157, 204, 0.25);
  color: #116d8f;
  background: rgba(26, 157, 204, 0.08);
}

.project-card {
  overflow: hidden;
  padding: 0;
}

.project-body {
  padding: 22px;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.comparison {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: #222;
}

.comparison img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison-after {
  position: absolute;
  inset: 0 auto 0 0;
  width: 56%;
  overflow: hidden;
  border-right: 3px solid var(--accent);
}

.comparison-after img {
  width: 100%;
  min-width: 100%;
}

.comparison-label {
  position: absolute;
  top: 12px;
  z-index: 2;
  padding: 7px 9px;
  border-radius: var(--radius);
  color: #fff;
  background: rgba(25, 23, 27, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
}

.comparison-label.before {
  right: 12px;
}

.comparison-label.after {
  left: 12px;
}

.comparison input {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 3;
  width: calc(100% - 28px);
  accent-color: var(--accent);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 24px;
}

.filter-button {
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
  font-weight: 800;
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
  border-color: var(--ink);
  color: #fff;
  background: var(--ink);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  min-height: 245px;
  border-radius: var(--radius);
  background: #222;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 220ms ease, transform 220ms ease;
}

.gallery-item.is-hidden {
  display: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 245px;
  object-fit: cover;
  transition: transform 420ms ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7), transparent 62%);
}

.gallery-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  color: #fff;
}

.gallery-caption strong {
  display: block;
}

.gallery-caption span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.86rem;
}

.review-card {
  display: grid;
  gap: 16px;
}

.review-card blockquote {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.review-card cite {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-left: 8px solid var(--accent);
  border-radius: var(--radius);
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(201, 161, 91, 0.16), rgba(255, 255, 255, 0) 48%),
    var(--surface);
  box-shadow: var(--shadow);
}

.contact-band h2 {
  margin: 0;
}

.contact-band p {
  max-width: 700px;
  color: var(--muted);
}

.contact-band > div:last-child {
  display: grid;
  place-items: center;
}

.contact-band .button {
  min-width: 210px;
  text-align: center;
  border-color: var(--accent);
  color: var(--ink);
  background: var(--accent);
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-item {
  display: grid;
  gap: 3px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.contact-item span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-item strong {
  overflow-wrap: anywhere;
}

.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 28px;
  border-top: 0;
  color: rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(135deg, rgba(201, 161, 91, 0.22), transparent 42%),
    #111;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: 0.28;
}

.footer-inner {
  position: relative;
  width: min(1120px, calc(100% - 44px));
  min-height: 150px;
  margin: 0 auto;
  padding: 42px 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  color: inherit;
  font-size: 0.95rem;
}

.footer-inner span:first-child {
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 900;
}

.footer-inner span:last-child {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1060px) {
  :root {
    --sidebar: 270px;
  }

  .grid.three,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric:nth-child(2) {
    border-right: 0;
  }

  .metric:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 820px) {
  .mobile-toggle {
    display: block;
  }

  .sidebar {
    width: min(86vw, 330px);
    transform: translateX(-105%);
    transition: transform 230ms ease;
  }

  body.nav-open .sidebar {
    transform: translateX(0);
  }

  body.nav-open .site-overlay {
    display: block;
  }

  .page-shell {
    margin-left: 0;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-inner {
    padding-bottom: 48px;
  }

  .hero-line {
    min-height: 0;
  }

  .page-content {
    padding: 48px 0;
  }

  .section {
    padding: 48px 0;
  }

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

  .grid.two,
  .grid.three,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .page-content,
  .hero-inner,
  .footer-inner,
  .narrow {
    width: min(100% - 32px, 1120px);
  }

  .hero h1 {
    font-size: clamp(2.35rem, 13.5vw, 3.45rem);
  }

  .hero h1 span {
    display: block;
  }

  .metric-strip {
    grid-template-columns: 1fr;
  }

  .metric {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .panel,
  .card,
  .contact-band {
    padding: 20px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .comparison,
  .gallery-item,
  .gallery-item img {
    min-height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Redesign pass: calmer navigation, restrained palette, editorial homepage. */
:root {
  --ink: #171717;
  --ink-soft: #333333;
  --paper: #f3f1ec;
  --surface: #ffffff;
  --muted: #75716a;
  --line: #d9d3c8;
  --accent: #c9a15b;
  --accent-strong: #8b6b35;
  --green: #c9a15b;
  --blue: #c9a15b;
  --shadow: 0 18px 45px rgba(20, 20, 20, 0.12);
  --sidebar: 275px;
}

.sidebar {
  padding: 28px 22px 22px;
  background: #111111;
  border-right-color: rgba(255, 255, 255, 0.1);
}

.brand {
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand-logo {
  width: 160px;
  height: 160px;
  object-fit: contain;
  padding: 0;
  filter: none;
}

.brand-name {
  font-size: 1rem;
}

.brand-tagline {
  max-width: 185px;
  font-size: 0.82rem;
}

.main-nav {
  gap: 0;
  margin-top: -8px;
}

.nav-link {
  min-height: 46px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.nav-link::after {
  width: 26px;
  height: 1px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.18);
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: #fff;
  background: transparent;
}

.nav-link:hover {
  transform: translateX(0);
}

.nav-link.is-active::after {
  background: var(--accent);
  transform: none;
}

.sidebar-bottom {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-kicker {
  color: var(--accent-strong);
}

.mobile-toggle {
  background: var(--accent);
}

.hero-redesign {
  min-height: 100vh;
  align-items: center;
  background: #141414;
}

.hero-redesign .hero-slide {
  display: block;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.25), transparent 58%),
    #141414;
}

.hero-redesign .hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: saturate(0.98) contrast(1.02);
}

.hero-redesign .hero-slide::before {
  display: none;
}

.hero-redesign .hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.18), transparent 52%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.08) 46%, rgba(0, 0, 0, 0.1));
}

.hero-redesign .hero-slide.is-second {
  background-position: center, center, right 12vw center, center;
}

.hero-redesign .hero-slide.is-third {
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.25), transparent 58%),
    #141414;
}

.hero-redesign .hero-slide.is-fourth,
.hero-redesign .hero-slide.is-fifth {
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.25), transparent 58%),
    #141414;
}

.hero-redesign::after {
  background: transparent;
}

.hero-redesign .hero-inner {
  align-self: end;
  z-index: 3;
  padding: 0 0 76px;
}

.hero-brand {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 800;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.9);
}

.hero-redesign .hero-line {
  width: max-content;
  max-width: min(980px, calc(100vw - var(--sidebar) - 88px));
  min-height: 0;
  margin: 0;
  color: #fff;
  font-size: 48px;
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
  text-shadow: 0 4px 26px rgba(0, 0, 0, 0.92);
}

.hero-redesign .hero-line span {
  display: block;
  white-space: nowrap;
}

.hero-sub {
  max-width: 610px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72);
}

.process-redesign {
  display: grid;
  gap: 30px;
  padding: 48px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(201, 161, 91, 0.14), transparent 46%),
    var(--surface);
}

.process-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.65fr);
  gap: 28px;
  align-items: end;
}

.process-heading .lead {
  margin: 0;
  max-width: 520px;
}

.process-timeline {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.process-timeline .timeline-item {
  min-height: 190px;
  grid-template-columns: 1fr;
  align-content: start;
  padding: 22px;
}

.process-timeline .timeline-item::before {
  width: 54px;
  height: 54px;
  margin-bottom: 26px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
}

.process-timeline .timeline-item h3 {
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.process-timeline .timeline-item p {
  font-size: 0.98rem;
  line-height: 1.55;
}

.hero-actions {
  display: none;
}

.hero-redesign .hero-dots {
  margin-top: 42px;
}

.hero-redesign .hero-dot.is-active {
  background: var(--accent);
}

.home-redesign .section {
  padding: 78px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 54px;
  border-bottom: 1px solid var(--line);
}

.service-lines {
  display: grid;
  border-top: 1px solid var(--line);
}

.service-line {
  display: grid;
  grid-template-columns: 72px minmax(190px, 0.7fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: color 180ms ease, transform 180ms ease;
}

.service-line:hover,
.service-line:focus-visible {
  color: var(--accent-strong);
  transform: translateX(4px);
}

.service-line span {
  color: var(--muted);
  font-weight: 900;
}

.service-line h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.7vw, 2.5rem);
  line-height: 1;
}

.service-line p {
  margin: 0;
  color: var(--muted);
}

.process-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  padding: 42px;
  border: 1px solid var(--line);
  background: var(--ink);
  color: #fff;
}

.education-split {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 42px;
  align-items: start;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.education-copy {
  position: static;
}

.education-copy h2,
.cost-heading h2,
.recommendation-main h2 {
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 4.8rem);
  line-height: 0.98;
}

.education-copy p:not(.section-kicker),
.recommendation-main p {
  color: var(--muted);
}

.education-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.education-cards article,
.work-cards article,
.faq-grid article {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.education-cards span,
.work-cards span {
  display: block;
  margin-bottom: 42px;
  color: var(--accent-strong);
  font-weight: 900;
}

.education-cards h3,
.work-cards h3,
.faq-grid h3 {
  margin: 0 0 10px;
  font-size: 1.28rem;
  line-height: 1.1;
}

.education-cards p,
.work-cards p,
.faq-grid p {
  margin: 0;
  color: var(--muted);
}

.cost-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 42px;
  border: 1px solid var(--line);
  background: #141414;
  color: #fff;
}

.home-redesign .cost-section {
  padding: 42px;
}

.cost-heading {
  max-width: 920px;
}

.cost-heading .section-kicker {
  color: var(--accent);
}

.cost-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.cost-list article {
  padding: 24px 20px 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.cost-list article:last-child {
  border-right: 0;
}

.cost-list strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 1.08rem;
}

.cost-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.works-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 42px;
  align-items: start;
}

.work-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.recommendations {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: 44px;
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.recommendation-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.recommendation-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.recommendation-list li:last-child {
  border-bottom: 0;
}

.turnkey {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.turnkey-image {
  min-height: 420px;
  border: 1px solid var(--line);
}

.faq-section {
  border-top: 1px solid var(--line);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.intro-photo-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
  gap: 44px;
  align-items: center;
}

.intro-photo-stack {
  display: grid;
  grid-template-columns: 0.72fr 0.5fr;
  gap: 14px;
  align-items: end;
}

.intro-photo-stack img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.intro-photo-stack img:nth-child(2) {
  height: 340px;
}

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.6fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 30px;
}

.section-heading-row > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.image-card-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: repeat(2, 260px);
  gap: 16px;
}

.image-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: end;
  min-height: 260px;
  color: #fff;
  background: #111;
}

.image-card.large {
  grid-row: span 2;
}

.image-card img,
.article-image img,
.phase-grid img,
.recommendation-photo img,
.article-card-grid img,
.turnkey-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-card img {
  position: absolute;
  inset: 0;
  transition: transform 450ms ease;
}

.image-card::after,
.phase-grid a::after,
.article-card-grid a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), transparent 58%);
}

.image-card:hover img,
.phase-grid a:hover img,
.article-card-grid a:hover img {
  transform: scale(1.05);
}

.image-card > div {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.image-card span,
.phase-grid span {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.image-card h3 {
  margin: 8px 0;
  font-size: clamp(1.6rem, 3vw, 3rem);
  line-height: 1;
}

.image-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.split-article {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 0.95fr);
  gap: 44px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.article-image {
  height: 500px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.mini-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.mini-list a {
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 800;
  transition: border-color 180ms ease, transform 180ms ease;
}

.mini-list a:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.phase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.phase-grid a {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  display: flex;
  align-items: end;
  padding: 18px;
  color: #fff;
  background: #111;
}

.phase-grid img {
  position: absolute;
  inset: 0;
  transition: transform 420ms ease;
}

.phase-grid span {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
}

.recommendations-rich {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.55fr) minmax(300px, 0.65fr);
  gap: 28px;
  align-items: stretch;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}

.recommendations-rich h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 0.98;
}

.recommendations-rich p {
  color: var(--muted);
}

.recommendation-photo {
  min-height: 390px;
  border: 1px solid var(--line);
}

.recommendations-rich ul {
  display: grid;
  align-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.recommendations-rich li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.recommendations-rich li:last-child {
  border-bottom: 0;
}

.article-strip {
  border-top: 1px solid var(--line);
}

.article-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.article-card-grid a {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 22px;
  color: #fff;
  background: #111;
}

.article-card-grid img {
  position: absolute;
  inset: 0;
  transition: transform 420ms ease;
}

.article-card-grid h3,
.article-card-grid p {
  position: relative;
  z-index: 1;
}

.article-card-grid h3 {
  margin: 0 0 10px;
  font-size: 1.55rem;
  line-height: 1.08;
}

.article-card-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.turnkey-photo {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 0.9fr);
  gap: 42px;
  align-items: center;
  padding: 14px 34px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.turnkey-photo > img {
  min-height: 430px;
  max-height: 520px;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.process-band h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.process-points {
  display: grid;
  gap: 0;
}

.process-points div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.process-points div:last-child {
  border-bottom: 0;
}

.process-points strong {
  color: var(--accent);
}

.process-points p,
.process-band .section-kicker {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.social-feature {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 44px;
  align-items: center;
}

.social-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.nav-socials {
  display: flex;
  gap: 10px;
}

.nav-socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.88);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-socials a:hover,
.nav-socials a:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: rgba(201, 161, 91, 0.1);
}

.nav-socials svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.nav-socials a:nth-child(2) svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.subhero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: 44px;
  align-items: end;
  padding: 0 0 72px;
  border-bottom: 1px solid var(--line);
}

.subhero img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.subhero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4.2vw, 4.65rem);
  line-height: 1;
}

.subhero p:not(.section-kicker) {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.16rem;
}

.education-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.education-layout article {
  min-height: 300px;
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.education-layout span,
.about-metrics strong {
  color: var(--accent-strong);
  font-weight: 900;
}

.education-layout h2 {
  margin: 52px 0 12px;
  font-size: 1.6rem;
  line-height: 1.1;
}

.education-layout p {
  margin: 0;
  color: var(--muted);
}

.deep-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: 36px;
  align-items: start;
}

.deep-copy {
  display: grid;
  gap: 18px;
}

.deep-copy h2,
.visual-note h2,
.plain-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.9rem);
  line-height: 1;
}

.deep-copy p,
.plain-panel p,
.visual-note p {
  margin: 0;
  color: var(--muted);
}

.plain-panel {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.plain-panel ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.plain-panel li {
  padding-left: 24px;
  position: relative;
  color: var(--ink-soft);
}

.plain-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 10px;
  height: 2px;
  background: var(--accent);
}

.image-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.image-row img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.visual-note {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.visual-note img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.visual-note video {
  width: 100%;
  height: 360px;
  max-height: 420px;
  object-fit: contain;
  background: #0d0a07;
  border-radius: 8px;
}

.link-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.link-panel a {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink-soft);
  font-weight: 800;
  transition: border-color 180ms ease, transform 180ms ease;
}

.link-panel a:hover,
.link-panel a:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  background: var(--surface);
}

.about-metrics article {
  padding: 28px;
  border-right: 1px solid var(--line);
}

.about-metrics article:last-child {
  border-right: 0;
}

.about-metrics strong {
  display: block;
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  line-height: 1;
}

.about-metrics span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

.social-icon-card {
  min-height: 160px;
  display: grid;
  place-items: center;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.social-icon-card:hover,
.social-icon-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.social-icon-card svg {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.9;
}

.social-icon-card:nth-child(2) svg {
  fill: var(--ink);
  stroke: none;
}

.social-icon-card span {
  font-weight: 900;
}

.home-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-gallery article {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(20, 20, 20, 0.82)),
    linear-gradient(135deg, #d8d2c7, #f7f5f0);
  color: #fff;
}

.home-gallery article:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(20, 20, 20, 0.82)),
    linear-gradient(135deg, #c4beb4, #ffffff);
}

.home-gallery article:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(20, 20, 20, 0.82)),
    linear-gradient(135deg, #b9b0a1, #eeeeee);
}

.home-gallery span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-gallery h3 {
  margin: 8px 0;
  font-size: 1.6rem;
  line-height: 1.1;
}

.home-gallery p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.media-todo {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0), rgba(17, 17, 17, 0.84)),
    linear-gradient(135deg, #d6d0c4, #f7f5f0 46%, #bfb7aa);
}

.media-todo::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  pointer-events: none;
}

.media-todo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.68), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 42px);
}

.project-list {
  display: grid;
  gap: 22px;
}

.project-row {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1fr);
  gap: 32px;
  align-items: stretch;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.project-row:last-child {
  border-bottom: 1px solid var(--line);
}

.project-row h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1;
}

.project-media {
  min-height: 250px;
  display: flex;
  align-items: end;
  padding: 22px;
  color: #fff;
}

.project-media span {
  position: relative;
  z-index: 1;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reviews-redesign {
  border-top: 1px solid var(--line);
}

.badge,
.badge.red,
.badge.green,
.badge.blue {
  border-color: var(--line);
  color: var(--ink-soft);
  background: var(--surface);
}

.check-list li::before {
  border-left-color: var(--accent);
  border-bottom-color: var(--accent);
}

.plain-list li::before {
  background: var(--accent);
}

.button {
  border-color: var(--ink);
  color: #fff;
  background: var(--ink);
}

.button.dark {
  border-color: var(--ink);
  color: #fff;
  background: var(--ink);
}

@media (max-width: 1060px) {
  .intro-grid,
  .process-band,
  .social-feature,
  .education-split,
  .works-grid,
  .recommendations,
  .turnkey,
  .intro-photo-grid,
  .split-article,
  .recommendations-rich,
  .turnkey-photo,
  .subhero {
    grid-template-columns: 1fr;
  }

  .education-copy {
    position: static;
  }

  .cost-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cost-list article:nth-child(2) {
    border-right: 0;
  }

  .cost-list article:nth-child(-n + 2) {
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .home-gallery {
    grid-template-columns: 1fr;
  }

  .image-card-grid,
  .phase-grid,
  .article-card-grid,
  .education-layout,
  .about-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-metrics article:nth-child(2) {
    border-right: 0;
  }

  .about-metrics article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .image-card.large {
    grid-row: span 1;
  }
}

@media (max-width: 820px) {
  .sidebar {
    width: min(86vw, 320px);
  }

  .hero-redesign .hero-line {
    font-size: 46px;
  }

  .service-line {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .project-row {
    grid-template-columns: 1fr;
  }

  .process-band {
    padding: 26px;
  }

  .education-cards,
  .work-cards,
  .faq-grid,
  .image-card-grid,
  .phase-grid,
  .article-card-grid,
  .section-heading-row,
  .education-layout,
  .about-metrics {
    grid-template-columns: 1fr;
  }

  .about-metrics article,
  .about-metrics article:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .about-metrics article:last-child {
    border-bottom: 0;
  }

  .image-card-grid {
    grid-template-rows: none;
  }

  .intro-photo-stack {
    grid-template-columns: 1fr;
  }

  .intro-photo-stack img,
  .intro-photo-stack img:nth-child(2),
  .article-image,
  .recommendation-photo,
  .turnkey-photo > img,
  .subhero img {
    height: 300px;
    min-height: 300px;
  }

  .subhero {
    min-height: auto;
    padding-top: 58px;
  }

  .home-redesign .cost-section {
    padding: 28px;
  }
}

@media (max-width: 560px) {
  .hero-redesign .hero-line {
    width: min(100%, 330px);
    max-width: 330px;
    font-size: 32px;
    line-height: 1.06;
  }

  .hero-sub {
    width: min(100%, 330px);
    max-width: 330px;
    font-size: 0.95rem;
  }

  .social-panel {
    grid-template-columns: 1fr;
  }

  .deep-grid,
  .visual-note,
  .image-row {
    grid-template-columns: 1fr;
  }

  .visual-note img,
  .image-row img {
    height: 280px;
  }

  .home-redesign .section {
    padding: 54px 0;
  }

  .hero-redesign {
    min-height: 100vh;
  }

  .hero-redesign .hero-inner {
    padding-bottom: 54px;
  }

  .mini-list {
    grid-template-columns: 1fr;
  }

  .cost-list {
    grid-template-columns: 1fr;
  }

  .cost-list article,
  .cost-list article:nth-child(2) {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .cost-list article:last-child {
    border-bottom: 0;
  }
}

/* Final polish overrides */
.hero-sub {
  display: none;
}

.hero-redesign .hero-line {
  width: max-content;
  max-width: min(980px, calc(100vw - var(--sidebar) - 88px));
}

.hero-redesign .hero-line span {
  display: block;
  white-space: nowrap;
}

.education-copy {
  position: static;
  top: auto;
}

.education-split.reveal,
.education-split.reveal.is-visible {
  transform: none;
}

.process-redesign {
  display: grid;
  gap: 30px;
  padding: 48px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(201, 161, 91, 0.14), transparent 46%),
    var(--surface);
}

.process-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.65fr);
  gap: 28px;
  align-items: end;
}

.process-heading .lead {
  margin: 0;
  max-width: 520px;
}

.process-timeline {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.process-timeline .timeline-item {
  min-height: 220px;
  grid-template-columns: 1fr;
  align-content: start;
  padding: 20px;
}

.process-timeline .timeline-item::before {
  width: 54px;
  height: 54px;
  margin-bottom: 34px;
}

.contact-band {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(201, 161, 91, 0.16), rgba(255, 255, 255, 0) 48%),
    var(--surface);
}

.contact-band > div:last-child {
  display: grid;
  place-items: center;
}

.contact-band .button {
  min-width: 210px;
  text-align: center;
  border-color: var(--accent);
  color: var(--ink);
  background: var(--accent);
}

.site-footer {
  margin-top: 56px;
  background:
    radial-gradient(circle at 18% 0%, rgba(201, 161, 91, 0.25), transparent 34%),
    linear-gradient(135deg, #151515, #0f0f0f 72%);
}

.footer-inner {
  min-height: 190px;
  padding: 54px 0 46px;
  align-items: end;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner::before {
  content: "adaptacije stanova / malerija / knauf";
  position: absolute;
  top: 48px;
  left: 0;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-inner span:first-child {
  max-width: 520px;
  line-height: 1.05;
}

.footer-inner span:last-child {
  min-width: 210px;
  text-align: center;
  color: #fff;
  font-weight: 800;
}

.footer-inner a {
  color: inherit;
  text-decoration: none;
}

.site-footer {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.78);
  background: #121212;
}

.site-footer::before {
  display: none;
}

.footer-inner,
.footer-inner::before,
.footer-inner span:first-child,
.footer-inner span:last-child {
  all: unset;
}

.footer-shell {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  padding: 54px 0 24px;
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) minmax(180px, 0.75fr) minmax(240px, 0.9fr);
  gap: 42px;
}

.footer-brand-block {
  display: grid;
  gap: 18px;
  max-width: 440px;
}

.footer-brand-block img {
  width: 168px;
  height: auto;
}

.footer-brand-block p {
  margin: 0;
  max-width: 420px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.7;
}

.footer-links,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #fff;
}

.footer-contact > span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-contact [data-phone] {
  width: fit-content;
  padding: 12px 16px;
  border: 1px solid rgba(201, 161, 91, 0.45);
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.footer-socials a {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.92rem;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.9rem;
}

@media (max-width: 1060px) {
  .process-heading,
  .process-timeline {
    grid-template-columns: 1fr;
  }

  .process-timeline .timeline-item {
    min-height: auto;
  }
}

@media (max-width: 820px) {
  .contact-band {
    grid-template-columns: 1fr;
  }

  .contact-band > div:last-child {
    justify-items: start;
  }
}

@media (max-width: 560px) {
  .hero-redesign .hero-line {
    width: auto;
    max-width: calc(100vw - 32px);
    font-size: 31px;
  }

  .hero-redesign .hero-line span {
    white-space: normal;
  }

  .process-redesign {
    padding: 24px;
  }
}

/* Final request overrides */
.process-redesign {
  gap: 24px;
  padding: 42px 48px;
}

.process-heading {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 0.9fr);
  align-items: end;
  border-bottom: 1px solid var(--line);
  padding-bottom: 26px;
}

.process-heading .section-kicker {
  grid-column: 1;
  grid-row: 1;
  margin-bottom: 5px;
}

.process-heading .section-title {
  grid-column: 1;
  grid-row: 2;
  max-width: 460px;
  margin-top: 0;
}

.process-heading .lead {
  grid-column: 2;
  grid-row: 2;
  width: 280px;
  max-width: 280px;
  justify-self: end;
  align-self: end;
  font-size: 1.12rem;
  text-align: right;
}

.process-timeline {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.process-timeline .timeline-item {
  min-height: 0;
  height: 250px;
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.process-timeline .timeline-item::before {
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
}

.process-timeline .timeline-item h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.process-timeline .timeline-item p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
}

.contact-band {
  padding: 34px 38px;
  border-left: 0;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(201, 161, 91, 0.22), rgba(255, 255, 255, 0) 48%),
    #fff;
}

.contact-band h2 {
  font-size: clamp(2rem, 3.5vw, 3.8rem);
  line-height: 0.98;
}

.contact-band .button {
  display: inline-grid;
  place-items: center;
  min-width: 220px;
  min-height: 58px;
  border-radius: 999px;
  font-size: 1.08rem;
}

@media (max-width: 1200px) {
  .process-timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1060px) {
  .process-heading {
    grid-template-columns: 1fr;
  }

  .process-heading .section-kicker,
  .process-heading .section-title,
  .process-heading .lead {
    grid-column: 1;
    grid-row: auto;
  }

  .process-heading .lead {
    justify-self: start;
    text-align: left;
  }

  .footer-shell {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .process-timeline {
    grid-template-columns: 1fr;
  }

  .process-redesign,
  .contact-band {
    padding: 28px;
  }

  /* Footer: brand-block full width, then links + contact side by side */
  .footer-shell {
    width: min(100% - 32px, 1180px);
    grid-template-columns: 1fr 1fr;
    gap: 30px 22px;
    padding: 44px 0 22px;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
    text-align: center;
    justify-items: center;
    max-width: 100%;
  }

  .footer-brand-block img {
    margin: 0 auto;
  }

  .footer-brand-block p {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-links,
  .footer-contact {
    align-content: start;
  }

  .footer-links {
    padding-left: 30px;
  }

  .footer-contact > span {
    width: 100%;
    text-align: center;
  }

  .footer-contact [data-phone] {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-socials {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 8px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
  }

  .cookie-banner {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
  }

  .cookie-banner-actions {
    justify-content: space-between;
  }
}

/* Style pass: warmer sidebar, softer editorial sections, less blocky subpages. */
:root {
  --ink: #181511;
  --ink-soft: #3c352d;
  --paper: #f5f1e9;
  --surface: #fffdf8;
  --muted: #756d62;
  --line: #ded4c4;
  --accent: #bd8d43;
  --accent-strong: #7b5927;
  --clay: #9b4d34;
  --sage: #65735d;
  --shadow: 0 24px 70px rgba(45, 35, 24, 0.14);
  --sidebar: 286px;
}

body {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.48), transparent 38%),
    radial-gradient(circle at 84% 8%, rgba(189, 141, 67, 0.11), transparent 30%),
    var(--paper);
}

.sidebar {
  isolation: isolate;
  overflow: hidden;
  padding: 22px 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 28%),
    #2c251d;
  border-right: 0;
  box-shadow: 14px 0 42px rgba(32, 25, 18, 0.2);
}

.sidebar::before {
  content: "";
  position: absolute;
  inset: 18px auto 18px 0;
  width: 5px;
  background: linear-gradient(var(--accent), var(--clay), var(--sage));
}

.sidebar::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, black, transparent 78%);
  opacity: 0.65;
}

.brand {
  justify-items: start;
  gap: 12px;
  padding: 13px 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  text-align: left;
}

.brand-logo {
  width: 118px;
  height: 118px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 3px;
}

.brand-copy strong {
  color: #fff;
  font-size: 1rem;
  line-height: 1.15;
}

.brand-copy em {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav {
  gap: 6px;
  margin-top: 0;
}

.nav-link {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-bottom: 0;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.66);
}

.nav-link::after {
  width: 8px;
  height: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: transparent;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  transform: translateX(3px);
}

.nav-link.is-active {
  color: #fff;
  border-color: rgba(189, 141, 67, 0.4);
  background:
    linear-gradient(90deg, rgba(189, 141, 67, 0.26), rgba(189, 141, 67, 0.07));
}

.nav-link.is-active::after {
  border-color: var(--accent);
  background: var(--accent);
}

.sidebar-bottom {
  gap: 12px;
  color: rgba(255, 255, 255, 0.54);
  letter-spacing: 0;
  text-transform: none;
}

.sidebar-cta {
  display: grid;
  gap: 3px;
  padding: 14px;
  border: 1px solid rgba(189, 141, 67, 0.38);
  border-radius: 8px;
  background: rgba(189, 141, 67, 0.12);
  color: #fff;
}

.sidebar-cta span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sidebar-cta strong {
  font-size: 1.12rem;
}

.sidebar-area {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-socials a {
  border-radius: 8px;
}

.page-content {
  width: min(1180px, calc(100% - 56px));
}

.section {
  position: relative;
}

.section-title {
  max-width: 980px;
}

.section-kicker {
  color: var(--accent-strong);
}

.lead {
  color: var(--ink-soft);
}

.copy {
  color: var(--muted);
  line-height: 1.75;
}

.button,
.ghost-button,
.filter-button {
  border-radius: 999px;
}

.ghost-button.dark,
.filter-button,
.link-panel a,
.mini-list a {
  background: rgba(255, 253, 248, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.hero-redesign .hero-slide::after {
  background:
    linear-gradient(90deg, rgba(15, 12, 9, 0.5), transparent 58%),
    linear-gradient(0deg, rgba(15, 12, 9, 0.58), rgba(15, 12, 9, 0.08) 58%);
}

.hero-redesign .hero-brand {
  color: rgba(255, 255, 255, 0.86);
}

.hero-redesign .hero-line {
  max-width: min(1040px, calc(100vw - var(--sidebar) - 88px));
  text-wrap: balance;
}

.intro-photo-grid,
.split.center {
  align-items: center;
}

.intro-photo-stack {
  position: relative;
  gap: 18px;
}

.intro-photo-stack::before {
  content: "";
  position: absolute;
  inset: 34px 34px -28px -28px;
  z-index: -1;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.54);
}

.intro-photo-stack img,
.media-frame,
.article-image,
.recommendation-photo,
.turnkey-photo > img,
.subhero img,
.visual-note img,
.image-row img,
.project-media,
.gallery-item,
.image-card,
.phase-grid a,
.article-card-grid a {
  border-radius: 8px;
}

.intro-photo-stack img,
.subhero img,
.media-frame,
.article-image,
.recommendation-photo,
.visual-note,
.turnkey-photo,
.project-media,
.gallery-item,
.image-card,
.phase-grid a,
.article-card-grid a {
  box-shadow: 0 18px 54px rgba(45, 35, 24, 0.12);
}

.card,
.education-cards article,
.education-layout article,
.plain-panel,
.faq-grid article,
.contact-item,
.timeline-item,
.about-metrics,
.metric-strip,
.panel {
  position: relative;
  overflow: hidden;
  border-color: rgba(115, 96, 69, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 250, 240, 0.78)),
    var(--surface);
  box-shadow: 0 16px 42px rgba(45, 35, 24, 0.08);
}

.card::before,
.education-cards article::before,
.education-layout article::before,
.plain-panel::before,
.faq-grid article::before,
.contact-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(var(--accent), rgba(101, 115, 93, 0.72));
}

.card h3,
.education-cards h3,
.education-layout h2,
.plain-panel h2,
.faq-grid h3 {
  color: var(--ink);
}

.education-cards article,
.education-layout article,
.faq-grid article {
  min-height: 0;
}

.education-cards span,
.work-cards span,
.education-layout span,
.about-metrics strong {
  color: var(--clay);
}

.image-card::after,
.phase-grid a::after,
.article-card-grid a::after,
.gallery-item::after {
  background:
    linear-gradient(0deg, rgba(22, 17, 12, 0.88), rgba(22, 17, 12, 0.16) 66%, rgba(22, 17, 12, 0.05));
}

.image-card span,
.project-media span {
  color: #e7bd70;
}

.image-card.large {
  min-height: 540px;
}

.phase-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.phase-grid a {
  min-height: 190px;
  grid-column: span 2;
}

.phase-grid a:nth-child(1),
.phase-grid a:nth-child(6),
.phase-grid a:nth-child(11) {
  grid-column: span 3;
}

.phase-grid span {
  max-width: 210px;
  font-weight: 900;
}

.section-heading-row {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.split-article,
.recommendations-rich,
.article-strip,
.faq-section,
.education-split {
  border-color: rgba(115, 96, 69, 0.2);
}

.recommendations-rich {
  align-items: center;
}

.recommendations-rich li {
  position: relative;
  padding-left: 26px;
}

.recommendations-rich li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.2em;
  width: 12px;
  height: 2px;
  background: var(--accent);
}

.turnkey-photo,
.visual-note,
.process-redesign,
.contact-band {
  border-radius: 8px;
}

.process-redesign {
  background:
    linear-gradient(135deg, rgba(189, 141, 67, 0.16), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 250, 240, 0.8)),
    var(--surface);
}

.process-timeline .timeline-item::before,
.timeline-item::before {
  border-radius: 50%;
  background: var(--accent);
}

.contact-band {
  border: 1px solid rgba(115, 96, 69, 0.22);
  background:
    linear-gradient(135deg, rgba(189, 141, 67, 0.2), transparent 44%),
    linear-gradient(90deg, rgba(101, 115, 93, 0.08), transparent 55%),
    #fffdf8;
}

.subhero {
  min-height: 560px;
  align-items: center;
  padding: 50px 0 70px;
}

.subhero::before {
  content: "";
  position: absolute;
  left: calc(50% - 40vw);
  right: -28px;
  bottom: 34px;
  height: 36%;
  z-index: -1;
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.72);
}

.subhero h1 {
  text-wrap: balance;
}

.deep-grid,
.visual-note,
.education-layout,
.image-row {
  padding-top: 34px;
}

.visual-note {
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(101, 115, 93, 0.1), transparent 46%),
    var(--surface);
}

.plain-panel li::before {
  width: 12px;
  height: 12px;
  top: 0.52em;
  border-radius: 50%;
  background: rgba(189, 141, 67, 0.22);
  box-shadow: inset 0 0 0 3px var(--accent);
}

.project-list {
  gap: 34px;
}

.project-row {
  position: relative;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
  gap: 38px;
  align-items: center;
  padding: 0 0 34px;
  border-top: 0;
  border-bottom: 1px solid var(--line);
}

.project-media {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  padding: 0;
  background: #e7dcc8;
}

.project-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  opacity: 0;
  transition: transform 450ms ease, opacity 280ms ease;
}

.project-media img.is-loaded {
  opacity: 1;
}

.project-media.is-loading::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.08));
  animation: media-loading-pulse 1.2s linear infinite;
  pointer-events: none;
}

.project-media:not(.is-loading)::before {
  display: none;
}

.project-row:hover .project-media img {
  transform: scale(1.045);
}

.gallery-grid {
  gap: 18px;
}

.gallery-item:nth-child(5n + 1) {
  grid-row: span 2;
}

.gallery-item:nth-child(5n + 1),
.gallery-item:nth-child(5n + 1) img {
  min-height: 512px;
}

.filter-row {
  gap: 10px;
}

.filter-button {
  background: rgba(255, 253, 248, 0.86);
}

.filter-button.is-active {
  border-color: var(--accent);
  color: var(--ink);
  background: rgba(189, 141, 67, 0.2);
}

.contact-list {
  gap: 14px;
}

.contact-item {
  padding: 20px 22px 20px 26px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

a.contact-item:hover,
a.contact-item:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(189, 141, 67, 0.55);
  box-shadow: var(--shadow);
}

.site-footer {
  background:
    linear-gradient(135deg, rgba(189, 141, 67, 0.18), transparent 42%),
    #211b15;
}

.footer-contact [data-phone],
.footer-socials a {
  border-radius: 999px;
}

@media (max-width: 1180px) {
  .phase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .phase-grid a,
  .phase-grid a:nth-child(1),
  .phase-grid a:nth-child(6),
  .phase-grid a:nth-child(11) {
    grid-column: span 1;
  }
}

@media (max-width: 820px) {
  #site-chrome {
    position: fixed;
    inset: 0;
    z-index: 1000;
    pointer-events: none;
  }

  #site-chrome .mobile-toggle,
  #site-chrome .sidebar,
  #site-chrome .site-overlay {
    pointer-events: auto;
  }

  .mobile-toggle {
    display: grid;
    place-items: center;
    top: 16px;
    right: 16px;
    left: auto;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: rgba(44, 37, 29, 0.92);
    color: #fff;
    backdrop-filter: blur(12px);
  }

  .mobile-toggle span {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    justify-self: end;
    height: 3px;
    border-radius: 2px;
  }

  .mobile-toggle span:nth-child(1) {
    width: 16px;
    transform: translateY(-7px);
  }

  .mobile-toggle span:nth-child(2) {
    width: 28px;
  }

  .mobile-toggle span:nth-child(3) {
    width: 20px;
    transform: translateY(7px);
  }

  body.nav-open .mobile-toggle span:nth-child(1) {
    justify-self: center;
    width: 22px;
    transform: translateY(0) rotate(45deg);
  }

  body.nav-open .mobile-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .mobile-toggle span:nth-child(3) {
    justify-self: center;
    width: 22px;
    transform: translateY(0) rotate(-45deg);
  }

  .sidebar {
    width: min(86vw, 326px);
  }

  .brand-logo {
    width: 104px;
    height: 104px;
  }

  .page-content {
    width: min(100% - 36px, 1180px);
  }

  .section-heading-row {
    gap: 16px;
  }

  .image-card.large {
    min-height: 300px;
  }

  .gallery-item:nth-child(5n + 1),
  .gallery-item:nth-child(5n + 1) img {
    min-height: 300px;
  }

  .project-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .phase-grid {
    grid-template-columns: 1fr;
  }

  .hero-redesign .hero-line {
    max-width: min(100%, 360px);
    font-size: 29px;
    line-height: 1.08;
    overflow-wrap: normal;
    word-break: normal;
  }

  .intro-photo-stack::before,
  .subhero::before {
    display: none;
  }

  .visual-note,
  .turnkey-photo,
  .process-redesign,
  .contact-band {
    padding: 22px;
  }
}

/* Requested corrections: match the updated side nav and restore selected homepage blocks. */
:root {
  --sidebar: 286px;
}

.sidebar {
  padding: 28px 18px 22px;
  gap: 24px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    #251f18;
  background-size: 62px 62px;
  background-position: 31px 0, 0 31px, 0 0;
  box-shadow: none;
}

.sidebar::before {
  display: none;
}

.sidebar::after {
  display: none;
}

.brand {
  justify-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
}

.brand-logo {
  width: 142px;
  height: 142px;
}

.sidebar .brand-logo {
  transform: scale(1.12);
  transform-origin: top center;
}

.brand-copy,
.sidebar-cta {
  display: none;
}

.sidebar-tagline {
  display: block;
  margin-top: -10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
}

.main-nav {
  gap: 6px;
  margin-top: 0;
}

.nav-link {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-link::after {
  width: 9px;
  height: 9px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: transparent;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #fff;
  background: rgba(189, 141, 67, 0.08);
  transform: none;
}

.nav-link.is-active {
  color: #fff;
  border-color: rgba(189, 141, 67, 0.5);
  background: rgba(189, 141, 67, 0.14);
}

.nav-link.is-active::after {
  border-color: var(--accent);
  background: var(--accent);
}

.sidebar-bottom {
  gap: 20px;
  color: rgba(255, 255, 255, 0.62);
}

.nav-socials {
  gap: 10px;
}

.nav-socials a {
  width: 42px;
  height: 42px;
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.sidebar-area {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.page-content {
  width: min(1400px, calc(100% - 72px));
}

.skip-link {
  transform: translateY(-220%);
}

.skip-link:focus {
  transform: translateY(18px);
}

.gallery-only {
  padding-top: 38px;
}

.gallery-only .gallery-caption {
  display: none !important;
}

.gallery-only .gallery-item::after {
  display: none;
}

.gallery-only .gallery-item img {
  filter: none;
}

.project-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.36fr);
  gap: 42px;
  align-items: end;
  padding: 0 0 42px;
  border-bottom: 1px solid var(--line);
}

.project-detail-hero .lead {
  max-width: 760px;
}

.project-facts {
  display: grid;
  gap: 10px;
}

.project-facts span {
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.74);
  color: var(--ink-soft);
  font-weight: 800;
}

.project-photo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: 18px;
  padding: 42px 0 80px;
}

.project-photo-grid .pg-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 18px 54px rgba(45, 35, 24, 0.12);
  background: #e7dcc8;
}

.project-photo-grid .pg-item.is-zoomable {
  cursor: zoom-in;
}

.project-photo-grid .pg-item img,
.project-photo-grid .pg-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-photo-grid .pg-item img {
  opacity: 0;
  transition: opacity 260ms ease;
}

.project-photo-grid .pg-item img.is-loaded {
  opacity: 1;
}

.project-photo-grid .pg-item.is-loading::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.08));
  animation: media-loading-pulse 1.2s linear infinite;
  pointer-events: none;
}

.project-photo-grid .pg-item:not(.is-loading)::before {
  display: none;
}

.project-photo-grid .pg-item.is-landscape {
  grid-column: span 2;
  grid-row: span 1;
}

.project-photo-grid .pg-item.is-portrait {
  grid-column: span 2;
  grid-row: span 2;
}

.project-photo-grid .pg-item.is-video.is-portrait {
  grid-column: span 2;
  grid-row: span 2;
}

.project-photo-grid .pg-item.is-video.is-landscape {
  grid-column: span 3;
  grid-row: span 2;
}

.project-photo-grid .pg-item.is-video video {
  object-fit: contain;
  background: #0d0a07;
}

.project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(0, 0, 0, 0.92);
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 70px;
  align-items: center;
  gap: 12px;
  padding: 20px;
}

.project-lightbox[hidden] {
  display: none;
}

.project-lightbox img {
  max-width: 100%;
  max-height: 88vh;
  margin: 0 auto;
  display: block;
  object-fit: contain;
  border-radius: 8px;
}

.project-lightbox-close,
.project-lightbox-nav {
  border: 0;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.project-lightbox-close svg,
.project-lightbox-nav svg {
  width: 28px;
  height: 28px;
  display: block;
}

.project-lightbox-close svg path,
.project-lightbox-nav svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.project-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
}

.project-lightbox-nav.prev {
  justify-self: start;
}

.project-lightbox-nav.next {
  justify-self: end;
}

@media (max-width: 760px) {
  .project-lightbox {
    grid-template-columns: 1fr;
    padding: 8px;
    gap: 0;
  }
  .project-lightbox img {
    max-width: 100%;
    max-height: 92vh;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .project-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    z-index: 2;
  }
  .project-lightbox-nav.prev { left: 8px; justify-self: auto; }
  .project-lightbox-nav.next { right: 8px; justify-self: auto; }
  .project-lightbox-close { top: 10px; right: 10px; width: 44px; height: 44px; z-index: 3; }
}

@media (max-width: 900px) {
  .project-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 200px;
  }
  .project-photo-grid .pg-item.is-landscape,
  .project-photo-grid .pg-item.is-portrait,
  .project-photo-grid .pg-item.is-video.is-portrait,
  .project-photo-grid .pg-item.is-video.is-landscape {
    grid-column: span 1;
    grid-row: span 1;
  }
  .project-photo-grid .pg-item.is-portrait,
  .project-photo-grid .pg-item.is-video {
    grid-row: span 2;
  }
}

.related-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.related-project-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.related-project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(45, 35, 24, 0.14);
}

.related-project-media {
  display: block;
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  background: #e7dcc8;
}

.related-project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0 !important;
  opacity: 0;
  transition: transform 320ms ease, opacity 260ms ease;
}

.related-project-media img.is-loaded {
  opacity: 1;
}

.related-project-media.is-loading::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.08));
  animation: media-loading-pulse 1.2s linear infinite;
  pointer-events: none;
}

.related-project-media:not(.is-loading)::before {
  display: none;
}

@keyframes media-loading-pulse {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.related-project-card:hover .related-project-media img {
  transform: scale(1.04);
}

.related-project-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.related-project-body strong {
  font-size: 1.05rem;
  line-height: 1.25;
}

.related-project-cta {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent, #a87b3a);
  margin-top: 6px;
}

@media (max-width: 900px) {
  .related-projects-grid {
    grid-template-columns: 1fr;
  }
}

.home-about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.95fr);
  gap: 36px;
  align-items: start;
  padding-top: 54px;
}

.home-about-copy .section-title {
  max-width: 760px;
}

.home-about-metrics {
  box-shadow: 0 16px 42px rgba(45, 35, 24, 0.08);
}

.project-row h2 a {
  color: inherit;
}

.intro-photo-stack::before {
  display: none;
}

.phase-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.phase-grid a,
.phase-grid a:nth-child(1),
.phase-grid a:nth-child(6),
.phase-grid a:nth-child(11) {
  min-height: 210px;
  grid-column: auto;
  border-radius: 8px;
}

.phase-grid span {
  max-width: none;
}

.recommendations-rich {
  align-items: stretch;
}

.recommendation-photo {
  min-height: 430px;
  height: 100%;
  overflow: hidden;
}

.recommendation-photo img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

@media (max-width: 1180px) {
  :root {
    --sidebar: 270px;
  }

  .phase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 220px;
  }

  .home-about {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 820px) {
  .sidebar {
    width: min(86vw, 326px);
    padding: 34px 22px 28px;
    height: 100dvh;
    overflow-y: auto;
  }

  .brand-logo {
    width: 136px;
    height: 136px;
  }

  .sidebar-tagline {
    margin-top: -16px;
    font-size: 0.82rem;
  }

  .nav-link {
    min-height: 50px;
  }

  .project-detail-hero {
    grid-template-columns: 1fr;
    padding-top: 58px;
  }
}

@media (max-width: 560px) {
  .phase-grid {
    grid-template-columns: 1fr;
  }

  .recommendation-photo,
  .recommendation-photo img {
    min-height: 320px;
  }

  .project-photo-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 230px;
  }
}

/* ── Global image border-radius ── */
.media-frame img,
.visual-note img,
.article-image img,
.intro-photo-stack img,
.recommendation-photo img,
.split-article img,
.subhero.about-hero img,
.project-photo-grid img,
.gallery-item img,
.image-card img {
  border-radius: 8px;
}

.project-media {
  border-radius: 8px;
  overflow: hidden;
}

.image-card {
  border-radius: 10px;
  overflow: hidden;
}

/* ── Project row reverse (alternating layout) ── */
.project-row--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.78fr);
}

.project-list > .project-row:nth-of-type(even) {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.78fr);
}

.project-row--reverse > .project-media {
  grid-column: 2;
  grid-row: 1;
}

.project-list > .project-row:nth-of-type(even) > .project-media {
  grid-column: 2;
  grid-row: 1;
}

.project-row--reverse > div {
  grid-column: 1;
  grid-row: 1;
}

.project-list > .project-row:nth-of-type(even) > div {
  grid-column: 1;
  grid-row: 1;
}

/* ── Stacking services layout (usluge.html) ── */
.services-stacking {
  display: flex;
  flex-direction: column;
}

.service-stack-card {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: 45% 1fr;
  min-height: calc(100vh - 180px);
  background: #e3d9c7;
  color: var(--ink);
  overflow: hidden;
  border-bottom: 1px solid rgba(0,0,0,0.12);
  border-color: rgba(0,0,0,0.12);
  outline: 0 solid transparent;
  outline-offset: -1px;
  transition: border-color 180ms ease, outline-color 180ms ease;
}

.service-stack-card:nth-child(1) { z-index: 1; }
.service-stack-card:nth-child(2) { z-index: 2; }
.service-stack-card:nth-child(3) { z-index: 3; }
.service-stack-card:nth-child(4) { z-index: 4; }
.service-stack-card:nth-child(5) { z-index: 5; }
.service-stack-card:nth-child(6) { z-index: 6; }
.service-stack-card:nth-child(7) { z-index: 7; }
.service-stack-card:nth-child(8) { z-index: 8; }
.service-stack-card:nth-child(9) { z-index: 9; }
.service-stack-card:last-child { position: sticky; top: 0; z-index: 10; }

body.usluge-page .services-stacking.is-highlight-ready .service-stack-card {
  border-color: rgba(0, 0, 0, 0.12);
  outline-color: transparent;
}

body.usluge-page .services-stacking.is-highlight-ready .service-stack-card.is-highlight {
  border-color: rgba(18, 18, 18, 0.42);
  outline: 2px solid rgba(18, 18, 18, 0.22);
}

.service-stack-img {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  background: #d7cebd;
}

.service-stack-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.service-stack-body {
  padding: 3rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  overflow: hidden;
}

.service-stack-body .section-kicker {
  color: var(--accent);
  opacity: 0.85;
}

.service-stack-body h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
}

.service-stack-body > p {
  color: var(--mid);
  line-height: 1.65;
  margin: 0;
  max-width: 46ch;
}

.service-stack-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.service-stack-projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 0.5rem;
}

.service-stack-projects a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}

.service-stack-projects a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.35s ease;
  position: absolute;
  inset: 0;
}

.service-stack-projects a:hover img {
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .services-stacking {
    margin: 0;
  }

  /* Keep sticky-stacking on mobile too: each card is one viewport tall and
     slides over the previous as the user scrolls. */
  .service-stack-card {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(240px, 38vh) 1fr;
    min-height: 100vh;
  }

  .service-stack-img {
    min-height: 240px;
  }

  .service-stack-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
  }

  .service-stack-body {
    padding: 1.75rem 1.5rem 2rem;
    overflow: auto;
  }

  .service-stack-projects {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 1.25rem;
  }
}

@media (max-width: 560px) {
  .service-stack-body {
    padding: 1.25rem 1rem 3.75rem;
  }

  .service-stack-projects {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 2.5rem;
  }
}

/* ── Values section (o-nama) ── */
.values-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
}

.values-trio article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.values-trio article h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--ink);
}

.values-trio article p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--mid);
}

@media (max-width: 760px) {
  .values-trio {
    grid-template-columns: 1fr;
  }

  /* On mobile every project row is single-column (image on top, text below) */
  .project-row,
  .project-row--reverse,
  .project-list > .project-row:nth-of-type(even) {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .project-row--reverse > .project-media,
  .project-row--reverse > div,
  .project-list > .project-row:nth-of-type(even) > .project-media,
  .project-list > .project-row:nth-of-type(even) > div {
    grid-column: auto;
    grid-row: auto;
  }

  .project-row .copy {
    max-width: 100%;
  }
}

/* Services heading row — 3 columns: title | description (bottom) | button (right, bottom) */
.services-heading-row {
  grid-template-columns: minmax(0, 0.95fr) minmax(350px, 0.55fr) auto;
  align-items: end;
  gap: 32px;
}

.services-heading-row > .services-heading-desc {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
  align-self: end;
}

.services-heading-row > .services-heading-button {
  align-self: end;
  justify-self: end;
  white-space: nowrap;
}

@media (max-width: 880px) {
  .services-heading-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .services-heading-row > .services-heading-button {
    justify-self: start;
  }
}

/* Usluge page — intro spacing tuned so card1 + intro ≈ viewport */
body.usluge-page .page-content.usluge-intro {
  padding: 28px 0 24px;
}

body.usluge-page .services-stacking {
  margin-bottom: 0;
}

body.usluge-page .site-footer {
  margin-top: 0;
}

body.usluge-page .services-stacking .service-stack-card:last-child {
  border-bottom: 0;
}

body[data-page="o-nama"] .page-content > .section:last-child {
  padding-bottom: 26px;
}

body[data-page="o-nama"] .site-footer {
  margin-top: 0;
}

@media (max-width: 760px) {
  body.usluge-page .page-content.usluge-intro {
    padding: 20px 0 16px;
  }
  .service-stack-card {
    min-height: auto;
    grid-template-columns: 1fr;
  }
  .service-stack-img {
    min-height: 240px;
  }
}

.turnkey-photo > img.turnkey-image-shifted {
  transform: translateX(15px);
}

@media (max-width: 760px) {
  /* On mobile / tablet, the shifted hero image must sit flush with the rest
     of the section (no horizontal offset, no rounded inset). */
  .turnkey-photo {
    gap: 24px;
    padding: 30px 22px;
    width: calc(100% + 44px);
    margin-left: -22px;
    margin-right: -22px;
  }

  .turnkey-photo > div {
    max-width: 34ch;
    margin: 0 auto;
  }

  .turnkey-photo > div .section-title {
    max-width: 10.5ch;
  }

  .turnkey-photo .inline-actions {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .turnkey-photo .inline-actions .button,
  .turnkey-photo .inline-actions .ghost-button {
    flex: 1 1 0;
    min-height: 40px;
    padding: 9px 10px;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .turnkey-photo > img,
  .turnkey-photo > img.turnkey-image-shifted {
    transform: none;
    width: calc(100% - 24px);
    max-height: 360px;
    min-height: 240px;
    border-radius: 12px;
    margin-left: auto;
    margin-right: auto;
    object-position: center;
  }
}

@media (min-width: 761px) {
  .turnkey-photo > img,
  .turnkey-photo > img.turnkey-image-shifted,
  .turnkey-photo > div {
    margin-left: auto;
    margin-right: auto;
  }
}
