/* Williamsburg Computer Tech: the site's own look, on top of the layout kit (system.css).
   Follows wbctwebhosting.com: blue gradient hero with a wave, vector art, plan colours orange / blue / green. */
@font-face { font-family: "Rubik"; font-weight: 300 900; font-display: swap; src: url("fonts/rubik-latin.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 300 800; font-display: swap; src: url("fonts/open-sans-latin.woff2") format("woff2"); }
:root {
  --p-bg: #f7f9fc; --p-surface: #eaf3ff; --p-ink: #263547; --p-muted: #5a6475;
  --p-accent: #1660e8; --p-accent-ink: #ffffff; --p-action: #1660e8; --p-action-ink: #ffffff;
  --p-inv-bg: #1b2635; --p-inv-surface: #263547; --p-inv-ink: #f7f9fc; --p-inv-muted: #b3bccb;
  --p-inv-accent: #f7f9fc; --p-inv-accent-ink: #1b2635; --p-inv-action: #f7f9fc; --p-inv-action-ink: #1b2635;
  --font-display: "Rubik", system-ui, sans-serif;
  --font-text: "Open Sans", system-ui, sans-serif;
  --display-weight: 600; --display-tracking: -0.025em; --display-tracking-xl: -0.03em;
  --wb-navy: #0f1d3d;
}
h1, h2, h3 { font-weight: 600; }
.nav__logo img { height: 34px; width: auto; display: block; }
@media (max-width: 1100px) { .wb-navphone { display: none; } }
@media (max-width: 639px) { .nav__actions .nav__link { display: none; } .nav__bar > .nav__logo img { height: 24px; } }
@media (max-width: 359px) { .nav__actions .btn { display: none; } }

/* sections take the height of what they hold, at every width */
main > section.section { height: auto !important; min-height: 0 !important; padding: 112px 0; }
main > section.section > .wrap { height: auto !important; }
main > section .fill, main > section .grid { flex: 0 0 auto !important; height: auto !important; min-height: 0 !important; }
main > section .grid { row-gap: 40px; }
@media (max-width: 1279px) {
  main > section.section { display: block !important; padding: 88px 0; }
  main > section.section > .wrap { display: block !important; }
}
@media (max-width: 639px) { main > section.section { padding: 56px 0; } }

/* hero */
.wb-hero { color: #fff; min-height: 640px; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% 10%, #5fb0ff 0%, transparent 60%), linear-gradient(120deg, #1450e0 0%, #1e63f5 45%, #3f97ff 100%); }
section.wb-hero > .wrap.wb-hero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--gut); align-items: center; height: 100%; }
section.wb-hero .hero__text { display: grid; gap: 24px; align-content: center; max-width: 600px; color: #fff; }
.wb-hero h1 { color: #fff; font-size: clamp(38px, 4.6vw, 64px); line-height: 1.06; max-width: 15ch; }
.wb-hero .hero__lead { color: #e6efff; }
:root .wb-hero .btn.btn--primary { background: #0f1d3d; color: #fff; }
:root .wb-hero .btn.btn--secondary { background: rgb(255 255 255 / .12); color: #fff; box-shadow: inset 0 0 0 2px rgb(255 255 255 / .85); }
:root .wb-hero .btn.btn--secondary:hover { background: rgb(255 255 255 / .22); }
.wb-hero__art img { width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 40px rgb(10 30 90 / .35)); }
.wb-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 110px; display: block; z-index: 0; }
@media (max-width: 1023px) { section.wb-hero > .wrap.wb-hero__grid { grid-template-columns: 1fr; align-content: center; } .wb-hero__art { max-width: 520px; } }
@media (max-width: 639px) { .wb-hero__art { display: none; } .wb-wave { height: 60px; } }

/* service cards */
.wb-tint-o { --tint: #f59e0b; --tint-bg: #fff4e3; }
.wb-tint-b { --tint: #1e63f5; --tint-bg: #e8f1ff; }
.wb-tint-g { --tint: #10b981; --tint-bg: #e3f8f0; }
.wb-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.wb-card { display: grid; grid-template-rows: auto 1fr; gap: 16px; padding: 0 0 24px; border-radius: 18px; background: #fff; overflow: hidden; border-top: 5px solid var(--tint);
  box-shadow: 0 1px 0 rgb(15 29 61 / .04), 0 18px 40px -18px rgb(15 29 61 / .25); }
.wb-card__art { background: linear-gradient(180deg, var(--tint-bg), #fff); display: grid; place-items: center; padding: 16px 16px 0; }
.wb-card__art img { width: 100%; max-height: 240px; height: auto; object-fit: contain; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.wb-card:hover .wb-card__art img { transform: translateY(-4px) scale(1.02); }
.wb-card__text { display: grid; gap: 8px; align-content: start; }
.wb-card h3, .wb-card p { margin: 0 22px; }
.wb-card h3 { font-size: 21px; line-height: 1.25; }
.wb-card p { font-size: 15px; line-height: 1.55; }
@media (max-width: 1199px) { .wb-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wb-card__art img { max-height: 220px; } }
@media (max-width: 639px) {    /* a phone: a compact row, art beside the words */
  .wb-cards { grid-template-columns: 1fr; gap: 14px; }
  .wb-card { grid-template-rows: none; grid-template-columns: 112px 1fr; align-items: center; gap: 0; padding: 0; border-top: 0; border-left: 5px solid var(--tint); border-radius: 14px; }
  .wb-card__art { background: linear-gradient(90deg, var(--tint-bg), #fff); padding: 10px; align-self: stretch; }
  .wb-card__art img { max-height: 92px; }
  .wb-card__text { padding: 16px 0; gap: 4px; }
  .wb-card h3, .wb-card p { margin: 0 16px 0 12px; }
  .wb-card h3 { font-size: 18px; }
  .wb-card p { font-size: 14.5px; }
}

/* remote support */
#remote { background: radial-gradient(900px 500px at 80% 30%, #1c3b8f 0%, transparent 60%), var(--wb-navy); }
#remote .section-head p { color: #c3cbe0; }
#remote .wb-remote-art { align-self: center; }
.wb-remote-art img { width: 100%; height: auto; display: block; }
.wb-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: s; }
.wb-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; counter-increment: s; }
.wb-steps li::before { content: counter(s); grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font: 600 18px/1 var(--font-display); color: #0f1d3d; background: linear-gradient(135deg, #5eead4, #4aa3ff); }
.wb-steps strong { font: 600 18px/1.3 var(--font-display); color: #fff; }
.wb-steps p { color: var(--muted); margin: 0; }
@media (max-width: 1023px) { .wb-remote-art { width: 100%; max-width: 560px; margin-inline: auto; } }

/* hosting plans */
.wb-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.wb-plan { background: linear-gradient(180deg, var(--tint-bg), #fff 60%); border-radius: 16px; border-top: 5px solid var(--tint); padding: 22px 20px;
  box-shadow: 0 18px 40px -22px rgb(15 29 61 / .3); display: grid; gap: 6px; align-content: start; }
.wb-plan h3 { color: var(--tint); font-size: 20px; margin: 0; }
.wb-price { font: 700 44px/1 var(--font-display); color: #0f1d3d; letter-spacing: -.02em; }
.wb-price small { font: 400 15px/1 var(--font-text); color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.wb-plan p { color: var(--muted); margin: 0; font-size: 15px; }
.wb-hostart img { width: 100%; height: auto; display: block; }
@media (max-width: 1023px) { .wb-hostart { width: 100%; max-width: 340px; margin-inline: auto; } }
@media (max-width: 639px) { .wb-plans { grid-template-columns: 1fr; } .wb-hostart { max-width: 240px; } }

/* our work: screenshots in a browser frame */
.wb-browser { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 28px 60px -24px rgb(15 29 61 / .4); border: 1px solid #e2e8f2; }
.wb-browser__bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #f1f4f9; border-bottom: 1px solid #e2e8f2; }
.wb-browser__bar i { width: 10px; height: 10px; border-radius: 50%; }
.wb-browser__bar i:nth-child(1) { background: #ff6b6b; } .wb-browser__bar i:nth-child(2) { background: #ffc94d; } .wb-browser__bar i:nth-child(3) { background: #3ad07a; }
.wb-browser__bar span { margin-left: 10px; flex: 1; padding: 5px 12px; border-radius: 999px; background: #fff; font-size: 13px; color: #5a6475; }
.wb-browser img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
a:hover > .wb-browser img { transform: scale(1.02); }
#work .card h3 { margin-top: 18px; }

/* contact */
.wb-contact { display: grid; gap: 10px; justify-items: start; }
.wb-contact a { font: 500 20px/1.4 var(--font-display); color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.wb-contact a:hover { color: #1660e8; }
.wb-contact .wb-contact__phone { font-size: 30px; font-weight: 600; color: #1660e8; }
.wb-contact p { margin: 10px 0 0; color: var(--muted); max-width: 36ch; }
.wb-form { display: grid !important; grid-template-columns: 1fr !important; gap: 18px; background: #fff; border-radius: 18px; padding: 32px;
  box-shadow: 0 18px 40px -20px rgb(15 29 61 / .25); border: 1px solid #e8edf5; }
.wb-form > * { grid-column: 1 / -1 !important; }
@media (max-width: 639px) { .wb-form { padding: 22px 18px; } }

/* footer */
.footer--dark { background: var(--wb-navy); }
.wb-footer { padding: 72px 0 32px; }
.footer--dark .footer__lede { font: 400 15px/1.6 var(--font-text); color: #b3bccb; max-width: 34ch; }
.wb-footer .footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / .1); color: #8e9ab0; font-size: 14px; }
.wb-footer .footer__legal a { color: #b3bccb; }
@media (max-width: 1023px) { .wb-footer .grid { row-gap: 32px; } }

/* the 404 page */
.wb-404 { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 140px 24px 96px; }
.wb-404 > div { display: grid; gap: 20px; justify-items: center; max-width: 520px; }
