/* sora.market — chrome showroom, diagonal sections */

:root {
  --chrome-light: #e8e4e0;
  --chrome-mid:   #d4d0cc;
  --chrome-pale:  #f8f6f4;
  --steel-dark:   #3a3836;
  --steel-darker: #2a2826;
  --steel-mid:    #8a8680;
  --steel-light:  #b8b4ae;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--chrome-pale);
  color: var(--steel-dark);
  font-family: 'Inter', sans-serif;
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 400;
  line-height: 1.75;
  overflow-x: hidden;
  position: relative;
}

/* grid overlay */
.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    linear-gradient(to right, rgba(138,134,128,0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(138,134,128,0.08) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* topbar */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 40px;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(248,246,244,0.9), rgba(248,246,244,0.0));
  border-bottom: 1px solid rgba(138,134,128,0.18);
}
.brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.22em;
  color: var(--steel-darker);
}
.brand-dot { color: var(--steel-mid); }
.topnav { display: flex; gap: 28px; }
.topnav a {
  font-family: 'JetBrains Mono', monospace;
  text-decoration: none;
  color: var(--steel-dark);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}
.topnav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--steel-darker);
  transition: width 0.4s ease;
}
.topnav a:hover { color: var(--steel-darker); }
.topnav a:hover::after { width: 100%; }

/* hero */
.hero {
  height: 100vh;
  min-height: 640px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--chrome-pale) 0%, var(--chrome-light) 50%, var(--chrome-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.diagonal-line {
  position: absolute;
  background: var(--steel-mid);
  opacity: 0.4;
  height: 1px;
  transform-origin: 0 0;
  pointer-events: none;
}
.dl-1 { top: 20%; left: -10%; width: 130%; transform: rotate(15deg); }
.dl-2 { top: 60%; left: -20%; width: 140%; transform: rotate(-15deg); opacity: 0.25; }
.dl-3 { top: 35%; left: -10%; width: 130%; transform: rotate(15deg); opacity: 0.18; }

.lens-flare {
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none;
  animation: flarePulse 6s ease-in-out infinite alternate;
}
.lf-1 { top: 22%; left: 28%; }
.lf-2 { top: 55%; right: 18%; animation-delay: -2s; }
.lf-3 { top: 30%; left: 60%; width: 280px; height: 280px; opacity: 0.7; }
@keyframes flarePulse {
  0%   { opacity: 0.5; transform: scale(0.95); }
  100% { opacity: 0.9; transform: scale(1.1); }
}

.hero-stack {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
  padding: 0 24px;
}
.hero-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--steel-mid);
}
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(72px, 14vw, 180px);
  letter-spacing: 0.05em;
  line-height: 1;
  display: flex;
  gap: clamp(4px, 0.6vw, 12px);
}
.hero-title span {
  background: linear-gradient(180deg, var(--steel-darker) 0%, var(--steel-mid) 50%, var(--steel-darker) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 rgba(255,255,255,0.7));
  animation: chromeShimmer 8s ease-in-out infinite;
}
.hero-title span:nth-child(1) { animation-delay: 0s; }
.hero-title span:nth-child(2) { animation-delay: -2s; }
.hero-title span:nth-child(3) { animation-delay: -4s; }
.hero-title span:nth-child(4) { animation-delay: -6s; }
@keyframes chromeShimmer {
  0%,100% { filter: drop-shadow(0 2px 0 rgba(255,255,255,0.7)) brightness(1); }
  50%     { filter: drop-shadow(0 2px 0 rgba(255,255,255,0.9)) brightness(1.15); }
}
.hero-sub {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  color: var(--steel-dark);
  max-width: 520px;
  line-height: 1.7;
  font-size: 15px;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel-mid);
  margin-top: 18px;
}
.hero-meta .line {
  width: 28px; height: 1px; background: var(--steel-mid); display: inline-block;
}

/* sections */
section {
  position: relative;
  padding: 120px 8vw;
  z-index: 2;
}
.block-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--steel-mid);
  margin-bottom: 28px;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--steel-darker);
  margin-bottom: 48px;
  max-width: 920px;
}
.section-prose {
  color: var(--steel-dark);
  max-width: 620px;
  font-weight: 300;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.8;
}

