/* =========================================================
   UNICORN HOSPITALITY - Stylesheet
   Palette: deep navy + warm gold + soft beige
   ========================================================= */

:root {
  --navy: #0f1b2d;
  --navy-800: #16243a;
  --navy-700: #1f2f4a;
  --gold: #c9a35a;
  --gold-light: #e2c98a;
  --gold-dark: #a9853f;
  --beige: #f6f1e8;
  --beige-dark: #ece4d6;
  --ivory: #fdfbf7;
  --white: #ffffff;
  --text: #2a3140;
  --text-muted: #6b7280;
  --text-light: #cbd2dd;
  --border: rgba(15, 27, 45, 0.08);

  --font-head: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 4px 14px rgba(15, 27, 45, 0.06);
  --shadow-md: 0 14px 40px rgba(15, 27, 45, 0.10);
  --shadow-lg: 0 24px 60px rgba(15, 27, 45, 0.18);

  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--navy);
  letter-spacing: 0.005em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1.1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 32px);
}

.section { padding-block: clamp(72px, 10vw, 120px); }
.section-alt { background: var(--beige); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.eyebrow-light { color: var(--gold-light); }

.section-head {
  max-width: 680px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.section-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  color: var(--navy);
  box-shadow: 0 10px 28px rgba(201, 163, 90, 0.35);
}
.btn-primary:hover { box-shadow: 0 16px 36px rgba(201, 163, 90, 0.45); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); border-color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 22px;
  transition: padding 0.4s var(--ease), background 0.4s, box-shadow 0.4s;
}
.site-header.scrolled {
  padding-block: 12px;
  background: rgba(15, 27, 45, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(201, 163, 90, 0.7);
  color: var(--gold);
}
.brand-mark svg { width: 18px; height: 18px; }
.brand-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.14em;
  line-height: 1;
}
.brand-text span { color: var(--gold); font-weight: 500; }

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  position: relative;
  transition: color 0.3s;
}
.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:not(.nav-cta):hover { color: var(--white); }
.nav a:not(.nav-cta):hover::after,
.nav a.active::after { transform: scaleX(1); }

.nav-cta {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  transition: background 0.3s, color 0.3s !important;
}
.nav-cta:hover { background: var(--gold); color: var(--navy) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin-inline: auto;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--navy) url("https://images.unsplash.com/photo-1511795409834-ef04bbd61622?auto=format&fit=crop&w=2000&q=80") center / cover no-repeat;
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 27, 45, 0.88) 0%, rgba(15, 27, 45, 0.7) 45%, rgba(15, 27, 45, 0.35) 100%),
    linear-gradient(180deg, rgba(15, 27, 45, 0.5) 0%, rgba(15, 27, 45, 0.1) 40%, rgba(15, 27, 45, 0.75) 100%);
}
.hero-content {
  padding-block: 140px 100px;
  max-width: 820px;
  margin-inline: 0;
  margin-left: max(calc((100% - var(--container)) / 2), 0px);
}
.hero .eyebrow { color: var(--gold-light); }
.hero h1 { color: var(--white); margin-bottom: 0.35em; }
.hero-sub {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 500;
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: 1em;
}
.hero-text {
  max-width: 600px;
  font-size: 1.02rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.2em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}
.scroll-hint span {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: var(--gold);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.about-media {
  position: relative;
}
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.about-media::before {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.7;
}
.about-badge {
  position: absolute;
  left: -20px;
  bottom: 40px;
  background: var(--navy);
  color: var(--white);
  padding: 22px 26px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 3px solid var(--gold);
}
.about-badge-num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.about-badge-label {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--text-light);
}
.about-copy p { color: var(--text-muted); font-size: 1.05rem; }
.about-points {
  margin: 26px 0 34px;
  display: grid;
  gap: 12px;
}
.about-points li {
  position: relative;
  padding-left: 30px;
  font-weight: 500;
  color: var(--navy);
}
.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center / 100% no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center / 100% no-repeat;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.service-card:hover,
.service-card.in-view:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 163, 90, 0.35);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--beige);
  color: var(--gold-dark);
  margin-bottom: 22px;
  transition: background 0.3s, color 0.3s, transform 0.45s var(--ease);
}
.service-icon svg { width: 28px; height: 28px; }
.service-card:hover .service-icon {
  background: var(--navy);
  color: var(--gold);
  transform: rotate(-6deg) scale(1.05);
}
.service-card h3 { margin-bottom: 0.4em; }
.service-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.97rem;
}

