/* === RESET === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none !important;
}

:root {
  --bg: #ffffff;
  --text: #0d0d0d;
  --muted: #888;
  --border: #d4d2cb;
  --footer-bg: #0d0d0d;
  --footer-text: #f1f0ec;
  --font: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
  overscroll-behavior: none;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

a:hover { text-decoration: underline; }

/* === CUSTOM CURSOR === */
#cursor-ring {
  position: fixed;
  top: -9999px;
  left: -9999px;
  width: 56px;
  height: 56px;
  border: 1px solid var(--text);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 99998;
  will-change: left, top;
  transition: opacity 0.15s;
}

#cursor-cross {
  position: fixed;
  top: -9999px;
  left: -9999px;
  width: 84px;
  height: 84px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 99999;
  will-change: left, top;
  transition: opacity 0.15s;
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.nav-menu-btn {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  color: var(--text);
  background: none;
  border: none;
  padding: 0;
  position: relative;
  z-index: 1;
  transition: color 0.2s;
}

.nav-menu-btn:hover { color: var(--text); text-decoration: underline; }

.nav-play-btn {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: none;
  border: none;
  padding: 8px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.nav-play-btn:hover { opacity: 0.4; }

/* === MENU PANEL === */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1998;
  display: none;
}

.menu-overlay.open { display: block; }

.menu-panel {
  position: fixed;
  top: 0;
  left: -380px;
  width: 340px;
  height: 100vh;
  background: var(--bg);
  border-right: 1px solid var(--border);
  z-index: 1999;
  padding: 60px 40px 40px;
  transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.menu-panel.open { left: 0; }

.menu-close {
  position: absolute;
  top: 22px;
  right: 24px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 300;
  background: none;
  border: none;
  color: var(--text);
  line-height: 1;
  padding: 4px;
  transition: color 0.2s;
}

.menu-close:hover { color: var(--muted); }

.menu-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.menu-logo-img {
  width: 120px;
  height: auto;
  object-fit: contain;
}

.menu-checkout {
  margin: 4px 0 28px;
  text-align: center;
}

.menu-checkout-name {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 6px;
}

.menu-checkout-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 16px;
}

.menu-checkout-amount {
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1;
}

.menu-checkout-period {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.3;
  text-align: left;
}

.menu-checkout-btn {
  display: block;
  width: 100%;
  background: transparent;
  border: 1px solid var(--text);
  color: var(--text);
  font-family: var(--font);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  text-align: center;
  padding: 13px 0;
  margin-bottom: 14px;
  transition: background 0.2s, color 0.2s;
  text-decoration: none !important;
}

.menu-checkout-btn:hover {
  background: var(--text);
  color: var(--bg);
  text-decoration: none !important;
}

