@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Libre+Caslon+Display&display=swap');

:root {
  color-scheme: dark;
  --bg: #080808;
  --card: #131313;
  --surface: #1d1d1d;
  --surface-hover: #292929;
  --line: rgba(255, 255, 255, .13);
  --text: #f5f5f3;
  --muted: #aaa;
  --silver: #d2d2cf;
  font-family: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--bg); scroll-behavior: smooth; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 14%, rgba(255,255,255,.08), transparent 28rem),
    #080808;
}

a { color: inherit; }

.page-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(0px, 4vw, 48px);
}

.card {
  width: min(100%, 720px);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: clamp(0px, 3vw, 30px);
  box-shadow: 0 30px 90px rgba(0,0,0,.5);
}

.hero {
  min-height: clamp(230px, 40vw, 340px);
  background:
    linear-gradient(to bottom, transparent 45%, rgba(19,19,19,.2) 72%, var(--card) 100%),
    url("assets/hero-otica.jpeg") center 44% / cover no-repeat;
}

.content {
  position: relative;
  z-index: 1;
  width: min(100%, 610px);
  margin: -42px auto 0;
  padding: 0 clamp(20px, 6vw, 46px) 36px;
}

.logo-wrap {
  width: 152px;
  height: 152px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 6px solid var(--card);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 14px 38px rgba(0,0,0,.38);
}

.logo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  padding: 8px;
}

.heading { margin: 26px 0 30px; text-align: center; }

.eyebrow {
  margin: 0 0 9px;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: clamp(2.15rem, 8vw, 3.6rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -.025em;
}

.handle {
  display: inline-block;
  margin-top: 12px;
  color: var(--silver);
  font-size: .98rem;
  text-underline-offset: 4px;
  text-decoration-color: transparent;
  transition: text-decoration-color .2s ease;
}

.handle:hover { text-decoration-color: currentColor; }

.links { display: grid; gap: 12px; }

.contact-link {
  min-height: 74px;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 15px;
  padding: 12px 18px;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  transform: translateY(-2px);
  background: var(--surface-hover);
  border-color: rgba(255,255,255,.28);
  outline: none;
}

.contact-link--primary {
  color: #111;
  background: #ededeb;
  border-color: #ededeb;
}

.contact-link--primary:hover,
.contact-link--primary:focus-visible { background: #fff; border-color: #fff; }

.icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: .9;
}

.icon svg { width: 21px; height: 21px; fill: currentColor; }

.contact-link span:nth-child(2) { min-width: 0; }
.contact-link strong, .contact-link small { display: block; }
.contact-link strong { font-size: 1rem; font-weight: 600; }
.contact-link small {
  margin-top: 3px;
  overflow: hidden;
  color: var(--muted);
  font-size: .82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.contact-link--primary small { color: #4e4e4e; }
.arrow { font-size: 1.35rem; opacity: .65; }

address {
  margin-top: 25px;
  color: #898989;
  font-size: .78rem;
  font-style: normal;
  letter-spacing: .06em;
  text-align: center;
}

.is-ready .card { animation: reveal .65s cubic-bezier(.2,.75,.25,1) both; }

@keyframes reveal {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 520px) {
  .page-shell { display: block; padding: 0; }
  .card { min-height: 100svh; border: 0; border-radius: 0; box-shadow: none; }
  .hero { min-height: 255px; }
  .content { margin-top: -36px; }
  .logo-wrap { width: 136px; height: 136px; }
  .contact-link { min-height: 70px; padding-inline: 14px; border-radius: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
