/* Paint house works LLC — colour blocks on bone.
   Serif display, Archivo for everything it has to be read quickly, mono labels. */

@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/InstrumentSerif-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/InstrumentSerif-Italic.ttf") format("truetype");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("fonts/Archivo-Variable.ttf") format("truetype");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("fonts/IBMPlexMono-Regular.ttf") format("truetype");
  font-weight: 400; font-display: swap;
}

:root {
  --bone: #f7f2e8;
  --bone-2: #efe6d6;
  --ink: #141110;
  --ink-2: #241f1c;
  --muted: #6b6158;
  --rule: #dbcdb9;
  --orange: #d9551c;
  --gold: #e0a92f;
  --edge: clamp(20px, 4.4vw, 60px);
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "Plex Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0; background: var(--bone); color: var(--ink);
  font: 400 17px/1.62 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }

h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -0.005em; text-wrap: balance; }
h1 { font-size: clamp(46px, 7vw, 104px); }
h2 { font-size: clamp(34px, 4.6vw, 62px); }
h3 { font-size: clamp(25px, 2.4vw, 34px); }
em { font-style: italic; color: var(--orange); }

.wrap { width: min(1280px, 100% - var(--edge) * 2); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--ink); color: var(--bone); padding: 10px 16px;
  font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .14em;
}
.skip:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

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

.site-head {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bone) 90%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
.site-head.is-stuck { border-bottom-color: var(--rule); }
.head-in { display: flex; align-items: center; gap: 26px; height: 76px; }

.mark { font: 400 22px/1 var(--serif); text-decoration: none; letter-spacing: -0.01em; }
.mark span { font: 500 11px/1 var(--mono); letter-spacing: .18em; vertical-align: super; margin-left: 2px; }

.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a {
  font: 500 11.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .13em;
  text-decoration: none; color: var(--muted); padding: 5px 0; border-bottom: 1px solid transparent;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--ink); }

.head-tel {
  font: 500 14px/1 var(--mono); text-decoration: none; padding-left: 24px;
  border-left: 1px solid var(--rule);
}
.head-tel:hover { color: var(--orange); }

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

.hero { background: var(--ink); color: var(--bone); padding-block: clamp(40px, 5vw, 76px) 0; }

.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(30px, 4.6vw, 72px); align-items: center;
}

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font: 500 11.5px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .17em;
  color: var(--gold); margin-bottom: clamp(20px, 2.4vw, 32px);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); flex: none; }

.hero-copy h1 { margin-bottom: clamp(18px, 2.2vw, 28px); }
.hero-copy h1 em { color: var(--gold); }

.lede {
  max-width: 36ch; font-size: clamp(16.5px, 1.3vw, 19px); line-height: 1.6;
  color: rgba(247, 242, 232, .82); margin-bottom: clamp(26px, 2.8vw, 38px);
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--orange); color: #fff; text-decoration: none; border: 1px solid var(--orange);
  font: 500 12.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em;
  padding: 15px 20px; border-radius: 2px; cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover { background: #b8450f; border-color: #b8450f; }
.btn:active { transform: translateY(1px); }
.arrow { width: 15px; height: 1px; background: currentColor; position: relative; flex: none; }
.arrow::after {
  content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px;
  border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg);
}

.btn-link {
  font: 500 12.5px/1.4 var(--mono); letter-spacing: .03em; color: var(--bone);
  text-decoration: none; border-bottom: 1px solid rgba(247, 242, 232, .35); padding-bottom: 3px;
}
.btn-link:hover { border-bottom-color: var(--bone); }

.hero-plate { margin: 0; }
.hero-plate img { width: 100%; border-radius: 2px; }
.hero-plate figcaption {
  display: flex; align-items: center; gap: 10px; margin-top: 14px;
  font: 400 11.5px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .1em;
  color: rgba(247, 242, 232, .66);
}
.tag {
  display: inline-block; flex: none; white-space: nowrap;
  font: 500 10px/1 var(--mono); text-transform: uppercase;
  letter-spacing: .16em; padding: 6px 8px 5px; background: var(--gold); color: var(--ink);
}

