/* Blossom's designs: the properties every part is themed from.

   A site sets these in its own theme.css for its business; the parts never name a colour, a typeface or a size of
   their own. The values here are a neutral example so that a part renders on its own, not a look to ship. */
:root{
  /* Colour. --brand is the business's main colour, for dark bands and the header's rule; --brand-2 the second, for
     buttons, numbers and the offset shadows. Each has the colour of words set on it. */
  --brand:#1f3d2c;
  --brand-ink:#ffffff;
  --brand-2:#7b1d2a;
  --brand-2-ink:#ffffff;
  --ink:#1d2320;              /* words on paper */
  --ink-soft:#4b534e;         /* quieter words */
  --paper:#f6f1e6;            /* the page */
  --paper-2:#ffffff;          /* cards, frames and lifted boxes */
  --tint:#e9e2d1;             /* the alternate light band */
  --dark:#15201a;             /* the dark band between light ones */
  --dark-ink:#e9ede6;
  --line:#cfc7b3;             /* thin rules */
  --highlight:var(--brand-2); /* the small labels above headings; a brand kit may give them a colour of their own */
  --photo-tint-rgb:16,18,22;  /* the colour laid over a photograph that has words on it, as r,g,b */

  /* Type. Headings are set in the display face; everything else in the body face. */
  --display-font:"DM Serif Display",Georgia,"Times New Roman",serif;
  --body-font:"Source Sans 3",Arial,Helvetica,sans-serif;
  --accent-font:var(--display-font);  /* one key word of a heading in .accent: an italic serif beside a heavy sans */
  --display-weight:400;
  --display-case:none;        /* uppercase for a condensed sans */
  --display-tracking:0;
  --display-leading:1;        /* the main heading's line height */
  --h1:clamp(40px,6.2vw,90px);        /* the home page's opening: 40px on a phone, 89px at 1440 */
  --h1-inner:clamp(34px,4.4vw,60px);  /* an inner page's opening */
  --h2:clamp(32px,3.9vw,54px);        /* section headings */
  --h3:clamp(19px,1.6vw,23px);        /* tiles, cards, team */
  --body:17px;
  --small:15px;

  /* Shape. The hard offset shadow is the look's signature; --frame is the border round a photograph. */
  --shadow:12px;
  --shadow-small:6px;
  --shadow-colour:var(--brand-2);
  --radius:3px;
  --frame:4px;
  --frame-colour:var(--paper-2);

  /* Space. */
  --wrap:1200px;                       /* the content column, gutters included */
  --gutter:clamp(18px,3vw,32px);
  --band:clamp(48px,6.5vw,88px);       /* a band's padding above and below */
  --gap:clamp(20px,3vw,48px);          /* between the columns of a grid */

  /* Motion. */
  --quick:.25s;                        /* a hover response */
  --rise:.7s;                          /* the openings' entrance */
}

/* The bones every page shares: the reset, the type, the content column, the bands and their tones, and the two
   motions every part uses (the openings' entrance and the scroll reveal). Loaded after tokens.css, before the parts. */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--body-font);font-size:var(--body);line-height:1.6}
img,video{max-width:100%;height:auto;display:block}
/* Words that link are the words' own colour, underlined in the second colour: the second colour, chosen for buttons
   and shadows, is not always dark enough to be read as words, and 865 Diesel's orange links were 4.36:1 on its paper. */
a{color:inherit;text-decoration-color:var(--brand-2);text-decoration-thickness:.12em;text-underline-offset:.2em}
a:hover{text-decoration-thickness:.22em}
h1,h2,h3,h4{font-family:var(--display-font);font-weight:var(--display-weight);text-transform:var(--display-case);letter-spacing:var(--display-tracking);line-height:1.1;margin:0 0 .5em;color:var(--brand)}
h1{font-size:var(--h1-inner)}
h2{font-size:var(--h2)}
h3{font-size:var(--h3)}
p,ul,ol,dl{margin:0 0 1em}
.wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 var(--gutter)}
.nw{white-space:nowrap}
.lead{font-size:clamp(17px,1.3vw,20px)}

/* Bands: full-width colour, content on the column. Alternate the tones so that sections do not all look alike. */
.band{padding:var(--band) 0}
.band.tight{padding:calc(var(--band) * .6) 0}
/* A wave: a band whose top edge rolls into the band above it, drawn in the band's own colour over a strip of the band
   before. Once or twice on a site, for a dark or coloured band after a light one: a garden centre's site had its bands
   meet in waves where Blossom's met in straight lines. */
.band.wave{position:relative}
.band.wave::before{content:"";position:absolute;left:0;right:0;bottom:100%;height:clamp(20px,3.5vw,48px);background:inherit;
  pointer-events:none;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0 48V30C180 6 360 6 540 24S900 42 1080 24 1350 6 1440 18V48Z'/%3E%3C/svg%3E") center bottom/100% 100% no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0 48V30C180 6 360 6 540 24S900 42 1080 24 1350 6 1440 18V48Z'/%3E%3C/svg%3E") center bottom/100% 100% no-repeat}
.tone-paper{background:var(--paper);color:var(--ink)}
.tone-paper-2{background:var(--paper-2);color:var(--ink)}
.tone-tint{background:var(--tint);color:var(--ink)}
.tone-brand{background:var(--brand);color:var(--brand-ink)}
.tone-brand-2{background:var(--brand-2);color:var(--brand-2-ink)}
.tone-dark{background:var(--dark);color:var(--dark-ink)}
:is(.tone-brand,.tone-brand-2,.tone-dark) :is(h1,h2,h3,h4){color:inherit}
:is(.tone-brand,.tone-brand-2,.tone-dark) a:not(.btn){color:inherit;text-decoration-color:currentColor}

/* A small label above a heading. */
.eyebrow{font-family:var(--body-font);font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--highlight);margin:0 0 1em}
/* Full opacity on purpose: an element that moves in and ends under 90% opacity is reported as left faint. */
:is(.tone-brand,.tone-brand-2,.tone-dark) .eyebrow{color:inherit}

/* A section's heading and its line of words, as one block or as two columns. */
.section-head{max-width:46em;margin:0 0 clamp(24px,3vw,40px)}
.section-head h2{margin:0 0 .3em}
.section-head p{margin:0}
.section-head.two{max-width:none}
@media (min-width:900px){
  .section-head.two{display:grid;grid-template-columns:1fr 1fr;gap:var(--gap);align-items:end}
  .section-head.two h2{margin:0}
}

/* The motion kit's still forms (README, "Motion"): each is complete with no motion at all. One key word of a heading in
   the accent face (.accent); a word underlined in the second colour (.underline); a heading's words, each in
   <span class="w" style="--i:N">, so that they can rise in one after another (.words). */
.accent{font-family:var(--accent-font);font-style:italic;font-weight:400;text-transform:none;letter-spacing:0}
.underline{background:linear-gradient(var(--brand-2),var(--brand-2)) no-repeat 0 92% / 100% .085em;padding-bottom:.02em}
.words .w{display:inline-block}