/* showroom band */
.showroom {
  background: var(--chrome-light);
  position: relative;
  overflow: hidden;
}
.diagonal-cut {
  position: absolute;
  left: 0; right: 0;
  height: 80px;
  background: var(--chrome-pale);
  pointer-events: none;
}
.diagonal-cut.top {
  top: -1px;
  clip-path: polygon(0 100%, 100% 0, 100% 0, 0 0);
}
.diagonal-cut.bottom {
  bottom: -1px;
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 100%);
}
.diagonal-cut.top.reverse {
  clip-path: polygon(0 0, 100% 100%, 100% 0, 0 0);
}

/* objects grid */
.object-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
}
.obj-card {
  background: var(--chrome-pale);
  border: 1px solid rgba(138,134,128,0.2);
  padding: 0;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}
.obj-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.12);
  border-color: var(--steel-dark);
}
.obj-frame {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--chrome-pale) 0%, var(--chrome-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(138,134,128,0.18);
  overflow: hidden;
}
.obj-svg {
  width: 70%; height: 70%;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.18));
  transition: transform 0.5s ease;
}
.obj-card:hover .obj-svg { transform: scale(1.05) rotate(-2deg); }
.obj-flare {
  position: absolute;
  top: 18%; left: 22%;
  width: 90px; height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.8), rgba(255,255,255,0) 70%);
  pointer-events: none;
  opacity: 0.7;
  transition: opacity 0.4s ease;
}
.obj-card:hover .obj-flare { opacity: 1; }

.obj-meta {
  padding: 22px 24px 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}
.obj-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--steel-mid);
  text-transform: uppercase;
}
.obj-meta h3 {
  grid-column: 1 / -1;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--steel-darker);
  letter-spacing: -0.005em;
  margin: 4px 0 8px;
}
.obj-spec {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--steel-mid);
}
.obj-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--steel-darker);
  letter-spacing: 0.04em;
  text-align: right;
  font-weight: 500;
}

/* index table */
.index-section {
  background: var(--chrome-pale);
  position: relative;
  overflow: hidden;
}
.index-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  max-width: 1100px;
}
.index-table th,
.index-table td {
  text-align: left;
  padding: 18px 16px;
  border-bottom: 1px solid rgba(138,134,128,0.2);
}
.index-table th {
  font-weight: 500;
  color: var(--steel-mid);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--steel-dark);
}
.index-table td { color: var(--steel-dark); }
.index-table tbody tr {
  transition: background 0.3s ease;
}
.index-table tbody tr:hover {
  background: var(--chrome-light);
}

/* enquire form */
.enquire-section {
  background: var(--chrome-light);
}
.enq-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 36px;
  max-width: 880px;
}
.enq-field { display: flex; flex-direction: column; gap: 8px; }
.enq-field.full { grid-column: 1 / -1; }
.enq-field span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel-mid);
}
.enq-field input,
.enq-field select,
.enq-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--steel-dark);
  padding: 12px 0;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--steel-darker);
  outline: none;
  transition: border-color 0.3s ease;
}
.enq-field textarea {
  border: 1px solid var(--steel-dark);
  padding: 14px;
  resize: vertical;
}
.enq-field input:focus,
.enq-field select:focus,
.enq-field textarea:focus {
  border-color: var(--steel-darker);
}
.enq-field input[readonly] {
  color: var(--steel-mid);
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
}
.enq-submit {
  grid-column: 1 / -1;
  justify-self: start;
  background: var(--steel-darker);
  color: var(--chrome-pale);
  border: none;
  padding: 16px 36px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}
.enq-submit:hover {
  background: var(--steel-dark);
  transform: translateX(4px);
}
.enq-status {
  grid-column: 1 / -1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--steel-mid);
  letter-spacing: 0.04em;
  min-height: 18px;
}

/* footer */
.site-footer {
  padding: 60px 40px 30px;
  background: var(--chrome-pale);
  position: relative;
  z-index: 2;
}
.footer-line {
  height: 1px;
  background: var(--steel-darker);
  margin-bottom: 30px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.foot-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: 0.22em;
  font-size: 13px;
  color: var(--steel-darker);
}
.foot-meta {
  display: flex;
  gap: 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel-mid);
}

/* responsive */
@media (max-width: 720px) {
  .topbar { padding: 14px 20px; }
  .topnav { gap: 14px; }
  .topnav a { font-size: 10px; letter-spacing: 0.12em; }
  .hero { min-height: 540px; }
  section { padding: 80px 6vw; }
  .object-grid { grid-template-columns: 1fr; }
  .enq-form { grid-template-columns: 1fr; }
  .index-table th, .index-table td { padding: 12px 8px; font-size: 12px; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .foot-meta { flex-wrap: wrap; gap: 14px; }
}
