/* Final responsive layer for public home and portfolio pages. */
:root {
  --gt-orange: #f26e22;
  --gt-orange-dark: #d95b12;
  --gt-navy: #172033;
  --gt-text: #172033;
  --gt-muted: #64748b;
  --gt-line: #e2e8f0;
  --gt-soft: #f8fafc;
  --gt-white: #fff;
  --gt-shadow: 0 14px 34px rgba(15, 23, 42, 0.09);
  --gt-radius: 18px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body.homepage-shell,
body.portfolio-shell {
  min-width: 320px;
  overflow-x: hidden;
  background: #fff;
  color: var(--gt-text);
  font-family: Inter, Poppins, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body.homepage-shell *,
body.portfolio-shell * {
  box-sizing: border-box;
}

body.homepage-shell :is(img, svg, canvas, video, iframe),
body.portfolio-shell :is(img, svg, canvas, video, iframe) {
  max-width: 100%;
}

body.homepage-shell .container,
body.portfolio-shell .container {
  width: min(100% - 40px, 1180px);
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

body.homepage-shell .section,
body.portfolio-shell .section {
  padding: clamp(64px, 7vw, 96px) 0;
}

body.homepage-shell :is(h1, h2, h3, h4),
body.portfolio-shell :is(h1, h2, h3, h4) {
  color: var(--gt-text);
  font-family: Poppins, Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.2;
  text-wrap: balance;
}

body.homepage-shell p,
body.portfolio-shell p {
  text-wrap: pretty;
}

body.homepage-shell .section-header,
body.portfolio-shell .section-header {
  width: min(100%, 760px);
  margin: 0 auto clamp(28px, 4vw, 44px);
  text-align: center;
}

body.homepage-shell .section-title,
body.portfolio-shell .section-title {
  margin: 8px 0 12px;
  font-size: clamp(1.75rem, 3.2vw, 2.65rem);
  letter-spacing: -0.035em;
}

body.homepage-shell .section-header > p,
body.portfolio-shell .section-header > p,
body.portfolio-shell .section-subtitle {
  margin: 0 auto;
  color: var(--gt-muted);
  font-size: 1rem;
}

body.homepage-shell .section-tag,
body.portfolio-shell .section-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 11px;
  border: 1px solid rgba(242, 110, 34, 0.22);
  border-radius: 999px;
  background: rgba(242, 110, 34, 0.08);
  color: var(--gt-orange-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

body.homepage-shell .btn,
body.portfolio-shell .btn {
  min-height: 46px;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

body.homepage-shell .btn:hover,
body.portfolio-shell .btn:hover {
  transform: translateY(-1px);
}

body.homepage-shell .btn-primary,
body.portfolio-shell .btn-primary {
  border-color: var(--gt-orange);
  background: var(--gt-orange);
  color: #fff;
  box-shadow: 0 10px 22px rgba(242, 110, 34, 0.22);
}

body.homepage-shell .btn-outline,
body.portfolio-shell .btn-outline {
  border-color: #cbd5e1;
  background: rgba(255, 255, 255, 0.9);
  color: var(--gt-text);
}

body.homepage-shell .btn-dark,
body.portfolio-shell .btn-dark {
  border: 1px solid var(--gt-navy);
  background: var(--gt-navy);
  color: #fff;
}

/* Public navbar final sizing and states. */
body.homepage-shell nav.public-navbar-standard,
body.portfolio-shell nav.public-navbar-standard {
  min-height: 72px;
}

body.homepage-shell nav.public-navbar-standard > .container,
body.portfolio-shell nav.public-navbar-standard > .container {
  min-height: 72px;
  gap: 24px;
}

body.homepage-shell nav.public-navbar-standard .logo,
body.portfolio-shell nav.public-navbar-standard .logo {
  flex: 0 0 auto;
}

body.homepage-shell nav.public-navbar-standard .logo span,
body.portfolio-shell nav.public-navbar-standard .logo span {
  font-size: 0.95rem;
  white-space: nowrap;
}

body.homepage-shell nav.public-navbar-standard .public-nav-links,
body.portfolio-shell nav.public-navbar-standard .public-nav-links {
  gap: 4px;
}

body.homepage-shell nav.public-navbar-standard .public-nav-links a,
body.portfolio-shell nav.public-navbar-standard .public-nav-links a {
  min-height: 42px;
  padding: 10px 13px;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 750;
  white-space: nowrap;
}

body.homepage-shell nav.public-navbar-standard .public-nav-links .public-nav-admin,
body.portfolio-shell nav.public-navbar-standard .public-nav-links .public-nav-admin {
  margin-left: 4px;
  border: 1px solid rgba(242, 110, 34, 0.5);
  color: var(--gt-orange-dark);
}

/* Home hero and entry points. */
body.homepage-shell .hero {
  min-height: min(780px, 92vh);
  padding: 116px 0 70px;
  background-position: center !important;
}

body.homepage-shell .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 46%, rgba(255, 255, 255, 0.3) 100%);
}

body.homepage-shell .hero > .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  align-items: center;
  gap: clamp(34px, 6vw, 84px);
}

body.homepage-shell .hero-content {
  width: min(100%, 670px);
}

body.homepage-shell .hero-content h1 {
  margin: 14px 0 18px;
  font-size: clamp(2.5rem, 5.5vw, 4.8rem);
  letter-spacing: -0.055em;
}

body.homepage-shell .hero-content > p {
  max-width: 640px;
  margin: 0 0 24px;
  color: #475569;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
}

body.homepage-shell .homepage-hero-media {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.82);
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.18);
  transform: rotate(1.2deg);
}

