*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
/* 100vh first: Safari before 15.4 drops the whole svh declaration */
body{margin:0;background:var(--white);color:var(--brown);font:400 17px/1.6 var(--font-text);-webkit-font-smoothing:antialiased;min-height:100vh;min-height:100svh;display:flex;flex-direction:column}
main{flex-grow:1}
img{max-width:100%;display:block}
a{color:var(--teal-700);text-decoration-thickness:1px;text-underline-offset:3px}
a:hover{text-decoration-thickness:2px}
:focus-visible{outline:2px solid var(--teal-700);outline-offset:2px}
h1,h2,h3{font-family:var(--font-mark);font-weight:400;margin:0;text-wrap:balance;text-wrap:pretty}
p{margin:0;text-wrap:balance;text-wrap:pretty}
.wrap{max-width:1200px;margin:0 auto;padding:0 20px}
@media (min-width:900px){.wrap{padding:0 40px}}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;font:500 16px/1 var(--font-text);color:var(--brown);text-decoration:none;border:1px solid var(--brown);background:transparent;cursor:pointer;border-radius:0;transition:background-color .2s var(--ease)}
.btn:hover:not(:disabled,[aria-disabled=true]){background:var(--blush-300)}
.btn-primary{background:var(--teal);border-color:var(--teal)}
.btn:disabled,.btn[aria-disabled=true]{opacity:.6;cursor:default}
.btn-primary:hover:not(:disabled,[aria-disabled=true]){background:color-mix(in srgb,var(--teal) 82%,var(--teal-700));border-color:color-mix(in srgb,var(--teal) 82%,var(--teal-700))}

