/* =============================================
   ORIOTI.COM
   Light · Minimal · Typography-first
   ============================================= */

:root {
  --bg:       #f8f8f5;
  --bg-2:     #f0efe9;
  --surface:  #ffffff;
  --text:     #0d0d0b;
  --text-2:   #6b6b66;
  --text-3:   #b5b4ac;
  --border:   rgba(0, 0, 0, 0.07);
  --border-md: rgba(0, 0, 0, 0.14);
  --r:        10px;
  --r-lg:     16px;
  --r-xl:     22px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
img  { display: block; max-width: 100%; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* ===== LABEL (eyebrow tag) ===== */
.label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 1.75rem;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.75rem 2.5rem;
  transition: background 0.35s ease, border-color 0.35s ease, padding 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(248, 248, 245, 0.92);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-color: var(--border);
  padding: 1.2rem 2.5rem;
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img {
  height: 15px;
  opacity: 1;
  transition: opacity 0.2s;
}
.nav-logo:hover img { opacity: 1; }
.nav-links {
  display: flex;
  gap: 2.75rem;
}
.nav-links a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 2.5rem;
  overflow: hidden;
}
.hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
  padding-top: 10rem;
  padding-bottom: 6rem;
}
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 2.75rem;
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}
.hero-title {
  display: flex;
  flex-direction: column;
  font-size: clamp(64px, 10.5vw, 136px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-bottom: 4.5rem;
}
.ht-1 {
  color: var(--text);
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}
.ht-2 {
  color: var(--text-3);
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both;
}
.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.9s both;
}
.hero-sub {
  font-size: 17px;
  font-weight: 400;
  color: var(--text-2);
  line-height: 1.8;
  max-width: 320px;
}
.hero-cta {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Buttons */
.btn-fill {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 2rem;
  background: var(--text);
  color: var(--bg);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 100px;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-fill:hover { opacity: 0.82; transform: translateY(-1px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 2rem;
  border: 1.5px solid var(--border-md);
  color: var(--text-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 100px;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn-outline:hover { border-color: var(--text); color: var(--text); transform: translateY(-1px); }

/* Hero side index */
.hero-index {
  position: absolute;
  bottom: 3.5rem;
  right: 3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  animation: fadeIn 1s ease 1.4s both;
}
.hero-index span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text-3);
  text-transform: uppercase;
}
.hi-line {
  width: 32px;
  height: 1px;
  background: var(--border-md);
}

/* ===== PRODUCTS ===== */
.products {
  padding: 9rem 0;
  border-top: 1px solid var(--border);
}
.products-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 4rem;
}
.products-title {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}

/* Product Card */
.pcard {
  background: var(--surface);
  padding: 2.75rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: background 0.25s;
}
.pcard:hover { background: var(--bg); }

.pcard-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}
.pcard-status {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
}
.pcard-status.live {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-2);
  border: 1px solid var(--border);
}
.pcard-status.soon {
  background: transparent;
  color: var(--text-3);
  border: 1px solid var(--border);
}
.pcard-domain {
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-3);
  letter-spacing: 0.03em;
}
.pcard-name {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.pcard-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 1.5rem;
}
.pcard-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-2);
  margin-bottom: 1.75rem;
  flex: 1;
}
.pcard-features {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 2.25rem;
}
.pcard-features li {
  font-size: 12px;
  color: var(--text-3);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}
.pcard-features li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--border-md);
  font-size: 10px;
}
.pcard-link {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text);
  text-transform: uppercase;
  width: fit-content;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s;
  margin-top: auto;
}
.pcard-link:hover { border-color: var(--text); }
.pcard-link.disabled { color: var(--text-3); pointer-events: none; }

/* ===== ABOUT ===== */
.about {
  padding: 9rem 0;
  border-top: 1px solid var(--border);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 8rem;
  align-items: start;
}
.about-title {
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: var(--text);
}
.about-lead {
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.about-body {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.9;
  margin-bottom: 3rem;
}
.about-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}
.about-list li {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  padding-left: 1.25rem;
  position: relative;
  transition: color 0.2s;
}
.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-3);
}
.about-list li:hover { color: var(--text); }