body.homepage-shell .homepage-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.homepage-shell .hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.homepage-shell .hero-buttons .btn img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

body.homepage-shell .homepage-quick-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

body.homepage-shell .homepage-quick-points span {
  position: relative;
  min-height: 62px;
  padding: 12px 12px 12px 34px;
  border: 1px solid var(--gt-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  color: #475569;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.45;
}

body.homepage-shell .homepage-quick-points span::before {
  content: "✓";
  position: absolute;
  top: 12px;
  left: 12px;
  color: var(--gt-orange);
  font-weight: 900;
}

body.homepage-shell .homepage-promo-strip {
  background: var(--gt-orange);
  color: #fff;
}

body.homepage-shell .homepage-promo-strip .container {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 0.9rem;
}

body.homepage-shell .homepage-promo-strip a {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.homepage-shell .homepage-access-strip {
  border-bottom: 1px solid var(--gt-line);
  background: #fff;
}

body.homepage-shell .homepage-access-strip .container {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-block: 15px;
}

body.homepage-shell .homepage-access-strip strong,
body.homepage-shell .homepage-access-strip span {
  display: block;
}

body.homepage-shell .homepage-access-strip strong {
  font-size: 1rem;
}

body.homepage-shell .homepage-access-strip span {
  color: var(--gt-muted);
  font-size: 0.86rem;
}

body.homepage-shell .homepage-access-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

body.homepage-shell :is(.homepage-choice-grid, .services-grid, .apparel-grid, .repair-grid) {
  align-items: stretch;
  gap: 20px;
}

body.homepage-shell .homepage-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.homepage-shell .homepage-choice-card,
body.homepage-shell :is(.service-card, .apparel-card, .repair-card) {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--gt-line);
  border-radius: var(--gt-radius);
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.045);
}

body.homepage-shell .homepage-choice-card {
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 24px;
}

body.homepage-shell .homepage-choice-card h3 {
  margin: 14px 0 8px;
  font-size: 1.22rem;
}

body.homepage-shell .homepage-choice-card p {
  margin: 0 0 20px;
  color: var(--gt-muted);
  font-size: 0.9rem;
}

body.homepage-shell .homepage-choice-card .hero-buttons {
  margin-top: auto;
}

body.homepage-shell .homepage-choice-number {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(242, 110, 34, 0.1);
  color: var(--gt-orange-dark);
  font-size: 0.8rem;
  font-weight: 900;
}

