/* skainet.io. Same visual language as the WITNESS landing page: Biryani,
   #262626 / #E83B3B / #F2F2F2 / #3C3B3B, square shapes, uppercase labels
   with a red square. */

@font-face { font-family: "Biryani"; font-weight: 400; font-style: normal;
  font-display: swap; src: url("../fonts/biryani/biryani-regular.woff2") format("woff2"); }
@font-face { font-family: "Biryani"; font-weight: 600; font-style: normal;
  font-display: swap; src: url("../fonts/biryani/biryani-semibold.woff2") format("woff2"); }
@font-face { font-family: "Biryani"; font-weight: 700; font-style: normal;
  font-display: swap; src: url("../fonts/biryani/biryani-bold.woff2") format("woff2"); }
@font-face { font-family: "Biryani"; font-weight: 800; font-style: normal;
  font-display: swap; src: url("../fonts/biryani/biryani-extrabold.woff2") format("woff2"); }

:root {
  --dark: #262626;
  --red: #E83B3B;
  --red-text: #C62828;   /* red for small text on light ground (AA contrast) */
  --panel: #F2F2F2;
  --text: #3C3B3B;
  --grey: #6E6E6E;       /* secondary text on light ground (AA) */
  --mute: #ACACAC;       /* secondary text on dark ground */
  --line: #D9D9D9;
  --white: #FFFFFF;
  --max: 1160px;
  --gutter: 16px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Biryani", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; color: var(--dark); }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
.red { color: var(--red); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--red); color: var(--white); padding: 8px 16px;
}
.skip:focus { left: 16px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.wrap {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
@media (min-width: 700px) { :root { --gutter: 32px; } }

/* ---------------------------------------------------------- top bar */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--dark); color: var(--white);
  border-bottom: 1px solid #3a3a3a;
}
.topbar .wrap { display: flex; align-items: center; gap: 24px; min-height: 60px; }
.topbar .brand img { width: 112px; height: auto; }
.topbar nav { margin-left: auto; }
.topbar nav ul { display: flex; gap: 26px; }
.topbar nav a {
  text-decoration: none; font-weight: 600; font-size: 13px;
  letter-spacing: .06em; text-transform: uppercase; color: var(--white);
}
.topbar nav a:hover, .topbar nav a[aria-current] { color: var(--red); }
.navtoggle {
  display: none; margin-left: auto; background: none; border: 1px solid #555;
  color: var(--white); font: 600 13px/1 "Biryani", sans-serif; letter-spacing: .06em;
  padding: 10px 12px 8px; cursor: pointer; text-transform: uppercase;
}
@media (max-width: 699px) {
  .navtoggle { display: block; }
  .topbar nav { display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--dark); border-bottom: 3px solid var(--red); }
  .topbar nav.open { display: block; }
  .topbar nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
  .topbar nav a { display: block; padding: 12px 0; border-bottom: 1px solid #3a3a3a; }
}

/* ---------------------------------------------------------- buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  font-size: 15px; letter-spacing: .05em; text-transform: uppercase;
  padding: 15px 22px 12px; border: 2px solid var(--red);
  transition: background .15s, color .15s;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: #c92f2f; border-color: #c92f2f; }
.btn-ghost { color: var(--white); border-color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--dark); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------------------------------------------------------- heroes */
.kicker {
  font-weight: 600; font-size: 14px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--red); margin: 0 0 14px;
}
.hero, .pagehero, .videoband {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--dark); color: var(--white);
}
.hero h1, .pagehero h1, .pagehero h2, .videoband h2 {
  color: var(--white); font-weight: 800; letter-spacing: -.01em; line-height: 1.12;
}
.hero h1, .pagehero h1 { font-size: clamp(30px, 4.6vw, 50px); margin-bottom: 22px; max-width: 17em; }
.lead { color: #D5D5D5; font-size: clamp(16px, 1.6vw, 19px); max-width: 38em; margin: 0; }
.lead strong { color: var(--white); font-weight: 600; }

/* background video or image: fills the section, text sits on a dark scrim */
video.bg, img.bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; max-width: none; object-fit: cover;
}
.hero-media::after, .videoband::after, .pagehero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
}
.hero-media { display: flex; align-items: center; min-height: min(86vh, 760px); padding: 72px 0; }
.hero-media::after { background: linear-gradient(90deg, rgba(20,20,20,.9) 0%, rgba(20,20,20,.72) 45%, rgba(20,20,20,.35) 100%); }
.hero-media .wrap { width: 100%; }
@media (max-width: 699px) {
  .hero-media { min-height: 0; padding: 56px 0 72px; }
  .hero-media::after { background: rgba(20,20,20,.78); }
}
.vtoggle {
  position: absolute; right: var(--gutter); bottom: 16px; z-index: 1;
  background: rgba(20,20,20,.7); border: 1px solid #777; color: var(--white);
  font: 600 12px/1 "Biryani", sans-serif; letter-spacing: .06em; text-transform: uppercase;
  padding: 9px 11px 7px; cursor: pointer;
}
.vtoggle:hover { border-color: var(--white); }