/* ===== CONTACT ===== */
.contact {
  background: var(--text);
  color: var(--bg);
  padding: 11rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-title {
  font-size: clamp(52px, 9vw, 112px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.92;
  color: var(--bg);
  margin-bottom: 3rem;
}
.contact-email {
  display: inline-block;
  font-size: clamp(16px, 2.5vw, 24px);
  font-weight: 400;
  color: rgba(248, 248, 245, 0.45);
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(248, 248, 245, 0.15);
  padding-bottom: 0.3rem;
  transition: color 0.25s, border-color 0.25s;
}
.contact-email:hover {
  color: var(--bg);
  border-color: rgba(248, 248, 245, 0.5);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--text);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 2.25rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-logo {
  height: 13px;
  filter: invert(1);
  opacity: 0.25;
}
.footer-links {
  display: flex;
  gap: 2.25rem;
}
.footer-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.22);
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255, 255, 255, 0.55); }
.footer-copy {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.18);
  letter-spacing: 0.04em;
}

/* ===== HAMBURGER ===== */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== KEYFRAMES ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ===== RESPONSIVE ===== */

/* — Tablet landscape (≤ 1024px) — */
@media (max-width: 1024px) {
  .hero-title { font-size: clamp(52px, 9vw, 110px); }
  .products { padding: 7rem 0; }
  .about    { padding: 7rem 0; }
  .contact  { padding: 8rem 0; }
}

/* — Tablet portrait (≤ 768px) — */
@media (max-width: 768px) {
  .container { padding: 0 1.75rem; }

  .nav          { padding: 1.25rem 1.75rem; }
  .nav.scrolled { padding: 1rem 1.75rem; }
  .nav-toggle   { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(248,248,245,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 99;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-links a    { font-size: 14px; letter-spacing: 0.2em; }

  .hero       { padding: 0 1.75rem; }
  .hero-inner { padding-top: 7rem; padding-bottom: 4rem; }
  .hero-title { font-size: clamp(48px, 11vw, 96px); margin-bottom: 3rem; }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 2rem; }
  .hero-sub   { font-size: 15px; max-width: 100%; }
  .hero-index { display: none; }

  .products        { padding: 5rem 0; }
  .products-grid   { grid-template-columns: 1fr; }
  .products-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .products-title  { font-size: clamp(30px, 6vw, 48px); }
  .pcard           { padding: 2rem 1.75rem; }
  .pcard-name      { font-size: 34px; }

  .about       { padding: 5rem 0; }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-title { font-size: clamp(34px, 7vw, 56px); }
  .about-lead  { font-size: 17px; }
  .about-body  { font-size: 14px; }

  .contact       { padding: 6rem 0; }
  .contact-title { font-size: clamp(40px, 10vw, 80px); }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
}

/* — Mobile (≤ 480px) — */
@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }

  .nav          { padding: 1rem 1.25rem; }
  .nav.scrolled { padding: 0.875rem 1.25rem; }

  .hero       { padding: 0 1.25rem; }
  .hero-inner { padding-top: 5.5rem; padding-bottom: 3.5rem; }
  .hero-title { font-size: clamp(40px, 12vw, 72px); margin-bottom: 2.5rem; }
  .eyebrow    { font-size: 9px; letter-spacing: 0.16em; margin-bottom: 2rem; }
  .hero-sub   { font-size: 14px; line-height: 1.7; }
  .hero-cta   { flex-direction: column; width: 100%; }
  .btn-fill, .btn-outline { justify-content: center; width: 100%; }

  .products   { padding: 4rem 0; }
  .pcard      { padding: 1.5rem 1.25rem; }
  .pcard-name { font-size: 30px; }
  .pcard-desc { font-size: 13px; }

  .about       { padding: 4rem 0; }
  .about-title { font-size: clamp(30px, 10vw, 48px); }
  .about-lead  { font-size: 16px; }
  .about-body  { font-size: 13px; }
  .about-list li { font-size: 12px; }

  .contact       { padding: 5rem 0; }
  .contact-title { font-size: clamp(34px, 11vw, 60px); line-height: 1; margin-bottom: 2rem; }
  .contact-email { font-size: clamp(13px, 3.5vw, 18px); }

  .footer       { padding: 2rem 0; }
  .footer-links { gap: 1.5rem; }
  .footer-copy  { font-size: 10px; }
}
