/* Hammer Down, Metro Atlanta. Navy, red, white. Anton for display, Inter for text. */

:root {
  --navy: #011F55;
  --navy-deep: #011336;
  --red: #C41127;
  --red-deep: #7C0A18;
  --white: #FFFFFF;
  --concrete: #E9EBEE;
  --body: #47506A;
  --field: #C2C8D4;
  --wrap: 1120px;
  --gutter: 22px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font: 400 17px/1.62 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: Anton, "Arial Narrow", Impact, sans-serif; font-weight: 400; text-transform: uppercase; color: var(--navy); margin: 0; letter-spacing: .006em; }
p { margin: 0; }
img, svg, picture { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 50;
  background: var(--red); color: #fff; padding: 12px 18px; font-weight: 600; text-decoration: none;
}
.skip:focus { left: 0; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.hero :focus-visible, .foot :focus-visible, .bar :focus-visible, .panel :focus-visible { outline-color: #fff; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block; border: 0; cursor: pointer;
  font: 700 16px/1 Inter, sans-serif; letter-spacing: .01em;
  padding: 15px 22px; text-decoration: none; text-align: center;
  transition: transform .08s linear, box-shadow .08s linear, background-color .12s linear;
}
.btn-red { background: var(--red); color: #fff; box-shadow: 0 4px 0 var(--red-deep); }
.btn-red:hover { background: #D4162E; }
.btn-red:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--red-deep); }
.btn-big { font-size: 19px; padding: 20px 34px; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

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

.bar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--navy); border-bottom: 3px solid var(--red);
  padding: 11px var(--gutter);
}
.bar-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; line-height: 0; }
.bar-logo img { height: 42px; width: auto; }
.bar-word {
  font-family: Anton, "Arial Narrow", Impact, sans-serif; text-transform: uppercase;
  color: #fff; font-size: 20px; line-height: 1; letter-spacing: .012em;
}
@media (min-width: 760px) {
  .bar-logo { gap: 14px; }
  .bar-logo img { height: 52px; }
  .bar-word { font-size: 27px; }
}
.bar-actions { display: flex; align-items: center; gap: 10px; }
.bar-actions .btn { padding: 12px 18px; font-size: 15px; }
.btn-call { background: #fff; color: var(--navy); box-shadow: 0 4px 0 #B9C0CE; }
.btn-call:hover { background: #E9EBEE; }
.btn-call:active { transform: translateY(3px); box-shadow: 0 1px 0 #B9C0CE; }

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

.hero {
  background-color: var(--navy);
  background-image: repeating-linear-gradient(-23.2deg, rgba(255,255,255,.045) 0 2px, rgba(255,255,255,0) 2px 38px);
  color: #fff;
  padding-block: clamp(48px, 9vw, 104px) clamp(52px, 9vw, 104px);
}
.hero-in { display: flex; flex-direction: column; align-items: flex-start; }
.hero h1 {
  color: #fff;
  font-size: clamp(42px, 11.4vw, 108px);
  line-height: .9;
  margin-bottom: clamp(26px, 4vw, 40px);
}
.hero-strap {
  display: inline-block; background: var(--red); color: #fff;
  padding: .02em .16em .08em; margin-top: .06em;
}
.hero-sub {
  color: #C3CCE1; font-size: clamp(16px, 2.2vw, 20px);
  max-width: 52ch; margin-top: clamp(24px, 3.4vw, 34px);
}
.hero-cta { margin-top: clamp(26px, 3.6vw, 38px); }

/* the one animated thing on the page: the yes list */
.yes {
  display: flex; align-items: flex-start; gap: .32em;
  font-family: Anton, "Arial Narrow", Impact, sans-serif; text-transform: uppercase;
  font-size: clamp(25px, 6.2vw, 58px); line-height: 1.1; color: #fff;
}
.yes-slot {
  display: block; overflow: hidden; height: 1.28em;
  background: #fff; color: var(--navy); padding-inline: .26em;
  transition: width .34s cubic-bezier(.2,.7,.2,1);
}
.yes-roll { display: flex; flex-direction: column; align-items: flex-start; transition: transform .34s cubic-bezier(.2,.7,.2,1); }
.yes-roll > span { display: block; height: 1.28em; line-height: 1.28em; white-space: nowrap; }
.yes-answer { line-height: 1.28em; }
.yes-static { display: none; }

@media (prefers-reduced-motion: reduce) {
  .yes { display: none; }
  .yes-static {
    display: block; color: #fff;
    font-family: Anton, "Arial Narrow", Impact, sans-serif; text-transform: uppercase;
    font-size: clamp(22px, 4.4vw, 40px); line-height: 1.16; max-width: 18ch;
  }
}

/* ---------- section furniture ---------- */

.sec-title { font-size: clamp(30px, 5.6vw, 54px); line-height: .96; }

.build { background: var(--concrete); padding-block: clamp(52px, 8vw, 96px); }
.build .sec-title { margin-bottom: clamp(26px, 4vw, 42px); }

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

.panel {
  background: var(--navy); color: #C3CCE1;
  padding: 34px 30px 36px;
  position: relative;
}
@media (min-width: 820px) { .panel { min-height: 268px; } }
.panel::after {
  content: ""; position: absolute; inset: 9px; border: 2px solid rgba(255,255,255,.42); pointer-events: none;
}
.panel h3 { color: #fff; font-size: clamp(24px, 3.6vw, 33px); line-height: .96; margin-bottom: 12px; position: relative; }
.panel p { font-size: 15.5px; line-height: 1.58; position: relative; }

.how { padding-block: clamp(52px, 8vw, 96px); }
.how .sec-title { margin-bottom: clamp(26px, 4vw, 44px); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 34px; counter-reset: none; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.steps li { border-top: 4px solid var(--navy); padding-top: 16px; }
.step-n {
  display: block; font-family: Anton, "Arial Narrow", Impact, sans-serif;
  font-size: clamp(48px, 8vw, 78px); line-height: .9; color: var(--red);
}
.steps h3 { font-size: clamp(21px, 3vw, 27px); line-height: 1.02; margin: 8px 0 10px; }
.steps p { font-size: 16px; max-width: 44ch; }

.strap-band { background: var(--red); color: #fff; padding-block: clamp(22px, 3.4vw, 34px); }
.strap-band p {
  font-family: Anton, "Arial Narrow", Impact, sans-serif; text-transform: uppercase;
  font-size: clamp(19px, 3.5vw, 36px); letter-spacing: .17em; line-height: 1.16; text-align: center;
}

/* ---------- estimate form ---------- */

.estimate { background: var(--concrete); padding-block: clamp(52px, 8vw, 96px); }
.estimate-in { display: grid; gap: 32px; }
@media (min-width: 940px) {
  .estimate-in { grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
  .estimate-head { position: sticky; top: 110px; }
}
.estimate-head .sec-title { margin-bottom: 16px; }
.estimate-head p { max-width: 38ch; }
.claims { list-style: none; margin: 26px 0 0; padding: 0; border-top: 3px solid var(--navy); }
.claims li {
  padding: 13px 0 13px 30px; border-bottom: 1px solid rgba(1,31,85,.18);
  font-size: 15.5px; font-weight: 500; color: var(--navy); position: relative;
}
.claims li::before {
  content: ""; position: absolute; left: 0; top: 19px;
  width: 16px; height: 4px; background: var(--red);
}

.form { background: #fff; border: 3px solid var(--navy); padding: clamp(20px, 3.4vw, 32px); }
.field { margin-bottom: 18px; }
.row { display: grid; gap: 0 18px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .row { grid-template-columns: 1fr 1fr; } }

label { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 6px; letter-spacing: .01em; }
.req { color: var(--red); font-weight: 600; }

input, select, textarea {
  width: 100%; font: 400 16.5px/1.4 Inter, sans-serif; color: var(--navy);
  background: #fff; border: 2px solid var(--field); border-radius: 0;
  padding: 13px 13px; -webkit-appearance: none; appearance: none;
}
select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23011F55' stroke-width='2'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px; padding-right: 38px;
}
textarea { resize: vertical; min-height: 108px; }
input:focus, select:focus, textarea:focus { border-color: var(--navy); outline: 3px solid var(--red); outline-offset: 2px; }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--red); }

.err { color: var(--red); font-size: 13.5px; font-weight: 600; margin-top: 6px; }
.form-error { color: var(--red); font-weight: 600; font-size: 15px; margin-bottom: 14px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn-submit { width: 100%; font-size: 18px; padding: 18px 24px; margin-top: 6px; }
.btn-submit[disabled] { opacity: .62; cursor: progress; }
.fine { font-size: 13.5px; margin-top: 12px; color: #6B7488; }

.thanks { background: var(--navy); color: #fff; padding: clamp(28px, 4.4vw, 44px); }
.thanks h2 { color: #fff; font-size: clamp(34px, 5.4vw, 52px); margin-bottom: 12px; line-height: .96; }
.thanks p { color: #C3CCE1; font-size: 18px; max-width: 34ch; }

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

.foot { background: var(--navy-deep); color: #93A0BC; padding-block: 32px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: baseline; }
.foot-name { color: #fff; font-weight: 600; }
.foot p { font-size: 15px; }
.foot a { color: #fff; }
