/* Design Tokens */
:root {
  --max-width: 1280px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --color-brand: rgb(245, 119, 32);
  --color-dark: rgb(17, 22, 18);
  --color-white: rgb(255, 255, 255);
  --text-body: clamp(0.98rem, 0.3vw + 0.9rem, 1.08rem);
  --text-nav: clamp(1rem, 0.45vw + 0.9rem, 1.14rem);
  --text-h1: clamp(1.9rem, 3.1vw + 1rem, 3.35rem);
  --text-h2: clamp(1.35rem, 1.3vw + 0.95rem, 2rem);
  --text-h3: clamp(1.02rem, 0.55vw + 0.88rem, 1.28rem);
  --glass-pill-border: rgba(17, 22, 18, 0.18);
  --glass-pill-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(244, 246, 244, 0.72));
  --glass-pill-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 10px 22px rgba(17, 22, 18, 0.08);
  --glass-panel-border: rgba(17, 22, 18, 0.2);
  --glass-panel-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(243, 245, 243, 0.76));
  --glass-panel-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 10px 22px rgba(17, 22, 18, 0.08);
  --glass-warm-bg: linear-gradient(
    135deg,
    rgba(255, 160, 85, 0.24),
    rgba(245, 119, 32, 0.12)
  );
  --glass-warm-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 8px 18px rgba(245, 119, 32, 0.16);
}

/* Fallback for browsers without backdrop-filter support */
@supports not (backdrop-filter: blur(1px)) {
  :root {
    --glass-pill-bg: rgba(255, 255, 255, 0.95);
    --glass-panel-bg: rgba(255, 255, 255, 0.97);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light dark;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-text-size-adjust: 100%;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

html::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

html[data-theme="light"] {
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
}

/* Base Elements */
body {
  position: relative;
  isolation: isolate;
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--color-dark);
  background-color: var(--color-white);
  background-image: none;
  -webkit-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}

.spline-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.spline-background spline-viewer {
  display: block;
  width: 100%;
  height: 100%;
}

.spline-overlay-layer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7vh;
  z-index: 1;
  pointer-events: none;
  background-color: var(--color-white);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 2;
}

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

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}

/* Header */
.site-header {
  position: relative;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-dark);
  overflow: hidden;
}

.site-header::after {
  content: "";
  position: absolute;
  left: -22%;
  bottom: -1px;
  width: 44%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(245, 119, 32, 0.18) 18%,
    rgba(245, 119, 32, 0.9) 50%,
    rgba(245, 119, 32, 0.18) 82%,
    transparent 100%
  );
  opacity: 0;
  transform: translateX(-140%);
  pointer-events: none;
  animation: header-border-fade 900ms ease-out 220ms forwards, header-border-glide 6s linear 1.1s infinite;
}

.nav-container {
  width: min(100% - 2rem, 1280px);
  margin-inline: auto;
}

.nav-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
}

@keyframes header-border-glide {
  from {
    transform: translateX(-140%);
  }
  to {
    transform: translateX(330%);
  }
}

@keyframes header-border-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.logo {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  text-decoration: none;
  color: var(--color-brand);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 700;
  font-size: clamp(1.25rem, 1.3vw + 0.9rem, 1.9rem);
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.18rem 0;
  text-decoration: none;
  color: var(--color-dark);
  font-size: clamp(1.06rem, 0.55vw + 0.94rem, 1.2rem);
  line-height: 1;
  transition: color 180ms var(--ease-out), transform 180ms var(--ease-out);
}

