/* =====================================================
   ORAKL · futuristic dark theme
   ===================================================== */
:root {
  --bg: #020d10;
  --bg-2: #041519;
  --glass: rgba(45, 212, 191, 0.04);
  --glass-2: rgba(45, 212, 191, 0.08);
  --line: rgba(94, 234, 212, 0.10);
  --line-2: rgba(94, 234, 212, 0.22);
  --text: #e6f4f2;
  --muted: #7fa3a0;
  --dim: #4a6b69;
  --pink: #ff4fa3;
  --violet: #9b72ff;
  --teal: #2dd4bf;
  --gold: #e8c26a;
  --grad: linear-gradient(110deg, #0f766e, var(--teal) 55%, #7dd3fc);
  --head: "Michroma", "Arial Black", sans-serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gutter: 16px;
  --max: 1200px;
  --r: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}
/* drifting aurora + faint grid, behind everything */
body::before {
  content: ""; position: fixed; inset: -20%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(40% 35% at 20% 15%, rgba(20,184,166,.16), transparent 70%),
    radial-gradient(35% 30% at 85% 30%, rgba(8,145,178,.12), transparent 70%),
    radial-gradient(40% 35% at 60% 90%, rgba(13,148,136,.12), transparent 70%);
  animation: drift 28s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate3d(4%, 3%, 0) rotate(6deg); } }

a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.2; margin: 0; text-transform: uppercase; letter-spacing: .06em; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px;
}
.eyebrow::before { content: "// "; color: var(--teal); }

/* ============ Announcement bar ============ */
.announce {
  position: relative; text-align: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  padding: 9px var(--gutter); color: var(--muted); background: #000;
}
.announce::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--grad); opacity: .7; }
.announce--sale { color: var(--text); }

/* ============ Top bar ============ */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 12px;
  padding: 10px var(--gutter);
  background: rgba(2,13,16,.75);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.topbar__logo img { width: 34px; height: 34px; transition: transform .6s; }
.topbar__logo:hover img { transform: rotate(-180deg); }
.topbar__nav { display: flex; gap: 18px; margin-left: auto; }
.topbar__nav a {
  position: relative; text-decoration: none;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); transition: color .2s; padding: 6px 0;
}
.topbar__nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--grad); transition: right .3s; }
.topbar__nav a:hover, .topbar__nav a[aria-current="page"] { color: var(--text); }
.topbar__nav a:hover::after, .topbar__nav a[aria-current="page"]::after { right: 0; }

