/* ==========================================================================
   one2e studio — One2eTheme
   Coming-soon page. Warm bone ground, clay accent, editorial Cormorant italic.
   ========================================================================== */

:root {
  --o2-bone: #f3f0ea;
  --o2-bone-deep: #e8e2d8;
  --o2-ink: #1d1c1a;
  --o2-muted: #6f6a62;
  --o2-clay: #a4694a;
  --o2-line: rgba(29, 28, 26, .14);
  --o2-maxw: 1240px;
  --o2-pad: clamp(20px, 5vw, 56px);
  --o2-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --o2-font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }

body.o2-body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--o2-font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  color: var(--o2-ink);
  background: var(--o2-bone);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Top bar ---------- */
.o2-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(18px, 3vw, 32px) var(--o2-pad);
  width: 100%;
  max-width: var(--o2-maxw);
  margin: 0 auto;
}

.o2-mark {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .95rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: lowercase;
}

.o2-mark-logo { width: 30px; height: 30px; flex: none; }

.o2-mark-text { display: inline-block; }

.o2-mark-dot { color: var(--o2-clay); }

.o2-langs { display: flex; align-items: center; gap: .1rem; }

.o2-lang {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--o2-muted);
  padding: .35rem .55rem;
  transition: color .15s ease;
}

.o2-lang + .o2-lang::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: .7em;
  margin-right: .55rem;
  background: var(--o2-line);
  vertical-align: middle;
}

.o2-lang-current { color: var(--o2-ink); }
a.o2-lang:hover { color: var(--o2-clay); }

/* ---------- Main ---------- */
.o2-main {
  flex: 1 1 auto;
  width: 100%;
  max-width: var(--o2-maxw);
  margin: 0 auto;
  padding: 0 var(--o2-pad);
}

/* ---------- Hero ---------- */
.o2-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  min-height: clamp(460px, 70vh, 860px);
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.o2-eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--o2-clay);
  margin-bottom: clamp(1.2rem, 3vw, 2rem);
}

.o2-hero-logo { margin: 0; line-height: 0; }

.o2-hero-logo img {
  width: clamp(150px, 17vw, 208px);
  height: auto;
}

.o2-tagline {
  font-family: var(--o2-font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.3;
  color: var(--o2-ink);
  margin: clamp(1.4rem, 3vw, 2rem) 0 0;
}

.o2-note {
  max-width: 46ch;
  color: var(--o2-muted);
  margin: 1.4rem 0 0;
}

.o2-rule {
  width: 64px;
  height: 1px;
  border: 0;
  background: var(--o2-clay);
  margin: clamp(1.8rem, 4vw, 2.6rem) 0;
}

/* ---------- Actions ---------- */
.o2-actions {
  margin-top: clamp(1.5rem, 3vw, 2.1rem);
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 2rem;
  align-items: center;
}

.o2-link {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding-bottom: .35rem;
  border-bottom: 1px solid var(--o2-line);
  transition: border-color .18s ease, color .18s ease;
}

.o2-link:hover { color: var(--o2-clay); border-bottom-color: var(--o2-clay); }
.o2-link .o2-arrow { font-size: .95em; line-height: 1; }

/* ---------- Visual panel ----------
   Drop a photo at wwwroot/img/one2e/hero.jpg to replace the drawn placeholder.
   Nothing breaks while the file is missing — the gradient below shows through. */
.o2-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 640px;
  background-color: var(--o2-bone-deep);
  background-image:
    linear-gradient(160deg, rgba(164, 105, 74, .16) 0%, rgba(164, 105, 74, 0) 45%),
    linear-gradient(200deg, rgba(29, 28, 26, .10) 0%, rgba(29, 28, 26, 0) 60%),
    url("../img/one2e/hero.jpg");
  background-size: cover, cover, cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Fine plan-drawing grid, sits on top of the placeholder and fades on a real photo. */
.o2-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, var(--o2-line) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, var(--o2-line) 0 1px, transparent 1px 48px);
  opacity: .5;
  mix-blend-mode: multiply;
}

.o2-visual::after {
  content: "";
  position: absolute;
  inset: clamp(16px, 4%, 34px);
  border: 1px solid rgba(243, 240, 234, .55);
}

/* ---------- Footer ---------- */
.o2-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  width: 100%;
  max-width: var(--o2-maxw);
  margin: 0 auto;
  padding: clamp(18px, 3vw, 28px) var(--o2-pad);
  border-top: 1px solid var(--o2-line);
  font-size: .78rem;
  letter-spacing: .06em;
  color: var(--o2-muted);
}

.o2-footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.o2-footer a:hover { color: var(--o2-clay); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .o2-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2rem, 8vw, 3rem);
    min-height: 0;
  }

  .o2-visual { aspect-ratio: 16 / 10; max-height: 380px; order: 2; min-width: 0; }
  .o2-hero-copy { order: 1; min-width: 0; }
}

@media (max-width: 560px) {
  .o2-footer { justify-content: flex-start; }
}