:is(.nav-icon, .social-icon-link) {
  border: 1px solid var(--glass-pill-border);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(244, 246, 244, 0.72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 10px 22px rgba(17, 22, 18, 0.08);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  backdrop-filter: blur(14px) saturate(145%);
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

:is(.theme-toggle, .language-selector, .projects-slider-button) {
  border: 1px solid var(--glass-panel-border);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(243, 245, 243, 0.76));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 10px 22px rgba(17, 22, 18, 0.08);
  -webkit-backdrop-filter: blur(16px) saturate(145%);
  backdrop-filter: blur(16px) saturate(145%);
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.nav-icon {
  width: 1.08rem;
  height: 1.08rem;
  flex: 0 0 1.08rem;
  display: block;
  padding: 0.66rem;
  box-sizing: content-box;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  backdrop-filter: blur(14px) saturate(145%);
  fill: currentColor;
  stroke: none;
  transform: none;
  transition: color 180ms var(--ease-out), border-color 180ms var(--ease-out), transform 180ms var(--ease-out), background-color 180ms var(--ease-out), backdrop-filter 180ms var(--ease-out);
  will-change: transform, color;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--color-brand);
  transform: translateY(-2px);
}

.nav-link:hover .nav-icon,
.nav-link:focus-visible .nav-icon {
  transform: scale(1.08);
  color: var(--color-brand);
  border-color: var(--color-brand);
  background: linear-gradient(
    135deg,
    rgba(255, 160, 85, 0.24),
    rgba(245, 119, 32, 0.12)
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 8px 18px rgba(245, 119, 32, 0.16);
}

.nav-controls {
  position: absolute;
  right: 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 44px;
  height: 40px;
  padding: 0;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(16px) saturate(145%);
  backdrop-filter: blur(16px) saturate(145%);
  color: var(--color-dark);
  cursor: pointer;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out, backdrop-filter 0.2s ease-in-out;
  will-change: background-color;
}

.theme-toggle:hover {
  background:
    linear-gradient(
      135deg,
      rgba(245, 160, 100, 0.18),
      rgba(255, 255, 255, 0.16)
    );
  color: var(--color-brand);
}

.theme-icon {
  width: 0.82rem;
  height: 0.82rem;
  flex: 0 0 0.82rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.theme-toggle .moon {
  display: none;
}

.theme-toggle[aria-pressed="true"] .sun {
  display: none;
}

.theme-toggle[aria-pressed="true"] .moon {
  display: block;
}

.theme-icon.sun {
  color: var(--color-brand);
}

.theme-toggle[aria-pressed="true"] .moon {
  color: var(--color-brand);
}

.language-selector {
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(16px) saturate(145%);
  backdrop-filter: blur(16px) saturate(145%);
  overflow: hidden;
  width: 96px;
  height: 40px;
  transition: width 0.45s ease-in-out, background-color 0.45s ease-in-out;
  z-index: 5;
  will-change: width;
}

.language-selector.open {
  width: 180px;
}

.lang-button {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  background: transparent;
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.34);
  color: var(--color-dark);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--text-nav);
  cursor: pointer;
  width: 96px;
  height: 100%;
  transition: background-color 0.2s ease-in-out, opacity 0.2s ease-in-out, transform 0.25s ease-in-out;
}

.lang-button:hover {
  background:
    linear-gradient(
      135deg,
      rgba(245, 160, 100, 0.16),
      rgba(255, 255, 255, 0.12)
    );
  color: var(--color-brand);
}

.globe-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-brand);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.lang-button span {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-nav) !important;
  font-weight: 400 !important;
  line-height: 1;
}

.lang-options {
  display: flex;
  flex-direction: row;
  width: calc(100% - 96px);
  margin-right: 96px;
  height: 100%;
  opacity: 0;
  transform: translateX(12px);
  pointer-events: none;
  will-change: transform, opacity;
  transition: transform 0.45s ease-in-out, opacity 0.25s ease-in-out;
}

.language-selector.open .lang-options {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  gap: 0.35rem;
  height: 100%;
  padding: 0 0.45rem;
  background: transparent;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--text-nav);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s;
}

.lang-option:last-child {
  border-right: none;
}

.lang-option:hover {
  background:
    linear-gradient(
      135deg,
      rgba(245, 160, 100, 0.15),
      rgba(255, 255, 255, 0.1)
    );
}

.dot {
  width: 0.38rem;
  height: 0.38rem;
  flex: 0 0 0.38rem;
  align-self: center;
  border-radius: 50%;
  background-color: var(--color-dark);
}

.dot.active {
  background-color: var(--color-brand);
}

.lang-option span {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-nav) !important;
  font-weight: 400 !important;
  line-height: 1;
  color: var(--color-dark);
}


/* Hero */
.hero {
  padding-block: var(--space-xl);
  animation: fade-up 700ms var(--ease-out) both;
}

.hero-copy {
  max-width: 58ch;
}

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