/* ============ Buttons ============ */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--head); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
  padding: 17px 30px; border-radius: 999px; cursor: pointer; text-decoration: none;
  color: var(--text); border: 1px solid transparent;
  background:
    linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
    var(--grad) border-box;
  transition: box-shadow .3s, transform .15s, background .3s;
}
.btn::after { content: "→"; font-family: var(--sans); font-size: 15px; letter-spacing: 0; transition: transform .3s; }
.btn:hover { box-shadow: 0 0 28px -4px rgba(45,212,191,.55), 0 0 60px -20px rgba(20,184,166,.6); }
.btn:hover::after { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn--ghost {
  background: linear-gradient(#04181c, #04181c) padding-box, linear-gradient(var(--line-2), var(--line-2)) border-box;
}
.btn--ghost:hover { background: linear-gradient(#04181c, #04181c) padding-box, var(--grad) border-box; }
.btn--buy {
  display: flex; width: 100%; padding: 19px; font-size: 12px;
  background: var(--grad); color: #021114; font-weight: 700; border: 0;
  background-size: 160% 100%; transition: background-position .5s, box-shadow .3s;
}
.btn--buy:hover { background-position: 100% 0; }
.btn--buy::after { content: none; }
.btn--buy.is-off, .btn--buy:disabled {
  background: var(--glass-2); color: var(--dim); cursor: not-allowed; box-shadow: none;
}

/* ============ Hero ============ */
.hero {
  position: relative; text-align: center; overflow: hidden; isolation: isolate;
  min-height: calc(100svh - 100px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 64px var(--gutter) 72px;
}
.hero::before {
  content: ""; position: absolute; left: 50%; top: 42%; width: min(120vw, 900px); aspect-ratio: 1;
  translate: -50% -50%; border-radius: 50%; z-index: -1;
  background: conic-gradient(from 0deg, rgba(45,212,191,0), rgba(45,212,191,.22), rgba(8,145,178,.18), rgba(15,118,110,.22), rgba(45,212,191,0));
  filter: blur(60px); opacity: .7; animation: spin 30s linear infinite;
}
.hero__hud {
  position: absolute; left: var(--gutter); right: var(--gutter); top: 18px; display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim);
}
.hero__hud--bottom { top: auto; bottom: 18px; }
.hero__wordmark { width: min(90%, 680px); margin: 0 auto 36px; filter: drop-shadow(0 0 24px rgba(45,212,191,.35)); }
.hero__title {
  font-size: clamp(24px, 8vw, 56px); letter-spacing: .14em; margin: 0 -.14em 14px 0;
  background: linear-gradient(180deg, #fff, #b9b9c9); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__text { color: var(--muted); max-width: 420px; margin: 0 auto 22px; }
.hero__sale {
  display: table; margin: 0 auto 30px; padding: 9px 18px; border-radius: 999px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #fff;
  border: 1px solid transparent;
  background: linear-gradient(#062126, #062126) padding-box, var(--grad) border-box;
  box-shadow: 0 0 30px -6px rgba(20,184,166,.6);
  animation: pulse 3s ease-in-out infinite;
}
@keyframes spin { to { rotate: 360deg; } }
@keyframes pulse { 50% { box-shadow: 0 0 44px -4px rgba(45,212,191,.7); } }

/* ============ Sections ============ */
.section { max-width: var(--max); margin: 0 auto; padding: 56px var(--gutter); }
.section__title { font-size: clamp(18px, 5vw, 28px); margin-bottom: 26px; }
.section--shop { padding-top: 48px; }
.section--shop .section__title { font-size: clamp(26px, 8vw, 44px); }
.section--soldout .section__title { color: var(--text); }
.showcase__head { text-align: center; padding: 0 var(--gutter); margin-bottom: 30px; }
.showcase__head .section__title { margin: 0; }
.showcase__cta { text-align: center; margin-top: 40px; }

/* ============ Product cards ============ */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.card {
  position: relative; display: block; text-decoration: none;
  border-radius: var(--r); padding: 6px; background: var(--glass);
  border: 1px solid var(--line);
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(45,212,191,.45); box-shadow: 0 18px 50px -20px rgba(45,212,191,.55); }
.card__img { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: calc(var(--r) - 5px); background: #03141a; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.card:hover .card__img img { transform: scale(1.06); }
.card__no {
  position: absolute; top: 11px; right: 11px; z-index: 1;
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: rgba(0,0,0,.5);
}
.card__body { padding: 12px 8px 8px; }
.card__name { font-family: var(--sans); font-weight: 600; font-size: 14.5px; text-transform: none; letter-spacing: 0; line-height: 1.3; margin-bottom: 4px; }
.card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.card__price { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.card--out { opacity: 1; }
.card--out .card__price { text-decoration: line-through; }

.pill { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.pill--out { color: var(--text); }
.pill--last { color: #5eead4; border-color: rgba(20,184,166,.5); }

.sale-tag {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .06em;
  padding: 5px 9px; border-radius: 999px; color: #021114; background: var(--grad);
  box-shadow: 0 0 18px -4px rgba(20,184,166,.7);
}
.sale-tag--inline { position: static; display: inline-block; vertical-align: middle; margin-left: 8px; }
.was { color: var(--dim); font-size: .92em; }
.now { color: var(--text); }
.card__price .now { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }

/* ============ Home carousel ============ */
.showcase { padding: 32px 0 80px; }
.carousel { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.carousel::-webkit-scrollbar { display: none; }
.carousel__track { display: flex; gap: 14px; width: max-content; padding: 8px var(--gutter) 20px; }
.carousel .card { width: 68vw; max-width: 300px; flex: 0 0 auto; }
.carousel .card__img img { pointer-events: none; }

/* ============ Instagram ============ */
.insta { padding: 40px 0 88px; }
.insta__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.insta__tile { aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: var(--glass); border: 1px solid var(--line); display: grid; place-items: center; }
.insta__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.insta__tile:hover img { transform: scale(1.06); }
.insta__tile--blank { background: radial-gradient(circle at 50% 40%, rgba(45,212,191,.12), transparent 70%), var(--glass); }
.insta__tile--blank img { width: 30%; height: auto; opacity: .3; }
.insta__tile--blank:hover img { opacity: .7; transform: rotate(-90deg); }

/* ============ Product page ============ */
.product { max-width: var(--max); margin: 0 auto; padding: 18px var(--gutter) 64px; }
.back { display: inline-block; color: var(--muted); text-decoration: none; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.back:hover { color: var(--text); }
.product__grid { display: grid; gap: 28px; }
.gallery { position: relative; }
.gallery__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  border-radius: var(--r); background: #03141a; border: 1px solid var(--line);
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track img { flex: 0 0 100%; width: 100%; aspect-ratio: 1; object-fit: cover; scroll-snap-align: start; }
.gallery__dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.gallery__dots button { width: 22px; height: 3px; padding: 0; border-radius: 2px; border: 0; background: var(--line-2); cursor: pointer; transition: background .3s, width .3s; }
.gallery__dots button.on { width: 36px; background: var(--grad); }
.product__info { padding: 4px 2px; }
.product__name { font-size: clamp(22px, 6.5vw, 34px); margin-bottom: 12px; }
.product__price { font-family: var(--mono); font-size: 22px; margin-bottom: 10px; }
.product__left { margin-bottom: 20px; font-size: 14px; }
.product__left:empty { display: none; }
.label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 18px 0 10px; }
.options { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.opt {
  font: 500 14px/1.2 var(--sans); color: var(--text); text-align: left;
  background: var(--glass); border: 1px solid var(--line); border-radius: 12px;
  padding: 11px 15px; cursor: pointer; transition: border-color .2s, background .2s;
}
.opt small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.opt:hover { border-color: var(--line-2); }
.opt.on { border-color: transparent; background: linear-gradient(#062126, #062126) padding-box, var(--grad) border-box; }
.opt:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.product__note { font-family: var(--mono); font-size: 11.5px; color: var(--muted); text-align: center; margin: 12px 0 26px; min-height: 1.3em; }
.product__desc { color: #c9c9d6; }
.product__details { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.product__details li { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); padding-left: 18px; position: relative; }
.product__details li::before { content: "◇"; position: absolute; left: 0; color: var(--teal); }
.sizes { border: 1px solid var(--line); background: var(--glass); border-radius: 12px; padding: 13px 15px; margin-bottom: 22px; }
.sizes summary { cursor: pointer; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.sizes table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 13px; }
.sizes th, .sizes td { text-align: left; padding: 8px 4px; border-bottom: 1px solid var(--line); }
.sizes th { color: var(--muted); font-weight: 500; }
.product__final { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound { text-align: center; padding: 80px 0; }
.notfound h1 { margin-bottom: 12px; }

/* ============ Basket ============ */
.basket-btn { position: relative; width: 40px; height: 40px; margin-right: -6px; background: none; border: 0; color: var(--text); cursor: pointer; display: grid; place-items: center; }
.basket-btn svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.basket-btn__n:not(:empty) {
  position: absolute; top: 3px; right: 0; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; font: 700 10.5px/18px var(--mono); text-align: center; background: var(--grad); color: #021114;
  box-shadow: 0 0 14px -2px rgba(20,184,166,.8);
}
.drawer-shade { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 41; width: min(430px, 100%);
  background: rgba(3,18,22,.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid var(--line); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.basket-open { overflow: hidden; }
.basket-open .drawer-shade { opacity: 1; pointer-events: auto; }
.basket-open .drawer { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px var(--gutter); border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 14px; letter-spacing: .16em; }
.drawer__close { background: none; border: 0; color: var(--text); font-size: 30px; line-height: 1; cursor: pointer; padding: 0 4px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 16px var(--gutter) max(24px, env(safe-area-inset-bottom)); }
.drawer__empty { color: var(--muted); margin: 24px 0 20px; }
.lines { list-style: none; margin: 0 0 20px; padding: 0; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.line__name { font-weight: 600; margin: 0 0 2px; font-size: 14px; }
.line__opt { color: var(--muted); font-size: 13px; margin: 0 0 6px; }
.line__max { color: #5eead4; font-family: var(--mono); font-size: 11px; margin: 6px 0 0; }
.line__right { text-align: right; font-family: var(--mono); font-size: 13px; }
.line__right p { margin: 0 0 6px; }
.line__rm { background: none; border: 0; color: var(--muted); font-family: var(--mono); font-size: 11px; text-decoration: underline; cursor: pointer; padding: 0; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; margin-top: 6px; }
.qty button { width: 32px; height: 30px; background: none; border: 0; color: var(--text); font-size: 17px; cursor: pointer; }
.qty button:disabled { opacity: .3; cursor: not-allowed; }
.qty span { min-width: 20px; text-align: center; font-family: var(--mono); font-size: 13px; }
.zone { width: 100%; margin-bottom: 18px; padding: 13px; border-radius: 12px; background: var(--glass-2); color: var(--text); border: 1px solid var(--line); font: 15px var(--sans); }
.zone option { background: #041519; }
.sums { display: grid; grid-template-columns: 1fr auto; gap: 6px 0; margin: 0 0 10px; font-size: 14px; }
.sums dt { color: var(--muted); }
.sums dd { margin: 0; text-align: right; font-family: var(--mono); }
.sums .sums__total { color: var(--text); font-weight: 700; font-size: 16px; padding-top: 10px; border-top: 1px solid var(--line); }
.drawer__note { font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin: 0 0 16px; text-align: center; }
.drawer .btn--buy { margin-bottom: 10px; }
.drawer .btn--ghost { display: inline-flex; }

/* ============ Footer ============ */
.footer { position: relative; padding: 60px var(--gutter) max(28px, env(safe-area-inset-bottom)); background: rgba(0,0,0,.5); border-top: 1px solid var(--line); }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--grad); opacity: .5; }
.footer__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; }
.footer__brand { grid-column: 1 / -1; }
.footer__mark { width: 44px; height: 44px; margin: 0 0 14px; }
.footer__tag { color: var(--muted); font-size: 14px; max-width: 280px; margin: 0; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col:last-child { grid-column: 1 / -1; }
.footer__h { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--text); margin-bottom: 4px; }
.footer__col a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color .2s; }
.footer__col a:hover { color: var(--text); }
.footer__legal { max-width: var(--max); margin: 44px auto 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--dim); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; }

/* ============ Text pages (about, privacy, returns) ============ */
.page { max-width: 700px; margin: 0 auto; padding: 48px var(--gutter) 72px; }
.page h1 { font-size: clamp(26px, 8vw, 44px); margin-bottom: 10px; }
.page h2 { font-size: 14px; letter-spacing: .14em; margin: 38px 0 12px; }
.page h2::before { content: "// "; font-family: var(--mono); color: var(--teal); }
.page p, .page li { color: #b9b9c8; }
.page a { color: var(--text); }
.page .btn { color: var(--text); text-decoration: none; }
.page .updated { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.todo { color: var(--pink) !important; }
.about-page__lead { font-family: var(--head); font-size: clamp(16px, 4.8vw, 22px); color: var(--text) !important; text-transform: uppercase; letter-spacing: .06em; margin: 22px 0 20px; }
.about-page strong { color: var(--text); }
.about-page em { font-style: normal; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-page__cta { margin-top: 40px; text-align: center; }

/* ============ Bigger screens ============ */
@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .topbar__nav { gap: 30px; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .card { padding: 8px; }
  .card__name { font-size: 15px; }
  .carousel .card { width: 290px; }
  .carousel__track { gap: 20px; }
  .carousel {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  }
  .insta__grid { grid-template-columns: repeat(6, 1fr); gap: 10px; }
  .product__grid { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
  .product__info { position: sticky; top: 96px; }
  .section { padding: 72px var(--gutter); }
  .footer__grid { grid-template-columns: 2fr 1fr 1.3fr; }
  .footer__brand, .footer__col:last-child { grid-column: auto; }
}
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(4, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
.footer__col--info p { margin: 0; color: var(--muted); font-size: 14px; padding-left: 16px; position: relative; }
.footer__col--info p::before { content: "◇"; position: absolute; left: 0; color: var(--teal); font-size: 11px; top: 3px; }

/* Footer layout: Help left · logo centre · Contact right */
.footer__grid { grid-template-columns: 1fr 1fr; grid-template-areas: "brand brand" "help contact"; align-items: start; }
.footer__grid > .footer__brand { grid-area: brand; justify-self: center; }
.footer__brand .footer__mark { margin: 0 auto; }
.footer__grid > .footer__col:nth-of-type(2) { grid-area: help; }
.footer__grid > .footer__col:last-child { grid-area: contact; text-align: right; align-items: flex-end; }
@media (min-width: 720px) {
  .footer__grid { grid-template-columns: 1fr auto 1fr; grid-template-areas: "help brand contact"; align-items: center; }
  .footer__brand .footer__mark { width: 56px; height: 56px; }
}
/* Help and Contact: text lined up on the left, each block centred in its side */
.footer__grid > .footer__col { justify-self: center; text-align: left; align-items: flex-start; }
.footer__grid > .footer__col:last-child { text-align: left; align-items: flex-start; }
/* Help and Contact: every line centred on the same middle line */
.footer__grid > .footer__col,
.footer__grid > .footer__col:last-child { text-align: center; align-items: center; }

/* ============ Join the list ============ */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.join { max-width: 620px; margin: 0 auto; padding: 40px var(--gutter) 72px; text-align: center; display: grid; justify-items: center; gap: 4px; }
.join .section__title { margin-bottom: 18px; }
.join__form {
  display: flex; gap: 6px; width: 100%; max-width: 460px; padding: 6px; border-radius: 999px;
  border: 1px solid transparent; background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad) border-box;
}
.join__form input[type=email] { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--text); font: 16px var(--sans); padding: 0 16px; }
.join__form input::placeholder { color: var(--dim); }
.join__form button { font-family: var(--head); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; padding: 14px 22px; border: 0; border-radius: 999px; cursor: pointer; background: var(--grad); color: #021114; font-weight: 700; }
.join__form button:disabled { opacity: .6; cursor: default; }
.join__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.join__note { font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin: 12px 0 0; max-width: 420px; }
.join--inline { padding: 40px 0 8px; margin-top: 32px; }
.join--inline h2 { font-size: 15px; letter-spacing: .14em; margin-bottom: 16px; }
.join--inline h2::before { content: none; }

/* ============ You might also like ============ */
.related { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.related .section__title { font-size: clamp(16px, 4.5vw, 22px); }
.related .grid { grid-template-columns: repeat(2, 1fr); }
.related .grid .card:nth-child(3) { display: none; }
@media (min-width: 720px) {
  .related .grid { grid-template-columns: repeat(3, 1fr); }
  .related .grid .card:nth-child(3) { display: block; }
}

/* ============ Hieroglyph details (subtle, teal) ============ */
:root { --glyph: "Noto Sans Egyptian Hieroglyphs", "Segoe UI Historic", "Noto Sans", sans-serif; }
.glyph-rule { display: flex; align-items: center; gap: 18px; max-width: var(--max); margin: 0 auto; padding: 8px var(--gutter); color: var(--teal); }
.glyph-rule::before, .glyph-rule::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(45,212,191,.35)); }
.glyph-rule::after { background: linear-gradient(90deg, rgba(45,212,191,.35), transparent); }
.glyph-rule span { font-family: var(--glyph); font-size: 18px; letter-spacing: .5em; opacity: .45; white-space: nowrap; overflow: hidden; max-width: 70%; text-overflow: clip; }
.glyph-col {
  position: absolute; top: 50%; translate: 0 -50%; z-index: 0;
  writing-mode: vertical-rl; font-family: var(--glyph); font-size: 22px; letter-spacing: .7em;
  color: var(--teal); opacity: .14; pointer-events: none; white-space: nowrap;
}
.glyph-col--l { left: max(10px, env(safe-area-inset-left, 0px)); }
.glyph-col--r { right: max(10px, env(safe-area-inset-right, 0px)); }
@media (max-width: 719px) { .glyph-col { font-size: 15px; opacity: .1; } }
.card__body { position: relative; }
.card__glyph {
  position: absolute; right: 10px; bottom: 10px; font-family: var(--glyph); font-size: 20px; color: var(--teal);
  opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s;
}
.card:hover .card__glyph, .card:focus-visible .card__glyph { opacity: .7; transform: none; }
@media (hover: none) { .card__glyph { opacity: .35; transform: none; } }
.glyph-row {
  max-width: var(--max); margin: 40px auto 0; text-align: center; font-family: var(--glyph); font-size: 16px;
  letter-spacing: .6em; color: var(--teal); opacity: .25; white-space: nowrap; overflow: hidden;
}
.glyph-row + .footer__legal { margin-top: 14px; }
.drawer__glyph { font-family: var(--glyph); font-size: 44px; color: var(--teal); opacity: .5; margin: 28px 0 0; }

/* Soft blends instead of hard edges */
.hero::before {
  -webkit-mask-image: radial-gradient(closest-side, #000 45%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 45%, transparent 100%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
.footer { border-top: 0; background: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.55) 120px, rgba(0,0,0,.6) 100%); padding-top: 120px; }
.footer::before { content: none; }

/* Background glow covers the whole page (no edge where the first screen ends) */
body::before {
  position: absolute; inset: 0; animation: none;
  background:
    radial-gradient(700px 600px at 15% 300px, rgba(20,184,166,.16), transparent 70%),
    radial-gradient(600px 500px at 90% 700px, rgba(8,145,178,.12), transparent 70%),
    radial-gradient(800px 600px at 30% 1500px, rgba(13,148,136,.10), transparent 70%),
    radial-gradient(700px 600px at 85% 2200px, rgba(8,145,178,.09), transparent 70%),
    radial-gradient(900px 700px at 40% 3000px, rgba(20,184,166,.08), transparent 70%);
}
html, body { min-height: 100%; }
.hero { min-height: min(calc(100svh - 100px), 820px); }

/* ============ Carousel: image-led cards with a focused centre ============ */
.carousel__track { align-items: center; padding-block: 40px 56px; }
.carousel--focus .card {
  --f: 1;
  padding: 0; border: 0; background: none; box-shadow: none;
  transform: scale(calc(.84 + var(--f) * .16));
  filter: brightness(calc(.55 + var(--f) * .45)) saturate(calc(.6 + var(--f) * .4));
  transition: none;
}
.carousel--focus .card:hover { transform: scale(calc(.86 + var(--f) * .16)); }
.carousel--focus .card__img {
  border-radius: 18px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.9), 0 0 calc(var(--f) * 50px) calc(var(--f) * -6px) rgba(45,212,191,calc(var(--f) * .45));
  outline: 1px solid rgba(94,234,212,calc(var(--f) * .5)); outline-offset: -1px;
}
.carousel--focus .card__body {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 16px 14px; text-align: left;
  border-radius: 0 0 18px 18px; background: linear-gradient(to top, rgba(2,13,16,.92), rgba(2,13,16,.6) 55%, transparent);
}
.carousel--focus .card__name { color: #fff; font-size: 16px; }
.carousel--focus .card__price { color: rgba(255,255,255,.75); }
.carousel--focus .card__price .was { color: rgba(255,255,255,.5); }
.carousel--focus .card__glyph { opacity: calc(var(--f) * .8); transform: none; right: 14px; bottom: 16px; }
.carousel--focus .card__no { color: rgba(255,255,255,.75); background: rgba(2,13,16,.45); padding: 3px 7px; border-radius: 99px; }
.carousel .card { width: 72vw; max-width: 320px; }
@media (min-width: 720px) { .carousel .card { width: 320px; } .carousel__track { gap: 8px; } }
@media (prefers-reduced-motion: reduce) { .carousel--focus .card { transform: none; filter: none; } }

/* Hero: more breathing room */
.hero { min-height: min(calc(100svh - 100px), 920px); padding-block: 96px 112px; }
.hero__wordmark { margin-bottom: 64px; }
.hero__title { margin-bottom: 22px; }
.hero__text { margin-bottom: 40px; }
.hero__sale { margin-bottom: 44px; }
@media (max-width: 719px) {
  .hero { padding-block: 72px 88px; }
  .hero__wordmark { margin-bottom: 44px; }
  .hero__text { margin-bottom: 32px; }
  .hero__sale { margin-bottom: 36px; }
}
/* Sale badge + Shop now: tighter together and a little higher */
.hero__text { margin-bottom: 26px; }
.hero__sale { margin-bottom: 22px; }
@media (max-width: 719px) { .hero__text { margin-bottom: 22px; } .hero__sale { margin-bottom: 20px; } }

/* Hieroglyphs in the top bar, between the logo and the menu */
.topbar__glyphs {
  flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-align: center;
  font-family: var(--glyph); font-size: 15px; letter-spacing: .55em; color: var(--teal); opacity: .35;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  padding-inline: 12px;
}
.topbar__nav { margin-left: 0; }
@media (max-width: 719px) { .topbar__glyphs { font-size: 13px; letter-spacing: .4em; padding-inline: 4px; } }

/* ===== 404 page ===== */
.notfound{min-height:62vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:96px 20px;gap:14px}
.notfound__glyph{font-family:"Noto Sans Egyptian Hieroglyphs",sans-serif;font-size:72px;line-height:1;background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 0 24px rgba(45,212,191,.35))}
.notfound__text{max-width:30em;color:var(--muted,#8fb3b0);margin:0 0 10px}

/* About: tighter gap between the button and the footer */
.about-page { padding-bottom: 12px; }
.about-page__cta { margin-bottom: 0; }
.about-page + .footer { padding-top: 64px; }

/* Section dividers: just a thin teal line (no hieroglyphs) */
.glyph-rule { gap: 0; padding-block: 12px; }
.glyph-rule span { display: none; }
.glyph-rule::before { background: linear-gradient(90deg, transparent, rgba(45,212,191,.35)); }
.glyph-rule::after { background: linear-gradient(90deg, rgba(45,212,191,.35), transparent); }

/* Home: "Shop all" button 1cm higher */
.showcase .showcase__cta { margin-top: 2px; }

/* Home: less empty space under the buttons before the next section */
.showcase { padding-bottom: 28px; }
.insta { padding-top: 28px; padding-bottom: 36px; }
.join { padding-top: 28px; }

/* Half the empty space above the footer */
.join { padding-bottom: 36px; }
.footer { padding-top: 60px; background: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.55) 60px, rgba(0,0,0,.6) 100%); }
.about-page + .footer { padding-top: 48px; }

/* Blend the hero into the page (no hard line under "Shop now") */
.hero::after { content: none; }

/* A bit more breathing room around the section dividers */
.glyph-rule { padding-block: 24px; }

/* Footer: © ORAKL sits under the logo, the pair centred */
.footer__brand { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer__brand .footer__mark { margin: 0 auto; }
.footer__copy { margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--dim); }

/* Sign-up: clear "joined" state */
.join__form button.is-done, .join__form button.is-done:disabled { opacity: 1; background: var(--teal); color: #021114; }
.join__note--done { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 18px; padding: 18px 22px; border: 1px solid rgba(45,212,191,.45); border-radius: 18px; background: rgba(45,212,191,.08); color: var(--text); font-family: var(--sans); font-size: 15px; animation: joinIn .35s ease-out; }
.join__note--done strong { font-family: var(--head); font-size: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.join__tick { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: #021114; font-size: 22px; font-weight: 700; }
@keyframes joinIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Basket: how it is sent */
.drawer__note--how { color: var(--text); margin-bottom: 8px; }
