/*
Theme Name: Breault’s Canvas
Description: Custom Breault’s Canvas website with reusable winter covers, project galleries, guides and Forminator estimate requests.
Version: 1.0.0
Text Domain: breaults-canvas
Requires PHP: 7.4
*/
:root{color-scheme:light;--navy:#102738;--teal:#086468;--paper:#f8f6f0;--ink:#132f3e;--muted:#425960}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.6 system-ui,sans-serif}a{color:inherit}a:focus-visible,button:focus-visible{outline:3px solid #268f9f;outline-offset:4px}.wrap{width:min(1200px,calc(100% - 48px));margin-inline:auto}.skip{position:absolute;left:1rem;top:1rem;transform:translateY(-200%);background:white;padding:.5rem;z-index:5}.skip:focus{transform:none}header{background:white;border-bottom:1px solid #d8e1df}.mast,.foot{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding-block:.8rem}.brand{display:flex;align-items:center;gap:.65rem;font:bold 1.35rem Georgia,serif;text-decoration:none}.brand img{width:52px;height:58px;object-fit:contain}nav{display:flex;gap:.25rem 1.65rem;flex-wrap:wrap;border-top:1px solid #e1e8e5;padding-block:.65rem}nav a{font-size:.88rem;text-decoration:none;font-weight:650}nav a:hover,nav a[aria-current]{text-decoration:underline;text-underline-offset:.32rem}.button,.btn{display:inline-block;background:var(--teal);color:white;padding:.65rem 1rem;font:650 .9rem/1.5 system-ui,sans-serif;text-decoration:none;border:0;cursor:pointer}.button:hover,.btn:hover{background:#094c54}.lead{background:var(--navy);color:white}.split{display:grid;grid-template-columns: .9fr 1.1fr;align-items:center;gap:clamp(24px,5vw,80px);padding-block:clamp(30px,5vw,78px)}h1,h2,h3{font-family:Georgia,serif;line-height:1.08;margin:0}h1{font-size:clamp(2.55rem,5.4vw,5.1rem);letter-spacing:-.04em}h2{font-size:clamp(2rem,4vw,3.6rem);letter-spacing:-.03em}h3{font-size:1.45rem}.eyebrow{font-size:.75rem;font-weight:750;letter-spacing:.15em;text-transform:uppercase;color:var(--teal);margin:0 0 .8rem}.lead .eyebrow{color:#a1e0db}.lead p:not(.eyebrow){color:#e2e9e8;max-width:46ch}.lead .button{margin-top:.5rem;background:#a1e0db;color:var(--navy)}figure{margin:0}img{display:block;max-width:100%}.lead img{width:100%;aspect-ratio:4/3;object-fit:cover}.lead figcaption{border-color:#6d858b;color:#dde7e8}figcaption{font-size:.85rem;padding:.55rem 0;border-bottom:1px solid #b8cac7}.section{padding-block:clamp(38px,7vw,85px)}.cards,.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.3rem;margin-top:1.75rem}.gallery{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.gallery img{width:100%;max-height:620px;object-fit:contain;background:#e8efed}.card{display:block;background:white;text-decoration:none;border:1px solid #d8e1df}.card:hover{border-color:var(--teal)}.card img{width:100%;aspect-ratio:16/10;object-fit:cover}.card div{padding:1rem 1.2rem}.card h3 span{font:1rem system-ui;color:var(--teal)}.card p{margin:.45rem 0 0;color:var(--muted)}footer{background:var(--navy);color:white}.foot{padding-block:1.4rem;font-size:.9rem}.contact-grid,.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.contact-grid{gap:3rem}.form{background:white;padding:1.4rem}.form label{display:grid;gap:.25rem}.full{grid-column:1/-1}input,select,textarea{font:inherit;width:100%;border:1px solid #8da2a5;padding:.5rem;background:white;color:var(--ink)}textarea{min-height:8rem}.note{font-size:.85rem}.summary{white-space:pre-wrap;overflow-wrap:anywhere;margin-block:1rem}.phone{font-weight:bold}@media(max-width:760px){.split,.contact-grid{grid-template-columns:1fr}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}nav{gap:.35rem 1rem}}@media(max-width:460px){.wrap{width:calc(100% - 28px)}.cards,.gallery,.form-grid{grid-template-columns:1fr}.mast{gap:.5rem}.mast .button{font-size:.75rem}.brand{font-size:1rem}.brand img{width:36px;height:40px}}

.repair-photo img,.repair-card img{object-fit:contain;background:#fff}

.lead img.story-portrait{aspect-ratio:auto;height:auto}

.sustainability-copy p, p.sustainability-copy{max-width:68ch}

.review blockquote { margin: 0; padding: 1rem 1.25rem; }
.review blockquote p { margin: 0; }
.review figcaption { padding: .75rem 1.25rem; }

.costume-collage { grid-column: 1 / -1; }
.costume-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; background: #e8efed; }
.costume-photos img { aspect-ratio: 3 / 4; object-fit: contain; }
@media (max-width: 480px) {
  .costume-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .costume-photos img:first-child { grid-row: span 2; aspect-ratio: auto; align-self: stretch; height: 100%; }
}

.homepage-brand, .homepage-origin { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem .85rem; }
.ontario-made { width: 54px; height: 54px; object-fit: contain; }
.proudly-canadian { display: inline-flex; align-items: center; gap: .35rem; font-size: .85rem; font-weight: 700; white-space: nowrap; }
.proudly-canadian > span[aria-hidden="true"] { font-size: 1.65rem; line-height: 1; }
@media (max-width: 540px) {
  .homepage-brand { column-gap: .6rem; }
  .ontario-made { width: 44px; height: 44px; }
}

.foot { align-items: center; gap: 1.5rem 3rem; padding-block: clamp(1.75rem, 4vw, 3rem); }
.footer-contact { display: grid; justify-items: start; gap: .45rem; font-style: normal; }
.footer-name { font: bold 1.35rem Georgia, serif; margin-bottom: .2rem; }
.footer-origin { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem; }
.footer-origin img { display: block; width: 64px; height: 64px; padding: .35rem; background: #fff; border-radius: 50%; object-fit: contain; }
@media (max-width: 540px) { .foot { flex-direction: column; align-items: flex-start; } }

/* Shared site typography and surfaces */
:root {
  --paper: #f5f0e7;
  --ink: #202d2b;
  --muted: #485953;
  --navy: #172c2a;
  --teal: #235c51;
  --rule: #d5cec0;
}
body { line-height: 1.65; }
header { background: #faf7f1; border-color: var(--rule); }
nav { border-color: var(--rule); }
nav a { font-size: .85rem; }
h1, h2, h3 { text-wrap: balance; font-weight: 500; }
h1 { font-size: clamp(2.55rem, 5vw, 4.75rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.75rem); letter-spacing: -.045em; }
.button, .btn { transition: background-color 160ms ease; }
.lead .button { background: #e9d9bb; color: #172c2a; }
.lead .button:hover { background: #f9e9ce; }
.lead .eyebrow { color: #d6c7a9; }
.lead:not(.home-lead) .split { grid-template-columns: 1fr 1.1fr; }
.lead:not(.home-lead) img { background: #203632; }
figcaption { border-color: var(--rule); }
.gallery { column-gap: clamp(1rem, 4vw, 3.5rem); row-gap: 2rem; }
.gallery img { background: #eae3d8; }

/* Homepage */
.home-lead .split { grid-template-columns: .85fr 1.15fr; gap: clamp(1.5rem, 4vw, 4.5rem); }
.home-intro p:not(.eyebrow) { margin-block: 1.4rem; }
.home-lead img { aspect-ratio: 5 / 4; object-position: 48% center; }
.home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.3rem; font-size: .9rem; }
.home-actions .button { margin: 0; }
.home-actions a:last-child, .home-feature a { text-underline-offset: .3em; }
#services .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem clamp(1.2rem, 4vw, 3.25rem); }
#services .card { background: transparent; border: 0; border-bottom: 1px solid var(--rule); }
#services .card:hover { border-color: var(--teal); }
#services .card img { aspect-ratio: 2 / 1; }
#services .card div { padding: .9rem 0 1.25rem; }
#services .card h3 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
.home-feature { background: #e5ded0; }
.home-feature .split { grid-template-columns: 1.1fr .9fr; }
.home-feature img { width: 100%; max-height: 560px; object-fit: contain; }
.home-feature p:not(.eyebrow) { max-width: 40ch; }
.home-story { max-width: 760px; }
.home-reviews { background: var(--navy); color: #f9f2e6; }
.home-reviews .review { border-top: 1px solid #7f8a7a; }
.home-reviews .review blockquote { padding: 1.15rem 0 .45rem; font: 1.28rem/1.45 Georgia, serif; }
.home-reviews .review figcaption { padding: .55rem 0; color: #e3d5bc; border: 0; }
.home-reviews a { text-underline-offset: .25em; }
footer { background: #10201e; }

@media (max-width: 760px) {
  .lead:not(.home-lead) .split, .home-lead .split, .home-feature .split { grid-template-columns: 1fr; }
  .home-lead img { aspect-ratio: 16 / 10; }
}
@media (max-width: 520px) {
  #services .cards, .home-reviews .cards { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .button, .btn { transition: none; }
}

/* Give the workshop identity priority in the masthead. */
.mast { column-gap: 1.5rem; padding-block: 1rem; }
.mast .homepage-brand { gap: .65rem clamp(1rem, 2.8vw, 2.5rem); }
.mast .brand {
  gap: .8rem;
  font-size: clamp(1.75rem, 3.8vw, 3.25rem);
  line-height: 1;
  letter-spacing: -.055em;
}
.mast .brand img { width: clamp(58px, 6.5vw, 88px); height: auto; flex-shrink: 0; }
.mast .homepage-origin { border-left: 1px solid var(--rule); padding-left: 1rem; }
.mast .ontario-made { width: 44px; height: 44px; }
@media (max-width: 620px) {
  .mast .homepage-origin { border-left: 0; padding-left: 0; }
}
@media (max-width: 460px) {
  .mast .brand { font-size: clamp(1.45rem, 7.3vw, 2rem); }
  .mast .homepage-brand { flex-basis: 100%; }
  .mast .homepage-origin { gap: .55rem; }
  .mast .ontario-made { width: 36px; height: 36px; }
}

a.guide-download {
  display: flex;
  align-items: center;
  gap: .75rem;
  width: fit-content;
  max-width: 100%;
  margin-block: 1rem 1.5rem;
  padding: .75rem 1rem;
  border: 1px solid #b8b1a1;
  border-radius: .35rem;
  background: #fffaf1;
  color: #172c2a;
  font-weight: 700;
  text-decoration: none;
}
a.guide-download:hover { background: #efe1c9; }
.guide-file {
  padding: .25rem .35rem;
  border: 1px solid currentColor;
  border-radius: .2rem;
  font-size: .7rem;
  line-height: 1;
}
.guide-arrow { font-size: 1.2rem; }
.guide-video { max-width: 48rem; margin-block: 1.4rem 2rem; }
.guide-video figcaption { border: 0; font-weight: 700; }
.guide-video video { display: block; width: 100%; height: auto; }

.estimate-form { min-width: 0; }
.estimate-form .forminator-ui { margin: 0 !important; }
.estimate-form .forminator-label { font-size: 1rem !important; }
.estimate-form input, .estimate-form textarea, .estimate-form select { font: inherit; }
body.admin-bar header { scroll-margin-top: 32px; }