.swatches { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: clamp(34px, 4vw, 58px); height: 10px; }
.swatches span { background: var(--c); }

/* ---------- sections ---------- */

.section { padding-block: clamp(64px, 7.6vw, 116px) 0; }

.sec-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 36ch);
  gap: clamp(16px, 3vw, 48px); align-items: end;
  padding-bottom: clamp(22px, 2.4vw, 32px); border-bottom: 1px solid var(--rule);
}
.index {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 14px;
  font: 500 11.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .16em;
  color: var(--orange); margin-bottom: clamp(26px, 3vw, 40px);
}
.index .rule { width: 48px; height: 1px; background: var(--orange); flex: none; }
.sec-note { font-size: 15.5px; line-height: 1.56; color: var(--muted); }

/* ---------- video + request ---------- */

.video-row {
  display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 3.2vw, 48px); align-items: start;
  padding-top: clamp(26px, 3vw, 42px);
}

.video-col { display: grid; gap: clamp(16px, 1.8vw, 22px); align-content: start; }
.video {
  position: relative; display: block; overflow: hidden; border-radius: 2px;
  width: min(100%, 380px); aspect-ratio: 9 / 16; padding: 0; border: 0; background: var(--ink);
  font: inherit; color: inherit; text-align: left; cursor: pointer;
}
.video img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; transition: transform .6s ease; }
.video:hover img { transform: scale(1.02); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Once the player is in, nothing of the facade may sit over it: the gradient and
   the pointer cursor exist to sell the poster, and both swallow the player's clicks. */
.video.is-playing { cursor: default; }
.video.is-playing::after { content: none; }
.video::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20, 17, 16, .82) 0%, rgba(20, 17, 16, .28) 42%, transparent 70%);
}
.play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 74px; height: 74px; border-radius: 50%; background: var(--bone);
  box-shadow: 0 6px 24px rgba(20, 17, 16, .3); z-index: 2;
}
.play::after {
  content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%);
  border-left: 20px solid var(--ink); border-top: 13px solid transparent; border-bottom: 13px solid transparent;
}
.video-bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  padding: clamp(16px, 2vw, 22px); color: var(--bone);
}
.video-label { font: 400 11.5px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: rgba(247, 242, 232, .78); }
.video-cta { display: inline-flex; align-items: center; gap: 10px; font: 500 12.5px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .1em; }

.video-note p { font-size: 15.5px; line-height: 1.6; color: var(--muted); max-width: 42ch; margin-bottom: 12px; }
.video-links { display: flex; flex-wrap: wrap; gap: 14px 22px; }
.inline-link {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font: 500 11.5px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .12em;
  color: var(--ink); border-bottom: 1px solid var(--rule); padding-bottom: 4px;
}
.inline-link:hover { border-bottom-color: var(--ink); }

.req {
  background: var(--bone-2); border: 1px solid var(--rule); border-radius: 2px;
  padding: clamp(22px, 2.6vw, 34px);
}
.req-h { margin-bottom: 8px; }
.req-sub { font-size: 15px; color: var(--muted); margin-bottom: clamp(18px, 2vw, 24px); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(18px, 2vw, 24px); padding: 0; border: 0; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chip span {
  font: 500 11.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em;
  padding: 11px 13px; border: 1px solid var(--rule); background: var(--bone); border-radius: 2px;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.chip:hover span { border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bone); }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: clamp(18px, 2vw, 24px); }