.hero h1 {
  margin: 0;
  max-width: 18ch;
  font-size: var(--text-h1);
  line-height: 1.12;
}

.hero-text {
  max-width: 55ch;
  margin-top: var(--space-sm);
  font-size: clamp(1rem, 0.45vw + 0.9rem, 1.18rem);
  color: var(--color-brand);
}

h2 {
  font-size: var(--text-h2);
  line-height: 1.2;
  margin: 0 0 0.9rem;
  text-shadow: 0 2px 10px rgba(17, 22, 18, 0.16);
}

body.theme-dark h2 {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

h3 {
  font-size: var(--text-h3);
  line-height: 1.25;
  margin: 0 0 0.45rem;
}

.button {
  display: inline-block;
  margin-top: var(--space-sm);
  padding: 0.7rem 1.2rem;
  background: var(--color-brand);
  color: var(--color-white);
  font-weight: 700;
  border: 2px solid transparent;
  border-radius: 0.4rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), background-color 220ms var(--ease-out), border-color 220ms var(--ease-out), color 220ms var(--ease-out);
}

.hero .button {
  background: linear-gradient(
    90deg,
    var(--color-brand) 0%,
    rgb(255, 152, 54) 40%,
    rgb(214, 95, 20) 58%,
    var(--color-brand) 100%
  );
  background-size: 280% 100%;
  animation: button-pulse-sweep 1.5s ease-in-out infinite;
  box-shadow: 0 10px 24px rgba(245, 119, 32, 0.38);
}

.section {
  padding-block: var(--space-xl);
}

.services-loop {
  position: relative;
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}

.services-track {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  width: max-content;
  animation: services-loop 42s linear infinite;
}

/* Services */
.services-track .card {
  flex: 0 0 auto;
  width: auto;
  height: auto;
  min-height: 0;
  max-height: none;
  animation: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.85rem;
  border-radius: 0.5rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(244, 246, 244, 0.72));
  border: 1px solid rgba(17, 22, 18, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 10px 24px rgba(17, 22, 18, 0.08);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}

.services-track .card h3 {
  margin: 0;
  text-align: center;
  color: var(--color-dark);
  text-shadow: none;
}

.services-track .card:hover {
  transform: none;
  box-shadow: none;
  outline: 2px solid var(--color-brand);
  outline-offset: -2px;
}

/* Projects */
.projects-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.projects-heading-row h2 {
  margin: 0;
}

.projects-slider-controls {
  display: flex;
  gap: 0.6rem;
}

.projects-slider-button {
  width: 44px;
  height: 40px;
  padding: 0;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(16px) saturate(145%);
  backdrop-filter: blur(16px) saturate(145%);
  color: var(--color-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out, backdrop-filter 0.2s ease-in-out;
  will-change: color, background-color;
}

.projects-slider-button:hover,
.projects-slider-button:focus-visible {
  background:
    linear-gradient(
      135deg,
      rgba(245, 160, 100, 0.18),
      rgba(255, 255, 255, 0.16)
    );
  color: var(--color-brand);
}

.projects-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 42%);
  align-items: start;
  gap: var(--space-md);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  padding-bottom: 0.3rem;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}

.projects-slider:active {
  cursor: grabbing;
}

.projects-slider::-webkit-scrollbar {
  display: none;
}

.card,
.project-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(243, 245, 243, 0.74));
  border: 1px solid rgba(17, 22, 18, 0.15);
  padding: var(--space-md);
  border-radius: 0.5rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 18px 40px rgba(17, 22, 18, 0.1);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), backdrop-filter 220ms var(--ease-out);
  animation: fade-up 700ms var(--ease-out) both;
  will-change: transform;
}

.projects .project-card:nth-child(1) {
  animation-delay: 100ms;
}

.projects .project-card:nth-child(2) {
  animation-delay: 180ms;
}

.projects .project-card:nth-child(3) {
  animation-delay: 260ms;
}

.projects .project-card:nth-child(4) {
  animation-delay: 340ms;
}

.projects .project-card:nth-child(5) {
  animation-delay: 420ms;
}

.projects .project-card:nth-child(6) {
  animation-delay: 500ms;
}

