:root {
  --midnight: #0b0b2b;
  --midnight-2: #14143a;
  --amber: #e9a64a;
  --bronze: #a6794f;
  --sand: #c9b69a;
  --cream: #f5f1e8;
  --hydrangea: #a9bcd3;
  --text: var(--hydrangea);
  --text-h: var(--cream);
  --bg: var(--midnight);
  --border: rgba(201, 182, 154, 0.28);
  --code-bg: var(--midnight-2);
  --accent: var(--hydrangea);
  --accent-bg: rgba(169, 188, 211, 0.12);
  --accent-border: rgba(169, 188, 211, 0.5);
  --social-bg: rgba(201, 182, 154, 0.12);
  --shadow:
    rgba(0, 0, 0, 0.1) 0 10px 15px -3px, rgba(0, 0, 0, 0.05) 0 4px 6px -2px;

  --sans: 'Hanken Grotesk', 'HK Grotesk', system-ui, 'Segoe UI', sans-serif;
  --heading: 'Hanken Grotesk', 'HK Grotesk', system-ui, 'Segoe UI', sans-serif;
  --mono: ui-monospace, Consolas, monospace;

  font: 18px/145% var(--sans);
  letter-spacing: 0.18px;
  color-scheme: light dark;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  @media (max-width: 1024px) {
    font-size: 16px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: var(--hydrangea);
    --text-h: var(--cream);
    --bg: var(--midnight);
    --border: rgba(201, 182, 154, 0.28);
    --code-bg: var(--midnight-2);
    --accent: var(--hydrangea);
    --accent-bg: rgba(169, 188, 211, 0.12);
    --accent-border: rgba(169, 188, 211, 0.5);
    --social-bg: rgba(201, 182, 154, 0.12);
    --shadow:
      rgba(0, 0, 0, 0.4) 0 10px 15px -3px, rgba(0, 0, 0, 0.25) 0 4px 6px -2px;
  }

  #social .button-icon {
    filter: invert(1) brightness(2);
  }
}

html {
  scroll-padding-top: 120px;
}

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

html,
body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: linear-gradient(180deg, var(--midnight) 0%, var(--midnight-2) 100%);
}

#root {
  width: 100%;
  max-width: 100%;
  margin: 0;
  text-align: center;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

h1,
h2 {
  font-family: var(--heading);
  font-weight: 500;
  color: var(--text-h);
}

h1 {
  font-size: 56px;
  letter-spacing: -1.68px;
  margin: 32px 0;
  @media (max-width: 1024px) {
    font-size: 36px;
    margin: 20px 0;
  }
}
h2 {
  font-size: 24px;
  line-height: 118%;
  letter-spacing: -0.24px;
  margin: 0 0 8px;
  @media (max-width: 1024px) {
    font-size: 20px;
  }
}
p {
  margin: 0;
}

code,
.counter {
  font-family: var(--mono);
  display: inline-flex;
  border-radius: 4px;
  color: var(--text-h);
}

code {
  font-size: 15px;
  line-height: 135%;
  padding: 4px 8px;
  background: var(--code-bg);
}
.contact-section {
  width: 100%;
  height: 100svh;
  box-sizing: border-box;
  padding: 80px 24px;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--sans);
}

.contact-card {
  width: min(700px, 100%);
  background: rgba(20, 20, 58, 0.96);
  border: 1px solid rgba(201, 182, 154, 0.24);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  border-radius: 32px;
  backdrop-filter: blur(18px);
  padding: 48px 40px;
  color: var(--cream);
}

.contact-label {
  letter-spacing: 4px;
  font-size: 12px;
  text-transform: uppercase;
  opacity: 1;
  margin-bottom: 16px;
  color: var(--sand);
}

.contact-card h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--cream);
}

.contact-card p {
  color: var(--hydrangea);
}

.contact-subtitle {
  margin: 28px 0 44px;
  color: var(--hydrangea);
  font-size: 16px;
  line-height: 1.5;
}

