/* Affordable Drywall Repair. Colours come from the logo (black and navy) plus safety yellow. */

:root {
  --ink: #0d0e12;
  --navy: #02102c;
  --navy-2: #0a1d42;
  --yellow: #ffc20e;
  --yellow-deep: #e5a800;
  --paper: #f5f2eb;
  --line: #d9d2c3;
  --steel: #4d5665;
  --white: #fff;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Barlow", "Segoe UI", Arial, sans-serif;
  --stripes: repeating-linear-gradient(-45deg, var(--yellow) 0 16px, var(--ink) 16px 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.defs { position: absolute; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--yellow); color: var(--ink); font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.section--paper :focus-visible, .head :focus-visible, .formcard :focus-visible, #services :focus-visible { outline-color: var(--navy-2); }

/* ---- type ---- */
h1, h2, h3, h4, .btn, .kicker, .nav a, .band, .brand__name, .card__num, .steps__num, label, .stickybar {
  font-family: var(--display); text-transform: uppercase;
}
h1 { font-size: clamp(3rem, 8.2vw, 6.25rem); font-weight: 800; line-height: .9; letter-spacing: -.005em; }
h2 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); font-weight: 800; line-height: .95; }
h3 { font-size: 1.7rem; font-weight: 700; line-height: 1.05; letter-spacing: .01em; }
.kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 1.05rem; font-weight: 700; letter-spacing: .14em; color: var(--steel); }
.kicker::before { content: ""; width: 34px; height: 6px; background: var(--yellow); }
.kicker--light { color: #c9d3e6; }
.mark { color: var(--yellow); white-space: nowrap; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border: 2px solid var(--ink); background: var(--yellow); color: var(--ink);
  font-size: 1.3rem; font-weight: 700; letter-spacing: .05em; line-height: 1; text-decoration: none;
  box-shadow: 5px 5px 0 var(--ink); cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.btn:hover { background: #ffd044; transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); }
.btn:active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn--small { padding: 11px 18px; font-size: 1.1rem; box-shadow: 3px 3px 0 var(--ink); }
.btn--wide { width: 100%; }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--white); box-shadow: none; }
.btn--ghost:hover { background: var(--white); color: var(--ink); transform: none; box-shadow: none; }
.hero .btn:not(.btn--ghost), .stickybar { box-shadow: 5px 5px 0 rgba(0, 0, 0, .6); }

/* ---- top bar and header ---- */
.topbar { background: var(--ink); color: #dfe4ee; font-size: .92rem; }
.topbar__in { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; }
.topbar strong { color: var(--yellow); font-weight: 700; }
.topbar__trades { display: flex; align-items: center; gap: 10px; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; }
.topbar__trades i { width: 5px; height: 5px; background: var(--yellow); transform: rotate(45deg); }

.head { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 3px solid var(--ink); }
.head__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 108px; }
.brand__name { padding-left: 14px; border-left: 3px solid var(--yellow); font-size: 1.22rem; font-weight: 800; line-height: 1; letter-spacing: .03em; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { font-size: 1.15rem; font-weight: 700; letter-spacing: .06em; text-decoration: none; padding-block: 6px; border-bottom: 3px solid transparent; }
.nav a:not(.btn):hover { border-bottom-color: var(--yellow); }
.menu-btn { display: none; width: 48px; height: 48px; padding: 0; border: 2px solid var(--ink); background: var(--yellow); cursor: pointer; }
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { display: block; width: 22px; height: 3px; margin-inline: auto; background: var(--ink); }
.menu-btn__bars { position: relative; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.menu-btn__bars::before { top: -7px; }
.menu-btn__bars::after { top: 7px; }

/* ---- hero ---- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 44px 44px,
    radial-gradient(900px 520px at 78% 30%, #173a7a 0%, transparent 70%),
    var(--navy);
}
.hero__in { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px; padding-block: 76px 0; }
.hero__text { padding-bottom: 84px; }
.hero__lead { max-width: 33em; margin-top: 22px; font-size: 1.22rem; color: #d5dcea; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; font-weight: 600; color: #e8ecf4; }
.ticks li { display: flex; align-items: center; gap: 9px; }
.ticks li::before { content: ""; width: 18px; height: 18px; flex: none; background: var(--yellow); clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 22%, 86% 8%, 38% 72%); }

.hero__sign { align-self: end; }
.sign { position: relative; padding: 36px 36px 0; background: var(--white); border: 3px solid var(--ink); box-shadow: 14px 14px 0 rgba(0, 0, 0, .45); }
.sign img { width: 100%; }
.sign__stripe { height: 24px; margin: 30px -36px 0; background: var(--stripes); border-top: 3px solid var(--ink); }
.bolt { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #c9ced6, #5d6573 70%); box-shadow: 0 0 0 2px rgba(13, 14, 18, .18); }
.bolt--tl { top: 12px; left: 12px; } .bolt--tr { top: 12px; right: 12px; }
.bolt--bl { bottom: 38px; left: 12px; } .bolt--br { bottom: 38px; right: 12px; }
.sign__posts { display: flex; justify-content: space-between; padding-inline: 16%; }
.sign__posts i { width: 18px; height: 74px; background: linear-gradient(90deg, #353c48, #7b8493 45%, #2a303a); border-inline: 2px solid var(--ink); }

/* ---- yellow band ---- */
.band { overflow: hidden; background: var(--yellow); border-block: 3px solid var(--ink); }
.band__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 22px; padding: 13px 20px; font-size: 1.35rem; font-weight: 800; letter-spacing: .09em; line-height: 1; }
.band b { width: 9px; height: 9px; background: var(--ink); transform: rotate(45deg); }

/* ---- sections ---- */
.section { position: relative; padding-block: clamp(64px, 9vw, 108px); }
.section__lead { max-width: 40em; margin-top: 16px; font-size: 1.15rem; color: var(--steel); }
.section--paper { background: var(--paper); }
.section--navy, .section--ink { color: var(--white); }
.section--navy { background: linear-gradient(180deg, var(--navy), var(--navy-2)); }
.section--ink {
  background:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--ink);
}
.section--navy .section__lead, .section--ink .section__lead { color: #cdd5e4; }

/* ---- service cards ---- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 46px; }
.card { position: relative; padding: 26px 24px 28px; background: var(--white); border: 2px solid var(--ink); box-shadow: 7px 7px 0 var(--ink); }
.card::before { content: ""; position: absolute; inset: -2px -2px auto; height: 10px; background: var(--stripes); border: 2px solid var(--ink); }
.card__num { display: block; margin-top: 12px; font-size: 3.4rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--ink); }
.card__icon { position: absolute; top: 30px; right: 22px; width: 52px; height: 52px; padding: 8px; background: var(--yellow); border: 2px solid var(--ink); fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.card__icon circle { fill: var(--ink); stroke: none; }
.card h3 { margin-top: 18px; font-size: 2rem; font-weight: 800; }
.card p { margin-top: 10px; color: #3b4352; }

/* ---- wall finishes ---- */
.finishes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 46px; }
.finish { background: var(--white); color: var(--ink); border: 2px solid var(--ink); box-shadow: 7px 7px 0 rgba(0, 0, 0, .5); }
.finish svg { width: 100%; aspect-ratio: 5 / 3; background: #efeadf; border-bottom: 2px solid var(--ink); }
.finish figcaption { padding: 16px 20px 20px; color: #3b4352; }
.finish strong { display: block; font: 800 1.7rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em; color: var(--ink); }

/* ---- steps ---- */
.tape {
  position: absolute; inset: 0 0 auto; height: 30px; background-color: var(--yellow); border-bottom: 3px solid var(--ink);
  background-image:
    repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 60px),
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 12px);
  background-size: 100% 18px, 100% 9px; background-repeat: no-repeat;
}
#steps { padding-top: calc(clamp(64px, 9vw, 108px) + 30px); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 46px; counter-reset: none; }
.steps li { position: relative; padding-top: 22px; border-top: 4px solid var(--ink); }
.steps__num { display: grid; place-items: center; width: 62px; height: 62px; background: var(--ink); color: var(--yellow); font-size: 2.5rem; font-weight: 800; line-height: 1; }
.steps h3 { margin-top: 18px; }
.steps p { margin-top: 8px; color: #3b4352; }

/* ---- estimate form ---- */
.estimate { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.helps { margin-top: 26px; display: grid; gap: 14px; }
.helps li { position: relative; padding-left: 34px; color: #dfe4ee; }
.helps li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; background: var(--yellow); transform: rotate(45deg) scale(.8); }
.helps strong { color: var(--white); }
.formcard { background: var(--white); color: var(--ink); border: 3px solid var(--ink); box-shadow: 12px 12px 0 var(--yellow); }
.formcard__stripe { height: 16px; background: var(--stripes); border-bottom: 3px solid var(--ink); }
form, .formdone { padding: 28px 30px 32px; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: block; margin-bottom: 6px; font-size: 1.08rem; font-weight: 700; letter-spacing: .07em; }
.optional { font-family: var(--body); font-weight: 500; font-size: .9rem; letter-spacing: 0; text-transform: none; color: var(--steel); }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; padding: 12px 14px; border: 2px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink);
  font: 500 1.05rem/1.4 var(--body); appearance: none;
}
select { padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 21px) 52%, calc(100% - 14px) 52%; background-size: 7px 7px; background-repeat: no-repeat; }
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--yellow); outline-offset: 0; background-color: var(--white); }
input[type="file"] { width: 100%; padding: 12px; border: 2px dashed var(--ink); background: var(--paper); font: 500 .98rem var(--body); }
input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 2px solid var(--ink); background: var(--white); font: 700 1rem var(--display); text-transform: uppercase; letter-spacing: .05em; cursor: pointer; }
.hint { margin: -8px 0 18px; font-size: .93rem; color: var(--steel); }
.field .hint { margin: 8px 0 0; }
.invalid { border-color: #b3261e !important; background-color: #fff4f2 !important; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-problem { margin-top: 16px; padding: 12px 14px; border-left: 6px solid #b3261e; background: #fff4f2; font-weight: 600; }
.formdone { text-align: center; padding-block: 56px; }
.formdone:focus { outline: none; }
.formdone svg { width: 68px; margin: 0 auto 18px; fill: var(--yellow); stroke: var(--ink); stroke-width: 3.5; stroke-linecap: square; }
.formdone svg path { fill: none; }
.formdone p { max-width: 26em; margin: 10px auto 0; color: #3b4352; }
[hidden] { display: none !important; }

/* ---- footer ---- */
.foot { background: var(--navy); color: #cdd5e4; }
.foot__stripe { height: 14px; background: var(--stripes); }
.foot__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; align-items: start; padding-block: 56px 44px; }
.foot__logo { width: 230px; }
.foot h4 { margin-bottom: 10px; font-size: 1.2rem; font-weight: 700; letter-spacing: .1em; color: var(--yellow); }
.foot__col p + p { margin-top: 8px; }
.foot a { text-underline-offset: 3px; }
.foot a:hover { color: var(--white); }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 18px 22px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .9rem; }

/* ---- the "page not found" page ---- */
.lost { min-height: 100vh; display: grid; align-items: center; }
.lost__in { padding-block: 56px; }
.lost img { width: 210px; margin-bottom: 40px; }

/* ---- the button that follows you down the page on a phone ---- */
.stickybar { display: none; }

/* ---- smaller screens ---- */
@media (max-width: 1020px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hero__in { grid-template-columns: 1fr; gap: 0; padding-top: 56px; }
  .hero__text { padding-bottom: 48px; }
  .hero__sign { width: min(440px, 100%); margin-inline: auto; }
  .estimate { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 760px) {
  body { font-size: 1rem; padding-bottom: 74px; }
  .topbar__trades { display: none; }
  .topbar__in { justify-content: center; }
  .head__in { min-height: 66px; }
  .brand img { width: 88px; }
  .brand__name { font-size: 1.05rem; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; background: var(--white); border-bottom: 3px solid var(--ink); }
  .nav--open { display: flex; }
  .nav a:not(.btn) { padding-block: 14px; border-bottom: 1px solid var(--line); font-size: 1.3rem; }
  .nav .btn { margin-top: 16px; }
  .hero__lead { font-size: 1.1rem; }
  .hero__cta .btn { flex: 1 1 100%; }
  .band__in { font-size: 1.05rem; gap: 6px 14px; }
  .cards, .finishes, .steps, .field-row { grid-template-columns: 1fr; }
  .field-row { gap: 0; }
  form, .formdone { padding: 22px 18px 26px; }
  .formcard { box-shadow: 7px 7px 0 var(--yellow); }
  .foot__in { grid-template-columns: 1fr 1fr; padding-block: 44px 32px; }
  .foot__logo { grid-column: 1 / -1; width: 200px; }
  .stickybar {
    display: flex; align-items: center; justify-content: center; position: fixed; inset: auto 12px 12px; z-index: 40;
    padding: 15px; border: 2px solid var(--ink); background: var(--yellow); color: var(--ink);
    font-size: 1.3rem; font-weight: 700; letter-spacing: .05em; line-height: 1; text-decoration: none;
    transition: transform .2s ease, opacity .2s ease;
  }
  .stickybar--away { transform: translateY(140%); opacity: 0; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .stickybar { transition: none; }
}
