/* Sehmee — site styles. Dark, dot-field background, centred logo and slogan, frosted app tiles. One typeface: Outfit (self-hosted). */
:root {
  --bg: #1A1B1E;
  --surface-2: #2B2D31;
  --text: #ECECEA;
  --muted: #9EA0A6;
  --line: rgba(255, 255, 255, 0.09);
  --orange: #F5821F;
  --font: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--font); padding-inline: 16px; overflow-x: hidden; }
a { color: inherit; }
button { font: inherit; color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

#field { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.wrap { position: relative; z-index: 1; max-width: 980px; margin-inline: auto; display: grid; justify-items: center; text-align: center; }
main { width: 100%; display: grid; justify-items: center; }
main > section { width: 100%; }
main > .info { width: auto; }

/* logo and slogan */
.brand { padding-block: clamp(64px, 12vw, 140px) 0; }
.brand h1 { margin: 0; line-height: 0; }
.brand img { width: clamp(220px, 46vw, 420px); height: auto; display: block; margin-inline: auto; }
.brand p { margin: 22px auto 0; color: var(--muted); font-size: clamp(18px, 2.2vw, 21px); max-width: 36ch; }

/* small labels */
.label { font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.led { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); margin-right: 8px; vertical-align: 1px; }
.led.off { background: #55575D; box-shadow: none; }
.d { color: var(--orange); }

/* app tiles */
.tiles { margin-top: clamp(56px, 8vw, 88px); width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 310px)); justify-content: center; gap: 14px; text-align: left; }
.tile {
  position: relative; border-radius: 22px; padding: 22px; display: grid; gap: 12px; align-content: start;
  background: linear-gradient(160deg, rgba(255,255,255,.035), rgba(255,255,255,.005));
  border: 1px solid rgba(255,255,255,.11);
  backdrop-filter: blur(3px) saturate(120%); -webkit-backdrop-filter: blur(3px) saturate(120%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .25s, background .25s, box-shadow .35s, opacity .25s;
}
.tile:hover, .tile:focus-within {
  transform: translateY(-10px) scale(1.035); z-index: 2;
  background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.03));
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-color: rgba(245,130,31,.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 30px 60px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(245,130,31,.25);
}
.tiles:has(.tile:hover) .tile:not(:hover) { opacity: .55; }
.tile .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.tile .icon { width: 64px; height: 64px; border-radius: 18px; flex: none; overflow: hidden; display: block; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.tile .icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile:hover .icon { transform: scale(1.08); }
.tile .label { white-space: nowrap; }
.tile h3 { margin: 4px 0 0; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.tile p { margin: 0; color: var(--muted); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.chips li { font-size: 12.5px; padding: 3px 10px; border-radius: 99px; background: rgba(255,255,255,.06); color: var(--muted); transition: background .25s, color .25s; }
.tile:hover .chips li { background: rgba(245,130,31,.14); color: var(--text); }
.tile.ph { border-style: dashed; background: transparent; box-shadow: none; }
.tile.ph .icon { border: 1.5px dashed rgba(255,255,255,.16); }
.tile.ph h3 { color: var(--muted); font-weight: 500; }

/* about and contact */
.info { margin-top: clamp(64px, 9vw, 96px); display: grid; justify-items: center; gap: 16px; max-width: 46ch; }
.info h2 { margin: 0; }
.info p { margin: 0; color: var(--muted); }
.email { margin-top: 6px; }
.email-reveal, .email-copy { font: 500 15px var(--font); color: var(--text); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.22); border-radius: 99px; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: border-color .2s, background .2s, transform .2s; }
.email-reveal { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; }
.email-reveal::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.email-reveal:hover, .email-copy:hover { border-color: var(--orange); background: rgba(245,130,31,.1); }
.email-reveal:hover { transform: translateY(-1px); }
.email-shown { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.mail { font-size: clamp(20px, 2.6vw, 24px); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.email-copy { padding: 5px 12px; font-size: 13px; }

footer { padding-block: 40px 44px; display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }

@media (hover: none) { .tiles:has(.tile:hover) .tile:not(:hover) { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .tile, .tile .icon, .email-reveal { transition: none; }
  .tile:hover, .tile:focus-within, .tile:hover .icon, .email-reveal:hover { transform: none; }
}

/* text pages (privacy policy): one readable column on a frosted panel; the dots stay but are dimmed */
.doc-page #field { opacity: .5; }
.doc-head { padding-block: clamp(36px, 6vw, 64px) 0; }
.doc-head img { width: 160px; height: auto; display: block; }
.doc {
  display: block; justify-items: normal; width: 100%; max-width: 720px; margin-top: clamp(32px, 5vw, 48px); text-align: left;
  padding: clamp(24px, 5vw, 48px); border-radius: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(10px) saturate(120%); -webkit-backdrop-filter: blur(10px) saturate(120%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.doc h1 { margin: 8px 0 0; font-size: clamp(34px, 5vw, 48px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.doc .lead { font-size: 19px; color: var(--text); margin-top: 18px; }
.doc h2 { margin: 40px 0 0; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.doc h3 { margin: 24px 0 0; font-size: 17px; font-weight: 600; }
.doc p, .doc li { color: #C4C6CB; max-width: 65ch; }
.doc p { margin: 10px 0 0; }
.doc ul { margin: 10px 0 0; padding-left: 1.2em; display: grid; gap: 6px; }
.doc li::marker { color: var(--orange); }
.doc a { text-decoration-color: var(--orange); text-underline-offset: 3px; }
.doc .email { margin-top: 14px; }
.doc .email-shown { justify-content: flex-start; }

/* 404 page */
.notfound { margin-top: clamp(56px, 8vw, 88px); display: grid; justify-items: center; gap: 14px; }
.notfound h1 { margin: 0; font-size: clamp(34px, 5vw, 48px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.notfound p { margin: 0; color: var(--muted); max-width: 40ch; }
.home-btn { margin-top: 12px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; border-radius: 99px; text-decoration: none; font-size: 15px; font-weight: 500; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: border-color .2s, background .2s, transform .2s; }
.home-btn::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.home-btn:hover { border-color: var(--orange); background: rgba(245,130,31,.1); transform: translateY(-1px); }
.notfound + footer { margin-top: clamp(64px, 10vw, 120px); }
@media (prefers-reduced-motion: reduce) { .home-btn { transition: none; } .home-btn:hover { transform: none; } }
