:root {
  --bg:         #EFF9F6;
  --white:      #FFFFFF;
  --card-alt:   #F5FAF8;
  --border:     #D6EDE7;
  --dark:       #141414;
  --mid:        #5A6B66;
  --light:      #93ADA6;
  --teal:       #5ECFB1;
  --teal-dark:  #3AAD91;
  --teal-bg:    #D4F5EC;
  --purple:     #6358D4;
  --purple-lt:  #8B82E0;
  --purple-bg:  #ECEAFC;
}

[data-theme="dark"] {
  --bg:         #0D1512;
  --white:      #162019;
  --card-alt:   #111D18;
  --border:     #1E3028;
  --dark:       #EFF9F6;
  --mid:        #7A9B93;
  --light:      #4A6B63;
  --teal:       #5ECFB1;
  --teal-dark:  #5ECFB1;
  --teal-bg:    #0D2B22;
  --purple:     #8B82E0;
  --purple-lt:  #A49CE8;
  --purple-bg:  #1A1640;
}

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

html {
  scroll-behavior: smooth;
  transition: background 0.4s ease, color 0.4s ease;
}

body {
  background: var(--bg);
  color: var(--dark);
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  line-height: 1.6;
}

/* ── NAV ── */
nav {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 600;
  background: var(--bg);
}

nav.sticky {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  transition: box-shadow 0.3s ease;
}

nav.sticky.scrolled {
  box-shadow: 0 3px 48px rgba(0, 0, 0, 0.22);
}

nav .nav-logo {
  padding: 18px 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark);
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

nav .nav-logo:has(.nav-back) {
  padding: 0;
}

.nav-back {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 24px;
  width: 100%;
  align-self: stretch;
  text-decoration: none;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color 0.2s, background 0.2s;
}

.nav-back::before { content: '←'; color: var(--teal); }
.nav-back:hover { color: var(--teal-dark); }

nav .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 18px 24px;
  border-right: 1px solid var(--border);
}

nav .nav-links a {
  text-decoration: none;
  color: var(--mid);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

nav .nav-links a:hover { color: var(--teal-dark); }

/* ── PRICING TRIGGER BUTTON ── */
.nav-pricing-trigger {
  background: transparent;
  border: none;
  color: var(--mid);
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}

.nav-pricing-trigger:hover,
.nav-pricing-trigger.active { color: var(--teal-dark); }

/* ── PRICING PANEL ── */
.pricing-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.pricing-panel.open {
  transform: translateY(60px);
  pointer-events: all;
}

.pricing-panel-item {
  padding: 28px 40px 24px;
  text-decoration: none;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  transition: background 0.2s;
}

.pricing-panel-item:last-child { border-right: none; }
.pricing-panel-item:hover { background: var(--white); }

.pricing-panel-label {
  font-family: 'Barlow', Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark);
}

.pricing-panel-price {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--teal-dark);
}

nav .nav-cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 18px 24px;
}

.theme-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--mid);
  font-size: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--purple);
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover { background: var(--purple-lt); }

.btn-outline {
  background: transparent;
  color: var(--purple);
  border: 1px solid var(--purple);
  padding: 10px 20px;
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-outline:hover {
  background: var(--purple-bg);
}

/* ── SCROLL ANIMATIONS ── */
.animate {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate.slide-left {
  transform: translateX(-36px);
}

.animate.in-view {
  opacity: 1;
  transform: translate(0, 0);
}

.portfolio-item:nth-child(2).animate { transition-delay: 0.07s; }
.portfolio-item:nth-child(3).animate { transition-delay: 0.14s; }
.portfolio-item:nth-child(4).animate { transition-delay: 0.07s; }
.portfolio-item:nth-child(5).animate { transition-delay: 0.14s; }
.portfolio-item:nth-child(6).animate { transition-delay: 0.21s; }

.pricing-card.featured.animate { transition-delay: 0.1s; }

.footer-col:nth-child(2).animate { transition-delay: 0.08s; }
.footer-col:nth-child(3).animate { transition-delay: 0.16s; }

/* ── HERO ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
  min-height: calc(100vh - 120px);
  position: relative;
  overflow: hidden;
}

.hero-text {
  padding: 80px 40px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* hero entrance — staggered */
.hero-eyebrow,
.hero-heading,
.hero-sub,
.hero-actions {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-eyebrow.entered  { opacity: 1; transform: none; transition-delay: 0s; }
.hero-heading.entered  { opacity: 1; transform: none; transition-delay: 0.12s; }
.hero-sub.entered      { opacity: 1; transform: none; transition-delay: 0.24s; }
.hero-actions.entered  { opacity: 1; transform: none; transition-delay: 0.38s; }

.hero-text .corner-dot {
  width: 8px;
  height: 8px;
  background: var(--teal);
  position: absolute;
  top: 16px;
  left: 16px;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 20px;
}

.hero-heading {
  font-family: 'Barlow', 'Arial Black', Arial, sans-serif;
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--dark);
  text-transform: uppercase;
  transition: font-weight 0.08s linear;
}

.hero-sub {
  margin-top: 32px;
  font-size: 13px;
  color: var(--mid);
  max-width: 340px;
  line-height: 1.7;
}

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

.hero-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 207, 177, 0.13) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 0.6s ease;
  opacity: 0;
  z-index: 0;
}