.contact-action,
.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  text-align: center;
  border-radius: 32px;
  padding: 18px 0;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  margin-bottom: 20px;
  border: none;
  font-family: var(--sans);
}

.contact-action {
  background: rgba(201, 182, 154, 0.1);
  color: var(--cream);
  border: 1px solid rgba(201, 182, 154, 0.28);
}

.instagram-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: currentColor;
}

.contact-textarea {
  width: min(100%, 620px);
  min-height: 150px;
  border-radius: 24px;
  border: 1px solid rgba(201, 182, 154, 0.3);
  background: rgba(245, 241, 232, 0.06);
  color: var(--cream);
  padding: 18px;
  margin: 0 auto 20px;
  font-family: var(--sans);
  font-size: 15px;
  resize: none;
}

.contact-textarea::placeholder {
  color: rgba(169, 188, 211, 0.78);
}

.contact-action:hover,
.contact-btn:hover {
  transform: translateY(-2px);
}

.contact-btn {
  background: var(--sand);
  color: var(--midnight);
  box-shadow: 0 12px 32px rgba(169, 188, 211, 0.22);
}

.contact-action:active,
.contact-btn:active {
  transform: translateY(0) scale(0.98);
}

.contact-info-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 22px 0;
  color: var(--cream);
}

.contact-info-row span {
  background: rgba(201, 182, 154, 0.1);
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--sand);
}

@media (max-width: 768px) {
  .contact-section {
    padding: 40px 16px;
    align-items: flex-start;
  }

  .contact-card {
    width: 100%;
    padding: 32px 20px;
  }

  .contact-textarea {
    width: 100%;
    min-height: 140px;
  }

  .contact-card h2 {
    font-size: 32px;
  }

  .contact-subtitle {
    font-size: 15px;
  }
}

@media (min-width: 769px) and (max-height: 1100px) {
  .contact-section {
    padding: clamp(88px, 11vh, 112px) 24px clamp(18px, 3vh, 32px);
  }

  .contact-card {
    padding: clamp(24px, 4vh, 40px) clamp(26px, 4vw, 40px);
  }

  .contact-card h2 {
    font-size: clamp(28px, 4vh, 36px);
  }

  .contact-subtitle {
    margin: clamp(16px, 2.5vh, 26px) 0 clamp(20px, 3.5vh, 36px);
  }

  .contact-action,
  .contact-btn {
    padding: clamp(12px, 1.8vh, 16px) 0;
    margin-bottom: clamp(12px, 2vh, 18px);
  }

  .contact-textarea {
    min-height: clamp(100px, 16vh, 140px);
  }

  .contact-info-row {
    margin: clamp(12px, 2vh, 20px) 0;
  }
}
.faq-section {
  width: 100%;
  min-height: 100svh;
  padding: 96px 24px;
  background: transparent;
  color: var(--cream);
  display: flex;
  align-items: center;
}

.faq-wrap {
  width: min(980px, 100%);
  margin: 0 auto;
}

.faq-header {
  margin-bottom: 56px;
  text-align: center;
}

.faq-header h2 {
  margin: 0;
  color: var(--cream);
  font-size: 40px;
  line-height: 1.18;
}

.faq-title {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  line-height: 0;
  isolation: isolate;
}

.faq-title-image {
  display: block;
  width: clamp(200px, 20vw, 300px);
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: screen;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  position: relative;
  border: 1px solid rgba(201, 182, 154, 0.22);
  border-radius: 24px;
  background: rgba(245, 241, 232, 0.055);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  overflow: hidden;
  transition:
    border-color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.faq-item::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(169, 188, 211, 0), rgba(169, 188, 211, 0.18), rgba(169, 188, 211, 0));
  opacity: 0;
  transform: translateX(-34%);
  transition: opacity 0.35s ease, transform 0.55s ease;
}

.faq-item.is-open {
  border-color: rgba(169, 188, 211, 0.5);
  background: rgba(20, 20, 58, 0.9);
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.28),
    0 0 44px rgba(169, 188, 211, 0.14);
  transform: translateY(-2px);
}

.faq-item.is-open::before {
  opacity: 1;
  transform: translateX(18%);
}