body.homepage-shell .homepage-about-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--gt-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--gt-shadow);
}

body.homepage-shell .homepage-about-copy h2 {
  margin: 12px 0 14px;
  font-size: clamp(1.7rem, 3.3vw, 2.6rem);
}

body.homepage-shell .homepage-about-copy p {
  color: var(--gt-muted);
}

body.homepage-shell .homepage-about-image {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
}

body.homepage-shell .homepage-about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.homepage-shell .contact-wrapper,
body.portfolio-shell .contact-wrapper {
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--gt-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--gt-shadow);
}

body.homepage-shell .contact-wrapper > *,
body.portfolio-shell .contact-wrapper > * {
  min-width: 0;
  padding: clamp(24px, 4vw, 44px);
}

/* Portfolio page. */
body.portfolio-shell .portfolio-hero {
  min-height: 590px;
  padding: 130px 0 76px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.72)),
    url("../assets/images/arsitektur/portfolio-5.png") center / cover no-repeat;
}

body.portfolio-shell .portfolio-hero .hero-content {
  width: min(100%, 790px);
}

body.portfolio-shell .portfolio-hero h1 {
  margin: 14px 0 18px;
  color: #fff;
  font-size: clamp(2.35rem, 5vw, 4.35rem);
  letter-spacing: -0.05em;
}

body.portfolio-shell .portfolio-hero p {
  max-width: 680px;
  margin: 0 0 25px;
  color: #dbe4ef;
  font-size: clamp(1rem, 1.5vw, 1.08rem);
}

body.portfolio-shell .portfolio-hero .gradient-text {
  color: #ff9a5e;
}

body.portfolio-shell .portfolio-hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

body.portfolio-shell .portfolio-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

body.portfolio-shell .portfolio-category-grid .service-card {
  position: relative;
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--gt-line);
  border-radius: var(--gt-radius);
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

body.portfolio-shell .portfolio-category-grid .service-card::before {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 11px;
  background: rgba(242, 110, 34, 0.11);
  color: var(--gt-orange-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

body.portfolio-shell .portfolio-category-grid .service-card:nth-child(1)::before { content: "01"; }
body.portfolio-shell .portfolio-category-grid .service-card:nth-child(2)::before { content: "02"; }
body.portfolio-shell .portfolio-category-grid .service-card:nth-child(3)::before { content: "03"; }
body.portfolio-shell .portfolio-category-grid .service-card:nth-child(4)::before { content: "04"; }

body.portfolio-shell .portfolio-category-grid h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

body.portfolio-shell .portfolio-category-grid p {
  margin: 0;
  color: var(--gt-muted);
  font-size: 0.88rem;
}

body.portfolio-shell .portfolio-gallery-section {
  background: var(--gt-soft);
}

body.portfolio-shell .portfolio-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 20px;
}

body.portfolio-shell .portfolio-filter .filter-btn {
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
  color: #475569;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

body.portfolio-shell .portfolio-filter .filter-btn:is(.active, :hover, :focus-visible) {
  border-color: var(--gt-orange);
  background: var(--gt-orange);
  color: #fff;
}

body.portfolio-shell .portfolio-result-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  color: var(--gt-muted);
  font-size: 0.82rem;
}

body.portfolio-shell .portfolio-result-meta p {
  margin: 0;
  color: var(--gt-text);
  font-weight: 800;
}

body.portfolio-shell .portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

body.portfolio-shell .portfolio-item {
  position: relative;
  width: 100%;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--gt-line);
  border-radius: 17px;
  background: #e2e8f0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
  text-align: left;
  cursor: pointer;
}

body.portfolio-shell .portfolio-item:focus-visible {
  outline: 3px solid rgba(242, 110, 34, 0.35);
  outline-offset: 3px;
}

body.portfolio-shell .portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.32s ease;
}

body.portfolio-shell .portfolio-item:hover img {
  transform: scale(1.035);
}

body.portfolio-shell .portfolio-overlay {
  position: absolute;
  inset: auto 0 0;
  display: block;
  padding: 54px 18px 17px;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.92));
  color: #fff;
}