.hero-right {
  padding: 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  transition: transform 0.25s ease-out;
  z-index: 1;
}

/* ── SCROLL INDICATOR ── */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 1;
  transition: opacity 0.5s ease;
  z-index: 2;
}

.scroll-indicator.hidden { opacity: 0; }

.scroll-indicator span {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--teal), transparent);
  animation: scrollPulse 1.6s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: top; opacity: 0; }
}

.hero-right .corner-dot {
  width: 8px;
  height: 8px;
  background: var(--teal);
  position: absolute;
  top: 16px;
  right: 16px;
}

.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-bg);
  color: var(--teal-dark);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 14px;
  margin-bottom: 24px;
  width: fit-content;
}

.availability-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--teal-dark);
  border-radius: 50%;
}

.hero-stat {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--light);
}

/* ── SECTION LABEL ── */
.section-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-dark);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--teal);
  display: inline-block;
}

/* ── PRICING ── */
.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.pricing-card {
  padding: 48px 40px;
  border-right: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
}

.btn-spacer {
  flex: 1;
  min-height: 28px;
}

.pricing-card .btn-primary,
.pricing-card .btn-outline {
  margin-top: 0;
}

.pricing-card:last-child { border-right: none; }

.pricing-card.featured {
  background: var(--white);
}

.pricing-type {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 16px;
}

.pricing-name {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 8px;
}

.pricing-price {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 48px;
  font-weight: 900;
  color: var(--purple);
  line-height: 1;
  margin: 24px 0 8px;
}

.pricing-price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--light);
  font-family: 'Courier New', monospace;
}

.pricing-desc {
  font-size: 13px;
  color: var(--mid);
  margin-bottom: 32px;
  line-height: 1.7;
}

.pricing-features {
  list-style: none;
  margin-bottom: 0;
}

.pricing-features li {
  font-size: 12px;
  color: var(--mid);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: '—';
  color: var(--teal);
}

.pricing-note {
  font-size: 11px;
  color: var(--light);
  letter-spacing: 0.06em;
  margin-top: 16px;
  margin-bottom: 0;
}

.pricing-corner {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 8px;
  height: 8px;
  background: var(--border);
}

.pricing-card.featured .pricing-corner {
  background: var(--teal);
}

/* ── DAY RATES TABLE ── */
.rates-table {
  padding: 0 40px 48px;
  border-bottom: 1px solid var(--border);
}

.rates-table table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0;
}

.rates-table thead tr {
  border-bottom: 1px solid var(--border);
}

.rates-table th {
  font-family: 'Courier New', monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--light);
  padding: 16px 0;
  text-align: left;
}

.rates-table th:nth-child(2),
.rates-table th:nth-child(3) {
  text-align: right;
}

.rates-table th span {
  display: block;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--light);
  opacity: 0.7;
  margin-top: 2px;
}

.rates-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.rates-table tbody tr:hover {
  background: var(--white);
}

.rates-table td {
  padding: 20px 0;
  vertical-align: middle;
}

