/* ============================================
   GLAZE & GRIND — Styles
   Palette: Midnight Blue (#0A1628) + Mint (#A7F3D0)
   Fonts: Inter + Playfair Display
   ============================================ */

/* ---------- RESET ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: #0A1628;
  background-color: #FAFBFA;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ---------- SKIP LINK ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: #0A1628;
  color: #A7F3D0;
  border-radius: 0 0 6px 6px;
  z-index: 200;
  font-size: 0.875rem;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* ---------- CONTAINER ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #34D399;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: #0A1628;
  margin-bottom: 1.5rem;
}

.section-desc {
  font-size: 1.0625rem;
  color: #374151;
  max-width: 540px;
  line-height: 1.8;
}

.text-mint {
  color: #34D399;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.75rem;
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
}

.btn-mint {
  background: #34D399;
  color: #0A1628;
}
.btn-mint:hover {
  background: #6EE7B7;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(52, 211, 153, 0.35);
}

.btn-outline-light {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn-outline-light:hover {
  border-color: #A7F3D0;
  color: #A7F3D0;
}

.btn-outline-dark {
  background: transparent;
  color: #0A1628;
  border: 1px solid rgba(10, 22, 40, 0.25);
}
.btn-outline-dark:hover {
  border-color: #0A1628;
}

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 251, 250, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(10, 22, 40, 0.06);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled {
  box-shadow: 0 1px 20px rgba(10, 22, 40, 0.06);
}

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

/* ---------- LOGO ---------- */
.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.logo-icon {
  color: #34D399;
}

.logo-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1875rem;
  font-weight: 500;
  color: #0A1628;
  letter-spacing: -0.01em;
}
.logo-text em {
  font-style: italic;
  color: #34D399;
  font-weight: 400;
}

/* ---------- NAV ---------- */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav a {
  font-size: 0.875rem;
  font-weight: 400;
  color: #374151;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #34D399;
  transition: width 0.3s ease;
}
.main-nav a:hover {
  color: #0A1628;
}
.main-nav a:hover::after {
  width: 100%;
}

/* ---------- NAV TOGGLE ---------- */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.2s;
}
.nav-toggle:hover {
  background: rgba(10, 22, 40, 0.05);
}

.hamburger {
  position: relative;
  width: 20px;
  height: 14px;
  display: block;
}
.hamburger::before,
.hamburger::after,
.hamburger span {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: #0A1628;
  transition: all 0.3s ease;
}
.hamburger::before { top: 0; }
.hamburger span { top: 50%; transform: translateY(-50%); }
.hamburger::after { bottom: 0; }

.nav-toggle[aria-expanded="true"] .hamburger::before {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger span {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: #0A1628;
  overflow: hidden;
  padding: 6rem 0 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(52, 211, 153, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(167, 243, 208, 0.05) 0%, transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  padding-right: 1rem;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #34D399;
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  color: #FAFBFA;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.hero-desc {
  font-size: 1.0625rem;
  color: rgba(250, 251, 250, 0.6);
  line-height: 1.8;
  max-width: 440px;
  margin-bottom: 2.5rem;
}

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

/* ---------- HERO VISUAL ---------- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card--main {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
  width: 100%;
  max-width: 420px;
  aspect-ratio: 5 / 6.2;
}
.hero-card--main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stat-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.125rem 1.375rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.stat-card--1 {
  top: 8%;
  right: -12%;
  animation: float-slow 6s ease-in-out infinite;
}

.stat-card--2 {
  bottom: 22%;
  left: -10%;
  animation: float-slow 6s ease-in-out 2s infinite;
}

.stat-card--3 {
  bottom: 4%;
  right: -6%;
  animation: float-slow 6s ease-in-out 4s infinite;
}

.stat-number {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #0A1628;
  line-height: 1.2;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: #6B7280;
  line-height: 1.4;
  margin-top: 0.25rem;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(250, 251, 250, 0.35);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.hero-scroll-hint svg {
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(4px); opacity: 1; }
}

/* ---------- ABOUT ---------- */
.about {
  padding: 8rem 0;
  background: #FAFBFA;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content .section-desc {
  margin-bottom: 1.5rem;
}

.about-content p {
  color: #374151;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.about-signature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(10, 22, 40, 0.08);
  color: #6B7280;
  font-size: 0.875rem;
}
.about-signature svg {
  color: #34D399;
  flex-shrink: 0;
}

/* ---------- OFFERINGS ---------- */
.offerings {
  padding: 8rem 0;
  background: #0A1628;
}

.offerings .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.offerings .section-title {
  color: #FAFBFA;
}

.offerings .section-desc {
  color: rgba(250, 251, 250, 0.55);
  margin: 0 auto;
}

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.offering-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
}
.offering-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(167, 243, 208, 0.2);
  transform: translateY(-4px);
}

