/* HausRuma, new site. Direction 1 "Yearbook": the committed Kennel Club Editorial (DESIGN.md). Generated pages: tools/build-newsite.py */
/* Metric-matched fallbacks, so the hero does not jump when the web fonts arrive (it moved 90 px, CLS 0.25 on a slow phone).
   size-adjust was tuned on the live h1 (nowrap scrollWidth, Fraunces 809 px vs this fallback 815 px at 412 px wide), not on
   canvas measureText, which read 10% narrower. Re-tune if the h1 wording or letter-spacing changes. 2026-10-30. */
@font-face{font-family:'Fraunces Fallback';src:local('Georgia');font-weight:600;size-adjust:88%;ascent-override:98%;descent-override:26%;line-gap-override:0%}
@font-face{font-family:'Fraunces Fallback';src:local('Georgia');font-weight:400;size-adjust:88%;ascent-override:98%;descent-override:26%;line-gap-override:0%}
@font-face{font-family:'Plex Fallback';src:local('Arial');size-adjust:100.5%}
:root{
  --color-surface:#F7F4EE;--color-surface-sunk:#EFEAE0;--color-ink:#171412;--color-ink-secondary:#544E45;
  --color-action-primary:#7B2230;--color-on-action:#F7F4EE;--color-rule:#B5AA98;
  --font-display:'Fraunces','Fraunces Fallback',Georgia,serif;--font-body:'IBM Plex Sans','Plex Fallback',system-ui,sans-serif;
  --ease:cubic-bezier(.2,.6,.2,1);--t:240ms;--t-out:160ms;--radius-sm:2px;--radius-md:4px;
  --gutter:clamp(1rem,4vw,3.5rem);--wrap:92rem;
  --s1:1.333rem;--s2:1.777rem;--s3:2.369rem;--s4:3.157rem;--s5:4.209rem;
}
*,*::before,*::after{box-sizing:border-box}
html{background:var(--color-surface);color:var(--color-ink);-webkit-text-size-adjust:100%}
body{margin:0;font:400 1rem/1.6 var(--font-body);-webkit-font-smoothing:antialiased;min-height:100vh;display:flex;flex-direction:column}
body::before{content:'';position:fixed;inset:0;pointer-events:none;opacity:.03;z-index:0;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
img,svg,canvas{max-width:100%}
a{color:inherit}
.skip{position:absolute;left:-999px;top:0;background:var(--color-ink);color:var(--color-on-action);padding:.6rem 1rem;z-index:10}.skip:focus{left:0}
:focus-visible{outline:2px solid var(--color-action-primary);outline-offset:3px;border-radius:2px}

/* header */
.mast{position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.75rem var(--gutter);background:var(--color-surface);border-bottom:1px solid rgb(23 20 18/.1);view-transition-name:mast}
.brand{display:flex;align-items:center;gap:.7rem;text-decoration:none;font:600 var(--s1)/1 var(--font-display);letter-spacing:-.01em}
.brand svg{width:44px;height:44px;flex:none}
.nav{display:flex;gap:clamp(.9rem,1.8vw,1.75rem);align-items:center}
.nav a{color:var(--color-ink-secondary);text-decoration:none;font-weight:500;padding:.6rem 0;min-width:2.75rem;margin:-.2rem 0;background:linear-gradient(currentColor,currentColor) 0 calc(100% - .2rem)/0 1px no-repeat;transition:background-size var(--t) var(--ease),color var(--t) var(--ease)}
.nav a:hover,.nav a:focus-visible,.nav a[aria-current]{color:var(--color-action-primary);background-size:100% 1px}
.menu-btn{display:none;font:500 1rem/1 var(--font-body);background:none;border:1px solid var(--color-rule);padding:.6rem .9rem;min-height:44px;min-width:44px;border-radius:var(--radius-sm);color:var(--color-ink);cursor:pointer;transition:background-color var(--t) var(--ease)}
.menu-btn:hover{background:rgb(23 20 18/.04)}.menu-btn:active{background:rgb(23 20 18/.09)}
@media(max-width:62rem){
  .menu-btn{display:block}
  .nav{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:flex-start;gap:0;background:var(--color-surface);padding:.5rem var(--gutter) 1rem;border-bottom:1px solid rgb(23 20 18/.12)}
  .nav.open{display:flex}.nav a{padding:.7rem 0;margin:0;width:100%}
}

/* type */
h1,h2,h3{font-family:var(--font-display);font-weight:600;margin:0;letter-spacing:-.02em;font-variation-settings:'opsz' 144}
h1{font-size:clamp(3rem,9vw,7.5rem);line-height:.92;letter-spacing:-.035em}
h2{font-size:clamp(2rem,4.4vw,var(--s4));line-height:1.05}
h3{font-size:var(--s2);line-height:1.15;letter-spacing:-.01em}
em.accent{font-style:italic;font-weight:400;color:var(--color-action-primary)}
p{margin:0 0 1rem;max-width:68ch;text-wrap:pretty}
h1,h2,h3{text-wrap:balance}
.lede{font-size:1.125rem;color:var(--color-ink-secondary);max-width:38rem;margin-top:1.5rem}
.sub{color:var(--color-ink-secondary)}
.wrap{position:relative;z-index:1;max-width:var(--wrap);margin:0 auto;padding-inline:var(--gutter);width:100%}
main{flex:1;position:relative;z-index:1}

/* buttons: micro-interaction before any scroll motion */
.cta{display:inline-block;padding:.85rem 1.3rem;background:var(--color-action-primary);color:var(--color-on-action);text-decoration:none;font-weight:500;border-radius:var(--radius-sm);border:0;font:500 1rem/1 var(--font-body);cursor:pointer;transition:transform var(--t) var(--ease),box-shadow var(--t) var(--ease)}
.cta:hover{transform:translateY(-2px);box-shadow:0 6px 16px -8px rgb(23 20 18/.5)}
.cta:active{transform:translateY(0) scale(.98);transition-duration:var(--t-out)}   /* pressed: a physical press, not just a colour change */
.link{color:var(--color-action-primary);font-weight:500;text-decoration:none;background:linear-gradient(currentColor,currentColor) 0 100%/100% 1px no-repeat;transition:background-size var(--t) var(--ease)}
.link:hover{background-size:0 1px}
.link:active,.foot a:active{opacity:.7}.link{display:inline-block;padding:.65rem 0}

/* hero (landing and dog pages) */
.hero{display:grid;grid-template-columns:minmax(0,1fr);gap:2rem var(--gutter);padding-block:clamp(2rem,5vw,4.5rem) 3rem;align-items:end}
@media(min-width:60rem){.hero{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)}.hero.flip{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}}
.dogstage{margin:0;display:flex;flex-direction:column;align-items:center}
/* The frames are whole portraits on a cream studio backdrop: head, ruff and chest, as in the source clips. They sit as a plate
   (cream panel, square-cornered) and only the side and top edges feather, so the vignette never shows. The chest runs off the bottom. */