body.portfolio-shell .portfolio-overlay h4 {
  margin: 7px 0 0;
  color: #fff;
  font-size: 1rem;
}

body.portfolio-shell .portfolio-tag {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(242, 110, 34, 0.92);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
}

body.portfolio-shell .portfolio-modal[hidden] {
  display: none;
}

body.portfolio-shell .portfolio-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 20px;
}

body.portfolio-shell .portfolio-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.76);
  backdrop-filter: blur(7px);
}

body.portfolio-shell .portfolio-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 920px);
  max-height: calc(100vh - 40px);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  overflow: auto;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

body.portfolio-shell .portfolio-modal-media {
  min-height: 420px;
  background: #0f172a;
}

body.portfolio-shell .portfolio-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.portfolio-shell .portfolio-modal-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
}

body.portfolio-shell .portfolio-modal-copy h3 {
  margin: 12px 0 10px;
  font-size: 1.55rem;
}

body.portfolio-shell .portfolio-modal-copy p {
  margin: 0 0 22px;
  color: var(--gt-muted);
  font-size: 0.9rem;
}

body.portfolio-shell .portfolio-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.84);
  color: #fff;
  font-size: 1.45rem;
  cursor: pointer;
}

body.portfolio-modal-open {
  overflow: hidden;
}

body.homepage-shell .footer-grid,
body.portfolio-shell .footer-grid {
  gap: 28px;
}

body.homepage-shell .footer,
body.portfolio-shell .footer {
  overflow: hidden;
}

@media (max-width: 1040px) {
  body.homepage-shell nav.public-navbar-standard .public-nav-links a,
  body.portfolio-shell nav.public-navbar-standard .public-nav-links a {
    padding-inline: 9px;
    font-size: 0.78rem;
  }

  body.homepage-shell .hero > .container {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
    gap: 36px;
  }

  body.homepage-shell .homepage-choice-grid,
  body.portfolio-shell .portfolio-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  body.homepage-shell .container,
  body.portfolio-shell .container {
    width: min(100% - 28px, 1180px);
  }

  body.homepage-shell nav.public-navbar-standard .public-nav-links,
  body.portfolio-shell nav.public-navbar-standard .public-nav-links {
    gap: 0;
  }

  body.homepage-shell nav.public-navbar-standard .public-nav-links a,
  body.portfolio-shell nav.public-navbar-standard .public-nav-links a {
    width: 100%;
    min-height: 48px;
    padding: 13px 16px;
    font-size: 0.92rem;
  }

  body.homepage-shell nav.public-navbar-standard .public-nav-links .public-nav-admin,
  body.portfolio-shell nav.public-navbar-standard .public-nav-links .public-nav-admin {
    margin-left: 0;
  }

  body.homepage-shell .hero {
    min-height: auto;
    padding: 112px 0 62px;
  }

  body.homepage-shell .hero > .container {
    grid-template-columns: 1fr;
  }

  body.homepage-shell .hero-content {
    width: 100%;
  }

  body.homepage-shell .homepage-hero-media {
    grid-column: 1;
    grid-row: 2;
    width: min(100%, 620px);
    margin-inline: auto;
    transform: none;
  }

  body.homepage-shell .homepage-quick-points {
    grid-template-columns: 1fr;
  }

  body.homepage-shell .homepage-quick-points span {
    min-height: auto;
  }

  body.homepage-shell .homepage-access-strip .container {
    align-items: flex-start;
    flex-direction: column;
  }

  body.homepage-shell .homepage-about-panel,
  body.portfolio-shell .portfolio-modal-dialog {
    grid-template-columns: 1fr;
  }

  body.portfolio-shell .portfolio-modal-media {
    min-height: min(52vh, 430px);
  }
}