.videoband { padding: 120px 0; text-align: left; }
.videoband::after { background: linear-gradient(90deg, rgba(20,20,20,.88) 0%, rgba(20,20,20,.6) 50%, rgba(20,20,20,.25) 100%); }
@media (max-width: 699px) { .videoband::after { background: rgba(20,20,20,.7); } }
.videoband h2 { font-size: clamp(28px, 4.4vw, 48px); max-width: 16em; }
@media (max-width: 699px) { .videoband { padding: 84px 0; } }

/* page header with a still image */
.pagehero { padding: 88px 0 80px; }
.pagehero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
}
.hero-media { display: flex; align-items: center; min-height: min(86vh, 760px); padding: 72px 0; }
.hero-media::after { background: linear-gradient(90deg, rgba(20,20,20,.9) 0%, rgba(20,20,20,.72) 45%, rgba(20,20,20,.35) 100%); }
.hero-media .wrap { width: 100%; }
@media (max-width: 699px) {
  .hero-media { min-height: 0; padding: 56px 0 72px; }
  .hero-media::after { background: rgba(20,20,20,.78); }
}
.vtoggle {
  position: absolute; right: var(--gutter); bottom: 16px; z-index: 1;
  background: rgba(20,20,20,.7); border: 1px solid #777; color: var(--white);
  font: 600 12px/1 "Biryani", sans-serif; letter-spacing: .06em; text-transform: uppercase;
  padding: 9px 11px 7px; cursor: pointer;
}
.vtoggle:hover { border-color: var(--white); }

.videoband { padding: 120px 0; text-align: left; }
.videoband::after { background: linear-gradient(90deg, rgba(20,20,20,.88) 0%, rgba(20,20,20,.6) 50%, rgba(20,20,20,.25) 100%); }
@media (max-width: 699px) { .videoband::after { background: rgba(20,20,20,.7); } }
.videoband h2 { font-size: clamp(28px, 4.4vw, 48px); max-width: 16em; }
@media (max-width: 699px) { .videoband { padding: 84px 0; } }

/* page header with a still image */
.pagehero { padding: 88px 0 80px; }
.pagehero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: var(--img) var(--pos, center) / cover no-repeat;
}
.pagehero::after { background: linear-gradient(90deg, rgba(20,20,20,.92) 0%, rgba(20,20,20,.78) 50%, rgba(20,20,20,.4) 100%); }
.pagehero.low { padding: 64px 0 56px; }
.pagehero.low h1, .pagehero h2 { font-size: clamp(28px, 4vw, 44px); margin: 0; }
@media (max-width: 699px) {
  .pagehero { padding: 56px 0; }
  .pagehero::after { background: rgba(20,20,20,.8); }
}

/* ---------------------------------------------------------- sections */
.section { padding: 72px 0; }
.section.alt { background: var(--panel); }
.section.dark { background: var(--dark); color: #DADADA; }
.section.dark h2, .section.dark h3 { color: var(--white); }
@media (max-width: 699px) { .section { padding: 52px 0; } }
.label {
  display: flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: 15px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--dark); margin: 0 0 18px;
}
.label::before { content: ""; width: 12px; height: 12px; background: var(--red); flex: none; }
.section .title {
  font-weight: 800; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15;
  margin-bottom: 18px; max-width: 24em;
}
.intro { font-size: 18px; max-width: 46em; margin-bottom: 24px; }

.grid { display: grid; gap: 24px; }
.cols-2, .cols-3 { grid-template-columns: 1fr; }
@media (min-width: 820px) { .cols-2 { grid-template-columns: repeat(2, 1fr); } .cols-3 { grid-template-columns: repeat(3, 1fr); } }