.field { display: grid; gap: 7px; }
.field span { font: 500 10.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .13em; color: var(--muted); }
.field span i { font-style: normal; text-transform: none; letter-spacing: 0; }
.field input {
  font: 400 16px/1.4 var(--sans); color: var(--ink); background: var(--bone);
  border: 1px solid var(--rule); border-radius: 2px; padding: 12px 13px;
}
.field input::placeholder { color: #a29788; }
.field input:focus { border-color: var(--ink); outline: none; }

.preview { border-top: 1px solid var(--rule); padding-top: 14px; margin-bottom: clamp(18px, 2vw, 24px); }
.preview-label { font: 500 10.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .13em; color: var(--muted); margin-bottom: 10px; }
.preview-text {
  font: 400 12.5px/1.75 var(--mono); white-space: pre-line; color: var(--ink-2);
  background: var(--bone); border: 1px solid var(--rule); border-radius: 2px; padding: 14px;
  min-height: 92px;
}

.req-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.btn--quiet {
  background: transparent; color: var(--muted); border-color: var(--rule);
  font-size: 11.5px; padding: 15px 16px;
}
.btn--quiet:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.req-foot { margin-top: 14px; font-size: 12.5px; line-height: 1.55; color: var(--muted); }

/* ---------- card ---------- */

.card-row {
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(26px, 4vw, 64px); align-items: start;
}
.card-plate { margin: 0; }
.card-plate img { width: 100%; border-radius: 2px; border: 1px solid var(--rule); }
.card-plate figcaption {
  margin-top: 12px; font: 400 11.5px/1.5 var(--mono); text-transform: uppercase;
  letter-spacing: .1em; color: var(--muted);
}
.card-copy h2 { margin-bottom: clamp(16px, 1.8vw, 22px); }
.card-lede { font-size: clamp(16.5px, 1.25vw, 18.5px); line-height: 1.62; color: var(--ink-2); max-width: 46ch; margin-bottom: clamp(22px, 2.4vw, 30px); }

.list { list-style: none; margin: 0 0 clamp(20px, 2.2vw, 26px); padding: 0; border-top: 1px solid var(--rule); }
.list li {
  display: flex; align-items: baseline; gap: 16px; padding: 13px 0;
  border-bottom: 1px solid var(--rule); font-size: 16.5px;
}
.list span { font: 500 11px/1.9 var(--mono); color: var(--orange); letter-spacing: .1em; }
.card-note { font-size: 14.5px; line-height: 1.6; color: var(--muted); max-width: 48ch; }

/* ---------- contact ---------- */

.contact-row {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(26px, 4vw, 60px); align-items: start;
}
.contact-lede { font-size: 17px; line-height: 1.62; color: var(--ink-2); max-width: 40ch; margin-top: clamp(14px, 1.8vw, 22px); }
.checklist {
  list-style: none; margin: clamp(24px, 3vw, 38px) 0 0; padding: 0;
  max-width: 42ch; border-top: 1px solid var(--rule);
}
.checklist li {
  display: flex; align-items: baseline; gap: 14px;
  padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: 16.5px;
}
.checklist li::before {
  content: ""; width: 16px; height: 1px; background: var(--orange); flex: none;
  transform: translateY(-5px);
}

/* the card: their Page photo under a shade, everything to start a job in one place */

.info-card {
  position: relative; display: flex;
  min-height: clamp(430px, 42vw, 600px);
  overflow: hidden; border-radius: 2px;
  background: var(--ink); color: var(--bone);
}
.info-card .card-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 46%; }
.info-card .card-shade {
  position: absolute; inset: 0;
  /* dark where the copy sits, lighter across the right of the photograph */
  background:
    linear-gradient(100deg, rgba(20, 17, 16, 0.93) 0%, rgba(20, 17, 16, 0.74) 44%, rgba(20, 17, 16, 0.34) 100%),
    linear-gradient(180deg, rgba(20, 17, 16, 0.5) 0%, rgba(20, 17, 16, 0.24) 46%, rgba(20, 17, 16, 0.86) 100%);
}
.info-card .card-body {
  position: relative; z-index: 1; display: flex; flex-direction: column;
  width: 100%; padding: clamp(22px, 2.6vw, 34px);
}
.info-card .card-kicker { font: 500 11px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(247, 242, 232, .74); }
.info-card .card-title { margin-top: 14px; max-width: 15ch; font: 400 clamp(26px, 2.6vw, 36px)/1.05 var(--serif); }
.info-card .card-lede { margin-top: 12px; max-width: 34ch; font-size: 15.5px; line-height: 1.56; color: rgba(247, 242, 232, .84); }