/* header */
.skip{position:absolute;left:20px;top:8px;z-index:10;transform:translateY(-200%)}
.skip:focus{transform:none}
@media (min-width:900px){.skip{left:max(40px,calc((100% - 1200px) / 2 + 40px))}}
#main:focus{outline:none}
.site-head{display:flex;align-items:center;justify-content:space-between;gap:16px;height:64px}
@media (min-width:900px){.site-head{height:80px}}
.lockup{display:flex;align-items:center;gap:10px;min-height:44px;color:var(--brown);text-decoration:none}
.lockup svg{width:22px;height:42px}
.word{font:400 22px/1 var(--font-mark);letter-spacing:.01em}
.word{color:var(--teal-700)} .word b{font-weight:400;color:var(--teal-mid)}
.head-actions{display:flex;align-items:center;gap:20px}
.head-actions .text-link{color:var(--brown);font-weight:500;display:none;min-height:44px;align-items:center}
/* Akker's number as text, once PHONE_NUMBER fills it (src/phone.js); the header has room for it from 900px */
.tel-link{color:var(--brown);display:inline-flex;min-height:44px;align-items:center}
.tel-link[hidden],.head-actions .tel-link{display:none}
@media (min-width:900px){.head-actions .tel-link:not([hidden]){display:inline-flex}}
.head-actions .btn{min-height:44px;padding:0 14px;font-size:15px}
@media (min-width:560px){.head-actions .text-link{display:inline-flex}}
@media (min-width:700px){.head-actions .btn{min-height:48px;padding:0 22px;font-size:16px}}
.head-actions .btn[aria-current=page]{background:transparent;border-color:var(--brown)}
.head-actions .btn[aria-current=page]:hover{background:var(--blush-300);border-color:var(--brown)}
@media (max-width:380px){.lockup svg{width:17px;height:33px}.word{font-size:20px}.site-head{gap:8px}}
/* page links: under 1100 they sit behind the Menu button (script adds .has-menu); without script the footer carries them */
.head-band{position:relative}
.head-menu{display:contents}
.menu-btn{display:none}
.head-nav{display:none}
.head-nav ul,.foot-nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap}
.head-nav ul{gap:0 24px}
.head-nav a,.foot-nav a{color:var(--brown);text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
.head-nav a:hover,.foot-nav a:hover{text-decoration:underline}
.head-nav a[aria-current=page]{color:var(--teal-700)}
@media (min-width:1100px){.head-nav{display:block;margin-right:auto;margin-left:40px}}
@media (width < 1100px){
  /* order keeps Menu at the right edge at every width while it stays before its panel for Tab */
  .has-menu .menu-btn{order:1;display:inline-flex;align-items:center;justify-content:flex-end;min-height:44px;padding:0;appearance:none;background:none;border:0;cursor:pointer;font:500 17px/1 var(--font-text);color:var(--brown)}
  .has-menu .menu-btn[aria-expanded=true]{color:var(--teal-700);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
  .has-menu .head-actions{margin-left:auto}
  .has-menu .head-nav{position:absolute;left:0;right:0;top:100%;z-index:20;background:var(--white);border-bottom:1px solid var(--blush-300);padding:4px 20px 20px}
  .menu-open .head-nav{display:block}
  .has-menu .head-nav ul{flex-direction:column}
  .has-menu .head-nav a{min-height:48px;font-size:18px}
}
@media (min-width:900px) and (width < 1100px){.has-menu .head-nav{padding:4px 40px 24px}}
@media (width < 560px){
  .has-menu .head-menu{display:none;position:absolute;left:0;right:0;top:100%;z-index:20;background:var(--white);border-bottom:1px solid var(--blush-300);padding:4px 20px 20px}
  .menu-open .head-menu{display:block}
  .has-menu .head-nav{position:static;display:block;border:0;padding:0}
  .has-menu .head-actions{flex-direction:column;align-items:stretch;gap:0;margin-top:8px}
  .has-menu .head-actions .text-link{display:inline-flex;min-height:48px;font-size:18px}
  .has-menu .head-actions .btn{min-height:48px;font-size:16px;margin-top:8px}
}

/* hero: shared spacing; Home lays out its own hero in its page */
.hero{padding-bottom:40px}
.hero-grid{display:grid;gap:20px;padding-top:4px}
h1{font-size:clamp(30px,8vw,52px);line-height:1.1;letter-spacing:-.01em;max-width:14ch}
@media (min-width:900px){h1{max-width:11ch}}
.h1-wide h1{max-width:none}
@media (min-width:900px){.h1-wide h1{max-width:16ch}}
.rate{font-size:18px;margin-top:8px}
.rate.where{color:var(--teal-700);font-weight:500;margin-top:10px}
.rate.where+.rate{margin-top:2px}
.hero-ctas{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;margin-top:0}
.link-sec{color:var(--brown);font-weight:500;min-height:44px;display:inline-flex;align-items:center}
.rate+.hero-ctas{margin-top:32px}
.hero-ctas.desk{display:none}
@media (min-width:900px){
  .hero{padding-bottom:72px}
  .hero-grid{grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:56px;align-items:start;padding-top:40px}
  .hero-copy{position:sticky;top:40px;padding-top:24px}
  .hero-ctas.desk{display:flex;margin-top:32px}
  .hero-ctas.mob{display:none}
  .rate{font-size:21px;margin-top:20px}
}

/* calendar card */
.cal{background:var(--white);padding:16px 10px 14px;border:1px solid var(--blush-300)}
@media (min-width:900px){.cal{padding:28px 40px 24px}}
.cal-lede h2{font-size:22px;line-height:1.2}
.cal-lede p{margin-top:6px;color:var(--brown-600);font-size:15px}
@media (min-width:900px){.cal-lede h2{font-size:30px}}
.grid{margin-top:14px;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.grid>[role=row]{display:contents}
.dow{font-size:12px;color:var(--brown-600);text-align:center;padding-bottom:6px}
.dow abbr{text-decoration:none}
@media (min-width:900px){.dow{text-align:left;padding-left:11px;font-size:13px}}
.cell{position:relative;appearance:none;border:1px solid transparent;background:transparent;font:inherit;color:inherit;min-height:46px;padding:17px 0 0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:2px;border-radius:0;transition:border-color .15s var(--ease),opacity .18s var(--ease)}
@media (min-width:900px){.cell{min-height:56px;padding:22px 10px 0;align-items:flex-start}}
.num{font-size:16px;line-height:1.2;font-variant-numeric:tabular-nums}
/* the month sits above the numeral out of the flow, so every cell in the grid is one height and a half day splits the same way in every row */
.mo{position:absolute;top:2px;left:0;right:0;text-align:center;font-size:12px;line-height:1.2;color:var(--brown-600);white-space:nowrap}
@media (min-width:900px){.mo{top:auto;bottom:100%;right:auto;text-align:left}}
@media (min-width:900px){.num{font-size:19px;position:relative}}
.lab{font-size:12px;font-weight:500;line-height:1.2;margin-top:auto;padding-bottom:5px}
@media (min-width:900px){.lab{padding-bottom:8px}}
@media (min-width:900px){.lab{font-size:13px}}
/* "Afternoon" needs a 50px cell, which arrives at 480; below that the cells say AM and PM and the legend introduces them */
.lab .long,.legend .ab{display:none}
@media (max-width:479px){.legend .ab{display:inline}}
@media (min-width:480px){.lab .long{display:inline}.lab .short{display:none}}
/* calendar numerals line up column to column */
.grid{font-variant-numeric:tabular-nums lining-nums}
/* booked and past: plain numeral in --brown-600 on white; only open and half days are boxed */
.cell.booked,.cell.past{color:var(--brown-600);font-weight:400;cursor:default}
/* open */
.cell.open,.cell.am,.cell.pm{cursor:pointer;border-color:var(--line);font-weight:500}
.cell.open{background:var(--blush)}
/* the half-day seam sits on the label's top edge, never across the numeral */
.cell{--seam:calc(100% - 20px)}
@media (min-width:900px){.cell{--seam:calc(100% - 24px)}}
.cell.am{background:linear-gradient(to bottom,var(--blush) var(--seam),var(--white) var(--seam))}
.cell.pm{background:linear-gradient(to bottom,var(--white) var(--seam),var(--blush) var(--seam))}
@media (hover:hover) and (pointer:fine){.cell.open:hover,.cell.am:hover,.cell.pm:hover{border-color:var(--brown)}}
.cell[aria-selected="true"]{background:var(--teal);border-color:var(--teal-700);box-shadow:inset 0 0 0 1px var(--teal-700)}
/* forced colours strip the fills, so the pick and the open days keep a system-colour edge */
@media (forced-colors:active){.cell.open,.cell.am,.cell.pm{border-color:ButtonText}.cell[aria-selected="true"]{outline:3px solid Highlight;outline-offset:-4px}}
/* below 900 the tick would sit on the numeral; the teal fill and ring carry the selection there */
@media (min-width:900px){.cell[aria-selected="true"]::after{content:"";position:absolute;right:4px;top:5px;width:7px;height:3px;border-left:2px solid var(--brown);border-bottom:2px solid var(--brown);transform:rotate(-45deg)}}
.cell .bird{position:absolute;left:50%;bottom:2px;transform:translateX(-50%);width:11px;height:21px}
@media (min-width:900px){.cell .bird{left:calc(100% + 6px);bottom:.15em;transform:none;width:13px;height:25px}}
.legend{display:flex;flex-wrap:wrap;gap:8px 18px;margin:14px 0 0;padding:0;list-style:none;font-size:13px;color:var(--brown-600)}
.legend li{display:flex;align-items:center;gap:8px}
.sw{width:16px;height:16px;border:1px solid var(--line);display:inline-block}
.sw.o{background:var(--blush)}
/* the swatches split where the cells do: the label band is about a third of a cell at every width */
.sw.am{background:linear-gradient(to bottom,var(--blush) 68%,var(--white) 68%)}
.sw.pm{background:linear-gradient(to bottom,var(--white) 68%,var(--blush) 68%)}

/* selection bar */
.pick{position:fixed;left:0;right:0;bottom:0;z-index:10;background:var(--white);border-top:1px solid var(--blush-300);padding:8px 12px calc(8px + env(safe-area-inset-bottom));transform:translateY(110%);transition:transform .35s var(--ease)}
.pick.on{transform:none}
/* hidden once it has slid off, so its links leave the tab order while the form is on screen */
.pick.on.away{transform:translateY(110%);visibility:hidden;transition:transform .35s var(--ease),visibility 0s .35s}
.pick-in{max-width:1200px;margin:0 auto;display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px}
.pick .btn{flex:1;min-width:0;padding:0 12px;font-size:15px}
.pick-in a:not(.btn),.pick-in button{min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center;font:500 15px/1 var(--font-text);color:var(--brown)}
.pick-in button{appearance:none;background:none;border:0;padding:0 4px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.pick-note{flex-basis:100%;order:-1;color:var(--brown-600);font-size:14px}
@media (min-width:600px){.pick .btn{flex:0 0 auto}}
@media (min-width:900px){
  .pick{padding:12px 40px}
  .pick .btn{padding:0 22px;font-size:16px}
  .pick-note{flex-basis:auto;order:0;margin-right:auto}
}

/* sections below */
.band{padding:56px 0}
@media (min-width:900px){.band{padding:88px 0}}
.two{display:grid;gap:24px}
@media (min-width:900px){.two{grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:56px}}
h2.sec{font-size:28px;line-height:1.15}
@media (min-width:900px){h2.sec{font-size:34px}}
.services{list-style:none;margin:0;padding:0;border-top:1px solid var(--blush-300)}
.services li{border-bottom:1px solid var(--blush-300)}
.services a{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:60px;color:var(--brown);text-decoration:none;font-size:20px}
@media (hover:hover) and (pointer:fine){.services a:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}}
.room{margin:0}
.room img{display:block;width:100%;height:min(88vw,440px);object-fit:cover;object-position:52% 40%}
@media (min-width:900px){.room img{height:clamp(360px,62svh,640px);object-position:50% 46%}}
.sig{display:flex;align-items:center;gap:12px;margin-top:28px;font:400 22px/1 var(--font-mark)}
.sig svg{width:18px;height:35px}
.me-text p{font-size:18px;line-height:1.5;max-width:32ch}
.me-text p+p{margin-top:14px}
.me-text .h{font-family:var(--font-mark);font-size:26px;line-height:1.2;margin-bottom:18px}
@media (min-width:900px){.me-text p{font-size:22px}.me-text .h{font-size:34px}}

/* estimate */
.estimate{border-top:1px solid var(--blush-300)}
.est-intro p{margin-top:12px;max-width:34ch}
form{display:grid;gap:26px;max-width:640px}
.field > label,.field legend{display:block;font-weight:500;font-size:16px;margin-bottom:8px;padding:0}
fieldset{border:0;margin:0;padding:0;min-width:0}
.help{font-size:14px;color:var(--brown-600);margin-top:6px}
input[type=text],input[type=email],input[type=tel],input[type=date],textarea,select{width:100%;min-height:48px;padding:10px 12px;font:inherit;color:var(--brown);background:var(--white);border:1px solid var(--line);border-radius:0}
textarea{display:block;min-height:110px;resize:vertical}
select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--brown) 50%),linear-gradient(135deg,var(--brown) 50%,transparent 50%);background-position:calc(100% - 20px) 50%,calc(100% - 15px) 50%;background-size:5px 5px;background-repeat:no-repeat}
input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--teal-700);outline-offset:2px;border-color:var(--brown)}
/* after the field and focus rules so an invalid field keeps its border while focused */
:is(input,textarea,select)[aria-invalid=true],:is(input,textarea,select)[aria-invalid=true]:focus-visible{border-color:var(--auburn)}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{position:relative}
.chip input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.chip span{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border:1px solid var(--line);background:var(--white);font-size:15px}
.chip input:checked+span{background:var(--teal);border-color:var(--teal-700);font-weight:500}
.chip input:focus-visible+span{outline:2px solid var(--teal-700);outline-offset:2px}
@media (hover:hover) and (pointer:fine){.chip:hover input:not(:checked)+span{border-color:var(--brown)}}
.range{font-size:16px;font-weight:500;min-height:1.6em;margin-top:8px}
.range:empty{display:none}
.hp{position:absolute;left:-9999px}
.req{font-weight:400;color:var(--brown-600);font-size:14px}
.err{color:var(--auburn);font-size:14px;margin-top:6px}
.sent{max-width:640px}
/* the visitor's name is echoed here and can be one unbroken word */
.sent h2,.sent h3{overflow-wrap:anywhere}
.sent h3{font-size:28px}
.sent p{margin-top:12px}
/* the address stays readable beside the Email me button, for anyone who copies it instead */
.sent .est-addr{color:var(--brown-600);font-size:17px;overflow-wrap:anywhere}