.rates-table td strong {
  display: block;
  font-family: 'Barlow', 'Arial Black', Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.rates-table td span {
  display: block;
  font-size: 11px;
  color: var(--light);
  letter-spacing: 0.04em;
  margin-top: 3px;
}

.rates-table .price-half {
  font-family: 'Barlow', Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--teal-dark);
  text-align: right;
  letter-spacing: 0.02em;
}

.rates-table .price-full {
  font-family: 'Barlow', Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--purple);
  text-align: right;
  letter-spacing: 0.02em;
}

.rates-note {
  font-size: 11px;
  color: var(--light);
  letter-spacing: 0.08em;
  margin-top: 20px;
  text-align: right;
}

@media (max-width: 768px) {
  .rates-table {
    padding: 0 20px 40px;
    overflow-x: auto;
  }

  .rates-table table {
    min-width: 480px;
  }
}

/* ── PORTFOLIO ── */
.portfolio {
  border-bottom: 1px solid var(--border);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

a.portfolio-item {
  text-decoration: none;
  color: inherit;
  display: block;
}

.portfolio-item {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 32px;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
}

.portfolio-item:hover { background: none; cursor: default; }

.portfolio-item--live {
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.3s;
}

.portfolio-item--live:hover {
  background: var(--white);
  box-shadow: inset 0 0 40px rgba(94, 207, 177, 0.08),
              0 0 0 1px var(--teal);
}
.portfolio-item:nth-child(3n) { border-right: none; }
.portfolio-item:nth-last-child(-n+3) { border-bottom: none; }

.portfolio-item-num {
  font-size: 11px;
  color: var(--light);
  letter-spacing: 0.1em;
  margin-bottom: 40px;
}

.portfolio-item-title {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 8px;
}

.portfolio-item-type {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
}

.portfolio-tag {
  display: inline-block;
  background: var(--purple-bg);
  color: var(--purple);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  margin-top: 16px;
}

/* ── FOOTER ── */
footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.footer-col {
  padding: 40px 32px;
  border-right: 1px solid var(--border);
}

.footer-col:last-child { border-right: none; }

.footer-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 20px;
}

.footer-col p {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.7;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-links a {
  font-size: 12px;
  color: var(--mid);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s;
}

.social-links a::before {
  content: '→';
  color: var(--teal);
}

.social-links a:hover { color: var(--teal-dark); }

.footer-copy {
  font-size: 11px;
  color: var(--light);
  margin-top: 24px;
  letter-spacing: 0.05em;
}

/* ── CONTACT OVERLAY ── */
.contact-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: #0D1512;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(100%);
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.contact-overlay.open {
  transform: translateY(0);
}

/* exposed grid lines behind content */
.contact-overlay-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(94,207,177,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(94,207,177,0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.contact-overlay-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: 1px solid rgba(94,207,177,0.2);
  color: rgba(94,207,177,0.6);
  font-size: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  z-index: 1;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.2s, color 0.2s;
}

.contact-overlay.open .contact-overlay-close {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.contact-overlay-close:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.contact-overlay-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.contact-overlay-label {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(94,207,177,0.6);
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1);
}

.contact-overlay.open .contact-overlay-label {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.25s;
}

.contact-overlay-phone {
  font-family: 'Barlow', 'Arial Black', Arial, sans-serif;
  font-size: clamp(52px, 10vw, 120px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #5ECFB1;
  text-decoration: none;
  display: block;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1), color 0.2s;
}

.contact-overlay.open .contact-overlay-phone {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.35s;
}

.contact-overlay.open .contact-overlay-phone:hover {
  color: #fff;
  animation: none;
  text-shadow: none;
}

.contact-overlay-hint {
  display: none;
}

.contact-overlay-email::after {
  content: '▋';
  animation: cursorBlink 1s step-end infinite;
  margin-left: 4px;
  color: rgba(94, 207, 177, 0.5);
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

@keyframes phoneGlow {
  0%, 100% { text-shadow: 0 0 8px rgba(94,207,177,0.08); }
  50%       { text-shadow: 0 0 16px rgba(94,207,177,0.18); }
}

.contact-overlay.open .contact-overlay-phone {
  animation: phoneGlow 2.8s ease-in-out infinite;
  animation-delay: 1.2s;
}

.contact-overlay-email {
  font-family: 'Courier New', monospace;
  font-size: clamp(13px, 2vw, 16px);
  letter-spacing: 0.1em;
  color: rgba(239,249,246,0.5);
  text-decoration: none;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1), color 0.2s;
}

.contact-overlay.open .contact-overlay-email {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.48s;
}

.contact-overlay-email:hover {
  color: rgba(239,249,246,0.9);
}

/* ── CALENDAR BOOKING BUTTON (inside contact overlay) ── */
.contact-overlay-calendar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(94,207,177,0.8);
  border: 1px solid rgba(94,207,177,0.3);
  padding: 13px 32px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.6s cubic-bezier(0.22,1,0.36,1),
    transform 0.6s cubic-bezier(0.22,1,0.36,1),
    color 0.2s,
    border-color 0.25s,
    background 0.25s;
}

.contact-overlay-calendar svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.contact-overlay-calendar:hover svg {
  opacity: 1;
}

.contact-overlay.open .contact-overlay-calendar {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.54s;
}

.contact-overlay-calendar:hover {
  color: rgba(94,207,177,1);
  border-color: rgba(94,207,177,0.65);
  background: rgba(94,207,177,0.06);
}

.contact-overlay-socials {
  display: flex;
  gap: 28px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1);
}

