/* Atlis Design — static rebuild of atlisdesign.com
   Edit the tokens below to restyle the whole site. */
:root {
  --bg: #0d0d0d;
  --bg-alt: #161616;
  --surface: #1e1e1e;
  --text: #f4f4f2;
  --muted: #a9a9a4;
  --line: #2c2c2c;
  --accent: #ffffff;
  --accent-text: #0d0d0d;
  --radius: 4px;
  --max: 1200px;
  --font-head: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --font-body: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-optical-sizing: auto;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.08; margin: 0 0 .5em; letter-spacing: .01em; text-transform: uppercase; }
b, strong { font-weight: 600; }
h1 { font-size: clamp(2rem, 5.5vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; color: #000; padding: 8px 12px; z-index: 100; }

.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(56px, 9vw, 120px) 0; }
.section.alt { background: var(--bg-alt); }
.center { text-align: center; }
.narrow { max-width: 760px; margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border: 2px solid var(--accent);
  background: var(--accent);
  color: var(--accent-text);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .04em;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background .2s, color .2s;
  cursor: pointer;
}
.btn:hover { background: transparent; color: var(--accent); }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.ghost:hover { background: var(--accent); color: var(--accent-text); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(13,13,13,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-size: .95rem; letter-spacing: .02em; opacity: .85; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.dropdown { position: relative; }
.dropdown > button {
  background: none; border: 0; color: inherit; font: inherit; font-size: .95rem; cursor: pointer; opacity: .85; padding: 0;
}
.dropdown-menu {
  display: none; position: absolute; top: calc(100% + 14px); left: -18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px 0; min-width: 210px;
}
.dropdown-menu a { display: block; padding: 7px 18px; }
/* Invisible bridge over the gap so the menu stays open while the pointer moves down to it. */
.dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.dropdown:hover .dropdown-menu, .dropdown:has(:focus-visible) .dropdown-menu, .dropdown.open .dropdown-menu { display: block; }
.nav .btn { padding: 9px 18px; opacity: 1; text-decoration: none; }
.menu-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 1.8rem; cursor: pointer; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 16px;
  }
  .nav.open { display: flex; }
  .nav a, .dropdown > button { font-size: 1.15rem; padding: 6px 0; }
  .dropdown-menu { position: static; display: block; border: 0; background: none; padding: 0 0 0 14px; }
  .dropdown-menu::before { display: none; }
  .dropdown-menu a { padding: 4px 0; font-size: 1rem; }
}

/* Hero */
.hero {
  position: relative; min-height: 88vh; display: grid; place-items: center; text-align: center;
  background: #000 center/cover no-repeat; overflow: hidden;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.7)); }
.hero > * { position: relative; }
.hero .tagline { font-family: var(--font-head); font-size: clamp(1.1rem, 2.4vw, 1.5rem); letter-spacing: .3em; text-transform: uppercase; margin-bottom: 2em; }
.page-hero { min-height: 60vh; }

/* Split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

/* Grids */
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid.tight { gap: 8px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.grid a, .grid figure { display: block; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.grid img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .4s; }
.grid a:hover img { transform: scale(1.04); }
.masonry { columns: 3 280px; column-gap: 12px; }
.masonry a { display: block; margin-bottom: 12px; break-inside: avoid; border-radius: var(--radius); overflow: hidden; }
.masonry img { width: 100%; height: auto; }
.gallery-title { margin: 56px 0 18px; font-size: 1.4rem; }

/* Category cards */
.cards { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card img, .card .ph { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card .ph { background: linear-gradient(135deg, #2a2a2a, #111); display: grid; place-items: center; color: var(--muted); font-family: var(--font-head); font-size: 1.4rem; }
.card h3 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1; margin: 0; }
.card .body { padding: 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .body p { color: var(--muted); margin: 0 0 14px; }
.card .btn { align-self: flex-start; padding: 10px 22px; margin-top: auto; }

/* Logos */
.logo-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.logo-grid figure { margin: 0; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.logo-grid img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; }
.logo-grid figcaption { padding: 18px 20px; color: var(--muted); font-size: .95rem; }

/* Video */
.video-list { display: grid; gap: 72px; }
.video-item { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: center; }
.video-item:nth-child(even) > :first-child { order: 2; }
@media (max-width: 860px) { .video-item { grid-template-columns: 1fr; } .video-item:nth-child(even) > :first-child { order: 0; } }
.embed { position: relative; aspect-ratio: 16/9; background: #000; border-radius: var(--radius); overflow: hidden; }
.embed.vertical { aspect-ratio: 9/16; max-width: 360px; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed .todo { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; color: var(--muted); font-size: .9rem; border: 1px dashed var(--line); }

/* Pricing */
.price-list { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.price-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.price-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.price-card .body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.price { font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; margin: 4px 0 2px; }
.session { color: var(--muted); font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; }
.price-card ul { padding-left: 1.1em; margin: 14px 0 16px; flex: 1; }
.price-card li { margin-bottom: 4px; }
.price-card .note { font-size: .88rem; color: var(--muted); }
.price-card .btn { align-self: flex-start; margin-top: 8px; }

/* Forms */
form .field { margin-bottom: 20px; }
form label { display: block; font-weight: 500; margin-bottom: 6px; }
form .hint { display: block; font-size: .85rem; color: var(--muted); margin-top: -2px; margin-bottom: 6px; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { form .row { grid-template-columns: 1fr; } }
input, textarea {
  width: 100%; padding: 13px 14px; font: inherit; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
textarea { min-height: 160px; resize: vertical; }
.inline-form { display: flex; gap: 10px; max-width: 520px; margin: 24px auto 10px; }
.inline-form input { flex: 1; }
@media (max-width: 520px) { .inline-form { flex-direction: column; } }
.form-status { margin-top: 12px; min-height: 1.5em; color: var(--muted); }

/* Lists / misc */
.anchor-buttons { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.anchor-buttons .btn { padding: 10px 18px; font-size: .9rem; }
.offer-list { list-style: none; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 32px 0 0; }
.offer-list li { background: var(--surface); padding: 24px; border-radius: var(--radius); }
.offer-list strong { display: block; font-family: var(--font-head); font-size: 1.25rem; margin-bottom: 8px; }
.post { max-width: 760px; margin-inline: auto; }
.post .meta { color: var(--muted); font-size: .9rem; margin-bottom: 24px; }
.quote { font-family: var(--font-head); font-size: clamp(1.3rem, 3vw, 1.9rem); line-height: 1.3; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; text-align: center; }
.site-footer .logo img { height: 40px; margin: 0 auto 18px; }
.socials { display: flex; justify-content: center; gap: 22px; margin: 18px 0; padding: 0; list-style: none; }
.socials a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; text-decoration: none; }
.socials a:hover { background: var(--text); color: var(--bg); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.site-footer small { color: var(--muted); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.94); display: none; place-items: center; z-index: 200; padding: 24px; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 88vh; max-width: 100%; width: auto; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; padding: 10px 16px; }
.lightbox .close { top: 10px; right: 14px; }
.lightbox .prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 6px; top: 50%; transform: translateY(-50%); }