.faq-question {
  position: relative;
  z-index: 1;
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 22px 28px;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(245, 241, 232, 0.12);
  transition: background 0.3s ease, transform 0.35s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: var(--sand);
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-icon {
  background: rgba(169, 188, 211, 0.16);
  transform: rotate(180deg);
}

.faq-item.is-open .faq-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0.2);
}

.faq-answer-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item.is-open .faq-answer-wrap {
  grid-template-rows: 1fr;
}

.faq-answer {
  min-height: 0;
  overflow: hidden;
}

.faq-answer p {
  margin: 0;
  padding: 0 28px 28px;
  color: rgba(245, 241, 232, 0.78);
  font-size: 16px;
  line-height: 1.75;
  text-align: left;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.28s ease, transform 0.35s ease;
}

.faq-item.is-open .faq-answer p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.08s;
}

.faq-question:focus-visible {
  outline: 2px solid var(--hydrangea);
  outline-offset: -4px;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 80px 18px;
    align-items: flex-start;
  }

  .faq-header {
    margin-bottom: 40px;
  }

  .faq-header h2 {
    font-size: 32px;
  }

  .faq-item {
    border-radius: 20px;
  }

  .faq-question {
    min-height: 68px;
    padding: 20px;
    font-size: 16px;
  }

  .faq-answer p {
    padding: 0 20px 22px;
    font-size: 15px;
  }
}

@media (min-width: 769px) and (max-height: 1100px) {
  .faq-section {
    padding: clamp(88px, 11vh, 112px) 24px clamp(18px, 3vh, 32px);
  }

  .faq-header {
    margin-bottom: clamp(16px, 2.5vh, 28px);
  }

  .faq-header h2 {
    font-size: clamp(28px, 4vh, 36px);
  }

  .faq-list {
    gap: clamp(8px, 1.3vh, 14px);
  }

  .faq-item {
    border-radius: 18px;
  }

  .faq-question {
    min-height: clamp(52px, 7vh, 68px);
    padding: clamp(12px, 1.8vh, 18px) 22px;
    font-size: clamp(14px, 1.8vh, 17px);
  }

  .faq-icon {
    width: 28px;
    height: 28px;
  }

  .faq-answer p {
    padding: 0 22px clamp(14px, 2vh, 22px);
    font-size: clamp(13px, 1.65vh, 15px);
    line-height: 1.5;
  }
}
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  isolation: isolate;
  background:
    linear-gradient(
      135deg,
      rgba(30, 30, 72, 0.68) 0%,
      rgba(11, 11, 43, 0.46) 58%,
      rgba(169, 188, 211, 0.12) 100%
    );
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  backdrop-filter: blur(22px) saturate(145%);
  border: 1px solid rgba(245, 241, 232, 0.18);
  border-radius: 32px;
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(169, 188, 211, 0.08);
  font-family: var(--sans);
}

.navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.13), transparent 38%),
    linear-gradient(90deg, transparent, rgba(201, 182, 154, 0.06), transparent);
}

.navbar-container {
  padding: 12px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.navbar-logo a {
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  outline: none;
}

.navbar-logo a:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 4px;
}

.navbar-logo img {
  height: 56px;
  cursor: pointer;
}

.navbar-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  position: relative;
}

.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  background: var(--cream);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.navbar-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.navbar-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--sans);
}

.navbar-menu li {
  display: inline-flex;
}

.navbar-menu a {
  color: var(--hydrangea);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.3s ease;
  font-family: var(--sans);
  display: inline-flex;
}

.navbar-menu a:hover {
  color: var(--sand);
}