/* Motion, only where the visitor has not asked for less: the page is complete and still without it. */
@media (prefers-reduced-motion:no-preference){
  /* The motion kit (README, "Motion"), each an entrance or an answer to the pointer: the underline drawn in after the
     heading has risen; the heading's words rising one after another; a frame drifting gently, each at its own pace; a
     sticker popping in last; a card lifting with a glow of the second colour. translate and scale, not transform, so
     that a frame or sticker keeps a turn of its own. */
  @keyframes bd-draw{from{background-size:0 .085em}}
  .underline{animation:bd-draw .8s cubic-bezier(.2,.7,.2,1) .6s backwards}
  .words .w{animation:bd-rise var(--rise) ease-out backwards;animation-delay:calc(var(--i,0) * 90ms)}
  @keyframes bd-drift{50%{translate:0 -8px}}
  .drift{animation:bd-drift 7s ease-in-out infinite}
  .drift:nth-of-type(2n){animation-duration:9s;animation-delay:-3s}
  @keyframes bd-pop{from{opacity:0;scale:.4}70%{scale:1.08}to{opacity:1;scale:1}}
  .pop{animation:bd-pop .6s cubic-bezier(.2,.8,.3,1.2) 1s backwards}
  .glow{transition:box-shadow var(--quick),translate var(--quick)}
  .glow:hover{translate:0 -3px;box-shadow:0 22px 48px -18px var(--brand-2)}
  /* The openings' entrance: heading, words and buttons rise in once, one after another. */
  @keyframes bd-rise{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
  /* The scroll reveal: a block rises the last 18px into place as it comes on screen. It starts at .7, never hidden, and is
     wholly in place once all of it is on the screen (entry 100%), at the foot of the page too. Put .reveal on a block, or
     .reveal-each on a list to reveal its items one by one. */
  @supports (animation-timeline:view()){
    @keyframes bd-reveal{from{opacity:.7;transform:translateY(18px)}to{opacity:1;transform:none}}
    .reveal,.reveal-each>*{animation:bd-reveal linear both;animation-timeline:view();animation-range:entry 0% entry 100%}
  }
}

/* Part 1: the header. One row of logo, menu and one action from 1024px up; below that the menu folds behind the Menu
   button at the right, opened without JavaScript by the checkbox (hidden by opacity and size, not moved off the screen, so
   the keyboard still reaches it). The logo keeps its own size at every width. */
.site-header{position:relative;z-index:10;background:var(--paper-2);border-bottom:4px solid var(--brand)}
.top-bar{margin:0;background:var(--brand);color:var(--brand-ink);font-size:14px;line-height:1.3;padding:7px var(--gutter);display:flex;justify-content:space-between;gap:16px;white-space:nowrap;overflow:hidden}
.top-bar a{color:inherit;font-weight:700;text-decoration:none}
.top-bar a:hover{text-decoration:underline}
.header-row{display:flex;align-items:center;justify-content:space-between;gap:var(--gap);min-height:84px}
.brand{display:flex;flex-direction:column;justify-content:center;flex:none;text-decoration:none;color:var(--ink)}
.brand img{height:56px;width:auto}
.brand-name{font-family:var(--display-font);font-weight:var(--display-weight);text-transform:var(--display-case);letter-spacing:var(--display-tracking);font-size:26px;line-height:1;color:var(--brand);white-space:nowrap}
.brand-line{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-soft);margin-top:5px;white-space:nowrap}
.menu{display:flex;align-items:center;gap:clamp(14px,2vw,32px)}
.menu ul{list-style:none;margin:0;padding:0;display:flex;gap:clamp(10px,1.5vw,24px)}
.menu li a{display:block;color:var(--ink);text-decoration:none;font-weight:700;font-size:16px;letter-spacing:.01em;white-space:nowrap;padding:6px 0;border-bottom:3px solid transparent}
.menu li a:hover,.menu li a[aria-current]{border-bottom-color:var(--brand-2)}
.menu-action{padding:10px 18px;font-size:16px}
.menu-box{position:absolute;opacity:0;width:1px;height:1px;margin:0;right:var(--gutter);bottom:30px}
.menu-button{display:none}
@media (max-width:1023px){
  .menu-button{display:inline-block;background:var(--brand-2);color:var(--brand-2-ink);font-weight:700;font-size:15px;line-height:1.2;padding:10px 18px;border-radius:var(--radius);cursor:pointer}
  .menu-box:focus-visible+.menu-button{outline:3px solid var(--brand);outline-offset:2px}
  .menu{display:none;position:absolute;top:100%;left:0;right:0;background:var(--paper-2);flex-direction:column;align-items:stretch;gap:0;padding:8px var(--gutter) 20px;border-bottom:4px solid var(--brand);box-shadow:0 14px 24px rgba(0,0,0,.15)}
  .menu-box:checked~.menu{display:flex}
  .menu ul{flex-direction:column;gap:0}
  .menu li a{padding:12px 0;border-bottom:1px solid var(--line)}
  .menu li a[aria-current]{border-bottom-color:var(--brand-2)}
  .menu .menu-action{margin-top:14px;text-align:center}
}
/* The dark header (.site-header.dark): the bar on the dark tone, its name, menu and lines light, for a brand whose base
   colour is dark and whose logo is made for it. The folded menu opens on the same dark. */
.site-header.dark{background:var(--dark);border-bottom-color:var(--brand-2)}
.site-header.dark :is(.brand,.brand-name,.menu li a){color:var(--dark-ink)}
.site-header.dark .brand-line{color:var(--dark-ink);opacity:.8}
@media (max-width:1023px){
  .site-header.dark .menu{background:var(--dark);border-bottom-color:var(--brand-2)}
  .site-header.dark .menu li a{border-bottom-color:rgba(255,255,255,.18)}
  .site-header.dark .menu li a[aria-current]{border-bottom-color:var(--brand-2)}
}
@media (max-width:599px){
  .top-bar .top-note{display:none}
  .top-bar{justify-content:center}
  .header-row{min-height:70px}
  .brand img{height:46px}
  .brand-name{font-size:22px}
  .brand-line{font-size:10px}
}
@media (max-width:479px){
  /* Beside the Menu button a long second line would push the row past a narrow phone's edge: the name alone stays. */
  .brand-line{display:none}
}
@media (prefers-reduced-motion:no-preference){
  .menu li a{transition:border-color var(--quick),color var(--quick)}
  .menu-button{transition:background-color var(--quick)}
  .menu-button:hover{background:var(--brand)}
}

/* Part 2: the footer. Compact columns on the dark tone: the brand, where, when, how to reach it, and the pages. */
.site-footer{background:var(--dark);color:var(--dark-ink);font-size:var(--small);line-height:1.55;padding:calc(var(--band) * .8) 0 0}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr .8fr;gap:var(--gap);padding-bottom:32px}
.site-footer h3{font-family:var(--body-font);font-weight:700;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:inherit;opacity:.7;margin:0 0 .9em}
.site-footer p{margin:0 0 .8em}
.site-footer ul{list-style:none;margin:0;padding:0}
.site-footer li{margin:0 0 6px}
.site-footer a{color:inherit}
.footer-brand img{height:52px;width:auto;background:var(--paper-2);padding:6px 10px;border-radius:var(--radius);margin-bottom:12px}
/* The logo made for a dark background, as the dark header shows it: on the dark tone itself, with no tile. */
.footer-brand img.on-dark{background:none;padding:0;border-radius:0}
.footer-brand .brand-name{display:block;color:inherit;margin-bottom:8px}
.footer-legal{border-top:1px solid rgba(255,255,255,.18);padding:14px 0 18px;font-size:13px;display:flex;flex-wrap:wrap;gap:8px 24px;justify-content:space-between}
.footer-legal a{opacity:.85}
@media (max-width:899px){
  .footer-grid{grid-template-columns:1fr 1fr}
  .footer-brand{grid-column:1 / -1}
}
@media (max-width:479px){
  .footer-grid{grid-template-columns:1fr;gap:24px}
}

/* Part 3: buttons, cards and photo frames. Every part uses these; their hover motion is the look's. */
.btn{display:inline-block;background:var(--brand-2);color:var(--brand-2-ink);border:2px solid var(--brand-2);text-decoration:none;font-family:var(--body-font);font-weight:700;font-size:16px;line-height:1.2;padding:12px 22px;border-radius:var(--radius);white-space:nowrap;cursor:pointer}
.btn:hover{background:var(--brand);border-color:var(--brand);color:var(--brand-ink)}
.btn.alt{background:transparent;color:var(--brand-2)}
.btn.line{background:transparent;color:inherit;border-color:currentColor}
.btn.line:hover{background:var(--paper-2);color:var(--brand);border-color:var(--paper-2)}
.btn.light{background:var(--paper-2);color:var(--brand);border-color:var(--paper-2)}
.btn.light:hover{background:var(--brand-2);color:var(--brand-2-ink);border-color:var(--brand-2)}
/* On a band in the brand colour a solid button would vanish on hover, so it turns to paper; on the second colour it is paper to start. */
:is(.tone-brand,.tone-dark) .btn:hover{background:var(--paper-2);color:var(--brand);border-color:var(--paper-2)}
.tone-brand-2 .btn:not(.line){background:var(--paper-2);color:var(--brand-2);border-color:var(--paper-2)}
.tone-brand-2 .btn:not(.line):hover{background:var(--brand);color:var(--brand-ink);border-color:var(--brand)}
.actions{display:flex;flex-wrap:wrap;gap:12px;margin:0}
.more{font-weight:700;color:inherit;text-decoration:underline;text-decoration-color:var(--brand-2);text-decoration-thickness:2px;text-underline-offset:4px}
.more::after{content:" \2192"}
.more:hover{text-decoration:underline}
:is(.tone-brand,.tone-brand-2,.tone-dark) .more{color:inherit}
.card{background:var(--paper-2);color:var(--ink);border-radius:var(--radius);padding:22px 24px;box-shadow:var(--shadow-small) var(--shadow-small) 0 var(--shadow-colour)}
.card h3{margin:0 0 .4em}
.card p:last-child{margin:0}
.frame{margin:0;border:var(--frame) solid var(--frame-colour);border-radius:var(--radius);box-shadow:var(--shadow) var(--shadow) 0 var(--shadow-colour);background:var(--dark);overflow:hidden}
.frame img{width:100%;height:100%;object-fit:cover}
/* An arched frame, the top a round arch over the photograph: once or twice on a site, for a photograph that carries a
   section, never for every one. Its offset shadow follows the arch. */