/* ---------- Our Work (gallery) ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(150px, 19vw, 230px);
  grid-auto-flow: dense;
  gap: 16px;
}
.work-tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy-800);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.work-tile:hover,
.work-tile.in-view:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.work-tile:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.tile-featured { grid-column: span 2; grid-row: span 2; }
.tile-tall { grid-row: span 2; }
.tile-wide { grid-column: span 2; }

.work-tile img,
.work-tile video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transition: transform 1.2s var(--ease);
}
.tile-featured img { object-position: center 55%; }
.tile-video video { object-position: center; }
.work-tile:hover img,
.work-tile:hover video { transform: scale(1.06); }

.work-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 27, 45, 0) 40%, rgba(15, 27, 45, 0.88) 100%);
  opacity: 0.85;
  transition: opacity 0.4s;
}
.work-tile:hover::after { opacity: 1; }

.work-tile figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 18px 20px;
  color: var(--white);
  display: grid;
  gap: 2px;
  transform: translateY(6px);
  transition: transform 0.5s var(--ease);
}
.work-tile:hover figcaption { transform: translateY(0); }
.work-tag {
  display: inline-block;
  width: max-content;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.work-tag-live { background: var(--white); }
.work-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
}
.tile-featured .work-title { font-size: 1.7rem; }
.work-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease), opacity 0.4s;
}
.work-tile:hover .work-desc { max-height: 60px; opacity: 1; }
.tile-featured .work-desc { max-height: 60px; opacity: 1; }

.work-play {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 2;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(15, 27, 45, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
  color: var(--white);
  display: grid;
  place-items: center;
  transition: background 0.3s, transform 0.4s var(--ease);
}
.work-play svg { width: 20px; height: 20px; margin-left: 2px; }
.work-tile:hover .work-play { background: var(--gold); color: var(--navy); transform: scale(1.08); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 14, 25, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s;
}
.lightbox.open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lb-figure {
  margin: 0;
  max-width: min(1100px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lb-media {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  display: grid;
  place-items: center;
}
.lb-media img,
.lb-media video {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  width: auto;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  animation: lbIn 0.4s var(--ease);
}
@keyframes lbIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
.lb-caption {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--gold-light);
  text-align: center;
}
.lb-close, .lb-nav {
  position: absolute;
  z-index: 2;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.lb-close svg, .lb-nav svg { width: 22px; height: 22px; }
.lb-close:hover, .lb-nav:hover { background: var(--gold); color: var(--navy); }
.lb-close { top: 20px; right: 20px; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }

/* ---------- Why Us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.why-item {
  padding: 32px 28px;
  border-top: 1px solid var(--gold);
  position: relative;
}
.why-num {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--gold);
  opacity: 0.6;
  line-height: 1;
  display: block;
  margin-bottom: 18px;
}
.why-item h3 { font-size: 1.3rem; }
.why-item p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(201, 163, 90, 0.18), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(201, 163, 90, 0.10), transparent 50%),
    var(--navy);
  color: var(--white);
}
.contact h2 { color: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact-lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  max-width: 460px;
  margin-bottom: 40px;
}
.contact-list { display: grid; gap: 24px; }
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.contact-list li > div { padding-top: 4px; line-height: 1.5; }
.contact-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(201, 163, 90, 0.55);
  display: grid;
  place-items: center;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.03);
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 2px;
}
.contact-list a, .contact-list span:not(.contact-icon):not(.contact-label) {
  color: var(--white);
  font-weight: 500;
  transition: color 0.3s;
}
.contact-list a:hover { color: var(--gold-light); }

.contact-form {
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field { display: grid; gap: 7px; }
.form-field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--beige-dark);
  border-radius: var(--radius-sm);
  background: var(--ivory);
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  outline: none;
  min-width: 0;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(201, 163, 90, 0.18);
}
.form-field input.invalid,
.form-field textarea.invalid { border-color: #d9534f; }
.contact-form .btn { margin-top: 6px; }
.form-note {
  margin: 0;
  min-height: 1.4em;
  font-size: 0.9rem;
  text-align: center;
  color: var(--gold-dark);
}
.form-note.error { color: #c0392b; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0a1320;
  color: var(--text-light);
  padding-block: 44px;
  border-top: 1px solid rgba(201, 163, 90, 0.18);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.footer-brand .brand-text { color: var(--white); }
.footer-brand p {
  margin: 12px 0 0;
  font-size: 0.9rem;
  color: rgba(203, 210, 221, 0.7);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.footer-nav a {
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  transition: color 0.3s;
}
.footer-nav a:hover { color: var(--gold); }
.footer-copy {
  margin: 0;
  font-size: 0.82rem;
  text-align: right;
  color: rgba(203, 210, 221, 0.6);
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  border: 1px solid rgba(201, 163, 90, 0.5);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s, transform 0.35s var(--ease), visibility 0.35s, background 0.3s;
  z-index: 90;
}
.back-to-top svg { width: 20px; height: 20px; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--gold); color: var(--navy); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg { animation: none; }
  .scroll-hint span { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-copy { text-align: center; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    height: 100dvh;
    width: min(320px, 82vw);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 40px 36px;
    background: var(--navy);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.35);
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    z-index: 99;
  }
  .nav.open { transform: translateX(0); }
  .nav a { font-size: 1.1rem; }
  .nav-cta { margin-top: 8px; }
  .site-header { background: transparent; }
  .site-header .header-inner { position: relative; z-index: 100; }

  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-media { max-width: 480px; margin-inline: auto; }
  .about-media::before { inset: 16px -16px -16px 16px; }
  .about-badge { left: 12px; bottom: 24px; }

  .contact-grid { grid-template-columns: 1fr; }
  .hero-content { padding-block: 130px 90px; }

  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: clamp(150px, 26vw, 230px);
  }
  .tile-featured { grid-column: span 2; grid-row: span 2; }
  .tile-wide { grid-column: span 2; }
  .lb-nav { width: 42px; height: 42px; }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .hero-actions .btn { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 12px; }
  .why-item { padding: 26px 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 30px 24px 28px; }
  .about-badge { padding: 16px 20px; }
  .about-badge-num { font-size: 1.9rem; }
  .scroll-hint { display: none; }
  .back-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }

  .work-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 14px;
  }
  .work-tile,
  .tile-featured,
  .tile-tall,
  .tile-wide { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
  .tile-featured { aspect-ratio: 3 / 2; }
  .tile-tall { aspect-ratio: 4 / 5; }
  .tile-wide { aspect-ratio: 2 / 1; }
  .work-tile .work-desc { max-height: 60px; opacity: 1; }
  .work-tile figcaption { transform: none; padding: 14px 16px; }
  .lightbox { padding: 12px; }
  .lb-close { top: 10px; right: 10px; width: 42px; height: 42px; }
  .lb-nav { top: auto; bottom: 14px; transform: none; }
}