@media (max-width: 900px) {
  .navbar {
    width: calc(100% - 32px);
    left: 50%;
    transform: translateX(-50%);
  }

  .navbar-container {
    justify-content: space-between;
    gap: 16px;
  }

  .navbar-toggle {
    display: block;
  }

  .navbar-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 16px;
    flex-direction: column;
    background:
      linear-gradient(
        145deg,
        rgba(30, 30, 72, 0.82),
        rgba(11, 11, 43, 0.72)
      );
    -webkit-backdrop-filter: blur(22px) saturate(145%);
    backdrop-filter: blur(22px) saturate(145%);
    border: 1px solid rgba(245, 241, 232, 0.18);
    border-radius: 24px;
    box-shadow:
      0 18px 48px rgba(0, 0, 0, 0.32),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
    padding: 16px 20px;
    gap: 12px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    visibility: hidden;
    align-items: stretch;
  }

  .navbar-menu li {
    display: block;
    width: 100%;
  }

  .navbar-menu.active {
    max-height: 520px;
    opacity: 1;
    visibility: visible;
  }

  .navbar-menu a {
    font-size: 15px;
    display: block;
    width: 100%;
    padding: 10px 0;
  }
}

@media (min-width: 769px) and (max-height: 1100px) {
  .navbar {
    top: clamp(12px, 2vh, 20px);
  }

  .navbar-container {
    padding: 8px 26px;
    gap: clamp(24px, 3vw, 40px);
  }

  .navbar-logo img {
    height: clamp(42px, 6vh, 52px);
  }

  .navbar-menu {
    gap: clamp(18px, 2.2vw, 28px);
  }
}
.portfolio-section {
  width: 100%;
  padding: 96px 24px;
  background: transparent;
  color: var(--cream);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.portfolio-intro {
  width: 100%;
  text-align: center;
  margin-bottom: 72px;
}

.portfolio-intro h2 {
  margin: 0;
  color: var(--cream);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: 0;
}

.portfolio-title {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  line-height: 0;
  isolation: isolate;
}

.portfolio-title-image {
  display: block;
  width: clamp(220px, 24vw, 360px);
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: screen;
}

/* Centered, large cards */
.portfolio-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: nowrap; /* single horizontal row */
  gap: 36px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}

.portfolio-card {
  position: relative;
  width: 100%;
  flex: 0 1 480px;
  max-width: 520px;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(201, 182, 154, 0.2);
  border-radius: 28px;
  overflow: hidden;
  background: var(--midnight);
  cursor: pointer;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: var(--hydrangea);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.45);
}

.card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease, opacity 0.35s ease;
  opacity: 0.22;
}

.portfolio-card:hover .card-image {
  opacity: 1;
  transform: scale(1.05);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 11, 43, 0.88);
  transition: background 0.35s ease, opacity 0.35s ease;
}

.portfolio-card:hover .card-overlay {
  background: rgba(20, 20, 58, 0.3);
}

