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

:root {
  --orange: #F08A24;
  --orange-glow: rgba(240, 138, 36, 0.12);
  --font: 'DM Sans', -apple-system, sans-serif;
  --font-display: 'Syne', sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --speed: 0.9s;
}

html, body {
  width: 100%;
  height: 100%;
  max-height: 100vh;
  overflow: hidden;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  background: #0a0a0a;
}

/* ===== Logo ===== */
.landing-logo {
  position: fixed;
  top: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.landing-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  transition: filter 0.3s, transform 0.3s;
  filter: drop-shadow(0 0 6px rgba(240,138,36,0.2));
}

.landing-logo:hover img {
  filter: drop-shadow(0 0 14px rgba(240,138,36,0.55));
  transform: scale(1.07);
}

.landing-logo__text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* ===== Divider year label ===== */
.divider__year {
  position: absolute;
  bottom: 3.5rem;
  left: 50%;
  transform: translateX(-50%) rotate(90deg);
  transform-origin: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.65rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.18);
  white-space: nowrap;
  pointer-events: none;
}

/* ===== Bottom strip ===== */
.bottom-strip {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 3rem;
  height: 2.5rem;
  pointer-events: none;
}

.bottom-strip__line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.05);
}

.bottom-strip__text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.65rem;
  font-style: italic;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.2);
  white-space: nowrap;
  animation: fadeIn 1.5s ease 1s both;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== Split Layout ===== */
.split {
  display: flex;
  height: 100vh;
  height: 100dvh;
  width: 100vw;
  position: relative;
  overflow: hidden;
}

/* ===== Panels ===== */
.panel {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
}

/* Panel backgrounds */
.panel__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Art side — dark forest/moss tones */
.panel--art .panel__bg {
  background: radial-gradient(ellipse at 60% 40%, #070f0a 0%, #040806 100%);
}

/* Craft side — warm dark amber/umber tones */
.panel--craft .panel__bg {
  background: radial-gradient(ellipse at 40% 60%, #150e04 0%, #0d0905 100%);
}

/* Animated grain texture */
.panel__texture {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
  opacity: 0.6;
  pointer-events: none;
}

/* Overlay glow on hover */
.panel__overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease-out;
}

.panel__overlay--art {
  background: radial-gradient(ellipse at 50% 50%, rgba(80, 160, 110, 0.09) 0%, transparent 70%);
}

.panel__overlay--craft {
  background: radial-gradient(ellipse at 50% 50%, rgba(200, 130, 60, 0.09) 0%, transparent 70%);
}

.panel:hover .panel__overlay { opacity: 1; }

/* Vertical light streak on hover */
.panel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.06) 30%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.06) 70%, transparent 100%);
  opacity: 0;
  transition: opacity var(--speed) var(--ease);
  pointer-events: none;
}

.panel--art::after { right: 0; }
.panel--craft::after { left: 0; }
.panel:hover::after { opacity: 1; }

/* ===== Panel Content ===== */
.panel__content {
  position: relative;
  z-index: 2;
  padding: clamp(1.5rem, 3vw, 3rem) clamp(1.5rem, 4vw, 4rem);
  max-width: 520px;
  transition: transform 0.6s ease-out, opacity 0.6s ease-out;
  will-change: transform, opacity;
}

.panel--art .panel__content { text-align: right; padding-right: clamp(1.5rem, 5vw, 5rem); }
.panel--craft .panel__content { text-align: left; padding-left: clamp(1.5rem, 5vw, 5rem); }

/* Hovered panel — content lifts slightly */
.panel:hover .panel__content { transform: scale(1.03); }

/* Non-hovered panel — gently fades */
.split:has(.panel--art:hover) .panel--craft .panel__content { opacity: 0.35; }
.split:has(.panel--craft:hover) .panel--art .panel__content { opacity: 0.35; }

.panel__tag {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.panel--art .panel__tag {
  color: #7dbb97;
  background: rgba(100, 180, 130, 0.1);
  border: 1px solid rgba(100, 180, 130, 0.2);
}

.panel--craft .panel__tag {
  color: #c8814a;
  background: rgba(200, 129, 74, 0.1);
  border: 1px solid rgba(200, 129, 74, 0.2);
}

.panel__title {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}

.panel__title-line {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.9);
  transition: transform var(--speed) var(--ease);
}

/* Wood Art brand name */
.panel__brand-name {
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 500;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #6daa88 0%, #a0ccb2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.panel__title-sub {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(0.9rem, 1.5vw, 1.15rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.25rem;
}

/* Art accent — sage green */
.panel--art .panel__title-accent {
  background: linear-gradient(135deg, #6daa88 0%, #a0ccb2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Craft accent — warm amber/brown */
.panel--craft .panel__title-accent {
  background: linear-gradient(135deg, #c8814a 0%, #e8b07a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.panel__text {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255,255,255,0.42);
  line-height: 1.75;
  margin-bottom: 1.75rem;
  max-width: 340px;
  transition: color var(--speed) var(--ease);
}

.panel--art .panel__text { margin-left: auto; }

.panel:hover .panel__text {
  color: rgba(255,255,255,0.6);
}

.panel__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
  transition: color 0.3s, gap 0.3s;
}

.panel:hover .panel__cta {
  color: rgba(255,255,255,0.85);
  gap: 0.9rem;
}

.panel__cta svg {
  transition: transform 0.3s var(--ease);
}

.panel:hover .panel__cta svg {
  transform: translateX(4px);
}

/* ===== Center Divider ===== */
.divider {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 2px;
  height: 100vh;
  pointer-events: none;
  transition: opacity var(--speed) var(--ease);
}

.divider::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(255,255,255,0.04) 20%,
    rgba(255,255,255,0.08) 50%,
    rgba(255,255,255,0.04) 80%,
    transparent 100%
  );
}

.split:has(.panel:hover) .divider {
  opacity: 0.4;
}

.divider__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: #0a0a0a;
  padding: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  filter: drop-shadow(0 0 8px rgba(240,138,36,0.15));
  transition: filter 0.4s;
}

/* ===== Scroll hint for mobile ===== */
.panel--art .panel__divider-hint {
  display: none;
}

/* ===== Responsive — stack vertically on mobile ===== */
@media (max-width: 640px) {
  html, body { overflow-y: auto; }

  .split {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
  }

  .panel {
    min-height: 50vh;
  }

  .panel--art .panel__content,
  .panel--craft .panel__content {
    text-align: center;
    padding: 3rem 2rem;
    max-width: 100%;
  }

  .panel--art .panel__text,
  .panel--craft .panel__text {
    margin: 0 auto 2rem;
  }

  .split:has(.panel--art:hover) .panel--craft .panel__content,
  .split:has(.panel--craft:hover) .panel--art .panel__content {
    opacity: 1;
    transform: none;
  }

  .divider {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }

  .divider__logo {
    top: 50%;
    left: 50%;
  }

  .landing-logo span { display: none; }
  .landing-logo { top: 1.25rem; }

  .bottom-strip { display: none; }
  .divider__year { display: none; }
}

/* ===== Entry animation ===== */
.panel {
  animation: panelReveal 1.2s var(--ease) both;
}

.panel--art { animation-delay: 0.1s; }
.panel--craft { animation-delay: 0.25s; }

.landing-logo {
  animation: fadeDown 0.8s var(--ease) 0.5s both;
}

@keyframes panelReveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
