/* Wrenfield Roofing: ironsand charcoal and the red of an old painted iron roof. Antonio for the signwriting, Golos Text to read. */
:root {
  --iron: #1B1D1F;
  --iron-2: #2A2D30;
  --roof: #B8461F;
  --roof-dark: #93361A;
  --roof-lt: #F08A5D;
  --white: #FFFFFF;
  --zinc: #E6E9E8;
  --on-iron: #F1F2F0;
  --dim: #BCC2C6;
  --muted: #4A5054;
  --line: #8E969B;
  --sign: 'Antonio', 'Arial Narrow', sans-serif;
  --body: 'Golos Text', system-ui, sans-serif;
  /* The signature: the profile of corrugated iron, used as the edge where sections meet */
  --corrugate: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 10'%3E%3Cpath d='M0 10V5Q6-1 12 5T24 5V10Z'/%3E%3C/svg%3E");
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--iron); font-family: var(--body); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--roof-dark); }
:focus-visible { outline: 3px solid var(--roof); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--sign); font-weight: 700; line-height: 1; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(36px, 6vw, 64px); margin-bottom: 16px; }
h3 { font-size: 27px; margin-bottom: 6px; }
p { margin: 0 0 16px; }
button { font: inherit; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 600px) { .wrap { padding: 0 28px; } }
@media (min-width: 900px) { .wrap { padding: 0 48px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 6; background: var(--white); color: var(--iron); padding: 0 16px; min-height: 44px; display: inline-flex; align-items: center; }

/* Header */
.head { background: var(--iron); color: var(--on-iron); }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--roof-lt); text-decoration: none; min-height: 44px; }
.mark { width: 36px; height: 30px; flex: none; }
.brand-name { font-family: var(--sign); font-weight: 700; font-size: 25px; line-height: 1; color: var(--white); letter-spacing: 0.5px; }
.brand-name span { color: var(--roof-lt); }
.head-num { margin: 0; font-family: var(--sign); font-weight: 600; font-size: 21px; color: var(--on-iron); }
@media (max-width: 359px) { .head-num { display: none; } }
:is(.head, .hero, .area, .foot, .photo-help) :focus-visible { outline-color: var(--roof-lt); }

/* Hero: the words on the iron, the red roof under them */
.hero { background: var(--iron); color: var(--on-iron); }
.hero-copy { padding-top: 20px; padding-bottom: 28px; }
.hero h1 { font-size: clamp(46px, 15vw, 132px); line-height: 0.9; color: var(--white); margin-bottom: 16px; }
.hero-tag { font-size: clamp(19px, 1.9vw, 23px); line-height: 1.4; max-width: 30ch; }
.keys { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 10px; max-width: 460px; margin: 22px 0 12px; }
.key { min-height: 56px; padding: 8px 12px; border: 2px solid var(--roof-lt); font-family: var(--sign); font-weight: 700; font-size: 23px; line-height: 1.05; cursor: pointer; }
.key-call { background: var(--roof); border-color: var(--roof); color: var(--white); }
.key-call:hover { background: var(--roof-dark); border-color: var(--roof-dark); }
.key-text { background: transparent; color: var(--white); }
.key-text:hover { background: var(--iron-2); }
.proof { font-size: 17px; color: var(--dim); max-width: 40ch; margin-bottom: 4px; }
.proof strong { color: var(--white); }
.hero-quote { margin: 0; }
.hero-quote a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--roof-lt); }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 86%; }
@media (min-width: 600px) { .hero-photo img { aspect-ratio: 16 / 9; object-position: 50% 80%; } }
@media (min-width: 900px) {
  .hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); max-width: 1440px; margin: 0 auto; }
  .hero-copy { align-self: center; width: 100%; padding: 64px 48px 80px; margin: 0; }
  .hero-photo img { height: 100%; max-height: 780px; aspect-ratio: 4 / 5; object-position: 50% 78%; }
}

/* Jobs */
.jobs { padding: 56px 0 64px; }
.section-lede { font-size: 19px; max-width: 46ch; color: var(--muted); margin-bottom: 32px; }
.job-list { display: grid; gap: 36px; }
.job img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 14px; }
.job p { color: var(--muted); margin: 0; }
@media (min-width: 700px) { .job-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 28px; } }
@media (min-width: 1100px) { .job-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 900px) { .jobs { padding: 96px 0; } }