.card-copy {
  position: absolute;
  z-index: 2;
  left: 50%;
  transform: translateX(-50%);
  bottom: 28px;
  width: calc(100% - 44px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 12px;
}

.card-category { display: none; }

.card-copy h3 {
  margin: 0 0 10px 0;
  font-size: 26px;
  color: var(--cream);
  font-weight: 800;
}

.card-copy p {
  margin: 0;
  color: rgba(245, 241, 232, 0.95);
  line-height: 1.6;
  font-size: 16px;
}

/* Maintain subtle overlay when selected/hover */
.portfolio-card:hover .card-overlay,
.portfolio-card.selected .card-overlay {
  background: linear-gradient(180deg, rgba(11, 11, 43, 0.26) 0%, rgba(20, 20, 58, 0.3) 55%, rgba(11, 11, 43, 0.4) 100%);
}

/* Responsive adjustments */
@media (max-width: 1400px) {
  .portfolio-card { flex: 0 1 440px; max-width: 480px; }
  .card-copy h3 { font-size: 24px; }
}

@media (max-width: 1024px) {
  .portfolio-card { flex: 0 1 380px; max-width: 420px; }
  .portfolio-grid { gap: 28px; }
  .card-copy h3 { font-size: 22px; }
}

@media (max-width: 768px) {
  .portfolio-section { padding: 80px 18px; min-height: auto; }
  .portfolio-intro { margin-bottom: 48px; }
  .portfolio-grid { flex-direction: column; max-width: 420px; gap: 18px; overflow-x: visible; }
  .portfolio-card { position: relative; width: 100%; flex: 0 1 100%; max-width: none; aspect-ratio: 1 / 1; }
  .card-copy { position: relative; left: auto; transform: none; bottom: auto; width: auto; padding: 20px; }
  .card-copy h3 { font-size: 20px; }
  /* in-view reveal stays for mobile */
  .portfolio-card.in-view .card-image { opacity: 1; transform: scale(1.03); }
  .portfolio-card.in-view .card-overlay { background: rgba(20, 20, 58, 0.3); }
}

@media (min-width: 769px) and (max-height: 1100px) {
  .portfolio-section {
    padding: clamp(88px, 11vh, 112px) 20px clamp(18px, 3vh, 32px);
  }

  .portfolio-intro {
    margin-bottom: clamp(18px, 3vh, 30px);
  }

  .portfolio-intro h2 {
    font-size: clamp(28px, 4vh, 36px);
  }

  .portfolio-grid {
    gap: clamp(16px, 2vw, 28px);
  }

  .portfolio-card {
    flex-basis: min(480px, calc(100svh - 330px));
    max-width: min(520px, calc(100svh - 330px));
  }

  .card-copy {
    bottom: clamp(16px, 2.5vh, 26px);
  }

  .card-copy h3 {
    font-size: clamp(18px, 2.4vh, 23px);
  }

  .card-copy p {
    font-size: clamp(13px, 1.7vh, 16px);
    line-height: 1.45;
  }
}
.section-stack {
  position: relative;
  width: 100%;
  isolation: isolate;
  background: linear-gradient(180deg, var(--midnight) 0%, var(--midnight-2) 100%);
}

.section-stack__viewport {
  position: relative;
  width: 100%;
}

.section-stack__panel {
  position: sticky;
  top: 0;
  z-index: var(--section-stack-index);
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: visible;
  background:
    radial-gradient(circle at 50% 0%, rgba(169, 188, 211, 0.12), transparent 34%),
    linear-gradient(180deg, var(--midnight) 0%, var(--midnight-2) 100%);
  box-shadow: 0 -28px 90px rgba(0, 0, 0, 0.36);
  transform: translateZ(0);
}

.section-stack__content {
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  will-change: transform;
}

.section-stack__content > * {
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
}

.section-stack--overlay {
  min-height: 100vh;
  min-height: 100svh;
}

.section-stack--overlay .section-stack__viewport {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.section-stack--overlay .section-stack__panel {
  position: absolute;
  inset: 0;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
}

.section-stack--overlay .section-stack__content {
  height: 100%;
  min-height: 100%;
}

.section-stack--overlay .section-stack__content > * {
  min-height: 100%;
}

@media (max-width: 768px) {
  .section-stack__panel,
  .section-stack__content,
  .section-stack__content > * {
    min-height: 100dvh;
  }

  .section-stack--overlay {
    min-height: 100dvh;
  }

  .section-stack--overlay .section-stack__viewport {
    height: 100dvh;
  }
}
.site-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 28px 24px;
  border-top: 1px solid rgba(201, 182, 154, 0.18);
  background: var(--midnight);
  color: rgba(169, 188, 211, 0.82);
  text-align: center;
  font-family: var(--sans);
}

.site-footer small {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

@media (max-width: 640px) {
  .site-footer {
    padding: 24px 18px;
  }

  .site-footer small {
    font-size: 12px;
  }
}
.services-packages-section {
  width: 100%;
  min-height: 100svh;
  padding: clamp(88px, 10vh, 120px) 24px clamp(32px, 6vh, 72px);
  background: transparent;
  color: var(--cream);
  display: flex;
  align-items: center;
}

.services-packages-wrap {
  width: min(1300px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 96px;
}

.packages-block {
  margin-top: 0;
}

.services-header,
.packages-header {
  margin-bottom: clamp(28px, 5vh, 56px);
}

.services-header {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(18px, 3vh, 32px);
}

.services-header h2,
.packages-header h2 {
  font-size: 40px;
  margin: 0;
  color: var(--cream);
  text-align: center;
}

.services-title,
.packages-title {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  line-height: 0;
  isolation: isolate;
}

.services-title-image,
.packages-title-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: screen;
}

.services-title-image {
  width: clamp(220px, 30vw, 460px);
}

.packages-title-image {
  width: clamp(180px, 18vw, 280px);
}

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

.services-grid {
  align-items: stretch;
}

.service-card {
  min-height: 260px;
  height: 100%;
  text-align: center;
  justify-content: space-between;
}

.service-card,
.package-card {
  background: rgba(245, 241, 232, 0.055);
  border: 1px solid rgba(201, 182, 154, 0.22);
  border-radius: 32px;
  padding: 32px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
}

.service-card h3,
.package-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--cream);
}