/* the picked day rides above the form as a line, with its own Clear */
.est-day-line{display:flex;flex-wrap:wrap;align-items:center;column-gap:10px;font-weight:500;font-size:16px}
.est-day-line b{font-weight:500;color:var(--teal-700)}
.est-day-clear,.est-dlg-close{min-height:44px;min-width:44px;padding:0 4px;appearance:none;background:none;border:0;font:500 15px/1 var(--font-text);color:var(--brown);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;cursor:pointer}

/* the request dialog every page but /estimate/ carries: a sheet from the bottom on a phone, a centred panel from 600 */
.est-dlg{box-sizing:border-box;width:100%;max-width:100%;max-height:calc(100dvh - 24px);margin:auto 0 0;padding:16px 16px calc(28px + env(safe-area-inset-bottom));border:0;border-top:1px solid var(--blush-300);border-radius:0;background:var(--white);color:var(--brown);overflow:auto;overscroll-behavior:contain}
.est-dlg::backdrop{background:color-mix(in srgb,var(--brown) 45%,transparent)}
.est-dlg-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.est-dlg h2{font-size:28px;line-height:1.15;padding-top:4px}
.est-dlg-close{margin-right:-4px}
.est-dlg-intro{margin-top:8px;font-size:16px;line-height:1.5;color:var(--brown-600)}
.est-dlg form{margin-top:24px;gap:22px}
.est-dlg .sent{margin-top:24px}
/* the page behind holds still while the request is open, and keeps its scrollbar's width so nothing moves */
html:has(.est-dlg:modal){overflow:hidden;scrollbar-gutter:stable}
@media (min-width:600px){
  .est-dlg{width:min(480px,calc(100% - 48px));max-height:calc(100dvh - 48px);margin:auto;padding:28px 32px 32px;border:1px solid var(--blush-300)}
}
@media (prefers-reduced-motion:no-preference){
  .est-dlg:modal{transition:transform .3s var(--ease),opacity .3s var(--ease)}
  .est-dlg::backdrop{transition:opacity .3s var(--ease)}
  @starting-style{.est-dlg:modal{transform:translateY(100%)}.est-dlg:modal::backdrop{opacity:0}}
  @media (min-width:600px){@starting-style{.est-dlg:modal{transform:translateY(16px);opacity:0}}}
}