.button:hover {
  transform: translateY(-3px) scale(1.02);
  background: rgba(245, 119, 32, 0.08);
  border-color: var(--color-brand);
  color: var(--color-brand);
  box-shadow: 0 10px 24px rgba(245, 119, 32, 0.38), 0 0 0 1px rgba(245, 119, 32, 0.48);
  animation: button-shadow-pulse 1.5s ease-in-out infinite;
}

.card:hover,
.project-card:hover {
  transform: translateY(-6px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 18px 42px rgba(17, 22, 18, 0.14),
    0 0 0 1px rgba(245, 119, 32, 0.55);
}

.projects-slider .project-card:hover {
  transform: none;
  box-shadow: none;
  outline: 2px solid var(--color-brand);
  outline-offset: -2px;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-height: 390px;
  cursor: pointer;
  align-self: start;
  justify-self: start;
  width: 100%;
  z-index: 0;
  transition:
    width 260ms var(--ease-out),
    transform 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out);
}

.project-card-summary {
  display: grid;
  gap: 0.45rem;
}

.project-card-summary p {
  margin: 0;
}

.project-card::after {
  content: "Tap to open";
  margin-top: auto;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(200, 140, 80, 0.82);
}

.project-card[aria-expanded="true"]::after {
  content: "Tap to close";
}

.project-collage {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0.65rem;
  width: 100%;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  z-index: 1;
  transform: translateY(8px);
  transition:
    max-height 260ms var(--ease-out),
    opacity 220ms var(--ease-out),
    transform 220ms var(--ease-out);
}

.project-card[aria-expanded="true"] .project-collage {
  max-height: 460px;
  opacity: 1;
  transform: translateY(0);
}

.project-card[aria-expanded="true"] {
  width: calc(200% + var(--space-md));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 0 0 1px rgba(245, 119, 32, 0.35);
  z-index: 4;
}

.project-collage-photo {
  position: relative;
  min-height: 144px;
  border-radius: 0.6rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.project-collage-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 22, 18, 0.02), rgba(17, 22, 18, 0.42));
}

.project-collage-photo span {
  position: absolute;
  left: 0.7rem;
  bottom: 0.65rem;
  z-index: 1;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-white);
}

.project-collage-photo-large {
  grid-row: span 2;
  min-height: 304px;
}

.project-collage-cafe-1 {
  background-image:
    linear-gradient(135deg, rgba(109, 68, 32, 0.18), rgba(34, 24, 16, 0.42)),
    radial-gradient(circle at 30% 20%, rgba(250, 218, 176, 0.82), transparent 38%),
    linear-gradient(135deg, rgb(212, 159, 106), rgb(102, 66, 41));
}

.project-collage-cafe-2 {
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(82, 49, 25, 0.38)),
    linear-gradient(120deg, rgb(225, 193, 163), rgb(121, 82, 56));
}

.project-collage-cafe-3 {
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(68, 37, 16, 0.38)),
    linear-gradient(145deg, rgb(191, 136, 84), rgb(78, 51, 30));
}

.project-collage-boutique-1 {
  background-image:
    linear-gradient(135deg, rgba(196, 107, 120, 0.2), rgba(62, 31, 36, 0.4)),
    linear-gradient(130deg, rgb(244, 210, 217), rgb(161, 98, 109));
}

.project-collage-boutique-2 {
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(103, 46, 55, 0.34)),
    linear-gradient(150deg, rgb(250, 225, 230), rgb(178, 122, 132));
}

.project-collage-boutique-3 {
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(77, 30, 37, 0.36)),
    linear-gradient(135deg, rgb(231, 184, 194), rgb(147, 82, 95));
}

.project-collage-office-1 {
  background-image:
    linear-gradient(135deg, rgba(77, 92, 117, 0.2), rgba(21, 28, 37, 0.42)),
    linear-gradient(135deg, rgb(204, 217, 228), rgb(94, 114, 137));
}

.project-collage-office-2 {
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(38, 54, 71, 0.36)),
    linear-gradient(140deg, rgb(219, 228, 236), rgb(118, 138, 158));
}

.project-collage-office-3 {
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(31, 42, 54, 0.38)),
    linear-gradient(145deg, rgb(188, 203, 217), rgb(90, 109, 128));
}