.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .split.rev > :first-child { order: 2; }
}
.shot img { width: 100%; height: auto; }
.shot.dark { background: #000; }

.panel { background: var(--panel); padding: 24px; }
.alt .panel { background: var(--white); }
.panel h3 { font-weight: 700; font-size: 17px; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 10px; }
.panel p:last-child, .panel ul:last-child { margin-bottom: 0; }
.plainlink { color: var(--red-text); font-weight: 700; }

.sq li { position: relative; padding-left: 20px; margin-bottom: 6px; }
.sq li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; background: var(--red); }

/* ---------------------------------------------------------- home */
.refs { padding: 48px 0 56px; border-bottom: 1px solid var(--line); }
.fact { background: var(--dark); color: var(--white); padding: 20px 22px; }
.fact b { display: block; color: var(--red); font-weight: 800; font-size: 30px; line-height: 1.1; margin-bottom: 6px; }
.fact span { color: #D5D5D5; font-size: 15px; }

.steps { margin-top: 12px; }
.step { border-top: 3px solid var(--dark); }
.step .num { font-weight: 800; font-size: 40px; line-height: 1; color: var(--red); display: block; margin-bottom: 12px; }
.step .what { font-weight: 600; color: var(--red-text); font-size: 14px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.step h3 { font-size: 22px; }
.gallery { margin-top: 24px; }
.gallery img { aspect-ratio: 16 / 9; object-fit: cover; }

.band { background: var(--red); color: var(--white); padding: 48px 0; }
.band .wrap { display: grid; gap: 20px; align-items: center; }
@media (min-width: 820px) { .band .wrap { grid-template-columns: 1fr 2.2fr; gap: 48px; } }
.band h2 { color: var(--white); font-weight: 800; font-size: clamp(30px, 3.6vw, 42px); line-height: 1.1; }
.band p { margin: 0; font-size: 18px; color: var(--white); }
.band .more { margin-top: 20px; }
.band .btn-ghost:hover { color: var(--red-text); }

/* ---------------------------------------------------------- about */
.prose { max-width: calc(46em + 2 * var(--gutter)); }
.prose p { font-size: 17px; }
blockquote {
  margin: 28px 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--red);
}
blockquote p { font-weight: 700; font-size: 21px !important; line-height: 1.35; color: var(--dark); margin-bottom: 6px; }
blockquote footer { font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--red-text); }

.logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (min-width: 760px) { .logos { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1100px) { .logos { grid-template-columns: repeat(9, 1fr); } }
.logos li {
  background: var(--white); border: 1px solid var(--line); height: 84px;
  display: flex; align-items: center; justify-content: center; padding: 10px;
}
.logos img { max-height: 60px; max-width: 100%; width: auto; height: auto; filter: grayscale(1) contrast(1.1); opacity: .85; }

/* ---------------------------------------------------------- legal text */
.legaltext h2 { font-weight: 800; font-size: 22px; margin: 36px 0 12px; }
.legaltext h2:first-child { margin-top: 0; }
.legaltext p, .legaltext li { font-size: 16px; }
.legaltext ul { margin: 0 0 1em; }
.legaltext li { position: relative; padding-left: 20px; margin-bottom: 6px; }
.legaltext li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; background: var(--red); }
.legaltext a { color: var(--red-text); font-weight: 600; word-break: break-word; }

/* ---------------------------------------------------------- footer */
.footer { background: var(--dark); color: var(--mute); padding: 64px 0 32px; }
.footer .grid { align-items: start; }
@media (min-width: 820px) { .footer .grid { grid-template-columns: 1.5fr 1.1fr .6fr; gap: 48px; } }
.footer h2 { color: var(--white); font-weight: 800; font-size: clamp(26px, 3vw, 36px); margin-bottom: 16px; }
.footer .mail { font-weight: 800; font-size: clamp(22px, 2.6vw, 30px); color: var(--red); text-decoration: none; display: inline-block; margin-bottom: 12px; word-break: break-word; }
.footer .mail:hover { text-decoration: underline; }
.footer .logo { width: 150px; height: auto; margin-bottom: 18px; }
.footer .links a { color: var(--white); font-weight: 600; }
.footer .links li { margin-bottom: 6px; }
.footer .legal { border-top: 1px solid #3a3a3a; margin-top: 48px; padding-top: 20px; font-size: 13px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