.service-card p {
  color: rgba(169, 188, 211, 0.9);
  line-height: 1.8;
  margin-bottom: 32px;
}

.service-btn {
  display: inline-block;
  background: var(--sand);
  color: var(--midnight);
  padding: 14px 24px;
  border-radius: 28px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.14);
}

.package-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: min(520px, 56vh);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.package-price {
  font-size: 22px;
  color: var(--amber);
  margin: 0;
}

.package-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--sand);
  color: var(--midnight);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.package-card.highlight {
  border-color: rgba(169, 188, 211, 0.82);
  box-shadow: 0 30px 140px rgba(169, 188, 211, 0.22);
  background: rgba(20, 20, 58, 0.96);
  transform: translateY(-6px);
}

.package-card.highlight h3 {
  color: var(--cream);
}

.package-card.highlight .package-badge {
  background: var(--hydrangea);
  color: var(--midnight);
}

.package-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.package-card li {
  color: rgba(245, 241, 232, 0.82);
  line-height: 1.75;
}

.package-card.highlight {
  border-color: rgba(169, 188, 211, 0.42);
  box-shadow: 0 24px 100px rgba(169, 188, 211, 0.12);
}

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

@media (max-width: 1024px) {
  .services-packages-wrap {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .packages-grid {
    grid-template-columns: 1fr;
  }

  .services-packages-section {
    padding: 84px 20px 36px;
    align-items: flex-start;
  }

  .services-header,
  .packages-header {
    margin-bottom: 48px;
  }

  .service-card,
  .package-card {
    padding: 28px;
  }
}

@media (max-width: 768px) {
  .services-packages-wrap {
    gap: 32px;
  }

  .service-card,
  .package-card {
    min-height: unset;
  }

  .services-grid,
  .packages-grid {
    gap: 16px;
  }

  .packages-grid {
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .services-section,
  .packages-section {
    padding: 64px 16px;
  }

  .service-card,
  .package-card {
    padding: 24px;
  }

  .services-section h2,
  .packages-section h2 {
    font-size: 32px;
  }

  .service-card p,
  .package-card li {
    font-size: 15px;
  }
}

/* Keep the stacked-scroll panels compact enough for shorter desktop screens. */
@media (min-width: 769px) and (max-height: 1100px) {
  .services-packages-section {
    padding: clamp(88px, 11vh, 112px) 20px clamp(18px, 3vh, 32px);
  }

  .services-header,
  .packages-header {
    margin-bottom: clamp(16px, 2.8vh, 28px);
  }

  .services-header h2,
  .packages-header h2 {
    font-size: clamp(28px, 4vh, 36px);
  }

  .services-grid,
  .packages-grid {
    gap: clamp(12px, 1.6vw, 20px);
  }

  .service-card,
  .package-card {
    min-height: 0;
    padding: clamp(16px, 2.5vh, 26px);
    border-radius: clamp(20px, 3vh, 28px);
  }

  .package-card {
    gap: clamp(8px, 1.5vh, 15px);
  }

  .service-card h3,
  .package-card h3 {
    margin: 0;
    font-size: clamp(18px, 2.4vh, 22px);
  }

  .service-card p {
    margin: 12px 0 18px;
    font-size: clamp(13px, 1.7vh, 16px);
    line-height: 1.5;
  }

  .service-btn {
    padding: clamp(10px, 1.5vh, 13px) 18px;
    font-size: clamp(13px, 1.7vh, 16px);
  }

  .package-price {
    font-size: clamp(17px, 2.2vh, 21px);
  }

  .package-badge {
    margin-bottom: 0;
    padding: 7px 12px;
    font-size: 10px;
  }

  .package-card ul {
    gap: clamp(6px, 1vh, 10px);
  }

  .package-card li {
    font-size: clamp(12px, 1.55vh, 15px);
    line-height: 1.45;
  }
}

/* Tablet landscape keeps the same panel animation, with three compact cards. */
@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid,
  .packages-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.startscreen {
  position: relative;
  width: 100%;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--cream);
  background: transparent;
  font-family: var(--sans);
}

.rays-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-rays-fallback {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at top, rgba(245, 241, 232, 0.2), transparent 35%),
    radial-gradient(circle at center, rgba(245, 241, 232, 0.06), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 900px;
  width: min(100%, 900px);
  padding: 24px;
  font-family: var(--sans);
}

.hero-content h1 {
  font-size: 44px;
  line-height: 1.2;
  margin: 0 0 16px 0;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--cream);
  font-family: var(--sans);
  min-height: 120px;
}