.offering-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.offering-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.offering-card:hover .offering-card-img img {
  transform: scale(1.04);
}

.offering-card-body {
  padding: 1.75rem;
}

.offering-card-title {
  font-size: 1.25rem;
  color: #FAFBFA;
  margin-bottom: 0.625rem;
}

.offering-card-desc {
  font-size: 0.9375rem;
  color: rgba(250, 251, 250, 0.5);
  line-height: 1.7;
}

/* ---------- CRAFT ---------- */
.craft {
  padding: 8rem 0;
  background: #FAFBFA;
}

.craft-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.craft-content .section-desc {
  margin-bottom: 2rem;
}

.craft-desc {
  color: #374151;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.craft-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.craft-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.9375rem;
  color: #374151;
  line-height: 1.5;
}

.craft-list-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #34D399;
  margin-top: 2px;
}

.craft-image {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 5 / 6.4;
}
.craft-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- VISIT ---------- */
.visit {
  padding: 8rem 0;
  background: #F1F5F1;
}

.visit-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.visit-info .section-desc {
  margin-bottom: 2.5rem;
}

.visit-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.visit-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.visit-detail-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(52, 211, 153, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #34D399;
}

.visit-detail-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6B7280;
  margin-bottom: 0.25rem;
}

.visit-detail p,
.visit-detail a {
  font-size: 0.9375rem;
  color: #0A1628;
  line-height: 1.6;
}
.visit-detail a:hover {
  color: #34D399;
  text-decoration: underline;
}

.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------- MAP ---------- */
.visit-map {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1;
  background: #0A1628;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder {
  text-align: center;
  padding: 2rem;
  color: rgba(250, 251, 250, 0.7);
}
.map-placeholder svg {
  color: #34D399;
  margin: 0 auto 1rem;
  opacity: 0.7;
}
.map-placeholder p {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: #0A1628;
  padding: 4rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.footer-brand .logo-text {
  color: #FAFBFA;
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(250, 251, 250, 0.45);
  margin-top: 0.5rem;
}

.footer-contact {
  font-size: 0.875rem;
  color: rgba(250, 251, 250, 0.5);
  line-height: 1.8;
}
.footer-contact a {
  color: #34D399;
  transition: color 0.2s;
}
.footer-contact a:hover {
  color: #6EE7B7;
}

.footer-copy {
  font-size: 0.8125rem;
  color: rgba(250, 251, 250, 0.25);
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  width: 100%;
  text-align: center;
}

/* ---------- SCROLL REVEAL (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fallback: always visible if JS disabled or reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-grid {
    gap: 2.5rem;
  }
  .hero-card--main {
    max-width: 340px;
  }
  .stat-card--1 { right: -4%; }
  .stat-card--2 { left: -4%; }
  .stat-card--3 { right: -2%; }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }

  /* Nav mobile */
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(250, 251, 250, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.5rem 1.25rem;
    border-bottom: 1px solid rgba(10, 22, 40, 0.08);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .main-nav li {
    width: 100%;
  }
  .main-nav a {
    display: block;
    padding: 0.875rem 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(10, 22, 40, 0.06);
  }
  .main-nav a::after {
    display: none;
  }
  .main-nav .btn {
    margin-top: 1rem;
    justify-content: center;
  }

  /* Hero */
  .hero {
    padding: 7rem 0 3rem;
    min-height: auto;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-content {
    padding-right: 0;
    text-align: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual {
    order: -1;
    justify-content: center;
  }
  .hero-card--main {
    max-width: 300px;
  }
  .stat-card {
    padding: 0.875rem 1rem;
    border-radius: 12px;
  }
  .stat-card--1 { top: 2%; right: -4%; }
  .stat-card--2 { bottom: 18%; left: -2%; }
  .stat-card--3 { bottom: 0%; right: 0%; }
  .stat-number { font-size: 1.25rem; }
  .stat-label { font-size: 0.6875rem; }
  .hero-scroll-hint { display: none; }

  /* Sections */
  .about,
  .offerings,
  .craft,
  .visit {
    padding: 5rem 0;
  }

  .about-grid,
  .craft-split,
  .visit-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image {
    aspect-ratio: 4 / 3;
  }
  .craft-image {
    aspect-ratio: 4 / 3;
  }

  .offerings-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .visit-map {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 2rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .visit-actions {
    flex-direction: column;
    width: 100%;
  }
  .visit-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .stat-card {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    margin-top: 0.75rem;
  }
  .hero-visual {
    flex-direction: column;
    align-items: center;
  }
}
