/* Basic reset & typography */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg-dark: #050608;
  --bg-darker: #020203;
  --bg-light: #f5f5f5;
  --accent: #c5a46d;
  --accent-soft: rgba(197, 164, 109, 0.18);
  --text-light: #f8f8f8;
  --text-muted: #b1b1b1;
  --text-dark: #131313;
  --nav-height: 64px;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Helvetica Neue", sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
}

/* Top navigation */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 40;
  display: flex;
  align-items: center;
  transition: background-color 250ms ease, backdrop-filter 250ms ease,
    box-shadow 250ms ease;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
}

.top-nav.scrolled {
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.nav-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  letter-spacing: 0.3em;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.8;
  transition: opacity 200ms ease;
}

.nav-links a:hover {
  opacity: 1;
}

/* Hero section with video */
.hero {
  position: relative;
  height: 100vh;
  min-height: 540px;
  overflow: hidden;
  color: var(--text-light);
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(0, 0, 0, 0.001), transparent),
    linear-gradient(to left,
      rgba(0,0,0,0.0) 0%,
      rgba(0,0,0,0.2) 33%,
      rgba(0,0,0,0.4) 66%,
      rgba(0,0,0,0.6) 100%
    );
  z-index: 1;
}

.hero-content {
  position: relative;
  height: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 3rem) 1.5rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.hero-tagline {
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.hero-title {
  font-size: clamp(2.4rem, 3.2vw + 1.5rem, 3.8rem);
  margin: 0 0 1rem;
  max-width: 24ch;
}

.hero-subtitle {
  max-width: 40ch;
  margin-bottom: 2.4rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Buttons */
.btn {
  border-radius: 999px;
  padding: 0.8rem 1.8rem;
  border: 1px solid transparent;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease,
    transform 120ms ease;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Scroll down indicator */
.scroll-down {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: transparent;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
}

.scroll-icon {
  font-size: 1.4rem;
  animation: float 1.4s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

/* Generic sections */
.section {
  padding: 4.5rem 1.5rem;
}

.section-dark {
  background: radial-gradient(circle at top, #141619, var(--bg-darker));
  color: var(--text-light);
}

.section-light {
  background: var(--bg-light);
  color: var(--text-dark);
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.9rem;
  margin-bottom: 0.8rem;
}

.section-lead {
  font-size: 1rem;
  margin-bottom: 2.4rem;
  color: var(--text-muted);
}

.section-dark .section-lead {
  color: var(--text-muted);
}

.section-light .section-lead {
  color: #777;
}

.section-narrow {
  max-width: 720px;
}

/* Cards (collection grid) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.8rem;
}

.card {
  background: radial-gradient(circle at top, #23252a, #121317);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  min-height: 260px;
}

.card-image {
  height: 160px;
  overflow: hidden;        /* extra safety so the top corners stay clean */
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* fills the area without distortion */
  display: block;
}

.card-body {
  padding: 1.25rem 1.4rem 1.4rem;
}

.card-title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.card-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-link:hover .card {
  transform: translateY(-2px);
}

/* Split section (craft) */
.section-split {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.split-text p {
  font-size: 0.97rem;
  line-height: 1.7;
  color: #555;
}

.section-dark .split-text p {
  color: var(--text-muted);
}

.split-media {
  position: relative;
  min-height: 260px;
}

.split-media-block {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(145deg, var(--accent-soft), #111319);
  border-radius: 22px;
  border: 1px solid rgba(197, 164, 109, 0.45);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.7);
  overflow: hidden; /* so the video respects the rounded corners */
}

.split-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Contact form */
.contact-form {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.8rem 1.8rem 2rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.2rem;
}

.form-field label {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  color: #555;
}

.form-field input,
.form-field textarea {
  border-radius: 12px;
  border: 1px solid #ddd;
  padding: 0.7rem 0.9rem;
  font-size: 0.95rem;
  font-family: inherit;
  resize: vertical;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(197, 164, 109, 0.3);
}

/* Footer */
.footer {
  background: #050608;
  color: var(--text-muted);
  padding: 1.3rem 1.5rem;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.footer-links a {
  margin-left: 1.2rem;
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

/* Responsiveness */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* simple version — you can add a hamburger later */
  }

  .hero-content {
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 3.5rem;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .section-split {
    grid-template-columns: 1fr;
  }

  .split-media {
    min-height: 220px;
  }
}

/* Site map */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: .5rem;
  align-items: flex-start;
}

.sitemap-column {
  min-width: 0;
}

.sitemap-heading {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  color: #888;
}

.section-dark .sitemap-heading {
  color: var(--text-muted);
}

.sitemap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sitemap-list li {
  font-size: 0.92rem;
}

.sitemap-list a {
  text-decoration: none;
  color: inherit;
  opacity: 0.9;
}

.section-light .sitemap-list a {
  color: #222;
}

.section-dark .sitemap-list a {
  color: var(--text-light);
}

.sitemap-list a:hover {
  opacity: 1;
  text-decoration: underline;
}

.sitemap-list-external li {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  margin-bottom: 0.3rem;
}

.sitemap-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #999;
}

.sitemap-address {
  font-family: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  font-size: 0.86rem;
  word-break: break-all;
  color: #333;
}

/* Center the Site Map section */
#links .section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;   /* centers everything horizontally */
}

#links .section-title,
#links .section-lead {
  text-align: center;    /* center the heading + blurb */
}

#links .sitemap-grid {
  width: 100%;
  max-width: 820px;
  margin: 1.5rem auto 0;   /* auto left/right = centered block */
  justify-items: center;   /* center the columns inside the grid */
}