.hero-title-emphasis {
  font-family: 'PT Serif', Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-synthesis: none;
}

.typed-text {
  white-space: pre-wrap;
  border-right: 2px solid rgba(255, 255, 255, 0.85);
  animation: blink 0.8s steps(2, start) infinite;
}

.typed-text.finished {
  border-color: transparent;
}

@keyframes blink {
  0%, 100% {
    border-color: rgba(255, 255, 255, 0.85);
  }
  50% {
    border-color: transparent;
  }
}

.hero-content p {
  font-size: 20px;
  margin: 0 0 32px 0;
  opacity: 0.95;
  font-weight: 400;
  color: var(--hydrangea);
  font-family: var(--sans);
}

.subtitle {
  min-height: 34px;
}

.typed-text {
  white-space: pre-wrap;
  border-right: 2px solid rgba(255, 255, 255, 0.85);
  animation: blink 0.8s steps(2, start) infinite;
}

.subtitle {
  border-right: none;
}

.typed-text.finished,
.subtitle {
  border-color: transparent;
}

@keyframes blink {
  0%, 100% {
    border-color: rgba(255, 255, 255, 0.85);
  }
  50% {
    border-color: transparent;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: clamp(16px, 3vh, 30px);
  left: 50%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(245, 241, 232, 0.72);
  text-decoration: none;
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 0.5s ease, color 0.3s ease, transform 0.5s ease;
  pointer-events: none;
}

.scroll-indicator.visible {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.scroll-indicator__line {
  width: 1px;
  height: clamp(44px, 7vh, 68px);
  background: linear-gradient(
    to bottom,
    rgba(245, 241, 232, 0.18),
    rgba(245, 241, 232, 0.7)
  );
}

.scroll-indicator__label {
  padding-left: 0.34em;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.scroll-indicator:hover,
.scroll-indicator:focus-visible {
  color: var(--cream);
}

.scroll-indicator:focus-visible {
  outline: 1px solid var(--sand);
  outline-offset: 8px;
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 900px;
  padding: 32px;
}

.hero-content h1 {
  font-size: 48px;
  margin: 0 0 12px 0;
}

.hero-content .subtitle {
  margin: 0 0 20px 0;
  opacity: 0.85;
}

.actions { display: flex; gap: 12px; justify-content: center; }
.primary {
  background: var(--sand);
  color: var(--midnight);
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
}
.secondary {
  background: rgba(255,255,255,0.08);
  color: white;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
}
@media (max-width: 768px) {
  .startscreen,
  .contact-section {
    min-height: 100svh;
    height: auto;
    padding: 40px 16px;
  }

  .hero-content {
    max-width: 100%;
    width: 100%;
    padding: 16px;
  }

  .hero-content h1 {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 16px;
  }

  .hero-content p {
    font-size: 18px;
    margin-bottom: 24px;
  }

  .contact-action,
  .contact-btn {
    width: 100%;
    padding: 14px 20px;
  }

  .scroll-indicator {
    bottom: 14px;
  }

  .scroll-indicator__line {
    height: 42px;
  }

  .rays-wrap,
  .hero-rays-fallback {
    min-height: 100%;
  }
}
.project-page {
  min-height: 100svh;
  width: 100%;
  color: var(--cream);
  background:
    radial-gradient(circle at 12% 12%, rgba(169, 188, 211, 0.16), transparent 28%),
    linear-gradient(180deg, var(--midnight) 0%, var(--midnight-2) 100%);
  padding: 28px 24px 72px;
  text-align: left;
}

.project-topbar {
  width: min(1120px, 100%);
  margin: 0 auto 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.project-logo-button,
.project-back {
  border: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.project-logo-button {
  width: 84px;
  padding: 0;
  background: transparent;
}

.project-logo-button img {
  display: block;
  width: 100%;
  height: auto;
}

.project-back {
  border: 1px solid rgba(201, 182, 154, 0.28);
  border-radius: 999px;
  background: rgba(245, 241, 232, 0.06);
  padding: 12px 18px;
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.project-back:hover,
.project-back:focus-visible {
  border-color: var(--hydrangea);
  background: rgba(169, 188, 211, 0.12);
  transform: translateY(-1px);
  outline: none;
}

.project-hero {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 48px;
  align-items: center;
}

.project-preview {
  border: 1px solid rgba(201, 182, 154, 0.22);
  border-radius: 28px;
  overflow: hidden;
  background: var(--midnight);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.36);
}

.project-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.project-content {
  max-width: 500px;
}

.project-category {
  margin: 0 0 14px;
  color: var(--sand);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.project-content h1 {
  margin: 0 0 22px;
  color: var(--cream);
  font-size: 56px;
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 700;
}

.project-content .project-image-title {
  display: flex;
  align-items: center;
  min-height: clamp(110px, 14vw, 180px);
  line-height: 0;
  isolation: isolate;
}

.project-image-title img {
  display: block;
  width: auto;
  max-width: 100%;
  height: clamp(110px, 14vw, 180px);
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: screen;
}

.project-summary,
.project-details {
  color: rgba(245, 241, 232, 0.82);
  font-size: 18px;
  line-height: 1.68;
}

.project-details {
  margin-top: 18px;
  color: rgba(169, 188, 211, 0.78);
}

.project-live-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--midnight);
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-live-link:hover,
.project-live-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(169, 188, 211, 0.24);
  outline: none;
}

.project-page-empty {
  display: grid;
  place-content: center;
  gap: 24px;
  text-align: center;
}

.project-page-empty .project-back {
  justify-self: center;
}

.project-page-empty h1 {
  margin: 0;
  color: var(--cream);
  letter-spacing: 0;
}

@media (max-width: 900px) {
  .project-page {
    padding: 22px 18px 56px;
  }

  .project-topbar {
    margin-bottom: 44px;
  }

  .project-hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .project-content {
    max-width: none;
  }

  .project-content h1 {
    font-size: 38px;
  }

  .project-content .project-image-title,
  .project-image-title img {
    height: clamp(100px, 26vw, 145px);
    min-height: 0;
  }

  .project-summary,
  .project-details {
    font-size: 16px;
  }
}
.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  width: 100%;
  min-height: 100svh;
  padding: 24px;
  color: var(--cream);
  background:
    radial-gradient(circle at 50% 20%, rgba(169, 188, 211, 0.2), transparent 30%),
    linear-gradient(180deg, var(--midnight) 0%, var(--midnight-2) 100%);
  font-family: var(--sans);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.preloader-percent {
  position: absolute;
  left: clamp(20px, 4vw, 48px);
  bottom: clamp(20px, 4vw, 48px);
  margin: 0;
  color: var(--sand);
  font-family: 'Times New Roman', Times, serif;
  font-size: clamp(42px, 9vw, 120px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0;
}

.site-preloader.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