.frame.arch{border-radius:50% 50% var(--radius) var(--radius) / 30% 30% var(--radius) var(--radius)}
/* A stamp: a round mark in the second colour on a photograph, with a fact the business states of itself, such as the
   year it began. Only what the material says; never a claim made up for the look. */
.frame.stamped{position:relative}
.stamp{position:absolute;top:14px;left:14px;width:96px;height:96px;padding:8px;border-radius:50%;display:grid;place-content:center;
  text-align:center;background:var(--brand-2);color:var(--brand-2-ink);box-shadow:0 0 0 4px var(--paper-2);
  font-family:var(--body-font);font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;line-height:1.15}
.stamp strong{display:block;font-family:var(--display-font);font-weight:var(--display-weight);font-size:28px;letter-spacing:0;line-height:1}
@media (min-width:900px){
  .stamp{width:112px;height:112px;font-size:13px}
  .stamp strong{font-size:32px}
}
@media (max-width:599px){
  .btn{white-space:normal;text-align:center}
  .actions .btn{flex:1 1 auto}
}
@media (prefers-reduced-motion:no-preference){
  .btn{transition:transform var(--quick),box-shadow var(--quick),background-color var(--quick),color var(--quick),border-color var(--quick)}
  .btn:hover{transform:translateY(-3px);box-shadow:0 5px 0 rgba(0,0,0,.25)}
  .card{transition:transform var(--quick),box-shadow var(--quick)}
  .card:hover{transform:translate(-3px,-3px);box-shadow:calc(var(--shadow-small) + 3px) calc(var(--shadow-small) + 3px) 0 var(--shadow-colour)}
  .frame{transition:transform .3s,box-shadow .3s}
  .frame:hover{transform:translate(-3px,-3px);box-shadow:calc(var(--shadow) + 3px) calc(var(--shadow) + 3px) 0 var(--shadow-colour)}
  .frame img{transition:transform .3s}
  .frame:hover img{transform:scale(1.04)}
}

/* Part 4: the inner-page opening. A band in the brand colour with a slanted slab behind the words (a wash of the words'
   colour on a dark band, of the second colour on a light one),
   the page's heading at the inner size, a line of words, and optionally a framed photo at the right. */
.page-opening{position:relative;overflow:hidden;padding:clamp(36px,5vw,64px) 0 clamp(40px,5.5vw,72px);border-bottom:6px solid var(--brand-2)}
/* Not over a band of its own stripe's colour, which it would make look taller above its words than below them. */
.page-opening:has(+ .tone-brand-2){border-bottom-width:0}
.page-opening::before{content:"";position:absolute;top:-10%;bottom:-10%;right:-6%;width:38%;background:var(--brand-2);opacity:.16;transform:skewX(-12deg)}
/* On the brand colour or the dark, a thin second colour mixes with the band to mud (Digital Site Care, 30 November:
   orange over violet showed maroon): the slab is a light wash of the band's own words instead. */
.page-opening:is(.tone-brand,.tone-dark)::before{background:currentColor;opacity:.07}
.page-opening .wrap{position:relative;display:grid;grid-template-columns:1fr;gap:var(--gap);align-items:center}
.page-opening h1{font-size:var(--h1-inner);line-height:1.02;margin:0 0 .3em;text-wrap:balance;max-width:14em}
.page-opening .lead{margin:0;max-width:40em}
.page-opening .eyebrow{margin-bottom:.8em}
.page-opening-photo{display:none;aspect-ratio:3 / 2;max-width:520px;margin:0 var(--shadow) var(--shadow) 0}
.page-opening.with-photo .page-opening-photo{display:block}
@media (min-width:900px){
  .page-opening.with-photo .wrap{grid-template-columns:7fr 5fr}
  .page-opening.with-photo .page-opening-photo{max-width:none;justify-self:end;width:calc(100% - var(--shadow))}
}
@media (prefers-reduced-motion:no-preference){
  .page-opening-words>*{animation:bd-rise var(--rise) ease-out backwards}
  .page-opening-words>:nth-child(2){animation-delay:.12s}
  .page-opening-words>:nth-child(3){animation-delay:.24s}
  .page-opening-photo{animation:bd-rise var(--rise) ease-out .2s backwards}
}

/* Part 5: the bold opening. The display heading, up to 90px at 1440 and 40px on a phone, beside a collage of one large
   and two small photographs that overlap a little, each in its frame with the hard shadow. */
.bold-opening{overflow:hidden;padding:clamp(40px,6vw,80px) 0 clamp(48px,7vw,96px)}
.bold-opening .wrap{display:grid;grid-template-columns:1fr;gap:clamp(36px,5vw,64px);align-items:center}
.bold-opening h1{font-size:var(--h1);line-height:var(--display-leading);margin:0 0 .35em;text-wrap:balance;max-width:10.5em}
.bold-opening .lead{max-width:32em;margin:0 0 1.5em}
.bold-opening .eyebrow{margin-bottom:1.2em}
.collage{position:relative;aspect-ratio:6 / 5;width:calc(100% - var(--shadow));max-width:600px}
.collage .frame{position:absolute}
.collage-1{left:0;top:0;width:78%;height:64%;z-index:1}
.collage-2{right:0;top:44%;width:46%;height:40%;z-index:2;--shadow-colour:var(--tint)}
.collage-3{left:6%;top:60%;width:42%;height:38%;z-index:3}
@media (min-width:900px){
  .bold-opening .wrap{grid-template-columns:1.1fr .9fr}
  .collage{max-width:none}
}
@media (prefers-reduced-motion:no-preference){
  .bold-opening-words>*{animation:bd-rise var(--rise) ease-out backwards}
  .bold-opening-words>:nth-child(2){animation-delay:.12s}
  .bold-opening-words>:nth-child(3){animation-delay:.24s}
  .bold-opening-words>:nth-child(4){animation-delay:.36s}
  .collage .frame{animation:bd-rise .8s ease-out backwards}
  .collage-1{animation-delay:.2s}
  .collage-2{animation-delay:.4s}
  .collage-3{animation-delay:.55s}
  /* The frames keep their hover from part 3; in the collage the lift is in place, not a move. */
  .collage .frame:hover{transform:none}
}

/* Part 6: the full-photo opening. The photograph fills the band; a tint in --photo-tint-rgb lies over all of it, deepest
   where the words are, so that white words read at every width whatever the photograph shows there. */
