/* smurks.net — rebuild of the 2012 site.
   Palette and type are carried over from the original smurks.css: the #00a4ff→#00c8ff
   blue wash, white copy, #ff8c00 orange links, #363636 body text on light panels.
   The table layout, jQuery, facebox, swfobject and Flash video are all gone. */

:root {
  --blue: #00a4ff;
  --blue-light: #00c8ff;
  --blue-deep: #0076c0;
  --orange: #ff8c00;
  --ink: #363636;
  --panel: rgba(255, 255, 255, 0.95);
  --panel-edge: rgba(255, 255, 255, 0.5);
  --measure: 62rem;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(0, 48, 80, 0.55);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  min-height: 100%;
  background: linear-gradient(180deg, var(--blue-light) 0%, var(--blue) 42%, var(--blue-deep) 100%)
              no-repeat fixed;
  color: #fff;
  font-family: "Lucida Grande", "Lucida Sans Unicode", "Segoe UI", Verdana, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
}

img { max-width: 100%; height: auto; border: 0; }

a { color: #fff; font-weight: 700; }
a:hover { text-decoration: none; }
:focus-visible { outline: 3px solid #fff; outline-offset: 2px; border-radius: 3px; }

h1, h2, h3, h4 { line-height: 1.2; text-wrap: balance; }

.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 1rem; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- header / nav ------------------------------------------------------- */

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 1.25rem 1rem 0;
}

.site-header .brand img { width: 190px; }

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--panel-edge);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.12);
  transition: background 0.15s ease, color 0.15s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: #fff;
  color: var(--blue-deep);
}

/* --- hero --------------------------------------------------------------- */

.hero { padding: 2.5rem 0 1rem; }

.hero-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: start;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.hero .lede { font-size: 1.125rem; }

.pullquote {
  margin: 1.75rem 0;
  padding: 1.1rem 1.25rem;
  border-left: 4px solid #fff;
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(255, 255, 255, 0.14);
  font-size: 1.0625rem;
}

.pullquote p { margin: 0 0 0.5rem; font-style: italic; }
.pullquote cite { font-style: normal; font-weight: 700; font-size: 0.9375rem; }

.hero-side { text-align: center; }
.hero-side .mark { width: min(260px, 70%); }

/* --- download / social -------------------------------------------------- */

.cta { margin: 1.5rem 0; }
.cta p { margin: 0 0 0.5rem; font-weight: 700; }
.cta .appstore { width: 160px; }
.cta .stars { width: 110px; margin-left: 0.75rem; vertical-align: middle; }

.social { display: flex; gap: 0.9rem; justify-content: center; margin-top: 1.25rem; }
.social img { width: 32px; }

/* --- video -------------------------------------------------------------- */

.video-figure { margin: 0; }

.video-link {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.video-link img { display: block; width: 100%; }

.video-link::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 68px; height: 68px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") no-repeat 54% 50% / 28px 28px;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.video-link:hover::after { background-color: rgba(0, 0, 0, 0.75); transform: scale(1.06); }

.video-figure figcaption { margin-top: 0.6rem; font-size: 0.9375rem; }

/* --- panels ------------------------------------------------------------- */

.panel {
  margin: 2.5rem 0;
  padding: 1.75rem clamp(1rem, 4vw, 2rem);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.panel h2 {
  margin: 0 0 1rem;
  color: var(--blue-deep);
  font-size: clamp(1.25rem, 3.5vw, 1.6rem);
}

.panel h3 { margin: 1.75rem 0 0.4rem; color: var(--blue-deep); font-size: 1.0625rem; }
.panel a { color: #0069ad; }
.panel a:hover { color: var(--orange); }
.panel .mark { float: right; width: 120px; margin: 0 0 1rem 1.5rem; }

.panel ul { padding-left: 1.2rem; }
.panel li { margin-bottom: 0.6rem; }
.hilite { font-weight: 700; color: var(--blue-deep); }

.panel-footnote { margin-bottom: 0; font-weight: 700; color: var(--blue-deep); }

.statements { list-style: none; padding-left: 0; font-style: italic; }
.statements li { margin-bottom: 0.35rem; }

/* support rows */

.support-list { list-style: none; padding: 0; margin: 0; }

.support-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.support-list img { flex: 0 0 auto; width: 54px; }

.app-list img { width: 96px; }
.app-list h3 { margin-top: 0; }
.app-list > li { margin-bottom: 2.25rem; }

/* --- news ticker -------------------------------------------------------- */

.news {
  margin: 2rem 0;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
}

.news h2 {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
}

.news ul { margin: 0; padding: 0; list-style: none; }
.news li { margin: 0.4rem 0; font-size: 0.9375rem; }
.news .outlet { opacity: 0.8; font-weight: 400; }

/* --- data tables (hints, wurkarounds) ----------------------------------- */

.table-wrap { overflow-x: auto; }

table.qa {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 2rem;
  background: var(--panel);
  color: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

table.qa caption {
  caption-side: top;
  padding: 0 0 0.6rem;
  color: #fff;
  font-weight: 700;
  text-align: left;
}

table.qa th, table.qa td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid #d8e8f3;
  text-align: left;
  vertical-align: top;
}

table.qa thead th { background: #e4f3fc; color: var(--blue-deep); }
table.qa th[scope="row"] { width: 38%; font-weight: 700; }
table.qa tr:last-child td, table.qa tr:last-child th { border-bottom: 0; }
table.qa a { color: #0069ad; }
table.qa .inline-icon { width: 24px; vertical-align: middle; }
table.qa .faces img { width: 56px; margin: 0 0.25rem 0.25rem 0; }

/* --- press -------------------------------------------------------------- */

.press-list { list-style: none; padding: 0; }
.press-list li { margin-bottom: 1rem; }
.press-list .meta { display: block; font-size: 0.875rem; color: #5a5a5a; }

.quote-card {
  margin: 0 0 1.25rem;
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--orange);
  background: #f3f9fd;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.quote-card h3 { margin: 0 0 0.4rem; font-size: 1rem; }
.quote-card p { margin: 0 0 0.5rem; }
.quote-card footer { font-weight: 700; font-size: 0.875rem; color: #5a5a5a; }

.bios > div { margin-bottom: 1.75rem; }

/* --- video dialog ------------------------------------------------------- */

dialog.player {
  width: min(90vw, 56rem);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: #000;
  box-shadow: 0 24px 60px -16px rgba(0, 0, 0, 0.7);
}

dialog.player::backdrop { background: rgba(0, 20, 34, 0.78); }

dialog.player .frame { position: relative; aspect-ratio: 16 / 9; }
dialog.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

dialog.player .close {
  position: absolute;
  top: 0.4rem; right: 0.4rem;
  width: 2.25rem; height: 2.25rem;
  border: 0; border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

dialog.player .close:hover { background: rgba(0, 0, 0, 0.85); }

/* --- footer ------------------------------------------------------------- */

.site-footer {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 2.5rem 1rem 3rem;
  text-align: center;
  font-size: 0.8125rem;
}

.site-footer .tagline {
  margin: 0 0 1.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.site-footer .iconicast { height: 44px; width: auto; margin-bottom: 0.75rem; }
.site-footer p { margin: 0.25rem 0; }

/* --- responsive --------------------------------------------------------- */

@media (max-width: 52rem) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { order: -1; }
  .hero-side .mark { width: 180px; }
  table.qa th[scope="row"] { width: auto; }
}

@media (max-width: 34rem) {
  .panel .mark { float: none; display: block; margin: 0 auto 1rem; }
  .support-list li { flex-direction: column; gap: 0.5rem; }
}

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