@media (max-width: 620px) {
  body.homepage-shell .container,
  body.portfolio-shell .container {
    width: min(100% - 20px, 1180px);
  }

  body.homepage-shell .section,
  body.portfolio-shell .section {
    padding: 52px 0;
  }

  body.homepage-shell .hero {
    padding-top: 98px;
  }

  body.homepage-shell .hero-content h1,
  body.portfolio-shell .portfolio-hero h1 {
    font-size: clamp(2rem, 11vw, 2.9rem);
  }

  body.homepage-shell .hero-buttons,
  body.portfolio-shell .hero-buttons,
  body.homepage-shell .homepage-access-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  body.homepage-shell .hero-buttons .btn,
  body.portfolio-shell .hero-buttons .btn,
  body.homepage-shell .homepage-access-actions .btn {
    width: 100%;
  }

  body.homepage-shell .homepage-choice-grid,
  body.portfolio-shell .portfolio-category-grid,
  body.portfolio-shell .portfolio-grid {
    grid-template-columns: 1fr;
  }

  body.homepage-shell .homepage-choice-card {
    min-height: 0;
    padding: 20px;
  }

  body.homepage-shell .homepage-about-panel {
    padding: 20px;
    border-radius: 18px;
  }

  body.portfolio-shell .portfolio-hero {
    min-height: 540px;
    padding: 112px 0 62px;
  }

  body.portfolio-shell .portfolio-filter {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 2px 1px 8px;
    scrollbar-width: none;
  }

  body.portfolio-shell .portfolio-filter::-webkit-scrollbar {
    display: none;
  }

  body.portfolio-shell .portfolio-filter .filter-btn {
    flex: 0 0 auto;
  }

  body.portfolio-shell .portfolio-result-meta {
    display: block;
  }

  body.portfolio-shell .portfolio-result-meta span {
    display: block;
    margin-top: 2px;
  }

  body.portfolio-shell .portfolio-item {
    aspect-ratio: 4 / 3;
  }

  body.portfolio-shell .portfolio-modal {
    padding: 10px;
  }

  body.portfolio-shell .portfolio-modal-dialog {
    max-height: calc(100vh - 20px);
    border-radius: 14px;
  }

  body.portfolio-shell .portfolio-modal-copy {
    padding: 22px 18px 24px;
  }

  body.homepage-shell .contact-wrapper > *,
  body.portfolio-shell .contact-wrapper > * {
    padding: 22px 18px;
  }
}

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

/* Override legacy homepage panel rules that previously constrained the hero. */
html body.homepage-shell .hero {
  position: relative;
}

html body.homepage-shell .hero > .container {
  max-width: none;
  min-height: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}

html body.homepage-shell .hero-content {
  grid-column: 1;
  grid-row: 1;
  min-height: 0;
  display: block;
  padding: 0;
  background: transparent;
}

html body.homepage-shell .homepage-hero-media,
html body.homepage-shell .homepage-hero-media img {
  min-height: 0;
}

html body.homepage-shell .btn,
html body.portfolio-shell .btn {
  border-radius: 12px !important;
}

@media (max-width: 820px) {
  html body.homepage-shell .hero-content {
    grid-column: 1;
    grid-row: 1;
  }

  html body.homepage-shell .homepage-hero-media {
    grid-column: 1;
    grid-row: 2;
  }
}

/* Homepage responsive polish: keep actions, cards, and mobile navigation stable. */
html body.homepage-shell {
  overflow-x: hidden;
}

html body.homepage-shell *,
html body.homepage-shell *::before,
html body.homepage-shell *::after {
  box-sizing: border-box;
}

html body.homepage-shell .btn {
  max-width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  line-height: 1.18;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  touch-action: manipulation;
}

html body.homepage-shell .btn img {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  object-fit: contain;
}

html body.homepage-shell .hero-buttons,
html body.homepage-shell .homepage-access-actions {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

html body.homepage-shell .hero-content > .hero-buttons {
  width: auto;
  max-width: 100%;
}

html body.homepage-shell .hero-content > .hero-buttons .btn {
  flex: 0 1 auto;
  min-width: 148px;
}

html body.homepage-shell .homepage-choice-card {
  min-width: 0;
}

html body.homepage-shell .homepage-choice-card .hero-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  margin-top: auto;
}

