:root {
  color-scheme: dark;
  --bg: #101318;
  --surface: #181f26;
  --surface-strong: #232b33;
  --text: #f7f7f7;
  --muted: #a9b1b8;
  --accent: #caa43a;
  --accent-dark: #a07e28;
  --border: rgba(255,255,255,0.08);
  --shadow: 0 30px 80px rgba(0,0,0,0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-image: url('images/background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(202,164,58,0.18), transparent 25%),
              linear-gradient(180deg, rgba(12,13,16,0.85), rgba(10,12,15,0.96));
  pointer-events: none;
  z-index: -1;
}

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

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

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 60px);
  position: sticky;
  top: 0;
  background: rgba(15, 18, 22, 0.92);
  backdrop-filter: blur(14px);
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-icon {
  width: 78px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  padding: 4px;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.06));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1), 0 14px 26px rgba(0,0,0,0.26);
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.contact-graphic img {
  width: 120px;
  height: auto;
  display: block;
  border-radius: 24px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.35));
}

.brand h1 {
  margin: 0;
  font-size: 1.35rem;
}

.brand p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.24);
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 1fr);
  gap: 48px;
  align-items: center;
  padding: 80px clamp(20px, 5vw, 60px);
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--accent);
  font-size: 0.82rem;
  margin: 0 0 18px;
}

.hero h2 {
  margin: 0;
  font-size: clamp(3rem, 4vw, 4.5rem);
  line-height: 0.95;
}

.hero p {
  margin: 24px 0 0;
  max-width: 33rem;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 26px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #b5882b);
  color: #101318;
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.hero-image,
.gallery-photo img,
.about-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  max-width: 100%;
  border-radius: 32px;
  transition: transform 0.25s ease;
}

.hero-image {
  max-height: none;
}

.gallery-photo img:hover {
  transform: scale(1.05);
}

.hero-image:hover {
  transform: scale(1.02);
}

.hero-image {
  max-height: 512px;
}

.hero-visual {
  min-height: 280px;
  max-height: 420px;
  border-radius: 32px;
}

.gallery-photo {
  min-height: auto;
  max-height: none;
  overflow: hidden;
  background: transparent;
}

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: auto;
  max-height: none;
  overflow: hidden;
}

.feature-grid,
.gallery,
.about,
.contact {
  padding: 60px clamp(20px, 5vw, 60px);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.16);
}

.feature-title {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 36px;
}

.section-heading h3 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 3vw, 3rem);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.gallery-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.14);
  display: flex;
  flex-direction: column;
}

.gallery-photo {
  min-height: 0;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
}

.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.photo-1 {
  background-image: radial-gradient(circle at center, rgba(202,164,58,0.22), transparent 30%),
                    linear-gradient(180deg, #20272f 0%, #14191f 100%);
}

.photo-2 {
  background-image: radial-gradient(circle at center, rgba(255,255,255,0.08), transparent 20%),
                    linear-gradient(180deg, #262d32 0%, #171c20 100%);
}

.photo-3 {
  background-image: linear-gradient(135deg, rgba(202,164,58,0.16), transparent 40%),
                    linear-gradient(180deg, #1f252b 0%, #13181c 100%);
}

.gallery-item h4 {
  margin: 20px 20px 8px;
}

.gallery-item p {
  margin: 0 20px 20px;
  color: var(--muted);
  line-height: 1.65;
}

.workshop-feature {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
  gap: 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.14);
}

.workshop-feature .gallery-photo {
  aspect-ratio: 1 / 1;
}

.workshop-copy {
  padding: 24px 24px 24px 26px;
}

.workshop-copy h4 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.workshop-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 42px;
  align-items: center;
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-copy h3 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 3vw, 3.2rem);
}

.about-copy p {
  max-width: 38rem;
  color: var(--muted);
  line-height: 1.8;
}

.about-copy ul {
  margin: 24px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.85;
}

.about-copy li {
  margin-bottom: 12px;
}

.about-btn {
  align-self: start;
  margin-top: 16px;
}

.about-visual {
  min-height: 340px;
  max-height: none;
  border-radius: 32px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-visual img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 32px;
  padding: 32px clamp(24px, 5vw, 60px);
}

.contact h3 {
  margin: 10px 0 0;
  font-size: 2.1rem;
}

.contact p {
  margin: 14px 0 0;
  color: var(--muted);
  max-width: 42rem;
}

.site-footer {
  padding: 26px clamp(20px, 5vw, 60px);
  text-align: center;
  color: rgba(255,255,255,0.6);
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 930px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 56px;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact {
    flex-direction: column;
    align-items: flex-start;
  }

  .feature-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact {
    padding: 48px clamp(24px, 6vw, 48px);
  }

  .contact .btn {
    align-self: center;
    margin-inline: auto;
    max-width: 100%;
  }

  .about-btn {
    align-self: center;
    margin-inline: auto;
  }

  .workshop-feature {
    grid-template-columns: minmax(0, 1fr);
  }

  .workshop-feature .gallery-photo {
    aspect-ratio: 16 / 10;
  }

  .workshop-copy {
    padding: 20px;
  }
}

@media (max-width: 860px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 18px clamp(16px, 5vw, 28px);
  }

  .brand {
    min-width: 0;
    gap: 10px;
  }

  .brand > div:last-child {
    min-width: 0;
  }

  .brand h1 {
    font-size: 1.1rem;
    line-height: 1.05;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand p {
    font-size: 0.82rem;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .site-nav {
    grid-column: 1 / -1;
    width: 100%;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    transform: translateY(-8px);
    margin-top: 0;
    padding: 0 16px;
    background: rgba(13, 17, 21, 0.92);
    border: 1px solid transparent;
    border-radius: 16px;
    transition: max-height 0.32s ease, opacity 0.22s ease, transform 0.32s ease, margin-top 0.22s ease, padding 0.22s ease;
  }

  .site-nav a {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 12px 0;
    font-size: 0.96rem;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: 0;
    justify-self: end;
  }

  .site-header.nav-open .site-nav {
    max-height: 320px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    margin-top: 8px;
    padding: 6px 16px;
    border-color: rgba(255,255,255,0.08);
  }

  .site-header.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 660px) {
  .feature-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 48px;
  }

  .contact {
    padding: 32px clamp(20px, 6vw, 32px);
  }

  .brand-icon {
    width: 68px;
    height: 46px;
  }

  .brand-icon img {
    width: 100%;
    height: 100%;
  }

  .brand h1 {
    font-size: 1.05rem;
  }

  .brand p {
    font-size: 0.78rem;
  }

  .site-nav a {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .hero h2 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
  }

  .hero p {
    font-size: 0.95rem;
  }

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

  .about-copy h3 {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }

  .feature-card {
    padding: 20px;
  }

  .contact h3 {
    font-size: 1.8rem;
  }

  .contact p {
    font-size: 0.95rem;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}
