/* Sisk Company — site styles. Plain CSS, mobile-first. Brand colors/fonts carried over from legacy site. */

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/roboto-400.ttf") format("truetype");
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/roboto-700.ttf") format("truetype");
}
@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/raleway-400.ttf") format("truetype");
}

:root {
  --color-primary: #004f83;
  --color-primary-dark: #003f69;
  --color-primary-darker: #002842;
  --color-secondary: #d1613b;
  --color-secondary-dark: #ae4a29;
  --color-heading: #2c2c2c;
  --color-text: #000;
  --color-muted: #707070;
  --color-border: #c1c1c1;
  --color-light: #f7f7f7;
  --color-white: #fff;
  --color-error: #cc4b37;
  --color-success: #1e7e45;
  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-heading: "Raleway", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 75rem;
  --radius: 4px;
  --shadow: 0 3px 6px rgba(0, 0, 0, 0.09);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--color-heading);
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3, .h3 { font-size: 1.3rem; }
h4, .h4 { font-size: 1.1rem; }

@media (min-width: 52em) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }
  h3, .h3 { font-size: 1.5rem; }
  h4, .h4 { font-size: 1.25rem; }
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--color-primary);
}

a:hover {
  color: var(--color-primary-dark);
}

:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
}

address {
  font-style: normal;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}

.container--narrow {
  max-width: 56rem;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
  color: var(--color-white);
}

/* Buttons */
.button {
  display: inline-block;
  padding: 0.85em 1.25em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.95rem;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease-out, color 0.2s ease-out;
}

.button--primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--color-primary-dark);
  color: var(--color-white);
}

.button--secondary {
  background: var(--color-secondary);
  color: var(--color-text);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  background: var(--color-secondary-dark);
  color: var(--color-text);
}

.button--clear {
  background: transparent;
  color: var(--color-secondary-dark);
  padding-left: 0;
  padding-right: 0;
}

.button--clear:hover,
.button--clear:focus-visible {
  background: transparent;
  color: var(--color-primary);
}

.button--small {
  font-size: 0.8rem;
}

.button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Header */
.site-header {
  box-shadow: var(--shadow);
  background: var(--color-white);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.site-header__logo img {
  width: 200px;
  height: auto;
}

.site-nav {
  width: 100%;
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__link {
  display: inline-block;
  padding: 0.5rem 0;
  color: var(--color-primary);
  text-decoration: none;
}

.site-nav__link:hover {
  text-decoration: underline;
}

.site-nav__cta {
  margin-left: auto;
}

@media (min-width: 52em) {
  .site-nav {
    width: auto;
  }
  .site-nav__list {
    gap: 1.75rem;
  }
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-primary);
  text-align: center;
  font-size: 0.9rem;
}

.site-footer address {
  margin-bottom: 0.5rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__links li + li::before {
  content: "|";
  margin-right: 0.75rem;
  color: var(--color-muted);
}

/* Home hero */
.hero-banner {
  background-color: var(--color-primary-darker);
  background-image: url("/img/sisk-girl-social-mobile2.jpg");
  background-position: 50%;
  background-size: cover;
}

@media (min-width: 52em) {
  .hero-banner {
    background-image: url("/img/sisk-girl-social.jpg");
  }
}

.hero-banner .container {
  display: flex;
  align-items: center;
  min-height: 350px;
}

@media (min-width: 52em) {
  .hero-banner .container {
    min-height: 450px;
  }
}

.hero-banner__panel {
  max-width: 22rem;
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
}

/* Split hero (products/services) */
.hero-split {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin: 1.5rem 0 2.5rem;
}

@media (min-width: 52em) {
  .hero-split {
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
  }
}

.hero-split__media video,
.hero-split__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--color-light);
}

/* Page header with banner (about) */
.page-banner {
  text-align: center;
  margin: 2rem 0 2.5rem;
}

.page-banner img {
  margin: 0 auto 2.5rem;
  width: 100%;
  aspect-ratio: 1000 / 350;
  object-fit: cover;
  background: var(--color-light);
}

.page-title {
  text-align: center;
  margin: 2rem 0;
}

/* Callouts */
.callouts {
  display: grid;
  gap: 1.5rem;
  list-style: none;
  margin: 2.5rem 0;
  padding: 0;
}

@media (min-width: 40em) {
  .callouts {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 64em) {
  .callouts {
    grid-template-columns: repeat(3, 1fr);
  }
}

.callout {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  text-align: center;
  background: var(--color-white);
  border: 1px solid rgba(10, 10, 10, 0.1);
  border-radius: var(--radius);
}

.callout__icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 1rem;
}

.callout .h3 {
  font-size: 1.15rem;
}

.callout__text {
  flex: 1 0 auto;
}

.callout__cta {
  text-align: right;
}

/* Quote */
.quote {
  margin: 3rem auto;
  max-width: 56rem;
}

.quote h2 {
  text-align: center;
}

.quote blockquote {
  margin: 1.5rem 0 0;
  padding: 0.5rem 1.25rem;
  border-left: 4px solid var(--color-secondary);
  color: #4b4949;
}

.quote cite {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  color: var(--color-muted);
}

.quote cite::before {
  content: "\2014\00a0";
}

/* CTA bar */
.cta-bar {
  background: var(--color-primary);
  color: var(--color-white);
  text-align: center;
  margin-top: 3rem;
}

.cta-bar .container {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.cta-bar h2 {
  color: var(--color-white);
  font-size: 1.25rem;
}

.cta-bar p {
  max-width: 36rem;
  margin: 0 auto 1rem;
}

main:has(> .cta-bar:last-child) + .site-footer {
  margin-top: 0;
}

/* Content body */
.content-body .h3 {
  margin-top: 1.75rem;
}

.content-body .h4 {
  margin-top: 1.5rem;
}

.content-body ul {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}

.text-center {
  text-align: center;
}

/* Request a demo */
.demo-layout {
  display: grid;
  gap: 2rem;
  margin: 2rem 0;
}

@media (min-width: 52em) {
  .demo-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.demo-layout h1 {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.contact-form {
  max-width: 30rem;
}

.form-field {
  margin-bottom: 1.25rem;
}

.form-field > label,
.form-field legend {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-heading);
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field textarea {
  width: 100%;
  padding: 0.6rem 0.65rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font: inherit;
  color: var(--color-text);
  background: var(--color-white);
  box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.1);
}

.form-field textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-field input:focus-visible,
.form-field textarea:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 0;
  border-color: var(--color-primary);
}

.form-field fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.choice-group label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.choice-group input {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
}

.required-mark {
  color: var(--color-error);
}

.form-hint {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
}

.form-status:empty {
  display: none;
}

.form-status--success {
  background: #e1faea;
  color: var(--color-success);
  border: 1px solid var(--color-success);
}

.form-status--error {
  background: #f7e4e1;
  color: #8a2f20;
  border: 1px solid var(--color-error);
}

/* 404 */
.not-found {
  text-align: center;
  margin: 4rem 0;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