.contact-overlay.open .contact-overlay-socials {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.58s;
}

.contact-overlay-socials a {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(239,249,246,0.35);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-overlay-socials a:hover {
  color: var(--teal);
}

.contact-overlay-dismiss {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(94,207,177,0.3);
  opacity: 0;
  transition: opacity 0.5s ease;
  white-space: nowrap;
  z-index: 1;
}

.contact-overlay.open .contact-overlay-dismiss {
  opacity: 1;
  transition-delay: 0.7s;
}

/* ── THEME TOGGLE BOUNCE (mobile light mode hint) ── */
@keyframes themeBounce {
  0%   { transform: translateY(0) scale(1); }
  25%  { transform: translateY(-7px) scale(1.12); }
  45%  { transform: translateY(0) scale(1); }
  65%  { transform: translateY(-4px) scale(1.06); }
  80%  { transform: translateY(0) scale(1); }
  90%  { transform: translateY(-2px) scale(1.03); }
  100% { transform: translateY(0) scale(1); }
}

.theme-toggle.bounce-hint {
  animation: themeBounce 1.1s cubic-bezier(0.36, 0.07, 0.19, 0.97) forwards;
  animation-iteration-count: 3;
  border-color: var(--teal);
  color: var(--teal);
}

/* ── MOBILE ── */
@media (max-width: 768px) {

  nav {
    grid-template-columns: 1fr auto;
  }

  .pricing-panel { display: none; }

  nav .nav-logo {
    border-right: none;
  }

  nav .nav-links {
    display: none;
  }

  nav .nav-cta {
    padding: 14px 16px;
    border-left: 1px solid var(--border);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: calc(100svh - 49px);
  }

  .hero-text {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 40px 24px;
  }

  .hero-heading {
    font-size: clamp(48px, 14vw, 72px);
  }

  .hero-right {
    padding: 28px 24px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero-right .corner-dot { display: none; }

  .hero-stat {
    font-size: 10px;
    margin-top: 0;
  }

  .section-label {
    padding: 12px 20px;
  }

  .pricing {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    padding: 36px 24px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .pricing-card:last-child { border-bottom: none; }

  .pricing-price {
    font-size: 40px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }

  .portfolio-item {
    padding: 24px 20px;
  }

  .portfolio-item:nth-child(3n) {
    border-right: 1px solid var(--border);
  }

  .portfolio-item:nth-child(2n) {
    border-right: none;
  }

  .portfolio-item:nth-last-child(-n+3) {
    border-bottom: 1px solid var(--border);
  }

  .portfolio-item:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .portfolio-item-num {
    margin-bottom: 24px;
  }

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

  .footer-col {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 28px 24px;
  }

  .footer-col:last-child { border-bottom: none; }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
  }
}

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

  .portfolio-item {
    border-right: none !important;
    border-bottom: 1px solid var(--border) !important;
  }

  .portfolio-item:last-child {
    border-bottom: none !important;
  }
}