html body.homepage-shell .homepage-choice-card .hero-buttons .btn {
  width: 100%;
  min-width: 0;
  padding-inline: 12px;
}

html body.homepage-shell .homepage-choice-card .hero-buttons .btn:only-child {
  grid-column: 1 / -1;
}

html body.homepage-shell .homepage-promo-strip .container,
html body.homepage-shell .homepage-access-strip .container {
  min-width: 0;
  flex-wrap: wrap;
}

html body.homepage-shell .homepage-promo-strip a,
html body.homepage-shell .homepage-access-actions .btn {
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

html body.homepage-shell nav.public-navbar-standard .public-nav-links {
  min-width: 0;
}

html body.homepage-shell nav.public-navbar-standard .public-nav-links a {
  min-width: 0;
  text-align: center;
}

@media (max-width: 1024px) {
  html body.homepage-shell .homepage-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  html body.homepage-shell .hero {
    padding-top: 88px;
  }

  html body.homepage-shell .hero > .container,
  html body.homepage-shell .section > .container,
  html body.homepage-shell .map-section > .container,
  html body.homepage-shell .footer > .container {
    width: min(100% - 24px, 1180px);
  }

  html body.homepage-shell .hero-content {
    width: 100%;
  }

  html body.homepage-shell .hero-content > .hero-buttons,
  html body.homepage-shell .homepage-choice-card .hero-buttons,
  html body.homepage-shell .homepage-access-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  html body.homepage-shell .hero-content > .hero-buttons .btn,
  html body.homepage-shell .homepage-choice-card .hero-buttons .btn,
  html body.homepage-shell .homepage-access-actions .btn {
    width: 100%;
    min-width: 0;
  }

  html body.homepage-shell .homepage-choice-grid {
    grid-template-columns: 1fr;
  }

  html body.homepage-shell .homepage-choice-card {
    min-height: 0;
    padding: 150px 16px 16px;
  }

  html body.homepage-shell .homepage-promo-strip .container {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  html body.homepage-shell .homepage-promo-strip a {
    width: 100%;
    min-height: 40px;
  }
}

@media (max-width: 420px) {
  html body.homepage-shell .hero > .container,
  html body.homepage-shell .section > .container,
  html body.homepage-shell .map-section > .container,
  html body.homepage-shell .footer > .container {
    width: min(100% - 18px, 1180px);
  }

  html body.homepage-shell .btn {
    min-height: 42px;
    padding: 9px 12px;
    font-size: 0.88rem;
  }

  html body.homepage-shell .homepage-choice-card {
    padding: 132px 14px 14px;
  }

  html body.homepage-shell .homepage-choice-card::before {
    height: 116px;
  }
}

/* Professional homepage refresh: quieter layout, fewer visual distractions. */
html body.homepage-shell {
  --gt-pro-ink: #111827;
  --gt-pro-muted: #5b6472;
  --gt-pro-line: #e4e8ef;
  --gt-pro-surface: #ffffff;
  --gt-pro-bg: #f6f8fb;
  background: var(--gt-pro-bg) !important;
  color: var(--gt-pro-ink);
}

html body.homepage-shell .homepage-promo-strip,
html body.homepage-shell .homepage-access-strip {
  display: none !important;
}

html body.homepage-shell .hero {
  min-height: 0 !important;
  padding: clamp(96px, 10vw, 132px) 0 clamp(54px, 7vw, 82px) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%) !important;
}

html body.homepage-shell .hero > .container {
  width: min(100% - 36px, 1120px) !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr) !important;
  gap: clamp(28px, 5vw, 64px) !important;
  align-items: center !important;
  background: transparent !important;
}

html body.homepage-shell .hero-content {
  max-width: 620px;
}

html body.homepage-shell .hero-content h1 {
  max-width: 620px !important;
  margin-bottom: 18px !important;
  color: var(--gt-pro-ink) !important;
  font-size: clamp(2.35rem, 5vw, 4.35rem) !important;
  line-height: 1.02 !important;
  letter-spacing: 0 !important;
}