.photo-opening{position:relative;isolation:isolate;overflow:hidden;display:grid;align-items:end;min-height:clamp(520px,78vh,780px);color:#fff;padding:clamp(56px,8vw,112px) 0 clamp(44px,6vw,80px);border-bottom:6px solid var(--brand-2)}
.photo-opening-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
/* Its stripe in --brand-2 joins a band of the same colour right under it, which then looks taller above its words than
   below them: the scrolling band's words looked low (Digital Site Care, 25 November). Not drawn there. The photograph is
   kept within the opening, so that the photograph settling into place does not lie over the band below. */
.photo-opening:has(+ .tone-brand-2){border-bottom-width:0}
.photo-opening::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(to top,rgba(var(--photo-tint-rgb),.92) 0%,rgba(var(--photo-tint-rgb),.72) 45%,rgba(var(--photo-tint-rgb),.42) 100%)}
.photo-opening .eyebrow{color:#fff;margin-bottom:1.2em}
.photo-opening h1{font-size:var(--h1);line-height:var(--display-leading);color:#fff;margin:0 0 .35em;text-wrap:balance;max-width:10.5em}
.photo-opening .lead{max-width:34em;margin:0 0 1.5em}
.photo-opening .btn:not(.line){background:var(--brand-2);color:var(--brand-2-ink);border-color:var(--brand-2)}
.photo-opening .btn:not(.line):hover{background:#fff;color:var(--brand);border-color:#fff}
.photo-opening .btn.line:hover{background:#fff;color:var(--brand);border-color:#fff}
@media (prefers-reduced-motion:no-preference){
  @keyframes bd-settle{from{transform:scale(1.04)}to{transform:none}}
  .photo-opening-img{animation:bd-settle 1.6s ease-out both}
  .photo-opening-words>*{animation:bd-rise var(--rise) ease-out backwards}
  .photo-opening-words>:nth-child(2){animation-delay:.12s}
  .photo-opening-words>:nth-child(3){animation-delay:.24s}
  .photo-opening-words>:nth-child(4){animation-delay:.36s}
}

/* Part 7: numbered service tiles. One column on a phone, two from 600px, and from 900px a four-column grid of mixed sizes
   whose first tile is the large one. Tiles are placed in the order written, never densely, so the numbers run along each
   row and then down; the rules by count below close the grid without a gap for 3 to 8 items. */
.tiles{counter-reset:tile;list-style:none;margin:0;padding:0 var(--shadow-small) var(--shadow-small) 0;display:grid;grid-template-columns:1fr;gap:14px}
.tile{counter-increment:tile;position:relative;display:flex;flex-direction:column;gap:10px;padding:20px 22px;background:var(--paper-2);color:var(--ink);border-radius:var(--radius);box-shadow:var(--shadow-small) var(--shadow-small) 0 var(--shadow-colour)}
.tile::before{content:counter(tile,decimal-leading-zero);font-family:var(--display-font);font-weight:var(--display-weight);letter-spacing:var(--display-tracking);font-size:34px;line-height:1;color:var(--brand-2)}
.tile h3{margin:0;line-height:1.2;color:var(--brand)}
.tile p{margin:0;font-size:var(--small);line-height:1.5;color:var(--ink-soft)}
.tile .more{margin-top:auto;font-size:var(--small);padding-top:6px}
.tile-photo{margin:4px 0 0;aspect-ratio:16 / 9;overflow:hidden;border-radius:var(--radius)}
.tile-photo img{width:100%;height:100%;object-fit:cover}
/* The large tile: in the brand colour, with a bigger number and name. */
.tile:first-child{background:var(--brand);color:var(--brand-ink);padding:26px 28px}
.tile:first-child::before{font-size:60px;color:var(--brand-ink)}
.tile:first-child h3{font-size:clamp(23px,2.2vw,32px);color:inherit}
.tile:first-child p{color:inherit;font-size:var(--body);opacity:.92}
.tile:first-child .more{color:inherit}
.tile:first-child .tile-photo{flex:1 1 auto;min-height:150px;max-height:260px;aspect-ratio:auto}
@media (min-width:600px){
  .tiles{grid-template-columns:1fr 1fr;gap:16px}
  .tile:first-child{grid-column:span 2}
  /* With the first tile across both columns, an even count leaves the last alone: it takes both columns too. */
  .tile:nth-child(even):last-child{grid-column:span 2}
}
@media (min-width:900px){
  .tiles{grid-template-columns:repeat(4,1fr);grid-auto-rows:minmax(150px,auto)}
  .tile:first-child{grid-column:span 2;grid-row:span 2}
  .tile:nth-child(even):last-child{grid-column:auto}
  /* By count, so that the grid closes without a gap and the order still reads along the rows. The large tile is two
     rows high at every count: one row high, a photo in it stretched the two beside it into tall, mostly empty boxes
     (865 Diesel's six tiles, 16 November).
     3: the large tile with 02 and 03 one above the other beside it;  4: the large tile beside 02 and 03, 04 wide under
     them;  5: the large tile with two pairs;  6: the large tile with two pairs, then 06 across the whole row;
     7: the large tile, 02 03, 04 05, then 06 and 07 both wide;  8: the large tile, three pairs, 08 wide. */
  .tile:first-child:nth-last-child(3)~.tile{grid-column:span 2}
  .tile:nth-child(4):last-child,.tile:nth-child(6):nth-last-child(2),.tile:nth-child(7):last-child,.tile:nth-child(8):last-child{grid-column:span 2}
  .tile:nth-child(6):last-child{grid-column:1 / -1}
}
@media (prefers-reduced-motion:no-preference){
  .tile{transition:transform var(--quick),box-shadow var(--quick)}
  .tile:hover{transform:translateY(-4px);box-shadow:calc(var(--shadow-small) + 2px) calc(var(--shadow-small) + 4px) 0 var(--shadow-colour)}
  .tile-photo img{transition:transform .3s}
  .tile:hover .tile-photo img{transform:scale(1.04)}
}

/* Part 8: the scrolling band. Still, the items wrap and centre inside a band no wider than the screen; with motion, the
   track becomes two copies side by side sliding left by half their width, which loops without a jump. */
.scrolling-band{overflow:hidden;padding:11px 0}
.scrolling-track{display:flex}
.scrolling-track ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;flex:1 1 auto}
.scrolling-track li{position:relative;white-space:nowrap;padding:3px 28px;font-family:var(--display-font);font-weight:var(--display-weight);font-size:clamp(15px,1.3vw,20px);line-height:1.3;letter-spacing:.08em;text-transform:uppercase}
.scrolling-track li::after{content:"";position:absolute;right:-5px;top:50%;width:9px;height:9px;margin-top:-5px;background:currentColor;opacity:.55;transform:rotate(45deg)}
.scrolling-track .scrolling-copy{display:none}
@media (max-width:599px){
  .scrolling-track li{padding:2px 18px;font-size:14px}
  .scrolling-track li::after{width:7px;height:7px;margin-top:-4px;right:-4px}
}
/* The words centred by their capitals, not by the typeface's line, which leaves more room above or below them in each
   typeface: the band's words sat a pixel or two off its middle. Where this is not known, they stand as before. */
@supports (text-box:trim-both cap alphabetic){
  .scrolling-track li{text-box:trim-both cap alphabetic;padding-top:8px;padding-bottom:8px}
  @media (max-width:599px){.scrolling-track li{padding-top:7px;padding-bottom:7px}}
}
@media (prefers-reduced-motion:no-preference){
  @keyframes bd-scroll{to{transform:translateX(-50%)}}
  .scrolling-track{width:max-content;animation:bd-scroll 40s linear infinite}
  .scrolling-track ul{flex-wrap:nowrap;justify-content:flex-start;flex:none}
  .scrolling-track .scrolling-copy{display:flex}
  .scrolling-band:hover .scrolling-track{animation-play-state:paused}
}

/* Part 9: the photo collage section. Words in a narrow column, a mosaic of framed photographs beside them. On a phone the
   mosaic is two columns with the first photo across both; from 900px it is a six-column grid of mixed sizes, closed
   without a gap for 3, 4 or 5 photos, placed in the order written. */
.collage-section .wrap{display:grid;grid-template-columns:1fr;gap:var(--gap);align-items:center}
.collage-words h2{margin:0 0 .4em}
.collage-words p:last-child{margin:0}
/* No cell is much wider than it is high, so a portrait photograph is never cut to a strip: at 800px the cells of 180px
   rows cut Slate & Shear's shaving brush to a third of its height (1 December). */
.mosaic{list-style:none;margin:0;padding:0 var(--shadow) var(--shadow) 0;display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:clamp(110px,28vw,260px);gap:clamp(12px,1.8vw,20px)}
.mosaic .frame{margin:0}
.mosaic li:first-child{grid-column:span 2;grid-row:span 2}
@media (min-width:900px){
  .collage-section .wrap{grid-template-columns:4fr 8fr}
  .mosaic{grid-template-columns:repeat(6,1fr);grid-auto-rows:clamp(110px,11vw,150px)}
  /* 3 and 5: the first photo over four columns and two rows, the next two beside it; the fourth and fifth share the two
     rows below. */
  .mosaic li:first-child{grid-column:span 4;grid-row:span 2}
  .mosaic li:nth-child(2),.mosaic li:nth-child(3){grid-column:span 2}
  .mosaic li:nth-child(4),.mosaic li:nth-child(5){grid-column:span 3;grid-row:span 2}
  /* 4: two large photos over two rows, two small ones stacked at the right. */
  .mosaic li:first-child:nth-last-child(4),.mosaic li:first-child:nth-last-child(4)~li:nth-child(2){grid-column:span 2;grid-row:span 2}
  .mosaic li:first-child:nth-last-child(4)~li:nth-child(3),.mosaic li:first-child:nth-last-child(4)~li:nth-child(4){grid-column:span 2;grid-row:span 1}
}

/* Part 10: the call-to-action band. The heading and a line of facts at the left, the phone number in display type and
   the buttons at the right; one column on a phone. */
.cta-band .wrap{display:grid;grid-template-columns:1fr;gap:clamp(20px,3vw,40px);align-items:center}
.cta-band h2{margin:0 0 .3em}
.cta-band p{margin:0}
.cta-band .cta-phone{font-family:var(--display-font);font-weight:var(--display-weight);letter-spacing:var(--display-tracking);font-size:clamp(28px,3vw,42px);line-height:1.1;margin:0 0 .5em}
.cta-phone a{color:inherit;text-decoration:none;white-space:nowrap}
.cta-phone a:hover{text-decoration:underline}
@media (min-width:900px){
  .cta-band .wrap{grid-template-columns:1.2fr 1fr}
  .cta-side{justify-self:end;text-align:right}
  .cta-side .actions{justify-content:flex-end}
}

/* Part 11: text with a photo. One column on a phone, the photo first; from 900px the photo takes five columns of twelve
   at the left (.split), at the right (.flip), or four columns as a portrait beside text in two columns (.tall). */
.split{display:grid;grid-template-columns:1fr;gap:var(--gap);align-items:center}
.split .frame{aspect-ratio:4 / 3;margin:0 var(--shadow) var(--shadow) 0;max-width:560px}
.split.tall .frame{aspect-ratio:3 / 4;max-width:400px}
.split-words h2{margin:0 0 .4em}
.split-words p:last-child{margin:0}
.split-words .eyebrow{margin-bottom:.8em}
@media (min-width:900px){
  .split{grid-template-columns:5fr 7fr}
  .split .frame{max-width:none}
  .split.flip .frame{order:2}
  .split.tall{grid-template-columns:4fr 8fr;align-items:start}
  .split.tall .split-words>div{columns:2;column-gap:var(--gap)}
  .split.tall .split-words>div p{break-inside:avoid}
}

/* Part 12: the price or menu list. Rows in columns (one on a phone, two from 600px, three with .three from 900px), each
   a name with its price at the right and a line of words under, divided by a thin rule. A group heading is a row of its
   own. No box, frame or shadow round an item: a long list stays light. */
.price-list{list-style:none;margin:0;padding:0;columns:1;column-gap:var(--gap)}
.price-list li{break-inside:avoid;display:grid;grid-template-columns:1fr auto;column-gap:14px;align-items:baseline;padding:10px 0;border-bottom:1px solid var(--line)}
.price-list .item-name{font-weight:700}
.price-list .item-price{font-weight:700;color:var(--brand-2);white-space:nowrap;font-variant-numeric:tabular-nums}
.price-list .item-words{grid-column:1 / -1;font-size:var(--small);line-height:1.5;color:var(--ink-soft)}
.price-list .item-group{display:block;border-bottom:2px solid var(--brand);padding:22px 0 6px;break-after:avoid}
.price-list .item-group:first-child{padding-top:0}
.price-list .item-group h3{margin:0;color:var(--brand)}
:is(.tone-brand,.tone-brand-2,.tone-dark) .price-list li{border-color:rgba(255,255,255,.25)}
:is(.tone-brand,.tone-brand-2,.tone-dark) .price-list :is(.item-price,.item-words,.item-group h3){color:inherit}
:is(.tone-brand,.tone-brand-2,.tone-dark) .price-list .item-words{opacity:.85}
@media (min-width:600px){
  .price-list{columns:2}
}
@media (min-width:900px){
  .price-list.three{columns:3}
}

/* Part 13: the gallery grid. Two columns on a phone; from 900px a six-column mosaic in a pattern of eight that repeats.
   Photos may be placed densely here: nothing is numbered, and each carries its own caption. */
.gallery{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:clamp(150px,36vw,300px);gap:12px}
.gallery li{min-width:0}
.gallery figure{margin:0;height:100%;display:grid;grid-template-rows:1fr auto;overflow:hidden;background:var(--paper-2);border-radius:var(--radius);box-shadow:0 1px 0 var(--line)}
.gallery img{width:100%;height:100%;min-height:0;object-fit:cover}
.gallery figcaption{font-size:13px;line-height:1.3;padding:8px 10px;color:var(--ink-soft);border-top:3px solid var(--brand-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gallery li:nth-child(5n+1){grid-column:span 2;grid-row:span 2}
@media (min-width:900px){
  .gallery{grid-template-columns:repeat(6,1fr);grid-auto-rows:clamp(190px,20vw,260px);grid-auto-flow:dense;gap:16px}
  .gallery li:nth-child(5n+1){grid-column:auto;grid-row:auto}
  /* The pattern of eight: a large photo with two small beside it (rows 1 and 2), three tall (rows 3 and 4), two
     half-width (rows 5 and 6). No cell is much wider than it is high: the wide cells of one row this had cut a 4:3
     photograph to a strip of a quarter of its height (Kettle & Lark, 30 November). Six photos fill four rows; eight
     fill six. */
  .gallery li:nth-child(8n+1){grid-column:span 4;grid-row:span 2}
  .gallery li:nth-child(8n+2),.gallery li:nth-child(8n+3){grid-column:span 2}
  .gallery li:nth-child(8n+4),.gallery li:nth-child(8n+5),.gallery li:nth-child(8n+6){grid-column:span 2;grid-row:span 2}
  .gallery li:nth-child(8n+7),.gallery li:nth-child(8n+8){grid-column:span 3;grid-row:span 2}
}
@media (prefers-reduced-motion:no-preference){
  .gallery img{transition:transform .3s}
  .gallery figure:hover img{transform:scale(1.04)}
}

/* Part 19: listings. Each thing with photographs of its own, as one row: its main photograph beside its name, price and
   words, and under them a row of its other photographs, small and square, each opening at full size. On a phone the
   photograph is above the words, and the row scrolls sideways in a box of its own. No script, and no box round a
   listing: a thin rule between them keeps a long list of vehicles or rooms light. */
.listings{display:grid;gap:var(--gap)}
.listing{display:grid;gap:18px;padding-bottom:var(--gap);border-bottom:1px solid var(--line)}
.listing:last-child{padding-bottom:0;border-bottom:0}
.listing-photo{margin:0;aspect-ratio:4/3;overflow:hidden;border-radius:var(--radius);background:var(--paper-2)}
.listing-photo img{width:100%;height:100%;object-fit:cover;display:block}
.listing-words{min-width:0;display:flex;flex-direction:column;gap:10px}
.listing-words p{margin:0}
.listing-name{margin:0}
.listing-price{font-weight:700;font-size:var(--h3);font-variant-numeric:tabular-nums}
.listing-more{list-style:none;margin:6px 0 0;padding:0 0 8px;display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x proximity}
.listing-more li{flex:0 0 auto;scroll-snap-align:start}
.listing-more a{display:block;width:88px;height:88px;overflow:hidden;border-radius:var(--radius);background:var(--paper-2);outline-offset:2px}
.listing-more img{width:100%;height:100%;object-fit:cover;display:block}
:is(.tone-brand,.tone-brand-2,.tone-dark) .listing{border-color:rgba(255,255,255,.25)}
@media (min-width:900px){
  .listing{grid-template-columns:5fr 7fr;align-items:start;gap:var(--gap)}
  .listing-more a{width:104px;height:104px}
}

/* Part 14: testimonials. One large quote in display type, centred and balanced; or cards in a row, one column on a
   phone, two from 600px, three from 900px. */
.quote-large{margin:0 auto;max-width:34em;text-align:center}
.quote-large p{font-family:var(--display-font);font-weight:var(--display-weight);letter-spacing:var(--display-tracking);font-size:clamp(22px,2.3vw,32px);line-height:1.3;margin:0 0 .9em;text-wrap:balance;color:var(--brand)}
.quote-large p::before{content:"\201C";color:var(--brand-2);margin-right:.1em}
.quote-large p::after{content:"\201D";color:var(--brand-2);margin-left:.1em}
:is(.tone-brand,.tone-brand-2,.tone-dark) .quote-large p,:is(.tone-brand,.tone-brand-2,.tone-dark) .quote-large p::before,:is(.tone-brand,.tone-brand-2,.tone-dark) .quote-large p::after{color:inherit}
.quote-who{font-size:var(--small);font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.quote-who cite{font-style:normal;font-weight:400;opacity:.8}
.quotes{list-style:none;margin:0;padding:0 var(--shadow-small) var(--shadow-small) 0;display:grid;grid-template-columns:1fr;gap:var(--gap)}
.quotes li{display:flex;flex-direction:column}
.quotes blockquote{margin:0 0 14px;flex:1 1 auto}
.quotes blockquote p{margin:0;font-size:var(--body);line-height:1.55}
.stars{color:var(--brand-2);letter-spacing:.12em;font-size:15px;margin:0 0 10px}
.quotes .quote-who{font-size:13px}
@media (min-width:600px){
  .quotes{grid-template-columns:1fr 1fr}
}
@media (min-width:900px){
  .quotes{grid-template-columns:repeat(3,1fr)}
}

/* Part 15: team cards. One column on a narrow phone, two from 480px, four from 900px (three with .three). The photo is
   4:3, framed, and never drawn wider than 240px, so a small portrait from the old site (200px) stays sharp. */
.team{list-style:none;margin:0;padding:0 var(--shadow-small) var(--shadow-small) 0;display:grid;grid-template-columns:1fr;gap:var(--gap)}
.team-photo{margin:0 0 16px;aspect-ratio:4 / 3;width:min(100%,240px);overflow:hidden;border-radius:var(--radius);border:var(--frame) solid var(--frame-colour);box-shadow:var(--shadow-small) var(--shadow-small) 0 var(--shadow-colour);background:var(--dark)}
.team-photo img{width:100%;height:100%;object-fit:cover}
.team h3{margin:0;line-height:1.2}
.team-role{display:block;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--brand-2);margin:5px 0 10px}
.team p{margin:0;font-size:var(--small);line-height:1.5;color:var(--ink-soft)}
:is(.tone-brand,.tone-brand-2,.tone-dark) .team :is(.team-role,p){color:inherit;opacity:.85}
@media (min-width:480px){
  .team{grid-template-columns:1fr 1fr}
}
@media (min-width:900px){
  .team{grid-template-columns:repeat(4,1fr)}
  .team.three{grid-template-columns:repeat(3,1fr)}
}
@media (prefers-reduced-motion:no-preference){
  .team-photo{transition:transform var(--quick),box-shadow var(--quick)}
  .team li:hover .team-photo{transform:translate(-3px,-3px);box-shadow:calc(var(--shadow-small) + 3px) calc(var(--shadow-small) + 3px) 0 var(--shadow-colour)}
}

/* Part 16: the contact block. Details at the left (five columns of twelve from 900px), the map at the right filling
   the height; one column on a phone with the map last. Time ranges stay on one line. */
.contact-block .wrap{display:grid;grid-template-columns:1fr;gap:var(--gap);align-items:stretch}
.contact-details h2{margin:0 0 .6em}
.contact-details h3{font-family:var(--body-font);font-weight:700;font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--brand-2);margin:0 0 .8em}
.contact-details dl{display:grid;grid-template-columns:auto 1fr;gap:10px 20px;margin:0 0 26px}
.contact-details dt{font-weight:700;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--brand-2);padding-top:4px}
.contact-details dd{margin:0}
.hours{list-style:none;margin:0 0 26px;padding:0;max-width:30em}
.hours li{display:flex;justify-content:space-between;gap:16px;padding:7px 0;border-bottom:1px solid var(--line);font-size:var(--small)}
.hours li span:first-child{font-weight:600}
.map-slot{min-height:320px;background:var(--tint);border-radius:var(--radius);overflow:hidden;display:grid;align-self:start}
.map-slot iframe{width:100%;height:100%;min-height:320px;border:0;display:block}
.map-link{display:grid;place-content:center;justify-items:center;gap:6px;text-align:center;padding:32px;color:var(--ink);text-decoration:none;font-size:var(--small);background:
  linear-gradient(var(--line) 1px,transparent 1px) 0 0 / 48px 48px,
  linear-gradient(90deg,var(--line) 1px,transparent 1px) 0 0 / 48px 48px,var(--tint)}
.map-link strong{font-size:var(--body)}
.map-link:hover{text-decoration:underline}
.map-pin{width:22px;height:22px;border-radius:50% 50% 50% 0;background:var(--brand-2);transform:rotate(-45deg);margin-bottom:10px;box-shadow:inset 0 0 0 6px var(--paper-2)}
:is(.tone-brand,.tone-brand-2,.tone-dark) .contact-details :is(h3,dt){color:inherit;opacity:.85}
:is(.tone-brand,.tone-brand-2,.tone-dark) .hours li{border-color:rgba(255,255,255,.25)}
@media (min-width:900px){
  .contact-block .wrap:has(> .map-slot){grid-template-columns:5fr 7fr}
}
/* With no map, a business with no street address to visit, the details are not stretched across the page. */
.contact-block .wrap:not(:has(> .map-slot)) .contact-details{max-width:46em}

/* Part 17: questions and answers. Each is a <details> on a paper tile with the second colour at its left edge and a
   plus that becomes a minus when it opens; one column on a phone, two from 900px. */
.questions{display:grid;grid-template-columns:1fr;gap:12px var(--gap);align-items:start}
.qa{background:var(--paper-2);color:var(--ink);border-radius:var(--radius);border-left:4px solid var(--brand-2);padding:0 20px}
.qa summary{cursor:pointer;list-style:none;font-weight:700;font-size:var(--body);line-height:1.4;padding:16px 40px 16px 0;position:relative}
.qa summary::-webkit-details-marker{display:none}
.qa summary::after{content:"+";position:absolute;right:0;top:50%;transform:translateY(-50%);font-family:var(--display-font);font-weight:var(--display-weight);font-size:30px;line-height:1;color:var(--brand-2)}
.qa[open] summary::after{content:"\2013"}
.qa summary:hover{color:var(--brand-2)}
.qa-answer{padding:0 0 18px;color:var(--ink-soft)}
.qa-answer p{margin:0 0 .8em}
.qa-answer p:last-child{margin:0}
@media (min-width:900px){
  .questions{grid-template-columns:1fr 1fr}
}
@media (prefers-reduced-motion:no-preference){
  .qa summary{transition:color var(--quick)}
}

/* Part 18: the contact form's styling, for the markup forms.py writes: labels and boxes in one column, the boxes in
   the page's own 17px type so that a phone does not zoom in on them, the Send button as a .btn. A heading and a line
   of words sit beside the form from 900px. */
.form-band .wrap{display:grid;grid-template-columns:1fr;gap:var(--gap);align-items:start}
.form-words h2{margin:0 0 .4em}
.form-words p:last-child{margin:0}
.contact-form{display:grid;grid-template-columns:1fr;gap:6px;max-width:640px}
.contact-form label{font-weight:700;font-size:var(--small);letter-spacing:.02em;margin-top:12px}
.contact-form label:first-of-type{margin-top:0}
.contact-form input:not([type=hidden]):not([type=checkbox]),.contact-form textarea{font:inherit;line-height:1.4;color:var(--ink);background:var(--paper-2);border:2px solid var(--line);border-radius:var(--radius);padding:12px 14px;width:100%;margin:0}
.contact-form textarea{resize:vertical;min-height:140px}
.contact-form input:focus-visible,.contact-form textarea:focus-visible{outline:3px solid var(--brand-2);outline-offset:1px;border-color:var(--brand)}
.contact-form button{justify-self:start;margin-top:18px;background:var(--brand-2);color:var(--brand-2-ink);border:2px solid var(--brand-2);font:inherit;font-weight:700;font-size:16px;line-height:1.2;padding:12px 26px;border-radius:var(--radius);cursor:pointer}
.contact-form button:hover{background:var(--brand);border-color:var(--brand);color:var(--brand-ink)}
:is(.tone-brand,.tone-brand-2,.tone-dark) .contact-form input:not([type=hidden]):not([type=checkbox]),:is(.tone-brand,.tone-brand-2,.tone-dark) .contact-form textarea{border-color:transparent}
@media (min-width:900px){
  .form-band .wrap{grid-template-columns:5fr 7fr}
}
@media (prefers-reduced-motion:no-preference){
  .contact-form input,.contact-form textarea{transition:border-color var(--quick)}
  .contact-form button{transition:transform var(--quick),box-shadow var(--quick),background-color var(--quick),border-color var(--quick)}
  .contact-form button:hover{transform:translateY(-3px);box-shadow:0 5px 0 rgba(0,0,0,.25)}
}

/* Part 20: offerings, unnumbered. Cards: one column on a phone, two from 600px, three from 900px (four with .four), each
   a card with its photograph on top. Columns: open columns under a rule, no box. List: rows of a name and a line in
   two columns from 700px, divided by thin rules. */
.offerings{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr;gap:var(--gap)}
.offerings h3{margin:0 0 .35em;line-height:1.2}
.offerings p{margin:0 0 .6em;font-size:var(--small);line-height:1.55}
.offerings .more{font-size:var(--small)}
.offerings.cards{padding:0 var(--shadow-small) var(--shadow-small) 0}
.offering{display:flex;flex-direction:column}
.offering .more{margin-top:auto}
.offering-photo{margin:-22px -24px 18px;aspect-ratio:3 / 2;overflow:hidden;border-radius:var(--radius) var(--radius) 0 0;background:var(--tint)}
.offering-photo img{width:100%;height:100%;object-fit:cover}
.offerings.columns>li{border-top:2px solid var(--brand-2);padding-top:16px}
.offerings.list{gap:0 var(--gap)}
.offerings.list>li{padding:14px 0;border-bottom:1px solid var(--line)}
.offerings.list h3{font-size:var(--body);font-family:var(--body-font);font-weight:700;text-transform:none;letter-spacing:0;margin:0 0 .2em}
.offerings.list p{margin:0;color:var(--ink-soft)}
:is(.tone-brand,.tone-brand-2,.tone-dark) .offerings:not(.cards) :is(h3,p){color:inherit}
:is(.tone-brand,.tone-brand-2,.tone-dark) .offerings.list>li{border-color:rgba(255,255,255,.25)}
:is(.tone-brand,.tone-brand-2,.tone-dark) .offerings.columns>li{border-color:currentColor}
@media (min-width:600px){
  .offerings.cards,.offerings.columns{grid-template-columns:1fr 1fr}
}
@media (min-width:700px){
  .offerings.list{grid-template-columns:1fr 1fr}
}
@media (min-width:900px){
  .offerings.cards,.offerings.columns{grid-template-columns:repeat(3,1fr)}
  .offerings.four{grid-template-columns:repeat(4,1fr)}
}

/* Part 21: locations. Cards side by side from 700px (three across from 1024px when there are three or more), one column
   on a phone. Each card keeps its own hours in rows, its time ranges on one line, and its buttons at its foot. */
.locations{list-style:none;margin:0;padding:0 var(--shadow-small) var(--shadow-small) 0;display:grid;grid-template-columns:1fr;gap:var(--gap)}
.location{display:flex;flex-direction:column}
.location h3{margin:0 0 .4em}
.location-address{margin:0 0 14px;font-size:var(--small)}
.location .hours{margin:0 0 14px;max-width:none}
.location-phone{margin:0 0 16px;font-weight:700}
.location .actions{margin-top:auto}
@media (min-width:700px){
  .locations{grid-template-columns:1fr 1fr}
}
@media (min-width:1024px){
  .locations:has(>li:nth-child(3)){grid-template-columns:repeat(3,1fr)}
}

/* Part 22: steps. Down a line on a phone, each step's number in a ring on the line; from 900px across, the line joining
   the rings. The numbers are a counter in the order written. */
.steps{counter-reset:step;list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr;gap:22px}
.steps li{counter-increment:step;position:relative;padding-left:58px}
.steps li::before{content:counter(step);position:absolute;left:0;top:0;width:40px;height:40px;border-radius:50%;display:grid;place-content:center;
  font-family:var(--display-font);font-weight:var(--display-weight);font-size:18px;line-height:1;background:var(--paper-2);color:var(--brand);border:2px solid var(--brand-2)}
.steps li:not(:last-child)::after{content:"";position:absolute;left:19px;top:44px;bottom:-20px;width:2px;background:var(--line)}
.steps h3{margin:6px 0 .3em;line-height:1.2}
.steps p{margin:0;font-size:var(--small);line-height:1.55}
:is(.tone-brand,.tone-brand-2,.tone-dark) .steps li:not(:last-child)::after{background:rgba(255,255,255,.3)}
@media (min-width:900px){
  .steps{grid-template-columns:repeat(var(--steps,3),1fr);gap:var(--gap)}
  .steps:has(>li:nth-child(4)){--steps:4}
  .steps:has(>li:nth-child(5)){--steps:5}
  .steps li{padding:58px 0 0}
  .steps li:not(:last-child)::after{left:48px;right:8px;top:19px;bottom:auto;width:auto;height:2px}
}
/* The line between the steps draws itself as the list comes on screen, down on a phone and across from 900px. */
@media (prefers-reduced-motion:no-preference){
  @supports (animation-timeline:view()){
    @keyframes bd-line-down{from{scale:1 0}}
    @keyframes bd-line-across{from{scale:0 1}}
    .steps li:not(:last-child)::after{transform-origin:0 0;animation:bd-line-down linear both;animation-timeline:view();animation-range:entry 20% cover 50%}
    @media (min-width:900px){
      .steps li:not(:last-child)::after{animation-name:bd-line-across}
    }
  }
}

/* Part 23: brands. Logos and names in even boxes, two across on a phone, three from 600px, six from 1024px; a logo is
   held inside its box, never cropped or stretched. */
.brands{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.brands li{display:grid;place-items:center;min-height:96px;padding:16px;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:var(--radius);text-align:center}
.brands img{max-height:60px;width:auto;max-width:100%;object-fit:contain}
.brands span{font-family:var(--display-font);font-weight:var(--display-weight);text-transform:var(--display-case);letter-spacing:var(--display-tracking);font-size:clamp(17px,1.5vw,21px);line-height:1.2;color:var(--brand)}
:is(.tone-brand,.tone-brand-2,.tone-dark) .brands li{background:transparent;color:inherit;border-color:rgba(255,255,255,.3)}
:is(.tone-brand,.tone-brand-2,.tone-dark) .brands span{color:inherit}
@media (min-width:600px){
  .brands{grid-template-columns:repeat(3,1fr)}
}
@media (min-width:1024px){
  .brands{grid-template-columns:repeat(6,1fr)}
}

/* Part 24: events. Rows divided by thin rules: the date in a block at the left, the name and details beside it, and the
   link at the right from 700px, under the details on a phone. */
.events{list-style:none;margin:0;padding:0;display:grid}
.events>li{display:grid;grid-template-columns:auto 1fr;gap:4px 20px;align-items:start;padding:18px 0;border-bottom:1px solid var(--line)}
.events>li:first-child{border-top:1px solid var(--line)}
.event-date{grid-row:span 2;margin:0;width:68px;padding:8px 0;text-align:center;background:var(--brand-2);color:var(--brand-2-ink);border-radius:var(--radius);line-height:1.05}
.event-date span{display:block}
.event-date span:first-child{font-family:var(--display-font);font-weight:var(--display-weight);font-size:28px}
.event-date span:last-child{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.events h3{margin:2px 0 .25em;line-height:1.2}
.event-when{margin:0 0 .3em;font-size:var(--small);font-weight:600}
.event-words{margin:0;font-size:var(--small);color:var(--ink-soft)}
.events .more{grid-column:2;font-size:var(--small)}
:is(.tone-brand,.tone-brand-2,.tone-dark) .events>li{border-color:rgba(255,255,255,.25)}
:is(.tone-brand,.tone-brand-2,.tone-dark) .event-words{color:inherit}
@media (min-width:700px){
  .events>li{grid-template-columns:auto 1fr auto;align-items:center}
  .events .more{grid-column:3;grid-row:1 / span 2;white-space:nowrap}
}

/* Part 25: numbers. Three or four figures across, a rule of the second colour above each; two across on a tablet, one
   on a phone. A figure counts up from 0 as it comes on screen where the browser can count in CSS: the figure as written
   stays in place, unseen, under the count, so that it keeps its width and is what a screen reader reads. The count
   ends as the figure comes wholly on screen: ended at 40% up it, Copperleaf's read "$2" for $500 below that (1 December).
   The figure written is hidden by its fill, not its colour, so that the count drawn over it takes the band's colour:
   hidden by colour, every figure on a dark band was drawn transparent (Bluestone and Lantern, 1 December). */
@property --n{syntax:"<integer>";inherits:false;initial-value:0}
.numbers{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:var(--gap)}
.numbers li{border-top:3px solid var(--brand-2);padding-top:16px;--figure:var(--brand)}
.numbers .figure{font-family:var(--display-font);font-weight:var(--display-weight);text-transform:var(--display-case);letter-spacing:var(--display-tracking);
  font-size:clamp(36px,4.2vw,56px);line-height:1;margin:0 0 .3em;color:var(--figure);white-space:nowrap}
.numbers p{margin:0;font-size:var(--small);line-height:1.5}
.count{position:relative;display:inline-block}
:is(.tone-brand,.tone-brand-2,.tone-dark) .numbers li{--figure:currentColor}
@media (prefers-reduced-motion:no-preference){
  @supports (animation-timeline:view()){
    @keyframes bd-count{from{--n:0}to{--n:var(--to)}}
    .count{-webkit-text-fill-color:transparent;animation:bd-count linear both;animation-timeline:view();animation-range:entry 0% entry 100%;counter-reset:n var(--n)}
    .count::after{content:counter(n) / "";position:absolute;left:0;top:0;color:var(--figure);-webkit-text-fill-color:currentColor}
  }
}

/* Styles: one committed finish for a whole site, chosen for the business and named by a class on every page's <body>.
   The parts, their markup and their sizes are the same in every style; a style changes only their finish: corners,
   shadows, photo shapes, the edges where bands meet, the marks between the scrolling band's words, and the space
   between sections. A site with no style class is in the bold style, as every site was before there were styles.
   README.md says which style suits which business. Loaded after the parts and before the site's theme. */

/* Warm: rounded corners, soft shadows, pill buttons, round marks, and coloured bands that meet the band above in a
   wave. For a business people visit for something made by hand or given as a gift: a florist, a bakery, a café, a
   salon, a family practice. */
.style-warm{--radius:18px;--frame:0px;--shadow:0px;--shadow-small:0px;--band:clamp(56px,7.5vw,104px)}
.style-warm .card,.style-warm .tile{box-shadow:0 10px 28px rgba(var(--photo-tint-rgb),.13)}
.style-warm .frame{box-shadow:0 14px 32px rgba(var(--photo-tint-rgb),.2);background:var(--tint)}
/* Below two columns the words come right under the photograph, and a long soft shadow would darken what is behind them. */
@media (max-width:899px){.style-warm .frame{box-shadow:0 6px 14px rgba(var(--photo-tint-rgb),.14)}}
.style-warm .btn,.style-warm .menu-button{border-radius:999px}
.style-warm .site-header{border-bottom:1px solid var(--line);box-shadow:0 2px 14px rgba(var(--photo-tint-rgb),.06)}
.style-warm :is(.photo-opening,.page-opening){border-bottom-width:0}
.style-warm .page-opening::before{top:auto;bottom:-40%;right:-8%;width:42%;aspect-ratio:1;border-radius:50%;transform:none;opacity:.14}
.style-warm .scrolling-track li::after{border-radius:50%;transform:none}
/* The opening's photographs set down by hand, each at a slight angle of its own. */
.style-warm .collage-1{rotate:-1.5deg}
.style-warm .collage-2{rotate:2deg}
.style-warm .collage-3{rotate:-2.5deg}
.style-warm .stamp{box-shadow:0 0 0 4px var(--paper-2),0 8px 20px rgba(var(--photo-tint-rgb),.25)}

/* Rugged: square corners, hard shadows in the dark tone rather than a colour, a thick rule on top of each tile, capital
   buttons, slashes between the scrolling band's words, and coloured bands that meet the band above at a slant. For a
   business of tools, land and weather: an outfitter, a garage, a feed store, a builder, a trade. */
.style-rugged{--radius:0px;--frame:0px;--shadow:10px;--shadow-small:5px;--shadow-colour:var(--dark)}
.style-rugged .tile{border-top:5px solid var(--brand-2)}
.style-rugged .tile:first-child{border-top-color:var(--brand-ink)}
.style-rugged .btn,.style-rugged .menu-button{text-transform:uppercase;letter-spacing:.07em;font-size:15px}
.style-rugged .eyebrow::before{content:"";display:inline-block;width:26px;height:3px;margin:0 10px .25em 0;background:currentColor;vertical-align:middle}
.style-rugged .scrolling-track li::after{width:3px;height:18px;margin-top:-9px;right:-2px;transform:skewX(-22deg);opacity:.7}
.style-rugged .page-opening::before{transform:skewX(-20deg);opacity:.2}

/* Editorial: no shadows and no boxes; photographs in arches and ovals; tiles as open columns under a thin rule; capital
   buttons with square corners; more space between sections. For a business that sells taste: a boutique, a botanical
   shop, a studio, a photographer, a designer, a spa. */
.style-editorial{--radius:0px;--frame:0px;--shadow:0px;--shadow-small:0px;--band:clamp(64px,9vw,128px);--gap:clamp(24px,4vw,64px)}
.style-editorial .frame{box-shadow:none;background:var(--tint)}
/* Photographs beside words stand upright in arches, as a printed page sets them; a wide photograph would make a squat
   dome. The opening's two small photographs are circles. */
.style-editorial :is(.split,.page-opening,.listing) .frame,.style-editorial .page-opening-photo,.style-editorial .collage-1{border-radius:999px 999px 0 0}
.style-editorial .split .frame{aspect-ratio:4 / 5;max-width:440px;justify-self:center}
.style-editorial :is(.collage-2,.collage-3){border-radius:50%;height:auto;aspect-ratio:1}
/* The arch tall at the left, the two circles one above the other at the right, apart: overlapping, they crowded it
   (Darling Botanical, 28 November). */
.style-editorial .collage-1{width:58%;height:100%;left:0;top:0}
.style-editorial .collage-2{width:36%;top:4%;right:0}
.style-editorial .collage-3{width:36%;top:auto;bottom:4%;left:auto;right:0}
.style-editorial .mosaic li:first-child .frame{border-radius:50% 50% 0 0 / 30% 30% 0 0}
.style-editorial .card{box-shadow:none;border:1px solid var(--line)}
.style-editorial .tiles{gap:clamp(20px,3vw,40px) clamp(20px,3vw,48px)}
.style-editorial .tile,.style-editorial .tile:first-child{background:transparent;color:inherit;box-shadow:none;padding:18px 0 0;border-top:1px solid currentColor;border-radius:0}
.style-editorial .tile::before,.style-editorial .tile:first-child::before{font-size:15px;letter-spacing:.12em;color:inherit;font-family:var(--body-font);font-weight:700}
.style-editorial .tile :is(h3,p,.more),.style-editorial .tile:first-child :is(h3,p,.more){color:inherit}
.style-editorial :is(.tone-paper,.tone-paper-2,.tone-tint) .tile h3{color:var(--brand)}
.style-editorial .btn,.style-editorial .menu-button{border-radius:0;text-transform:uppercase;letter-spacing:.1em;font-size:14px;padding:13px 24px}
.style-editorial .site-header{border-bottom:1px solid var(--line)}
.style-editorial :is(.photo-opening,.page-opening){border-bottom-width:0}
.style-editorial .page-opening::before{display:none}
.style-editorial .scrolling-track li::after{width:5px;height:5px;margin-top:-3px;right:-3px;border-radius:50%;transform:none}
/* Under an arch the top corner is cut away, so the stamp sits at the foot of the photograph. */
.style-editorial .stamp{top:auto;bottom:14px}

/* Where a band in the brand colour or the dark tone follows a light one, warm sites meet it in a wave and rugged ones
   at a slant, drawn in the band's own colour over a strip of the band above, as .band.wave draws one. Never the
   scrolling band, which is too narrow to carry one. */
:is(.style-warm,.style-rugged) :is(.tone-paper,.tone-paper-2,.tone-tint)+.band:is(.tone-brand,.tone-dark):not(.scrolling-band){position:relative}
:is(.style-warm,.style-rugged) :is(.tone-paper,.tone-paper-2,.tone-tint)+.band:is(.tone-brand,.tone-dark):not(.scrolling-band)::after{content:"";position:absolute;left:0;right:0;bottom:100%;height:clamp(18px,3vw,42px);background:inherit;pointer-events:none}
.style-warm :is(.tone-paper,.tone-paper-2,.tone-tint)+.band:is(.tone-brand,.tone-dark):not(.scrolling-band)::after{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0 48V30C180 6 360 6 540 24S900 42 1080 24 1350 6 1440 18V48Z'/%3E%3C/svg%3E") center bottom/100% 100% no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0 48V30C180 6 360 6 540 24S900 42 1080 24 1350 6 1440 18V48Z'/%3E%3C/svg%3E") center bottom/100% 100% no-repeat}
.style-rugged :is(.tone-paper,.tone-paper-2,.tone-tint)+.band:is(.tone-brand,.tone-dark):not(.scrolling-band)::after{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0 48L1440 0V48Z'/%3E%3C/svg%3E") center bottom/100% 100% no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0 48L1440 0V48Z'/%3E%3C/svg%3E") center bottom/100% 100% no-repeat}

/* The parts' hover answers, in each style's own finish. */
@media (prefers-reduced-motion:no-preference){
  .style-warm :is(.card,.tile):hover{transform:translateY(-4px);box-shadow:0 16px 36px rgba(var(--photo-tint-rgb),.18)}
  .style-warm .frame:hover{transform:translateY(-4px);box-shadow:0 24px 48px rgba(var(--photo-tint-rgb),.28)}
  .style-editorial :is(.card,.tile,.frame):hover{transform:none;box-shadow:none}
}

/* The parts shaped by what a business has, in each style's finish. */
.style-rugged :is(.offering,.location){border-top:5px solid var(--brand-2)}
.style-rugged .offerings.columns>li{border-top-width:5px}
.style-rugged .steps li::before{border-radius:0}
.style-editorial .offering-photo{border-radius:999px 999px 0 0;margin:0 0 18px}
.style-editorial .offerings.cards .card{border:0;padding:0;background:transparent;color:inherit}
.style-editorial .steps li::before{border-width:1px;background:transparent;color:inherit}
.style-editorial .brands li{background:transparent;border:0;border-top:1px solid var(--line);border-radius:0}