.project-collage-restaurant-1 {
  background-image:
    linear-gradient(135deg, rgba(164, 70, 37, 0.24), rgba(46, 16, 11, 0.42)),
    linear-gradient(140deg, rgb(233, 177, 143), rgb(128, 61, 35));
}

.project-collage-restaurant-2 {
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(92, 35, 21, 0.36)),
    linear-gradient(150deg, rgb(248, 211, 190), rgb(160, 86, 56));
}

.project-collage-restaurant-3 {
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(68, 28, 18, 0.36)),
    linear-gradient(145deg, rgb(224, 170, 138), rgb(128, 60, 34));
}

.project-collage-retail-1 {
  background-image:
    linear-gradient(135deg, rgba(78, 123, 120, 0.22), rgba(16, 35, 34, 0.42)),
    linear-gradient(135deg, rgb(201, 235, 228), rgb(70, 121, 116));
}

.project-collage-retail-2 {
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(22, 59, 57, 0.34)),
    linear-gradient(150deg, rgb(222, 245, 241), rgb(94, 144, 138));
}

.project-collage-retail-3 {
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(22, 52, 50, 0.36)),
    linear-gradient(140deg, rgb(182, 226, 215), rgb(72, 114, 110));
}

.project-collage-corporate-1 {
  background-image:
    linear-gradient(135deg, rgba(58, 74, 129, 0.2), rgba(16, 22, 45, 0.42)),
    linear-gradient(135deg, rgb(197, 206, 239), rgb(66, 82, 140));
}

.project-collage-corporate-2 {
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(31, 40, 79, 0.34)),
    linear-gradient(145deg, rgb(220, 227, 249), rgb(86, 100, 161));
}

.project-collage-corporate-3 {
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(27, 34, 67, 0.36)),
    linear-gradient(140deg, rgb(191, 201, 236), rgb(71, 84, 145));
}

.about-card {
  max-width: 78ch;
}

.about-card p {
  margin: 0;
}

.about-card p + p {
  margin-top: 0.9rem;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes button-pulse-sweep {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes button-shadow-pulse {
  0% {
    box-shadow: 0 10px 22px rgba(245, 119, 32, 0.32), 0 0 0 1px rgba(245, 119, 32, 0.42);
  }
  50% {
    box-shadow: 0 12px 28px rgba(245, 119, 32, 0.48), 0 0 0 1px rgba(255, 152, 54, 0.62);
  }
  100% {
    box-shadow: 0 10px 22px rgba(245, 119, 32, 0.32), 0 0 0 1px rgba(245, 119, 32, 0.42);
  }
}

@keyframes services-loop {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Contact */
.contact-map-wrapper {
  position: relative;
  border: 1px solid rgba(17, 22, 18, 0.14);
  border-radius: 0.7rem;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(243, 245, 243, 0.62));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 18px 38px rgba(17, 22, 18, 0.1);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
}

.contact-map-canvas {
  display: block;
  width: 100%;
  height: clamp(280px, 42vw, 460px);
}

.contact-map-canvas.map-locked {
  cursor: pointer;
}

.leaflet-container {
  background: rgb(18, 20, 18);
}

.contact-map-canvas .leaflet-tile-pane {
  filter: sepia(0.38) hue-rotate(-10deg) saturate(1.18) brightness(1.14) contrast(0.98);
}

.map-logo-marker-wrap {
  background: transparent;
  border: 0;
}

.map-logo-marker {
  position: relative;
  width: 40px;
  height: 52px;
  display: block;
}

.map-logo-marker-badge {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid var(--color-brand);
  background: rgb(255, 255, 255);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.map-logo-marker-badge img {
  width: 68%;
  height: 68%;
  object-fit: contain;
}

.map-logo-marker-tip {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 14px;
  height: 14px;
  background: var(--color-brand);
  transform: translateX(-50%) rotate(45deg);
  border-radius: 0 0 2px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.22);
}

.contact-map-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    140deg,
    rgba(245, 119, 32, 0.16) 0%,
    rgba(245, 119, 32, 0.08) 38%,
    rgba(17, 22, 18, 0.02) 100%
  );
  mix-blend-mode: multiply;
}

