:root {
  --color-primary: #ff7536;
  --color-secondary: #ffb699;
  --color-text: #363636;
  --color-white: #ffffff;
  --color-surface: #f6f5f5;
  --header-height: 4.75rem;
  --header-height-shrunk: 3.2rem;
  --bg: var(--color-surface);
  --text: var(--color-text);
  --accent: var(--color-primary);
  --surface: var(--color-white);
  --border: #e5e1dc;
  --font-family-base: "Inter", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  background: #000000;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

body {
  margin: 0;
  padding-top: var(--header-height);
  font-family: var(--font-family-base);
  color: var(--color-white);
  background:
    radial-gradient(circle at top left, rgba(255, 117, 54, 0.22), transparent 24%),
    radial-gradient(circle at top right, rgba(255, 182, 153, 0.12), transparent 26%),
    linear-gradient(180deg, #1f1f1f 0%, #121212 100%);
}

body.has-project-modal-open {
  overflow: hidden;
}

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

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

:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 3000;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: #000000;
  color: #ffffff;
  font-weight: 700;
  transform: translateY(calc(-100% - 1rem));
  transition: transform 160ms ease;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(18, 18, 18, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: height 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
  transition: height 180ms ease, padding 180ms ease;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 180ms ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  transition: transform 180ms ease;
}

.brand-logo {
  width: auto;
  height: 3.2rem;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  transition: height 180ms ease, transform 180ms ease;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  transition: transform 180ms ease;
}

.site-nav a:hover,
.footer-nav a:hover,
.footer-links a:hover {
  color: var(--accent);
}

.header-cta {
  display: none;
  transition: min-height 180ms ease, padding 180ms ease;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.language-button {
  min-width: 2.75rem;
  min-height: 2.25rem;
  padding: 0 0.75rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font-weight: 700;
  transition: min-height 180ms ease, min-width 180ms ease, padding 180ms ease, background-color 180ms ease, color 180ms ease;
}

.language-button.is-active {
  background: var(--text);
  color: var(--color-white);
}

.site-header.is-shrunk {
  height: var(--header-height-shrunk);
  background: rgba(10, 10, 10, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.site-header.is-shrunk .brand-logo {
  height: 2.15rem;
}

.site-header.is-shrunk .brand {
  transform: scale(0.92);
  transform-origin: left center;
}

.site-header.is-shrunk .site-nav {
  transform: scale(0.96);
  transform-origin: center center;
}

.site-header.is-shrunk .header-actions {
  transform: scale(0.94);
  transform-origin: right center;
}

.site-header.is-shrunk .language-button {
  min-width: 2.2rem;
  min-height: 1.8rem;
  padding: 0 0.55rem;
}

.site-header.is-shrunk .header-cta {
  min-height: 2.65rem;
  padding: 0.6rem 1rem;
}

.site-header.is-shrunk .language-switcher {
  padding: 0.18rem;
}

.section {
  padding: 4.5rem 0;
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.section-alt {
  background:
    radial-gradient(circle at right top, rgba(255, 182, 153, 0.14), transparent 22%),
    rgba(255, 255, 255, 0.02);
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.split-copy h2,
.cta-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.section-lead,
.cta-copy p,
.hero-text,
.service-card p,
.process-step p,
.feature-item p,
.project-card p,
.footer-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.7;
}

.footer-note {
  padding-right: 3rem;
}

.admin-page {
  min-height: 100vh;
}

.admin-main {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  place-items: center;
  padding: 3rem 1rem;
}

.admin-shell {
  width: min(100%, 32rem);
}

.admin-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at top right, rgba(255, 117, 54, 0.18), transparent 28%),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.admin-card h1 {
  margin: 0;
  font-size: clamp(2.1rem, 6vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.admin-copy {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.admin-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

.admin-field {
  display: grid;
  gap: 0.45rem;
}

.admin-field span {
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.86);
}

.admin-field input {
  width: 100%;
  min-height: 3.4rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-white);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.admin-field input:focus {
  border-color: rgba(255, 117, 54, 0.8);
  box-shadow: 0 0 0 4px rgba(255, 117, 54, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.admin-submit,
.admin-header-link {
  display: inline-flex;
}

.admin-logout-header {
  display: inline-flex;
}

.admin-status {
  min-height: 1.5rem;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

.admin-status[data-state="success"] {
  color: #8ae6b0;
}

.admin-status[data-state="error"] {
  color: #ff9b9b;
}

.admin-status[data-state="loading"] {
  color: #ffd39f;
}

.admin-session {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-session-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.admin-session-copy {
  margin: 0.5rem 0 1rem;
  color: rgba(255, 255, 255, 0.72);
}

.admin-role-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.35rem 0.8rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(255, 117, 54, 0.18);
  color: var(--color-white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-dashboard {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.admin-panel {
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.admin-panel-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-panel-header h2 {
  margin: 0;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.admin-panel-actions,
.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-empty-state {
  margin: 0;
  padding: 1rem 1.1rem;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  color: rgba(255, 255, 255, 0.72);
}

.admin-project-list {
  display: grid;
  gap: 0.85rem;
}

.admin-project-card {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  width: 100%;
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.admin-project-card:hover,
.admin-project-card.is-active {
  border-color: rgba(255, 117, 54, 0.45);
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}

.admin-project-card-media {
  min-height: 6.5rem;
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.admin-project-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-project-card-placeholder,
.admin-preview-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 6.5rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.92rem;
}

.admin-project-card-body h3 {
  margin: 0;
  font-size: 1.1rem;
}

.admin-project-card-body p {
  margin: 0.5rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
}

.admin-project-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.85rem;
}

.admin-project-card-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
}

.admin-field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-white);
  outline: none;
  resize: vertical;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.admin-field textarea:focus {
  border-color: rgba(255, 117, 54, 0.8);
  box-shadow: 0 0 0 4px rgba(255, 117, 54, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.admin-checkbox-field {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.admin-checkbox-field input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--accent);
}

.admin-preview {
  margin-top: 1.5rem;
}

.admin-preview-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.admin-preview-media {
  overflow: hidden;
  border-radius: 1rem;
  min-height: 13rem;
  background: rgba(255, 255, 255, 0.05);
}

.admin-preview-media img {
  width: 100%;
  height: 100%;
  min-height: 13rem;
  object-fit: cover;
}

.admin-preview-body h3 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.admin-preview-body p {
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.admin-preview-link a,
.admin-preview-gallery a {
  color: var(--accent);
  word-break: break-word;
}

.admin-preview-gallery {
  margin: 1rem 0 0;
  padding-left: 1rem;
  color: rgba(255, 255, 255, 0.72);
}

@media (min-width: 960px) {
  .admin-shell {
    width: min(100%, 75rem);
  }

  .admin-dashboard {
    grid-template-columns: minmax(0, 24rem) minmax(0, 1fr);
    align-items: start;
  }

  .admin-editor-panel {
    position: sticky;
    top: calc(var(--header-height) + 1rem);
    max-height: calc(100vh - var(--header-height) - 2rem);
    overflow: auto;
  }
}

@media (max-width: 639px) {
  .admin-main {
    padding: 1rem 0.75rem;
  }

  .admin-shell {
    width: 100%;
  }

  .admin-card,
  .admin-panel {
    padding: 1rem;
    border-radius: 1.1rem;
  }

  .admin-panel-header h2,
  .admin-card h1 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .admin-panel-actions,
  .admin-form-actions {
    gap: 0.5rem;
  }

  .admin-panel-actions .button,
  .admin-form-actions .button {
    min-height: 2.8rem;
    padding: 0.7rem 0.95rem;
  }

  .header-inner,
  .header-actions {
    gap: 0.5rem;
  }

  .admin-project-list {
    display: flex;
    flex-direction: row;
    gap: 0.85rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-inline: 0.1rem;
    padding-bottom: 0.25rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .admin-project-card {
    flex: 0 0 78vw;
    width: 78vw;
    min-width: 78vw;
    max-width: 78vw;
    grid-template-columns: 1fr;
    scroll-snap-align: start;
  }

  .admin-preview-media {
    min-height: 0;
    height: 7rem;
  }

  .admin-preview-media img {
    display: block;
    min-height: 0;
    height: 100%;
  }
}

.hero-section {
  position: relative;
  overflow: clip;
  padding: 3rem 0 2rem;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.8rem, 9vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
  max-width: 11ch;
}

.hero-text {
  margin-top: 1.5rem;
  max-width: 38rem;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: var(--color-white);
  box-shadow: 0 14px 30px rgba(255, 117, 54, 0.28);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--color-white);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-meta li {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.hero-visual {
  position: relative;
  min-height: 26rem;
  padding: 1.5rem 0;
}

.visual-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.visual-card-main {
  padding: 1.25rem;
}

.visual-card-header {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.visual-metrics {
  display: grid;
  gap: 1rem;
}

.metric-block,
.metric-tile {
  padding: 1.2rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-block strong,
.metric-tile strong {
  display: block;
  margin-top: 0.4rem;
  font-size: 1.15rem;
  line-height: 1.3;
}

.metric-label,
.metric-tile span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.metric-tile-accent {
  background: linear-gradient(135deg, var(--accent), var(--color-secondary));
  color: var(--color-white);
}

.metric-tile-accent span {
  color: rgba(255, 255, 255, 0.8);
}

.metric-tile-soft {
  background: linear-gradient(180deg, rgba(255, 182, 153, 0.18), rgba(255, 255, 255, 0.06));
}

.floating-badge {
  position: absolute;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
  font-weight: 600;
  z-index: 1;
}

.badge-top {
  top: 0.5rem;
  right: 0.2rem;
}

.badge-bottom {
  bottom: -0.8rem;
  left: -0.2rem;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  z-index: -1;
}

.glow-primary {
  top: 1rem;
  right: 1rem;
  width: 10rem;
  height: 10rem;
  background: rgba(255, 117, 54, 0.28);
}

.glow-soft {
  bottom: 1rem;
  left: 1rem;
  width: 9rem;
  height: 9rem;
  background: rgba(255, 182, 153, 0.36);
}

.card-grid,
.project-grid,
.experience-grid,
.feature-grid,
.process-grid {
  display: grid;
  gap: 1rem;
}

.service-card,
.project-card,
.feature-item,
.process-step {
  position: relative;
  padding: 1.5rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.service-card h3,
.project-card h3,
.feature-item h3,
.process-step h3 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.project-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  min-height: 3rem;
  padding: 0.6rem 0.75rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 182, 153, 0.18);
  color: var(--color-white);
}

.process-grid {
  position: relative;
}

.process-step {
  overflow: hidden;
}

.split-layout {
  display: grid;
  gap: 2rem;
}

.feature-item-brand {
  background: linear-gradient(180deg, rgba(255, 182, 153, 0.14), rgba(255, 255, 255, 0.04));
}

.feature-item-brand a {
  color: var(--accent);
  font-weight: 600;
}

.project-card-placeholder {
  border-style: dashed;
}

.project-card:not(.project-card-placeholder) {
  display: block;
  overflow: hidden;
  padding: 0;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.project-card:not(.project-card-placeholder):hover {
  border-color: rgba(255, 182, 153, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
}

.project-card-media {
  position: relative;
  min-height: 15rem;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.project-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.06), rgba(18, 18, 18, 0.5));
  z-index: 1;
  transition: background 180ms ease;
}

.project-card-image {
  width: 100%;
  height: 100%;
  min-height: 15rem;
  object-fit: cover;
  transition: transform 220ms ease;
}

.project-card:not(.project-card-placeholder):hover .project-card-image {
  transform: scale(1.03);
}

.project-card-image-placeholder {
  display: grid;
  place-items: center;
  min-height: 15rem;
  color: rgba(255, 255, 255, 0.58);
}

.project-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.15rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 20%, rgba(0, 0, 0, 0.78) 100%);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 2;
  pointer-events: none;
}

.project-card-overlay h3 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: var(--color-white);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.project-card:not(.project-card-placeholder):hover .project-card-overlay,
.project-card-media:hover .project-card-overlay {
  opacity: 1;
  transform: translateY(0);
}

.project-card:not(.project-card-placeholder):hover .project-card-media::after,
.project-card-media:hover::after {
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.08), rgba(18, 18, 18, 0.72));
}

.project-card-content {
  padding: 1.5rem;
}

.project-card-content h3 {
  margin: 0;
}

@media (min-width: 720px) {
  .project-card-content {
    display: none;
  }
}

.experience-disclaimer {
  margin: 0 0 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.experience-card {
  position: relative;
  display: block;
  min-height: 17rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.experience-card:hover {
  border-color: rgba(255, 182, 153, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
}

.experience-card-media {
  position: relative;
  min-height: 17rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.experience-card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.experience-card-image-blur {
  transform: scale(1.08);
  filter: blur(18px) saturate(0.9);
  opacity: 0.6;
}

.experience-card-image-main {
  object-fit: cover;
  z-index: 1;
  transition: transform 220ms ease;
}

.experience-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.08), rgba(18, 18, 18, 0.54));
  z-index: 1;
}

.experience-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  z-index: 2;
  padding: 1.15rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 20%, rgba(0, 0, 0, 0.78) 100%);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.experience-card-overlay h3 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: var(--color-white);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.experience-card:hover .experience-card-image-main {
  transform: scale(1.03);
}

.experience-card:hover .experience-card-overlay {
  opacity: 1;
  transform: translateY(0);
}

.experience-card-body {
  display: none;
  padding: 1rem 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.04);
}

.experience-card-body h3 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: -0.03em;
  color: var(--color-white);
}

.cta-panel {
  display: grid;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 2rem;
  background:
    radial-gradient(circle at top right, rgba(255, 182, 153, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

.site-footer {
  padding: 1.5rem 0 3rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-logo-text {
  display: flex;
  gap: 1.5rem;
}

.brand-footer {
  margin-bottom: 0.75rem;
}

.footer-nav,
.footer-links {
  display: grid;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.74);
}

.footer-company {
  font-style: normal;
  line-height: 1.7;
  margin: 0;
}

.footer-company a {
  color: inherit;
}

@media (max-width: 719px) {
  .service-card,
  .project-card,
  .experience-card,
  .feature-item,
  .process-step,
  .metric-block,
  .metric-tile {
    text-align: center;
  }

  .experience-card,
  .experience-card-media {
    min-height: 13rem;
  }

  .experience-card-body {
    display: block;
  }

  .experience-card-overlay {
    opacity: 0;
    transform: translateY(10px);
  }

  .project-card-overlay {
    display: none;
  }

  .footer-grid,
  .footer-brand-logo-text,
  .footer-nav,
  .footer-links {
    text-align: center;
    justify-items: center;
  }

  .footer-note {
    padding-right: 0;
  }
}

@media (min-width: 720px) {
  .site-nav,
  .header-cta {
    display: inline-flex;
  }

  .services-grid,
  .project-grid,
  .experience-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .cta-panel,
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
}

@media (min-width: 980px) {
  .hero-section {
    padding: 4rem 0 3rem;
  }

  .hero-grid,
  .split-layout,
  .cta-panel,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid {
    gap: 4rem;
  }

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

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

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

  .process-step::after {
    content: "";
    position: absolute;
    top: 2.35rem;
    right: -0.9rem;
    width: 1.8rem;
    height: 1px;
    background: rgba(54, 54, 54, 0.14);
  }

  .process-step:last-child::after {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1.1fr 0.7fr 0.8fr;
    align-items: start;
  }
}

.project-card.is-interactive,
.experience-card.is-interactive {
  cursor: pointer;
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.project-modal-dialog {
  position: relative;
  width: min(960px, 100%);
  max-height: min(90vh, 720px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  background: linear-gradient(180deg, #242424 0%, #171717 100%);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}

.project-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: #000000;
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.project-modal-close:hover {
  background: #1a1a1a;
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.project-modal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  min-height: min(420px, 70vh);
}

.project-modal-media {
  position: relative;
  min-height: 16rem;
  background: rgba(255, 255, 255, 0.04);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.project-modal-image {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.project-modal-media-placeholder {
  display: grid;
  place-items: center;
  min-height: inherit;
  padding: 2rem;
  color: rgba(255, 255, 255, 0.58);
  text-align: center;
}

.project-modal-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 1.75rem 1.75rem;
}

.project-modal-title {
  margin: 0;
  padding-right: 2.5rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.project-modal-description {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
}

.project-modal-description p {
  margin: 0 0 1rem;
}

.project-modal-description p:last-child {
  margin-bottom: 0;
}

.project-modal-meta {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.25rem;
}

.project-modal-meta dt {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 182, 153, 0.92);
}

.project-modal-meta dd {
  margin: 0.2rem 0 0;
  color: rgba(255, 255, 255, 0.88);
}

.project-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-modal-tags li {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.86);
}

@media (max-width: 719px) {
  .project-modal-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .project-modal-media {
    min-height: 12rem;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .project-modal-body {
    padding: 1.5rem 1.25rem 1.25rem;
  }
}