/* The week, on roof red, its top edge cut to the corrugated profile */
.week { position: relative; background: var(--roof); color: var(--white); padding: 56px 0 64px; }
.week::before, .foot::before { content: ''; position: absolute; left: 0; right: 0; top: -11px; height: 12px; background: inherit; -webkit-mask: var(--corrugate) 0 0 / 24px 12px repeat-x; mask: var(--corrugate) 0 0 / 24px 12px repeat-x; }
.week h2 { max-width: 18ch; }
.week .section-lede { color: var(--white); max-width: 52ch; }
.days { list-style: none; margin: 0; padding: 0; display: grid; }
.days li { display: grid; grid-template-columns: 116px 1fr; gap: 12px; padding: 18px 0; border-top: 2px solid rgba(255, 255, 255, 0.45); }
.day { font-family: var(--sign); font-weight: 700; font-size: 27px; line-height: 1.1; }
.days p { margin: 0; }
@media (max-width: 380px) { .days li { grid-template-columns: 1fr; gap: 2px; } }
@media (min-width: 1000px) {
  .week { padding: 96px 0; }
  .days { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 20px; }
  .days li { display: block; padding: 18px 0 0; }
  .day { display: block; margin-bottom: 8px; }
}

/* Photo help */
.photo-help { background: var(--iron); color: var(--on-iron); padding: 56px 0; }
.photo-help-in { display: grid; gap: 28px; align-items: center; }
.photo-help img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.photo-help p { font-size: 19px; max-width: 44ch; color: var(--dim); }
@media (min-width: 900px) { .photo-help { padding: 96px 0; } .photo-help-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 10px 26px; font-family: var(--sign); font-weight: 700; font-size: 23px; text-decoration: none; border: 0; cursor: pointer; }
.btn-iron { background: var(--roof); color: var(--white); }
.btn-iron:hover { background: var(--roof-dark); }
.btn-roof { background: var(--roof); color: var(--white); }
.btn-roof:hover { background: var(--roof-dark); }
.btn-wide { width: 100%; }

/* Reviews: a note showing where the real ones go, never invented */
.reviews { padding: 56px 0; }
.review-note { border: 2px dashed var(--line); padding: 22px 18px; }
.rn-main { font-family: var(--sign); font-weight: 700; font-size: clamp(25px, 3.2vw, 34px); line-height: 1.15; max-width: 30ch; margin-bottom: 20px; }
.rn-layout { display: grid; gap: 10px; margin-bottom: 18px; }
.rn-slot { margin: 0; padding: 16px; background: var(--zinc); color: var(--muted); font-size: 17px; }
.rn-rating { font-weight: 700; color: var(--iron); }
.rn-foot { margin: 0; color: var(--muted); font-size: 16px; }
@media (min-width: 800px) { .review-note { padding: 36px; } .rn-layout { grid-template-columns: 1fr 1.4fr 1.4fr; } }

/* Area */
.area { background: var(--iron); color: var(--on-iron); padding: 56px 0; }
.towns { list-style: none; margin: 8px 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; max-width: 900px; }
.towns li { font-family: var(--sign); font-weight: 600; font-size: clamp(25px, 3vw, 34px); line-height: 1.25; color: var(--white); }
.towns li:not(:last-child)::after { content: '/'; color: var(--roof-lt); padding: 0 12px; }
.area p { max-width: 50ch; color: var(--dim); margin: 0; }
@media (min-width: 900px) { .area { padding: 88px 0; } }

/* Quote */
.quote-band { background: var(--zinc); padding: 56px 0 64px; }
.quote-in { display: grid; gap: 28px; }
.quote-copy p { font-size: 19px; max-width: 40ch; }
.or-call .num { font-weight: 700; white-space: nowrap; }
@media (min-width: 900px) { .quote-band { padding: 96px 0; } .quote-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 64px; } }
.quote { background: var(--white); padding: 20px 16px; }
@media (min-width: 600px) { .quote { padding: 32px; } }
.f { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; }
.f-row { display: grid; gap: 0 16px; }
@media (min-width: 520px) { .f-row { grid-template-columns: 1fr 1fr; } }
.f label { font-weight: 700; font-size: 17px; }
.opt { font-weight: 400; color: var(--muted); }
.f input, .f select, .f textarea { font: inherit; font-size: 18px; min-height: 50px; padding: 10px 12px; border: 2px solid #6B7378; border-radius: 0; background: var(--white); color: var(--iron); width: 100%; }
.f input:focus-visible, .f select:focus-visible, .f textarea:focus-visible { outline: 3px solid var(--roof); outline-offset: 0; border-color: var(--iron); }
.form-note { margin: 14px 0 0; color: var(--muted); }

/* Footer */
.foot { position: relative; background: var(--iron); color: var(--dim); padding: 44px 0 48px; font-size: 17px; }
.foot-in { display: grid; gap: 8px; }
.foot p { margin: 0 0 8px; }
.foot a { color: var(--white); }
.foot-name { font-family: var(--sign); font-weight: 700; font-size: 30px; color: var(--white); }
.foot-note { font-size: 16px; }
@media (min-width: 900px) { .foot-in { grid-template-columns: 1fr 1fr 1.4fr; gap: 32px; align-items: start; } }

/* What a real site would do, said in a note at the foot of the screen */
.toast { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 9; max-width: 520px; margin: 0 auto; padding: 14px 16px; background: var(--white); color: var(--iron); border: 2px solid var(--iron); font-weight: 600; font-size: 17px; line-height: 1.4; }
.toast[hidden] { display: none; }