.contact-socials {
  list-style: none;
  margin: var(--space-sm) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.contact-socials .social-icon-link {
  width: 3.2rem;
  height: 3.2rem;
}

.contact-socials .social-icon {
  width: 1.4rem;
  height: 1.4rem;
}

.contact-visit {
  margin: var(--space-sm) 0 0;
}

.contact .contact-map-wrapper {
  margin-top: var(--space-sm);
}

.site-footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding-block: clamp(2rem, 4vw, 3rem) 1.25rem;
}

/* Theme Overrides */
body.theme-dark {
  color: rgb(234, 234, 229);
  background-color: rgb(15, 18, 16);
  background-image: none;
  --glass-pill-border: rgba(234, 234, 229, 0.16);
  --glass-pill-bg: linear-gradient(135deg, rgba(35, 41, 37, 0.74), rgba(18, 23, 20, 0.38));
  --glass-pill-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 24px rgba(0, 0, 0, 0.24);
  --glass-panel-border: rgba(234, 234, 229, 0.16);
  --glass-panel-bg: linear-gradient(135deg, rgba(35, 41, 37, 0.76), rgba(18, 23, 20, 0.42));
  --glass-panel-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 24px rgba(0, 0, 0, 0.24);
  --glass-warm-bg: linear-gradient(
    135deg,
    rgba(95, 60, 40, 0.76),
    rgba(35, 25, 15, 0.34)
  );
}

body.theme-dark .spline-overlay-layer {
  background-color: rgb(15, 18, 16);
}

body.theme-dark .site-header {
  background-color: rgb(15, 18, 16);
  border-bottom-color: rgba(234, 234, 229, 0.35);
}

body.theme-dark .site-header::after {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 169, 94, 0.12) 18%,
    rgba(245, 119, 32, 0.85) 50%,
    rgba(255, 169, 94, 0.12) 82%,
    transparent 100%
  );
}

body.theme-dark .nav-links a,
body.theme-dark .lang-button,
body.theme-dark .lang-option span,
body.theme-dark .theme-toggle,
body.theme-dark .projects-slider-button {
  color: rgb(234, 234, 229);
}

body.theme-dark .logo {
  color: var(--color-brand);
}

body.theme-dark .nav-icon {
  border-color: var(--glass-pill-border);
  background: var(--glass-pill-bg);
  box-shadow: var(--glass-pill-shadow);
}

body.theme-dark .language-selector,
body.theme-dark .lang-button,
body.theme-dark .lang-option,
body.theme-dark .theme-toggle,
body.theme-dark .projects-slider-button {
  border-color: var(--glass-panel-border);
  background: var(--glass-panel-bg);
}

body.theme-dark .lang-button:hover,
body.theme-dark .lang-option:hover {
  background: var(--glass-warm-bg);
}

body.theme-dark .theme-toggle:hover,
body.theme-dark .projects-slider-button:hover,
body.theme-dark .projects-slider-button:focus-visible {
  background: var(--glass-warm-bg);
}

body.theme-dark .social-icon-link:hover,
body.theme-dark .social-icon-link:focus-visible {
  background: var(--glass-warm-bg);
}

body.theme-dark .dot {
  background-color: rgba(234, 234, 229, 0.8);
}

body.theme-dark .dot.active {
  background-color: var(--color-brand);
}