.menu-checkout-methods-label {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.menu-checkout-icons {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.menu-nav {
  display: flex;
  flex-direction: column;
  margin-top: 24px;
}

.menu-nav a {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.menu-nav a:first-child { border-top: 1px solid var(--border); }
.menu-nav a:hover { color: var(--muted); }

/* === CURSOR SPIN ON LINK HOVER === */
@keyframes reticle-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

#cursor-cross.spinning {
  animation: reticle-spin 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* === DRAG CANVAS GALLERY === */
.drag-section {
  padding: 0;
}

.drag-section.first-section {
  margin-top: 65px;
}

.drag-header {
  padding: 0 48px 20px;
}

.drag-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.drag-canvas {
  position: relative;
  width: 100%;
  height: calc(100vh - 65px);
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  user-select: none;
  -webkit-user-select: none;
}

.drag-stage {
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
}

.drag-tile {
  position: absolute;
  width: 2300px;
  height: 1800px;
}

.drag-card {
  position: absolute;
  width: 240px;
}

.drag-card img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* === LAYOUTS === */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin: 3px 0;
}

.split-item {
  height: 65vh;
  overflow: hidden;
}

.split-item img {
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.split-item:hover img { transform: scale(1.03); }

.wide-image {
  height: 72vh;
  overflow: hidden;
  margin: 3px 0;
}

.wide-image img {
  object-position: center 30%;
}

.grid-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin: 3px 0;
}

.grid-item {
  height: 52vh;
  overflow: hidden;
}

.grid-item img {
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.grid-item:hover img { transform: scale(1.04); }

.asymmetric {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3px;
  margin: 3px 0;
}

.asymmetric .asym-item {
  overflow: hidden;
}

.asymmetric .asym-item:first-child { height: 80vh; }
.asymmetric .asym-item:last-child { height: 80vh; }

.asymmetric .asym-item img {
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.asymmetric .asym-item:hover img { transform: scale(1.03); }

/* === ABOUT === */
.about-section {
  padding: 100px 48px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
}

.about-inner {
  max-width: 780px;
  width: 100%;
  text-align: center;
}

.subscribe-btn {
  display: inline-block;
  border: 1px solid var(--text);
  color: var(--text);
  font-family: var(--font);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  padding: 13px 40px;
  margin-bottom: 64px;
  transition: background 0.2s, color 0.2s;
  text-decoration: none !important;
}

.subscribe-btn:hover {
  background: var(--text);
  color: var(--bg);
  text-decoration: none !important;
}

.about-title {
  font-size: clamp(14px, 3vw, 42px);
  font-weight: 300;
  letter-spacing: 0.1em;
  white-space: nowrap;
  color: var(--text);
  margin-bottom: 40px;
}

.about-text {
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  color: #2a2a2a;
  margin-bottom: 28px;
}

.about-text--small {
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0;
}

.about-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

.about-quote {
  margin: 48px auto 0;
  font-size: 14px;
  font-style: italic;
  line-height: 1.9;
  letter-spacing: 0.03em;
  color: var(--text);
  text-align: center;
}

.about-logo {
  width: 320px;
  height: auto;
  margin-top: 48px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* === FOOTER === */
.footer {
  background: var(--bg);
  color: var(--text);
  padding: 0 48px 48px;
}

.footer-top-rule {
  border: none;
  border-top: 1px solid var(--border);
  margin-bottom: 56px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 64px;
}

.footer-tagline {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.footer-form-inline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-form-inline input {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font);
  font-size: 12px;
  letter-spacing: 0.03em;
  padding: 12px 0;
  outline: none;
  transition: border-color 0.25s;
}

.footer-form-inline input::placeholder {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.footer-form-inline input:focus {
  border-bottom-color: var(--text);
}

.footer-form-inline button {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 20px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.footer-form-inline button:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.form-msg {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  display: none;
  margin-top: 10px;
}

.form-msg.visible { display: block; }

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 30px;
}

.footer-nav-col a {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text);
  transition: color 0.2s;
}

.footer-nav-col a:hover { color: var(--muted); }

.footer-copy {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* === INNER PAGES === */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-hero {
  padding: 140px 48px 64px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(26px, 5vw, 52px);
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-hero p {
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.page-body {
  flex: 1;
  padding: 64px 48px 80px;
  max-width: 780px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.page-body h2 {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 48px 0 14px;
}

.page-body h2:first-child { margin-top: 0; }

.page-body p {
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  color: #2a2a2a;
  margin-bottom: 18px;
}

.page-body a {
  border-bottom: 1px solid var(--border);
  transition: border-color 0.2s;
}

.page-body a:hover { border-bottom-color: var(--text); }

/* === CONTACT PAGE FORM === */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 64px 48px 80px;
}

.contact-info h3 {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  color: #2a2a2a;
  text-align: center;
}

.contact-info h3 { text-align: center; }

.contact-info a {
  border-bottom: 1px solid var(--border);
}

.contact-info a:hover { border-bottom-color: var(--text); }

.contact-form-wrap input,
.contact-form-wrap textarea {
  width: 100%;
  display: block;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  font-family: var(--font);
  font-size: 14px;
  letter-spacing: 0.03em;
  padding: 16px 0;
  outline: none;
  transition: border-color 0.25s;
  color: var(--text);
}

.contact-form-wrap input::placeholder,
.contact-form-wrap textarea::placeholder {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus {
  border-bottom-color: var(--text);
}

.contact-form-wrap textarea {
  resize: none;
  height: 120px;
  margin-top: 4px;
}

.contact-form-wrap .submit-row {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.contact-form-wrap button {
  background: transparent;
  border: 1px solid var(--text);
  color: var(--text);
  font-family: var(--font);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  padding: 13px 32px;
  transition: background 0.2s, color 0.2s;
}

.contact-form-wrap button:hover {
  background: var(--text);
  color: var(--bg);
}

.contact-msg {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  display: none;
}

.contact-msg.visible { display: block; }

/* === MOBILE === */
@media (max-width: 768px) {
  .nav { padding: 18px 24px; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 10px; }
  .nav-menu-btn { color: var(--text); }

  .hero { margin-top: 57px; }
  .hero-hint { left: 24px; }

  .gallery-header { padding: 0 24px 16px; }
  .gallery-track { padding: 0 24px 16px; gap: 10px; }
  .gallery-item { width: 240px; height: 340px; }

  .split-section { grid-template-columns: 1fr; }
  .split-item { height: 50vh; }

  .grid-three { grid-template-columns: 1fr; }
  .grid-item { height: 45vh; }

  .asymmetric { grid-template-columns: 1fr; }
  .asymmetric .asym-item:first-child,
  .asymmetric .asym-item:last-child { height: 55vh; }

  .about-section { padding: 64px 24px; }
  .about-text { font-size: 15px; }
  .footer { padding: 0 24px 40px; }
  .footer-nav { gap: 8px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-nav-col { padding-top: 0; }

  .page-hero { padding: 120px 24px 48px; }
  .page-body { padding: 48px 24px 60px; }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 48px 24px 60px;
  }
}
