:root {
  --bg: #0b1416;
  --bg-soft: #152227;
  --card: #1b2a30;
  --text: #f7f1e3;
  --muted: #c9c1ad;
  --accent: #f5b148;
  --accent-2: #1f9d7a;
  --ring: var(--accent);
  --shadow: rgba(6, 12, 14, 0.6);
  --max-width: 1120px;
}

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

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 8% 10%, #1a3431 0%, transparent 60%),
    radial-gradient(900px 500px at 90% 5%, #3a2b17 0%, transparent 55%),
    linear-gradient(180deg, #0b1416 0%, #0e191c 100%);
  min-height: 100vh;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

.page {
  position: relative;
  overflow-x: hidden;
}

.page::before {
  content: "";
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.04) 1px,
    transparent 1px,
    transparent 16px
  );
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.splash-body {
  cursor: pointer;
  overflow: hidden;
}

.splash-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
  transition: transform 0.65s ease, opacity 0.65s ease;
}

.splash-body.is-leaving .splash-shell {
  transform: translateY(-100vh);
  opacity: 0;
}

.splash-display {
  position: relative;
  z-index: 1;
  padding: 3.2rem 4.2rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
  box-shadow: 0 30px 70px var(--shadow);
  text-align: center;
}

.splash-title {
  font-family: "Fraunces", "Georgia", serif;
  font-size: clamp(2.6rem, 8vw, 5rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

.splash-hint {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.container {
  width: min(var(--max-width), 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero {
  padding: 3rem 0 5rem;
}

.catalog-hero {
  padding-bottom: 3.5rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
}

.brand {
  font-family: "Fraunces", "Georgia", serif;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.nav-info {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: #1c1307;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 177, 72, 0.5);
  background: var(--accent);
  box-shadow: 0 10px 20px rgba(245, 177, 72, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.nav-links a:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(245, 177, 72, 0.3);
  filter: brightness(1.05);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
}

.home-page .nav {
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.home-page .nav-links {
  justify-content: center;
}

.home-page .hero-grid {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.home-page .lead {
  margin-left: auto;
  margin-right: auto;
}

.home-page .hero-actions {
  justify-content: center;
}

.hero-text {
  animation: fadeSlide 0.9s ease both;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

h1,
h2,
h3 {
  font-family: "Fraunces", "Georgia", serif;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  line-height: 1.1;
}

.lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 34rem;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button,
.ghost {
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button {
  background: var(--accent);
  color: #1c1307;
  box-shadow: 0 14px 30px rgba(245, 177, 72, 0.35);
}

.ghost {
  border: 1px solid rgba(245, 177, 72, 0.55);
  color: #1c1307;
  background: var(--accent);
  box-shadow: 0 12px 26px rgba(245, 177, 72, 0.28);
}

.button:hover,
.ghost:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.2);
}

.profile-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 25px 60px var(--shadow);
  display: grid;
  gap: 1.5rem;
  animation: fadeSlide 0.9s ease both;
  animation-delay: 0.2s;
}

.profile-ring {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  padding: 6px;
  background: conic-gradient(
    from 210deg,
    var(--ring),
    #1bb56e,
    var(--ring),
    #1bb56e,
    var(--ring)
  );
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.06), 0 18px 40px var(--shadow);
  margin: 0 auto;
}

.profile-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #0d1719;
}

.profile-actions {
  display: flex;
  justify-content: center;
}

.social-button {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, #f58529, #dd2a7b 45%, #8134af 70%, #515bd4);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 16px 30px rgba(221, 42, 123, 0.35);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.social-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.social-icon {
  width: 18px;
  height: 18px;
}

.profile-meta h2 {
  margin-bottom: 0.5rem;
}

.profile-meta p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.profile-tags span {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(31, 157, 122, 0.15);
  color: #b8e8d4;
  font-size: 0.85rem;
}

.section {
  padding: 4.5rem 0;
}

.catalog-intro {
  max-width: 40rem;
  animation: fadeSlide 0.9s ease both;
}

.catalog-card {
  display: block;
  padding: 0;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px var(--shadow);
  overflow: hidden;
}

.catalog-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.8rem 2.2rem;
  cursor: pointer;
  list-style: none;
  background: rgba(255, 255, 255, 0.03);
}

.catalog-summary::-webkit-details-marker {
  display: none;
}

.catalog-summary::marker {
  content: "";
}

.catalog-summary:hover {
  background: rgba(255, 255, 255, 0.06);
}

.catalog-summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 18px;
}

.catalog-summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--accent);
}

.catalog-card[open] .catalog-summary::after {
  content: "-";
}

.catalog-card[open] .catalog-summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.catalog-summary-text {
  display: grid;
  gap: 0.35rem;
}

.catalog-summary-text h2 {
  margin: 0;
}

.catalog-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.catalog-content {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(280px, 1.2fr);
  gap: 2.2rem;
  padding: 1.6rem 2.2rem 2.2rem;
}

.catalog-details p {
  color: var(--muted);
}

.catalog-specs {
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.9rem;
}

.catalog-specs div {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 0.9rem;
}

.catalog-specs dt {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.catalog-specs dd {
  margin: 0;
  font-weight: 600;
}

.catalog-gallery {
  align-self: center;
}

.catalog-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}

.stat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1rem;
}

.stat-value {
  display: block;
  font-weight: 600;
  font-size: 1rem;
}

.stat-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.quote-card {
  background: var(--card);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 50px var(--shadow);
}

.quote-card p {
  font-size: 1.1rem;
  margin: 0 0 1rem;
}

.quote-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

.showcase {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.section-lead {
  max-width: 40rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.6rem;
}

.gallery-item {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(8, 14, 16, 0.45);
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeSlide 0.8s ease both;
}

.gallery-item:nth-child(1) {
  animation-delay: 0.1s;
}

.gallery-item:nth-child(2) {
  animation-delay: 0.2s;
}

.gallery-item:nth-child(3) {
  animation-delay: 0.3s;
}

.gallery-item:nth-child(4) {
  animation-delay: 0.4s;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.5);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  cursor: zoom-in;
}

figcaption {
  padding: 0.9rem 1.1rem 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.focus {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  align-items: start;
}

.home-page .focus {
  grid-template-columns: 1fr;
  text-align: center;
}

.home-page .focus-panel {
  margin: 0 auto;
  max-width: 520px;
}

.home-page .focus-panel ul {
  text-align: left;
}

.focus-panel {
  background: rgba(245, 177, 72, 0.08);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(245, 177, 72, 0.25);
}

.focus-panel h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.focus-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
  color: var(--muted);
}

.focus-panel li {
  position: relative;
  padding-left: 1.4rem;
}

.focus-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
}

.footer {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 8, 10, 0.6);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer strong {
  display: block;
  color: var(--text);
  letter-spacing: 0.08em;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 10, 0.85);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  background: #0d1719;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  padding: 1.5rem;
  width: min(92vw, 980px);
  max-height: 92vh;
  display: grid;
  gap: 0.8rem;
}

.lightbox-content img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 12px;
}

.lightbox-caption {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.lightbox-close {
  justify-self: end;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  border-radius: 999px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.18);
}

.no-scroll {
  overflow: hidden;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 800px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .profile-ring {
    margin: 0;
  }

  .profile-actions {
    justify-content: flex-start;
  }

  .profile-card {
    align-items: flex-start;
  }

  .catalog-content {
    grid-template-columns: 1fr;
  }

  .splash-display {
    padding: 2.4rem 2.6rem;
  }

  .splash-hint {
    letter-spacing: 0.2em;
  }
}

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