/* Global styles for the Vancouver Studio landing page */
:root {
  --bg: #efe6d8;
  --panel: #f7f0e4;
  --panel-strong: #ebdecc;
  --text: #3f3023;
  --text-strong: #2f2319;
  --accent: #8e5c3f;
  --accent-2: #b98963;
  --muted: #6f5946;
  --line: rgba(95, 72, 53, 0.2);
  --radius: 18px;
  --font-body: "Fustat", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: "Fustat", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-logo: "Lexend Deca", "Fustat", "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 10%, rgba(205, 176, 145, 0.42), transparent 42%),
    radial-gradient(circle at 88% 18%, rgba(173, 135, 103, 0.24), transparent 35%),
    linear-gradient(180deg, #f5ede0 0%, #eadbc8 100%);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  line-height: 1.6;
}

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

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

header,
section,
footer {
  padding: 3rem 0;
}

.header-inner,
.hero-content,
.hero-actions,
.grid {
  display: flex;
  flex-wrap: wrap;
}

.header-inner {
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  min-height: 52px;
}

.logo {
  font-size: 1rem;
  font-family: var(--font-logo);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-strong);
}

.nav-links {
  gap: 0.7rem;
  display: flex;
}

.nav-links a {
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.73rem;
  position: relative;
  transition: color 180ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.28rem;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, #6f442d, #b98963);
  transition: transform 220ms ease;
}

.nav-links a:hover {
  color: var(--text-strong);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.hero {
  min-height: 92vh;
  align-items: center;
  justify-content: center;
}

.hero-content {
  flex-direction: column;
  gap: 1rem;
  max-width: 720px;
}

.hero h1 {
  color: var(--text-strong);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin: 0;
}

.hero p {
  color: var(--muted);
  font-size: clamp(1rem, 2.3vw, 1.25rem);
  margin: 0;
}

.hero-actions {
  gap: 1rem;
}

.btn {
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.98rem;
  padding: 0.92rem 1.45rem;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(52, 34, 22, 0.2);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.primary {
  background: linear-gradient(92deg, #6f442d, #a6744f);
  color: #fff8ef;
  border-color: rgba(255, 236, 213, 0.2);
}

.secondary {
  background: #fff8ef;
  color: var(--text-strong);
  border-color: #1f1b18;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(52, 34, 22, 0.26);
  filter: saturate(1.05);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(52, 34, 22, 0.2);
}

.card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 14px 34px rgba(74, 52, 37, 0.13);
  transition: box-shadow 220ms ease, border-color 220ms ease;
}

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

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

h2 {
  margin: 0 0 0.75rem;
  color: var(--text-strong);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  line-height: 1.15;
}

h3 {
  margin-top: 0;
  font-weight: 600;
}

.feature-list,
.testimonials {
  margin-top: 1rem;
  gap: 1rem;
}

.feature-list li,
.testimonials .card {
  list-style: none;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 960px) {
  .grid-3,
  .footer-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
  }

  .logo {
    font-size: 0.88rem;
    letter-spacing: 0.03em;
  }

  .nav-links {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    white-space: nowrap;
    font-size: 0.68rem;
  }

  .hero-actions {
    width: 100%;
  }

  .btn {
    width: 100%;
    min-height: 46px;
    font-size: 0.9rem;
    padding: 0.82rem 1rem;
  }

  section,
  footer {
    padding: 2rem 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1100px, calc(100% - 1.25rem));
  }

  body {
    font-size: 1rem;
  }

  h2 {
    font-size: clamp(1.45rem, 6vw, 1.9rem);
  }

  .card {
    padding: 1rem;
    border-radius: 14px;
  }
}