html body.homepage-shell .hero-content p {
  max-width: 560px !important;
  color: var(--gt-pro-muted) !important;
  font-size: clamp(0.96rem, 1.4vw, 1.06rem) !important;
}

html body.homepage-shell .homepage-hero-media {
  aspect-ratio: 4 / 3;
  min-height: 0 !important;
  border: 1px solid var(--gt-pro-line);
  border-radius: 18px;
  background: #eef2f7;
  box-shadow: 0 22px 60px rgba(17, 24, 39, 0.08);
}

html body.homepage-shell .homepage-hero-media img {
  min-height: 0 !important;
  height: 100%;
  object-fit: cover;
}

html body.homepage-shell .homepage-quick-points {
  max-width: 560px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 22px;
}

html body.homepage-shell .homepage-quick-points span {
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gt-pro-line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--gt-pro-muted);
  font-size: 0.78rem;
}

html body.homepage-shell .section {
  padding: clamp(54px, 7vw, 86px) 0 !important;
}

html body.homepage-shell .section-header {
  max-width: 640px;
  margin-bottom: 28px;
}

html body.homepage-shell .section-title,
html body.homepage-shell .section-header h2,
html body.homepage-shell .homepage-about-copy h2,
html body.homepage-shell .homepage-stats-grid h2 {
  color: var(--gt-pro-ink) !important;
  font-size: clamp(1.6rem, 3vw, 2.4rem) !important;
  line-height: 1.16 !important;
}

html body.homepage-shell .homepage-choice-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

html body.homepage-shell .homepage-choice-card {
  min-height: 0 !important;
  padding: 22px !important;
  border: 1px solid var(--gt-pro-line) !important;
  border-radius: 14px !important;
  background: var(--gt-pro-surface) !important;
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.045) !important;
}

html body.homepage-shell .homepage-choice-card::before {
  content: none !important;
}

html body.homepage-shell .homepage-choice-number {
  width: fit-content;
  margin-bottom: 18px;
  border: 1px solid #fed7aa;
  background: #fff7ed;
  color: #c2410c;
  font-size: 0.78rem;
}

html body.homepage-shell .homepage-choice-card h3 {
  color: var(--gt-pro-ink) !important;
  font-size: 1.02rem !important;
}

html body.homepage-shell .homepage-choice-card p {
  min-height: 74px;
  color: var(--gt-pro-muted) !important;
  font-size: 0.88rem !important;
}

html body.homepage-shell .homepage-choice-card .hero-buttons {
  grid-template-columns: 1fr !important;
}

html body.homepage-shell .homepage-choice-card .btn {
  border-radius: 10px !important;
}

html body.homepage-shell .homepage-about-panel,
html body.homepage-shell .contact-wrapper,
html body.homepage-shell .map-card {
  border: 1px solid var(--gt-pro-line) !important;
  border-radius: 18px !important;
  box-shadow: 0 14px 42px rgba(17, 24, 39, 0.055) !important;
}

html body.homepage-shell .homepage-wide-photo {
  display: none !important;
}

html body.homepage-shell .footer-grid {
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)) !important;
}

html body.homepage-shell .footer-links:first-of-type {
  display: none;
}

@media (max-width: 1120px) {
  html body.homepage-shell .homepage-choice-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 820px) {
  html body.homepage-shell .hero > .container {
    grid-template-columns: 1fr !important;
  }

  html body.homepage-shell .hero-content {
    max-width: none;
  }

  html body.homepage-shell .homepage-hero-media {
    aspect-ratio: 16 / 9;
  }

  html body.homepage-shell .homepage-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.homepage-shell .footer-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 560px) {
  html body.homepage-shell .hero {
    padding-top: 88px !important;
  }

  html body.homepage-shell .hero > .container {
    width: min(100% - 22px, 1120px) !important;
    gap: 24px !important;
  }

  html body.homepage-shell .homepage-quick-points,
  html body.homepage-shell .homepage-choice-grid,
  html body.homepage-shell .footer-grid {
    grid-template-columns: 1fr !important;
  }

  html body.homepage-shell .homepage-choice-card p {
    min-height: 0;
  }
}