/* /estimate/ and /estimate/sent/ */
.est-page{padding-top:16px}
.est-page h1{max-width:none}
.est-page h1+p{margin-top:12px}
.sent-page .hero-ctas{margin-top:32px}
.est-terms{margin:28px 0 0;border-top:1px solid var(--blush-300)}
.est-terms div{display:grid;grid-template-columns:7.5em 1fr;gap:12px;padding:10px 0;border-bottom:1px solid var(--blush-300);align-items:first baseline}
.est-terms dt{font-size:15px;color:var(--brown-600)}
.est-terms dd{margin:0;font-size:16px;line-height:1.4;text-wrap:balance;text-wrap:pretty}
.est-page input[type=date]{appearance:none;-webkit-appearance:none;text-align:left}
.est-page input[type=date]::-webkit-date-and-time-value{text-align:left}
/* Chrome's picker button is a fourth Tab stop that doesn't match :focus-visible on the input */
.est-page input[type=date]:focus-within{outline:2px solid var(--teal-700);outline-offset:2px}
.est-page input[type=date]:focus-within:not([aria-invalid=true]){border-color:var(--brown)}
.est-alert{padding:14px 16px;border:1px solid var(--auburn);text-wrap:balance;text-wrap:pretty}
.est-alert[hidden]{display:none}
.est-page .sent h2{font-size:28px}
@media (min-width:900px){
  .est-page{padding-top:32px;padding-bottom:88px}
  .est-page .est-intro{position:sticky;top:40px;align-self:start}
  .est-page .sent h2{font-size:34px}
}

/* footer */
.site-foot{padding:56px 0;border-top:1px solid var(--blush-300)}
/* room for Home's fixed day bar, only where the page has one */
body:has(.pick) .site-foot{padding-bottom:calc(56px + 80px)}
.foot{display:flex;flex-wrap:wrap;gap:20px 40px;align-items:center;justify-content:space-between}
.foot-stamp{display:flex;align-items:center;gap:14px}
.foot-stamp svg{width:18px;height:35px}
.foot-links{display:flex;gap:24px;flex-wrap:wrap}
.foot-nav{flex-basis:100%}
.foot-nav ul{gap:0 24px}

@media (prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}
html{scroll-behavior:smooth}