.info-card .card-foot {
  margin-top: auto; padding-top: clamp(26px, 3.4vw, 46px);
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px;
}
.info-card .card-items { display: grid; gap: 18px; justify-items: start; }
.info-card .card-item-label { font: 500 10.5px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(247, 242, 232, .7); }
.info-card .card-tel, .info-card .card-email {
  display: inline-block; margin-top: 6px; font-size: 15.5px; line-height: 1.4;
  color: var(--bone); text-decoration: none; padding-bottom: 2px;
  border-bottom: 1px solid rgba(247, 242, 232, .32);
}
.info-card .card-tel:hover, .info-card .card-email:hover { border-bottom-color: var(--bone); }

.info-card .card-fb {
  display: inline-flex; align-items: center; gap: 18px;
  margin-top: 2px; padding: 12px 15px; border-radius: 2px;
  background: var(--bone); color: var(--ink);
  font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.info-card .card-fb .arrow { flex: none; }
.info-card .card-fb:hover { background: var(--orange); color: #fff; }

.info-card .qr-tile { background: var(--bone); border-radius: 2px; padding: 10px 10px 8px; text-align: center; color: var(--ink); }
.info-card .qr { width: clamp(78px, 7vw, 104px); height: auto; }
.info-card .qr-tile p { margin-top: 6px; font: 500 10px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }

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

.site-foot { margin-top: clamp(64px, 7.6vw, 112px); background: var(--ink); color: var(--bone); padding-block: clamp(28px, 3.2vw, 40px); }
.foot-in { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.foot-mark { font: 400 20px/1 var(--serif); }
.foot-mark span { font: 500 10px/1 var(--mono); letter-spacing: .18em; vertical-align: super; }
.foot-meta { font: 400 11.5px/1.6 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: rgba(247, 242, 232, .7); }
.foot-meta a { text-decoration: none; border-bottom: 1px solid rgba(247, 242, 232, .3); }

/* ---------- motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}

/* ---------- narrow: the photograph becomes a band above the copy ---------- */

@media (max-width: 1000px) {
  /* the card goes full width here, so a sideways gradient would swamp the photo */
  .info-card .card-shade {
    background: linear-gradient(
      180deg,
      rgba(20, 17, 16, 0.88) 0%,
      rgba(20, 17, 16, 0.52) 36%,
      rgba(20, 17, 16, 0.74) 66%,
      rgba(20, 17, 16, 0.95) 100%
    );
  }
}

@media (max-width: 760px) {
  .info-card { display: block; min-height: 0; }
  .info-card .card-photo { position: static; height: 210px; }
  .info-card .card-shade { display: none; }
  .info-card .card-body { padding: clamp(22px, 4vw, 30px); }
  .info-card .card-foot { padding-top: 24px; }
}

/* ---------- narrow ---------- */

@media (max-width: 1000px) {
  .nav { display: none; }
  .head-tel { margin-left: auto; padding-left: 0; border-left: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-plate { order: -1; }
  .hero-plate img { max-height: 46vh; object-fit: cover; }
  .sec-head { grid-template-columns: 1fr; align-items: start; }
  .video-row, .card-row, .contact-row { grid-template-columns: 1fr; }
  .video { margin-inline: auto; }
  .fields { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .req-actions .btn { width: 100%; justify-content: center; }

  .foot-in { flex-direction: column; align-items: flex-start; }
  .play { width: 58px; height: 58px; }
  .play::after { border-left-width: 16px; border-top-width: 10px; border-bottom-width: 10px; }
}