.dogstage .stack{position:relative;width:min(calc(100% - 3.5rem),560px);margin:1.75rem;background:#F8EBD8;border-radius:var(--radius-sm);overflow:hidden;
  box-shadow:0 0 0 1.25rem #FBF9F4,0 0 0 calc(1.25rem + 1px) rgb(23 20 18/.1),0 2px 4px rgb(23 20 18/.05),0 28px 48px -24px rgb(23 20 18/.38)}
.dogstage .plate-img{width:100%;height:auto;aspect-ratio:636/792;display:block;object-fit:cover;background:#F8EBD8;transition:opacity 480ms var(--ease)}
.dogstage .plate-img.wide{aspect-ratio:1600/1055}
.dogstage .plate-img.sq{aspect-ratio:1/1}   /* Aurora and Rumour: square frames with room for a full profile (tools/dogs.py) */
.dogstage canvas{position:absolute;inset:0;width:100%;height:100%;opacity:0;transition:opacity 480ms var(--ease);transform-origin:50% 100%;
  -webkit-mask-image:linear-gradient(to right,transparent,#000 9%,#000 91%,transparent),linear-gradient(to bottom,transparent,#000 8%);
  mask-image:linear-gradient(to right,transparent,#000 9%,#000 91%,transparent),linear-gradient(to bottom,transparent,#000 8%);
  -webkit-mask-composite:source-in;mask-composite:intersect}
.dogstage canvas.is-ready{opacity:1}
.dogstage.live .plate-img{opacity:0}
.dogstage figcaption,.hint{margin:.5rem 0 0;color:var(--color-ink-secondary);font-size:.875rem;text-align:center;min-height:1.4em;max-width:560px}
.dogstage figcaption{font:italic 400 1.0625rem/1.3 var(--font-display);color:var(--color-ink);margin-top:1.25rem;min-height:0}
.dogstage .hint{order:3;margin-top:.35rem}.dogstage figcaption{order:2}

/* strips and facts */
.strip{display:flex;flex-wrap:wrap;gap:1.25rem clamp(2rem,6vw,5rem);padding-block:1.5rem;border-top:3px double rgb(23 20 18/.3);border-bottom:1px solid rgb(23 20 18/.12);font-variant-numeric:tabular-nums}
.strip div{display:flex;flex-direction:column}.strip b{font:600 var(--s3)/1 var(--font-display);letter-spacing:-.02em}.strip span{color:var(--color-ink-secondary);font-size:.875rem;margin-top:.4rem}
.facts{display:grid;grid-template-columns:auto minmax(0,1fr);margin:0}
.facts{gap:0 1.5rem;border-top:1px solid rgb(23 20 18/.28)}
.facts dt,.facts dd{padding:.65rem 0;border-bottom:1px solid rgb(23 20 18/.1)}
.facts dt{color:var(--color-ink-secondary);font-size:.9375rem;padding-top:.8rem}.facts dd{margin:0;font:400 var(--s1)/1.3 var(--font-display);overflow-wrap:anywhere;font-variant-numeric:lining-nums}
.tests{display:flex;flex-wrap:wrap;gap:0;margin:1.5rem 0 0;padding:0;list-style:none;font-variant-numeric:tabular-nums;border-top:1px solid rgb(23 20 18/.28)}
.tests li{display:flex;flex-direction:column;min-width:6.5rem;padding:.9rem 1.5rem .9rem 0;margin-right:1.5rem;border-bottom:1px solid rgb(23 20 18/.1)}
.tests .v{font:600 var(--s2)/1.1 var(--font-display);letter-spacing:-.01em}.tests .k{color:var(--color-ink-secondary);font-size:.875rem;margin-top:.2rem}

/* bands */
.band{padding-block:clamp(3rem,7vw,6rem)}
.band.sunk{background:var(--color-surface-sunk)}
.band.tight{padding-block:clamp(2rem,4vw,3.5rem)}
.band h2{max-width:20ch}
.band .intro{margin-top:1rem;color:var(--color-ink-secondary);max-width:44rem}
.rise{opacity:0;transform:translateY(12px);transition:opacity var(--t) var(--ease),transform var(--t) var(--ease)}
.rise.in{opacity:1;transform:none}
.nojs .rise{opacity:1;transform:none}

/* the three dogs: differing weights, not equal cards */
.three{display:grid;gap:clamp(2rem,5vw,4rem) var(--gutter);margin-top:2.5rem;grid-template-columns:minmax(0,1fr)}
@media(min-width:60rem){
  .three{grid-template-columns:repeat(12,minmax(0,1fr));align-items:start}
  .dog-a{grid-column:1/8}.dog-b{grid-column:8/13;margin-top:6rem}.dog-c{grid-column:3/10}
}
.dog{display:grid;gap:1rem}
.dog img{display:block;width:100%;height:auto;object-fit:cover;border-radius:var(--radius-sm);background:var(--color-surface-sunk)}
.dog-a img{aspect-ratio:750/880;max-width:560px}.dog-b img{aspect-ratio:1600/1055;max-width:560px}.dog-c img{aspect-ratio:636/792;max-width:420px}
.dog h3 a{text-decoration:none}.dog .meta{color:var(--color-ink-secondary);font-size:.9375rem}
.dog p{margin:0}

/* two-column prose + record */
.split{display:grid;gap:2rem var(--gutter);grid-template-columns:minmax(0,1fr)}
@media(min-width:60rem){.split{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.split.wide-l{grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr)}}
.list{list-style:none;margin:1rem 0 0;padding:0;display:grid;gap:.6rem}
.list li{padding-bottom:.6rem;border-bottom:1px solid rgb(23 20 18/.1)}
.list li:last-child{border-bottom:0}

/* placeholder for facts Cam must supply */
.gap{border:1px dashed var(--color-rule);padding:1rem 1.25rem;border-radius:var(--radius-sm);background:rgb(239 234 224/.6);color:var(--color-ink-secondary);max-width:60ch}
.gap b{color:var(--color-ink)}

/* timeline */
.tl{list-style:none;margin:2.5rem 0 0;padding:0;position:relative;display:grid;gap:2rem}
.tl::before{content:'';position:absolute;left:5.25rem;top:.4rem;bottom:.4rem;width:1px;background:var(--color-rule)}
.tl li{display:grid;grid-template-columns:4.5rem minmax(0,1fr);gap:0 1.5rem;position:relative}
.tl .yr{font:600 var(--s2)/1 var(--font-display);font-variant-numeric:tabular-nums}
.tl li::after{content:'';position:absolute;left:4.9rem;top:.55rem;width:.7rem;height:.7rem;border-radius:50%;background:var(--color-action-primary)}
.tl h2{font-size:var(--s1);line-height:1.2;letter-spacing:-.01em}.tl p{margin:.25rem 0 0;color:var(--color-ink-secondary)}
.tl li.future::after{background:var(--color-surface);border:2px solid var(--color-action-primary)}
.tl .when{display:block;color:var(--color-ink-secondary);font-size:.875rem;margin-top:.25rem}

/* pedigree */
.ped{display:grid;gap:2.5rem var(--gutter);margin-top:2.5rem;grid-template-columns:minmax(0,1fr)}
@media(min-width:60rem){.ped{grid-template-columns:repeat(2,minmax(0,1fr))}.ped .wideped{grid-column:1/-1}}
.fam{border-top:1px solid rgb(23 20 18/.12);padding-top:1rem}
.fam h2{font-size:var(--s2);line-height:1.15;letter-spacing:-.01em;margin-bottom:.75rem}
.fam .row{display:grid;grid-template-columns:7.5rem minmax(0,1fr);gap:.25rem 1rem;padding:.55rem 0;border-bottom:1px solid rgb(23 20 18/.08)}
.fam .row span:first-child{color:var(--color-ink-secondary)}.fam .row b{font:500 var(--s1)/1.3 var(--font-display)}
.fam .row.self b{color:var(--color-action-primary)}

/* contact */
.field{display:grid;gap:.4rem;margin-bottom:1.25rem}
label{font-weight:500}
input,select,textarea{font:400 1rem/1.4 var(--font-body);padding:.8rem .9rem;border:1px solid var(--color-rule);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-ink);width:100%;transition:border-color var(--t) var(--ease),box-shadow var(--t) var(--ease)}
input:focus,select:focus,textarea:focus{outline:0;border-color:var(--color-action-primary);box-shadow:0 0 0 3px rgb(123 34 48/.18)}
textarea{min-height:9rem;resize:vertical}
.err{color:var(--color-action-primary);font-size:.875rem;min-height:1.2em}
input[aria-invalid=true],textarea[aria-invalid=true],select[aria-invalid=true]{border-color:var(--color-action-primary)}
.note{margin-top:1rem;color:var(--color-ink-secondary)}
.sent:empty{display:none}.sent{margin-top:1.5rem;padding:1rem 1.25rem;background:var(--color-surface-sunk);border-radius:var(--radius-sm)}.sent b{font-size:1.125rem}.sent p{margin:.5rem 0 0;color:var(--color-ink-secondary)}
.split .list + h3{margin-top:3rem}
.lede .link{display:inline;padding:0}   /* a link inside a sentence stays inline (WCAG 2.5.8, Inline exception) */
.sent .link{display:table;margin-top:.25rem}
.dog-end-go{margin-top:1.5rem}.dog-end-next{margin-top:1.5rem;color:var(--color-ink-secondary)}

/* footer: the ink band, closing the page like a back cover; the wordmark is decoration (no alt text, not a text node for readers) */
.foot{position:relative;z-index:1;margin-top:clamp(3rem,8vw,7rem);background:var(--color-ink);color:#DBD3C5;overflow:hidden;
  padding:clamp(2.5rem,6vw,4.5rem) max(var(--gutter),calc((100% - var(--wrap))/2 + var(--gutter))) 0;display:grid;gap:2rem 3rem;grid-template-columns:minmax(0,1fr)}
@media(min-width:48rem){.foot{grid-template-columns:minmax(0,1.3fr) repeat(2,minmax(0,.8fr))}}
.foot .foot-h{margin:0 0 .5rem;font:600 1rem/1.3 var(--font-body);letter-spacing:0;color:#EDE7DC}.foot ul{list-style:none;margin:0;padding:0;display:grid;gap:0}.foot li a{display:inline-block;padding:.7rem 0;min-height:44px;box-sizing:border-box}
.foot a{text-decoration:none;color:#DBD3C5;transition:color var(--t) var(--ease)}.foot a:hover{color:#F7C9D0}.foot a:focus-visible{outline-color:#F7C9D0}
.foot p{color:#DBD3C5;font-size:.9375rem}.foot p b{font:600 var(--s2)/1.1 var(--font-display);color:#EDE7DC;letter-spacing:-.01em}
.foot::after{content:'HausRuma' / '';grid-column:1/-1;font:600 clamp(4.5rem,20.5vw,20rem)/.82 var(--font-display);letter-spacing:-.04em;color:rgb(237 231 220/.075);white-space:nowrap;margin:1rem 0 -.12em -.04em;user-select:none;pointer-events:none}

@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important}.rise{opacity:1;transform:none}}

/* a real photograph beside a record */
.side-photo{margin:0 0 2rem}.side-photo img{display:block;width:100%;height:auto;border-radius:var(--radius-sm)}
.side-photo figcaption{margin-top:.6rem;color:var(--color-ink-secondary);font-size:.9375rem}
/* Touch targets: 44px at 375 wide (Fitts) */
.cta{min-height:44px;box-sizing:border-box}.foot li a{min-width:44px}.dog h3 a{display:inline-block;padding:.65rem 0}.foot p a{display:inline-block;padding:.7rem 0}

/* Home: one scroll. The hero is type only; each dog gets a full band with its live head. */
.hero-home{padding-block:clamp(3rem,9vw,7rem) 2rem}.hero-home h1{max-width:16ch}.hero-home .lede{max-width:40rem}
.dogsec h2{font-size:clamp(3.25rem,8.5vw,6.5rem);line-height:.96;letter-spacing:-.04em}
.dogsec .lede{font:400 var(--s1)/1.4 var(--font-body);color:var(--color-ink-secondary);max-width:34rem}
.dogsec .tests{margin-top:1.5rem}
#contact .split{align-items:start}

/* Anchor jumps on the home page glide to the section, unless the visitor asks for less motion. */
@media (prefers-reduced-motion: no-preference){html{scroll-behavior:smooth}}
section[id]{scroll-margin-top:4.5rem}
/* Dog bands: the head stays in view beside its information while the visitor reads it (desktop). */
@media(min-width:60rem){.dogsec{align-items:start}.dogsec .dogstage{position:sticky;top:6rem}}
/* Phone: the dog comes first, then its words. A web-font swap can re-wrap the text, and text above a large photo moves the whole
   photo (Rumour's page scored CLS 0.21 that way); text below it moves only itself. */
@media(max-width:59.99rem){.hero:not(.hero-home)>.dogstage{order:-1}}

.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}   /* contact-form honeypot, off screen for people */

/* ===== Premium layer (21 Nov 2026): same Kennel Club Editorial, finished like a printed yearbook ===== */
:root{--shadow-lift:0 2px 4px rgb(23 20 18/.06),0 18px 32px -18px rgb(23 20 18/.4);--mat:#FBF9F4}

/* browser surfaces, themed from the palette */
::selection{background:var(--color-action-primary);color:var(--color-on-action)}
html{accent-color:var(--color-action-primary);caret-color:var(--color-action-primary);scrollbar-width:thin;scrollbar-color:var(--color-rule) var(--color-surface)}
a{text-underline-offset:.2em;text-decoration-thickness:1px}
body{font-feature-settings:"kern","liga";hanging-punctuation:first last}
h1,h2,h3,.facts dd,.strip b{font-feature-settings:"kern","liga","calt"}
h1{font-variation-settings:'opsz' 144;hyphens:manual}

/* masthead nav: the last link is the enquiry */
.nav a.nav-cta{color:var(--color-action-primary);padding:.6rem 1.05rem;margin:-.2rem 0 -.2rem .4rem;border:1px solid rgb(123 34 48/.45);border-radius:var(--radius-sm);background-image:none;transition:background-color var(--t) var(--ease),color var(--t) var(--ease),border-color var(--t) var(--ease)}
.nav a.nav-cta:hover,.nav a.nav-cta:focus-visible,.nav a.nav-cta[aria-current]{background:var(--color-action-primary);color:var(--color-on-action);border-color:var(--color-action-primary)}
@media(max-width:62rem){.nav a.nav-cta{margin:.4rem 0 0;width:auto}}

/* buttons: the arrow is drawn, and moves with the hand */
.cta{display:inline-flex;align-items:center;gap:.65rem}
.cta::after{content:'';width:1.05em;height:1em;background:currentColor;flex:none;transition:transform var(--t) var(--ease);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 16' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M1 8h17M12 2l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 16' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M1 8h17M12 2l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat}
.cta:hover::after{transform:translateX(4px)}

/* the home hero: the three dogs as mounted plates, different sizes, overlapping, each a way in */
.hero-home{align-items:center}
.trio{position:relative;display:none;aspect-ratio:1/1.02;margin:0}
.trio a{position:absolute;display:block;text-decoration:none;color:var(--color-ink);transition:transform var(--t) var(--ease)}
.trio a:hover,.trio a:focus-visible{transform:translateY(-6px)}
.trio a:active{transform:translateY(-2px);transition-duration:var(--t-out)}
.trio .plate{display:block;background:#F8EBD8;border-radius:var(--radius-sm);overflow:hidden;box-shadow:0 0 0 .6rem var(--mat),0 0 0 calc(.6rem + 1px) rgb(23 20 18/.1),var(--shadow-lift)}
.trio .plate img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover}
.trio .nm{display:block;margin-top:1.1rem;font:italic 400 1.0625rem/1.2 var(--font-display)}
.trio .t-baron{left:.6rem;top:7%;width:55%;z-index:2}
.trio .t-aurora{right:.6rem;top:0;width:36%;z-index:1}
.trio .t-rumour{right:7%;bottom:3.4rem;width:41%;z-index:3}
@media(min-width:60rem){.trio{display:block}}
@media(max-width:59.99rem){.trio{display:block;margin-top:1.5rem;aspect-ratio:1/1.14}.trio .t-rumour{bottom:2.1rem}}
.hero-home .lede{max-width:34rem}
@media(prefers-reduced-motion:no-preference){
  .hero-home h1{animation:settle 900ms var(--ease) both}
  .hero-home .lede,.hero-home .cta{animation:settle 900ms 120ms var(--ease) both}
  .trio a{animation:plate-in 800ms var(--ease) both}.trio .t-aurora{animation-delay:140ms}.trio .t-rumour{animation-delay:280ms}
  @keyframes settle{from{transform:translateY(.4em)}}
  @keyframes plate-in{from{opacity:0;transform:translateY(24px)}}
}

/* a dog band opens with the printed double rule, then the name */
.dogsec::before{content:'';grid-column:1/-1;height:6px;border-top:1px solid rgb(23 20 18/.55);border-bottom:1px solid rgb(23 20 18/.55);margin-bottom:.5rem}
.band.sunk{background:linear-gradient(var(--color-surface-sunk),var(--color-surface-sunk))}

/* achievements and awards: a rosette marks each placing (drawn, one weight) */
.dogsec .list li,#records .list li{position:relative;padding-left:2rem;border-bottom-color:rgb(23 20 18/.1)}
.dogsec .list li::before,#records .list li::before{content:'';position:absolute;left:0;top:.28rem;width:1.15rem;height:1.4rem;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 30'%3E%3Cpath d='M7 15 4 29l5-3 3 4 1-14zM17 15l3 14-5-3-3 4-1-14z' fill='%237B2230'/%3E%3Ccircle cx='12' cy='10' r='8' fill='none' stroke='%23171412' stroke-width='2.2'/%3E%3Ccircle cx='12' cy='10' r='4.6' fill='%237B2230'/%3E%3C/svg%3E") center/contain no-repeat}

/* the about band's statement reads as a set paragraph */
#about .intro{font:400 clamp(1.25rem,2.2vw,1.65rem)/1.45 var(--font-display);color:var(--color-ink);max-width:36ch}
#about .intro::first-letter{font-weight:600;color:var(--color-action-primary)}

/* form fields: editorial, quiet, clear states */
input,select,textarea{background:rgb(255 255 255/0);border-color:rgb(23 20 18/.28);padding:.9rem 1rem}
input:hover,select:hover,textarea:hover{border-color:rgb(23 20 18/.55)}
label{font-size:.9375rem}

/* page transitions: one cross-fade between pages; the header stays put */
@view-transition{navigation:auto}
::view-transition-old(root){animation:vt-out var(--t-out) var(--ease) both}
::view-transition-new(root){animation:vt-in var(--t) var(--ease) both}
@keyframes vt-out{to{opacity:0}}@keyframes vt-in{from{opacity:0}}
::view-transition-group(mast){animation-duration:0s}

/* progressive: scroll-linked refinements where the browser supports them; everything is visible without */
@supports (animation-timeline:view()){
  @media(prefers-reduced-motion:no-preference){
    .dogsec>div:not(.dogstage)>*{animation:enter linear both;animation-timeline:view();animation-range:entry 0% entry 55%}
    .dogsec>div:not(.dogstage)>h2{animation-range:entry 0% entry 70%}
    @keyframes enter{from{opacity:0;transform:translateY(18px)}}
    .mast{animation:mast-edge linear both;animation-timeline:scroll(root);animation-range:0 140px}
    @keyframes mast-edge{from{box-shadow:0 0 0 rgb(23 20 18/0)}to{box-shadow:0 10px 24px -18px rgb(23 20 18/.35)}}
  }
}

/* ===== Polish 2 (22 Nov 2026) ===== */
/* subpage masthead: the printed double rule, then the title at the dog-name scale */
main>section.wrap.band:first-child{padding-top:clamp(2.5rem,7vw,5.5rem)}
main>section.wrap.band:first-child::before{content:'';display:block;height:6px;border-top:1px solid rgb(23 20 18/.55);border-bottom:1px solid rgb(23 20 18/.55);margin-bottom:clamp(1.75rem,4.5vw,3rem)}
main>section.wrap.band:first-child h1{font-size:clamp(3.25rem,8.5vw,6.5rem);line-height:.96;letter-spacing:-.04em;max-width:14ch}
main>section.wrap.band:first-child .lede{font-size:1.1875rem;max-width:44rem;margin-top:1.75rem}
@media(prefers-reduced-motion:no-preference){main>section.wrap.band:first-child h1{animation:settle 900ms var(--ease) both}}

/* trophies: each placing carries the rosette, as on the home page */
.awards li{position:relative;padding-left:2rem}
.awards li::before{content:'';position:absolute;left:0;top:.28rem;width:1.15rem;height:1.4rem;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 30'%3E%3Cpath d='M7 15 4 29l5-3 3 4 1-14zM17 15l3 14-5-3-3 4-1-14z' fill='%237B2230'/%3E%3Ccircle cx='12' cy='10' r='8' fill='none' stroke='%23171412' stroke-width='2.2'/%3E%3Ccircle cx='12' cy='10' r='4.6' fill='%237B2230'/%3E%3C/svg%3E") center/contain no-repeat}

/* timeline: each year is a ring on the line; what is still to come is an open ring */
.tl li::after{width:.85rem;height:.85rem;left:4.82rem;top:.5rem;background:var(--color-surface);border:2px solid var(--color-action-primary);box-shadow:inset 0 0 0 2px var(--color-surface),inset 0 0 0 6px var(--color-action-primary)}
.tl li.future::after{box-shadow:none;border-style:dashed}

/* phone menu: a full-height sheet of large serif links; the page behind stays put */
@media(max-width:62rem){
  .nav{display:flex;position:absolute;top:100%;left:0;right:0;height:calc(100dvh - 100%);flex-direction:column;align-items:stretch;gap:0;
    background:var(--color-surface);padding:1rem var(--gutter) 2rem;border-top:1px solid rgb(23 20 18/.1);overflow-y:auto;
    visibility:hidden;opacity:0;transform:translateY(-10px);transition:opacity var(--t-out) var(--ease),transform var(--t-out) var(--ease),visibility 0s linear var(--t-out)}
  .nav.open{visibility:visible;opacity:1;transform:none;transition:opacity var(--t) var(--ease),transform var(--t) var(--ease),visibility 0s}
  .nav a{font:600 clamp(1.6rem,6.5vw,2.2rem)/1.15 var(--font-display);letter-spacing:-.02em;color:var(--color-ink);padding:.8rem 0;margin:0;width:100%;border-bottom:1px solid rgb(23 20 18/.1);background-image:none}
  .nav a[aria-current]{color:var(--color-action-primary)}
  .nav a.nav-cta{margin:1.5rem 0 0;padding:1rem 1.2rem;text-align:center;font:500 1.0625rem/1 var(--font-body);border:1px solid var(--color-action-primary);background:var(--color-action-primary);color:var(--color-on-action)}
  html.menu-open{overflow:hidden}
}
@media(max-width:62rem) and (prefers-reduced-motion:reduce){.nav{transform:none}}

/* contact: the send button spans the form on a phone */
@media(max-width:47.99rem){#contactForm .cta{width:100%;justify-content:center}}

/* footer: back to the top */
.foot .totop{display:inline-flex;align-items:center;gap:.5rem;padding:.7rem 0;min-height:44px}
.foot .totop::before{content:'';width:.9em;height:.9em;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M8 15V2M2 8l6-6 6 6'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M8 15V2M2 8l6-6 6 6'/%3E%3C/svg%3E") center/contain no-repeat;transition:transform var(--t) var(--ease)}
.foot .totop:hover::before{transform:translateY(-3px)}