body.theme-dark .card,
body.theme-dark .project-card {
  color: rgb(234, 234, 229);
  background:
    linear-gradient(135deg, rgba(34, 41, 37, 0.72), rgba(18, 23, 20, 0.38));
  border-color: rgba(234, 234, 229, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 42px rgba(0, 0, 0, 0.28);
}

body.theme-dark .project-card::after {
  color: rgba(232, 180, 130, 0.85);
}

body.theme-dark .services-track .card {
  background:
    linear-gradient(135deg, rgba(34, 41, 37, 0.76), rgba(18, 23, 20, 0.44));
  border-color: rgba(234, 234, 229, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 28px rgba(0, 0, 0, 0.24);
}

body.theme-dark .services-track .card h3 {
  color: rgb(234, 234, 229);
}

body.theme-dark .site-footer {
  background: rgb(8, 11, 9);
  color: rgb(234, 234, 229);
}

body.theme-dark .footer-links a,
body.theme-dark .footer-legal,
body.theme-dark .footer-wordmark {
  color: rgb(234, 234, 229);
}

body.theme-dark .custom-cursor-dot {
  background: rgb(234, 234, 229);
}

body.theme-dark .social-icon-link {
  color: rgb(234, 234, 229);
  border-color: var(--glass-pill-border);
  background: var(--glass-pill-bg);
  box-shadow: var(--glass-pill-shadow);
}

body.theme-dark .contact-map-wrapper {
  border-color: rgba(234, 234, 229, 0.16);
  background:
    linear-gradient(135deg, rgba(35, 41, 37, 0.68), rgba(18, 23, 20, 0.32));
}

body.theme-dark .custom-cursor.is-hover {
  border-color: rgb(234, 234, 229);
}

.footer-wordmark {
  display: inline-block;
  margin: 0;
  text-decoration: none;
  color: var(--color-white);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(5rem, 16vw, 13rem);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: -0.02em;
}

.footer-meta {
  margin-top: clamp(1.2rem, 2.5vw, 1.8rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.4rem;
}

.footer-links a {
  color: var(--color-white);
  text-decoration: none;
  font-size: clamp(0.95rem, 0.32vw + 0.85rem, 1.05rem);
}

.social-icon-link {
  width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark);
  border-radius: 999px;
  backdrop-filter: blur(14px) saturate(145%);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  transition: color 180ms var(--ease-out), border-color 180ms var(--ease-out), transform 180ms var(--ease-out), background-color 180ms var(--ease-out);
}

.social-icon {
  width: 1.08rem;
  height: 1.08rem;
  display: block;
  fill: currentColor;
  transform: translateY(0);
  transition: transform 180ms var(--ease-out);
}

.social-icon-link:hover,
.social-icon-link:focus-visible {
  color: var(--color-brand);
  border-color: var(--color-brand);
  background: linear-gradient(
    135deg,
    rgba(255, 160, 85, 0.24),
    rgba(245, 119, 32, 0.12)
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 8px 18px rgba(245, 119, 32, 0.16);
  transform: translateY(-2px);
}

.social-icon-link:hover .social-icon,
.social-icon-link:focus-visible .social-icon {
  color: var(--color-brand);
  transform: scale(1.08);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer-links a:hover {
  color: var(--color-brand);
}

.footer-legal {
  margin: 0;
  display: flex;
  gap: 1.4rem;
  align-items: center;
  color: var(--color-white);
  white-space: nowrap;
  font-size: clamp(0.95rem, 0.32vw + 0.85rem, 1.05rem);
}

@media (hover: hover) and (pointer: fine) {
  body.cursor-enabled,
  body.cursor-enabled a,
  body.cursor-enabled button,
  body.cursor-enabled input,
  body.cursor-enabled textarea,
  body.cursor-enabled select,
  body.cursor-enabled label {
    cursor: none;
  }

  .custom-cursor,
  .custom-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    --cursor-x: -100px;
    --cursor-y: -100px;
    --cursor-scale: 1;
    pointer-events: none;
    border-radius: 50%;
    transform: translate3d(var(--cursor-x), var(--cursor-y), 0) translate(-50%, -50%) scale(var(--cursor-scale));
    opacity: 0;
    z-index: 9999;
    will-change: transform, opacity;
    transition: opacity 0.2s var(--ease-out);
  }

  body.cursor-active .custom-cursor,
  body.cursor-active .custom-cursor-dot {
    opacity: 1;
  }

  .custom-cursor {
    width: 34px;
    height: 34px;
    border: 1.5px solid var(--color-brand);
  }

  .custom-cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--color-dark);
  }

  .custom-cursor.is-hover {
    --cursor-scale: 1.35;
    border-color: var(--color-dark);
  }

  .custom-cursor-dot.is-hover {
    --cursor-scale: 0.7;
    background: var(--color-brand);
  }
}

@media (hover: none), (pointer: coarse) {
  .custom-cursor,
  .custom-cursor-dot {
    display: none;
  }
}

/* Responsive */
/* Tablet Breakpoint (Medium Devices) */
@media (max-width: 1024px) {
  .container {
    width: min(100% - 1.5rem, var(--max-width));
  }

  .projects-slider {
    grid-auto-columns: minmax(300px, 50%);
  }

  .services-track {
    gap: var(--space-sm);
  }
}

/* Mobile Breakpoint (Small Devices) */
@media (max-width: 768px) {
  :root {
    --space-xl: 3rem;
    --space-lg: 2rem;
  }

  .nav-content {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    min-height: auto;
    row-gap: 0.55rem;
    padding-block: 0.55rem;
  }

  .logo {
    position: static;
    transform: none;
    font-size: 1.2rem;
  }

  .nav-controls {
    position: static;
    justify-self: end;
    gap: 0.35rem;
  }

  .site-nav {
    display: none;
  }

  .language-selector {
    width: 80px;
  }

  .language-selector.open {
    width: 160px;
  }

  .theme-toggle,
  .projects-slider-button {
    width: 40px;
    height: 36px;
  }

  .projects-heading-row {
    align-items: flex-start;
    gap: 0.5rem;
  }

  .projects-slider {
    grid-auto-columns: minmax(240px, 85%);
  }

  .projects-slider-controls {
    gap: 0.4rem;
  }

  .project-card[aria-expanded="true"] {
    width: 100%;
  }

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

  .project-collage-photo-large {
    grid-row: auto;
    min-height: 160px;
  }

  .contact-socials {
    gap: 0.4rem;
  }

  .contact-socials .social-icon-link {
    width: 2.8rem;
    height: 2.8rem;
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }

  .footer-links {
    display: none;
  }

  .footer-legal {
    flex-wrap: wrap;
    white-space: normal;
    gap: 0.6rem 1rem;
  }

  .footer-wordmark {
    font-size: clamp(3rem, 14vw, 8rem);
  }

  .hero {
    padding-block: var(--space-lg);
  }

  .section {
    padding-block: var(--space-lg);
  }
}

/* Small Phone Breakpoint */
@media (max-width: 480px) {
  :root {
    --max-width: 95vw;
    --space-xl: 2rem;
    --space-lg: 1.5rem;
    --space-md: 1rem;
  }

  .container {
    width: 100%;
    padding-inline: 1rem;
  }

  .nav-container {
    width: 100%;
    margin-inline: 0;
    padding-inline: 1rem;
  }

  .nav-content {
    gap: 0.4rem;
  }

  .logo {
    font-size: 1rem;
  }

  h1 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  h2 {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    margin-bottom: 0.6rem;
  }

  .button {
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
  }

  .projects-slider {
    grid-auto-columns: 100%;
    gap: 1rem;
  }

  .card,
  .project-card {
    padding: var(--space-sm);
  }

  .nav-controls {
    gap: 0.25rem;
  }

  .theme-toggle,
  .projects-slider-button {
    width: 36px;
    height: 32px;
    font-size: 0.9rem;
  }

  .projects-slider-controls {
    gap: 0.3rem;
  }

  .contact-socials {
    gap: 0.35rem;
    max-width: 100%;
  }

  .contact-socials .social-icon-link {
    width: 2.4rem;
    height: 2.4rem;
  }

  .footer-wordmark {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .contact-map-canvas {
    height: clamp(200px, 60vw, 350px);
  }

  /* Improve touch targets */
  a, button, input, textarea, select, label {
    min-height: 44px;
    min-width: 44px;
  }
}

/* Extra Small Phone Breakpoint */
@media (max-width: 360px) {
  :root {
    --text-body: 0.95rem;
    --text-nav: 0.95rem;
  }

  .logo {
    font-size: 0.9rem;
  }

  h1 {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
  }

  h2 {
    font-size: clamp(1.1rem, 3.5vw, 1.5rem);
  }

  .button {
    padding: 0.5rem 0.9rem;
    font-size: 0.9rem;
  }
}

/* Landscape mode optimization */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    padding-block: 1rem;
  }

  .section {
    padding-block: 1.5rem;
  }

  h1 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
  }

  h2 {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
  }
}

/* High DPI/Retina screen optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Print styles */
@media print {
  .site-header,
  .site-footer,
  nav,
  .nav-controls,
  .projects-slider-controls,
  .spline-background,
  .spline-overlay-layer,
  .custom-cursor,
  .custom-cursor-dot {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  a {
    color: black;
    text-decoration: underline;
  }
}

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

  html {
    scroll-behavior: auto;
  }
}


