/* Live controls and responsive adaptations of the approved desktop compositions. */
[hidden] { display: none !important; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
button:focus-visible, summary:focus-visible, dialog:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 6px;
}
.menu-toggle { display: none; }
.skip-link {
  position: fixed;
  top: 12px;
  left: 20px;
  z-index: 30;
  padding: 12px 18px;
  background: var(--cream);
  color: var(--canvas);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.gallery-categories button {
  padding: 0 0 7px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font: inherit;
  text-transform: inherit;
  cursor: pointer;
}
.gallery-categories button:hover { color: var(--cream); }
.gallery-categories button[aria-pressed="true"] {
  color: var(--cream);
  border-bottom-color: var(--cream);
}
.gallery-open { display: block; cursor: zoom-in; }
.gallery-selection.is-filtered {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px 74px;
  padding-bottom: 72px;
}
.gallery-selection.is-filtered .gallery-row:not([hidden]) { display: contents; }
.gallery-selection.is-filtered figure { padding-top: 0; }
.gallery-selection.is-filtered img { height: auto; }
#gallery-dialog {
  width: min(1100px, calc(100% - 48px));
  max-width: none;
  max-height: 94vh;
  max-height: 94dvh;
  margin: auto;
  padding: 24px;
  border: 1px solid var(--rule);
  background: var(--canvas);
  color: var(--cream);
  overflow: auto;
}
#gallery-dialog[open] { display: grid; gap: 16px; }
#gallery-dialog::backdrop { background: rgb(16 9 4 / 92%); }
.gallery-dialog-close {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  gap: 10px;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--cream);
  font-size: 13px;
  cursor: pointer;
}
.gallery-dialog-close:hover { background: var(--bark); }
.gallery-dialog-image {
  width: auto;
  max-width: 100%;
  max-height: calc(94vh - 164px);
  max-height: calc(94dvh - 164px);
  height: auto;
  margin: auto;
  object-fit: contain;
}
.gallery-dialog-caption { font-size: 14px; line-height: 1.5; color: var(--muted); }
.contact-form input, .contact-form textarea { font-size: 16px; }
.contact-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.contact-form textarea { min-height: 70px; padding-top: 8px; resize: vertical; }
.contact-form button:disabled { opacity: .65; cursor: not-allowed; }
.contact-form[aria-busy="true"] button:disabled { cursor: wait; }
#form-status { font-size: 14px; line-height: 1.55; margin-top: 18px; }
#form-status:empty { display: none; }
#form-status[data-state="error"] { color: var(--cream); }

@media (max-width: 1320px) and (min-width: 1101px) {
  .site-header { gap: 22px; }
  .site-nav { gap: 16px; font-size: 11px; }
  .site-header .site-enquiry { gap: 10px; padding-inline: 12px; font-size: 11px; }
  .site-logo { font-size: 16px; gap: 8px; }
}

@media (max-width: 1200px) {
  .wrap { width: calc(100% - 64px); }
  .page-home .site-header { left: 32px; right: 32px; width: auto; }
  .home-spaces-heading { gap: 40px; }
  .home-spaces-heading h2 { font-size: 45px; }
  .home-spaces-heading > p { font-size: 17px; }
  .home-space-grid { gap: 32px; }
  .home-space-grid img { height: 300px; }
  .interior-hero, .about-hero { gap: 44px; }
  .interior-hero h1 { font-size: 58px; }
  .about-hero h1 { font-size: 65px; }
  .interior-hero-copy > p, .about-hero-copy > p { font-size: 18px; }
  .interior-hero-photo img, .about-hero figure img { height: 590px; }
  .interior-section-head, .interior-furniture-grid, .interior-details,
  .interior-materials-inner, .about-approach, .about-making-head,
  .about-making-grid, .about-partners-inner { gap: 48px; }
  .interior-page h2, .about-page h2 { font-size: 45px; }
  .interior-section-head > p, .interior-details-copy > p,
  .interior-materials-inner > div > p, .about-making-head > p,
  .about-approach > div > p { font-size: 18px; }
  .interior-process-grid, .about-principles { gap: 30px; }
  .about-principles p { font-size: 16px; }
  .gallery-intro h1 { font-size: 90px; }
  .gallery-row { gap: 48px; }
  .gallery-row-three { gap: 30px; }
  .gallery-cabinet img { height: 540px; }
  .gallery-intarsia img { height: 360px; }
  .contact-strip-inner { gap: 60px; }
  .contact-strip h2 { font-size: 42px; }
  .site-footer-top { gap: 30px; }
  .site-footer-links { gap: 14px 22px; }
}

/* The navigation changes when its actual content no longer fits in one line. */
@media (max-width: 1100px) {
  .site-header { min-height: 88px; height: auto; gap: 20px; flex-wrap: wrap; padding-block: 20px; }
  .site-nav { width: 100%; order: 4; flex-wrap: wrap; margin-left: 0; gap: 12px 24px; }
  .site-nav a { min-height: 44px; display: flex; align-items: center; }
  .site-header .site-enquiry { margin-left: auto; min-height: 44px; }
  .page-home .site-header { height: auto; }
  html:not(.js) .page-home .site-header { position: relative; left: auto; right: auto; margin-inline: auto; }
  .js .site-header { flex-wrap: nowrap; }
  .js .menu-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex: none;
    min-width: 44px;
    min-height: 44px;
    padding: 10px 13px;
    background: var(--canvas);
    border: 1px solid var(--rule);
    border-radius: 36px;
    color: var(--cream);
    font-size: 12px;
    line-height: 1.3;
    text-transform: uppercase;
    cursor: pointer;
  }
  .menu-toggle svg { width: 20px; height: 20px; }
  .js .site-nav {
    display: none;
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    width: auto;
    margin: 0;
    padding: 18px 24px 24px;
    background: var(--canvas);
    border-bottom: 1px dashed var(--rule);
    align-items: stretch;
    gap: 2px;
  }
  .js .site-nav a { padding: 13px 0; font-size: 15px; white-space: normal; }
  .js .site-nav a[aria-current="page"] { border-bottom-color: transparent; text-decoration: underline; }
  .js .menu-open .site-nav { display: flex; flex-direction: column; }
  .menu-open .menu-toggle { border-color: var(--cream); }
  .site-footer-top { display: grid; grid-template-columns: 1fr 2fr; }
  .site-domain { grid-column: 1 / -1; }
  .site-footer-links a { display: flex; align-items: center; min-height: 44px; }
  .site-footer-links { gap: 0 24px; }
  .site-footer-top > p { padding-top: 12px; }
  .site-footer-wordmark { font-size: 11.3vw; }
}

@media (max-width: 950px) {
  .hp-lead, .rp-lead, .hp-section-heading, .rp-section-heading,
  .hp-brief-inner, .rp-brief-inner { grid-template-columns: 1fr 1fr; gap: 34px; }
  .hp-lead h1, .rp-lead h1 { font-size: 53px; }
  .hp-introduction > p, .rp-introduction > p { font-size: 17px; }
  .hp-introduction p br, .rp-introduction p br,
  .hp-section-heading p br, .rp-section-heading p br,
  .hp-brief p br, .rp-brief p br { display: none; }
  .hp-section-heading h2, .rp-section-heading h2, .hp-brief h2, .rp-brief h2 { font-size: 43px; }
  .hp-hero img, .rp-hero img { height: 410px; }
  .hp-space-list article { grid-template-columns: .85fr 1.4fr; gap: 16px 30px; }
  .hp-space-list article > span { grid-column: 2; text-align: left; }
  .hp-selection-grid, .rp-art-grid { gap: 34px; }
  .hp-cabinet > img { height: 430px; }
  .rp-space-grid { gap: 24px; }
  .rp-space-grid h3 { font-size: 28px; }
  .rp-space-grid p br { display: none; }
  .rp-art-note p br { display: none; }
  .hp-related, .rp-related { gap: 30px; }
  .hp-related .text-link, .rp-related .text-link { flex: none; }
  .home-spaces-heading h2 { font-size: 38px; }
  .home-spaces-heading > p { width: calc(50% - 16px); }
  .home-space-grid img { height: 270px; }
  .interior-hero h1 { font-size: 49px; }
  .about-hero h1 { font-size: 54px; }
  .interior-hero, .about-hero { gap: 32px; grid-template-columns: 1fr 1fr; }
  .interior-hero-photo img, .about-hero figure img { height: 530px; }
  .interior-hero-copy > p, .about-hero-copy > p { margin-top: 28px; }
  .interior-page p br, .about-page p br { display: none; }
  .interior-page h2, .about-page h2 { font-size: 39px; }
  .interior-section-head, .interior-furniture-grid, .interior-details,
  .interior-materials-inner, .about-approach, .about-making-head,
  .about-making-grid, .about-partners-inner { gap: 34px; }
  .interior-furniture-grid figure img { height: 420px; }
  .interior-details figure img { height: 360px; }
  .interior-materials-inner img { height: 280px; }
  .interior-process-grid { gap: 24px; }
  .interior-process-grid p, .interior-groups p { font-size: 16px; }
  .about-wood-making img { height: 350px; }
  .about-art-making img { height: 300px; }
  .about-principles { gap: 26px; }
  .about-partner-sign { font-size: 12px; }
  .about-partner-sign span { margin-inline: 8px; }
  .gallery-intro h1 { font-size: 76px; }
  .gallery-intro-bottom { gap: 30px; }
  .gallery-intro-bottom p { font-size: 18px; }
  .gallery-intro-bottom p:last-child { font-size: 15px; padding-right: 0; }
  .gallery-categories { gap: 24px; }
  .gallery-row { gap: 32px; margin-bottom: 64px; }
  .gallery-row-three { gap: 24px; }
  .gallery-cabinet img { height: 440px; }
  .gallery-table img { height: 310px; }
  .gallery-intarsia img { height: 290px; }
  .gallery-close { gap: 30px; }
  .gallery-close > p { font-size: 17px; }
  .gallery-close p br { display: none; }
  .gallery-selection.is-filtered { gap: 48px 32px; }
  .contact-strip-inner { gap: 40px; }
  .contact-strip h2 { font-size: 36px; }
  .contact-strip p { font-size: 17px; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 80px; padding-block: 16px; gap: 12px; }
  .site-logo { font-size: 15px; gap: 8px; }
  .site-logo svg { width: 24px; height: 24px; }
  .site-header .site-enquiry { font-size: 11px; gap: 8px; padding: 10px 12px; }
  .js .menu-toggle { margin-left: auto; }
  .js .site-header .site-enquiry { display: none; }
  .js .site-nav { left: -20px; right: -20px; padding: 14px 20px 24px; }
  .page-home .site-header { left: 20px; right: 20px; min-height: 80px; }
  .site-nav { white-space: normal; }
  .pill { max-width: 100%; min-height: 48px; gap: 20px; padding: 15px 20px; font-size: 12px; }
  .text-link { max-width: 100%; min-height: 44px; white-space: normal; font-size: 12px; }
  .object-grid figcaption > a { min-width: 44px; min-height: 44px; display: flex; justify-content: flex-end; align-items: flex-start; }
  .page-home .opening { height: auto; min-height: 800px; padding-top: 80px; }
  .page-home .hero { height: auto; min-height: 620px; padding-top: 24px; padding-bottom: 42px; }
  .page-home .hero-wordmark { font-size: clamp(76px, 19.7vw, 122px); }
  .page-home .hero-copy { margin-top: 60px; max-width: 430px; }
  .page-home .hero h1 { font-size: clamp(31px, 7.9vw, 38px); }
  .page-home .hero-foot { height: auto; padding-bottom: 27px; }
  .page-home .hero-foot span { margin-top: 8px; }
  .page-home .craft-photo img { height: 500px; }
  .home-spaces { padding-block: 4px 48px; }
  .home-spaces-heading { display: block; margin-bottom: 28px; }
  .home-spaces-heading h2 { font-size: clamp(31px, 7.6vw, 42px); }
  .home-spaces-heading > p { width: auto; font-size: 17px; margin-top: 24px; }
  .home-spaces-heading > p br { display: none; }
  .home-space-grid { grid-template-columns: 1fr; gap: 34px; }
  .home-space-grid img { height: auto; aspect-ratio: 1.6; }
  .home-space-grid > a > div { margin-top: 18px; }
  .home-space-grid h3 { font-size: 23px; }
  .home-space-grid p { font-size: 16px; }
  .home-space-grid span { margin-top: 8px; }
  .contact-inner > div > p br { display: none; }
  .contact-form input { min-height: 44px; }
  .contact-form label { font-size: 12px; }
  .contact-form .form-note br { display: none; }

  .hp-opening, .rp-opening { padding-top: 28px; }
  .hp-lead, .rp-lead { grid-template-columns: 1fr; gap: 27px; padding-bottom: 32px; }
  .hp-lead h1, .rp-lead h1 { font-size: clamp(40px, 10.4vw, 64px); }
  .hp-introduction > p, .rp-introduction > p { font-size: 18px; max-width: 520px; margin-bottom: 22px; }
  .hp-hero img, .rp-hero img { height: auto; aspect-ratio: 1.22; }
  .hp-hero img { object-position: 52% center; }
  .rp-hero img { object-position: 58% center; }
  .hp-hero figcaption, .rp-hero figcaption { display: block; font-size: 12px; padding-top: 14px; }
  .hp-hero figcaption span, .rp-hero figcaption span { display: block; }
  .hp-hero figcaption span + span, .rp-hero figcaption span + span { margin-top: 6px; }
  .hp-spaces, .rp-spaces { padding-block: 52px 48px; }
  .hp-section-heading, .rp-section-heading { grid-template-columns: 1fr; gap: 25px; margin-bottom: 30px; }
  .hp-section-heading h2, .rp-section-heading h2, .hp-brief h2, .rp-brief h2 { font-size: clamp(34px, 8.7vw, 48px); }
  .hp-section-heading > p, .rp-section-heading > p { font-size: 18px; }
  .hp-space-list article { grid-template-columns: 1fr; gap: 13px; padding-block: 26px; }
  .hp-space-list h3 { font-size: 18px; }
  .hp-space-list p { font-size: 17px; }
  .hp-space-list article > span { grid-column: auto; padding-top: 0; }
  .hp-selection, .rp-art { padding-block: 4px 50px; }
  .hp-selection-grid, .rp-art-grid { grid-template-columns: 1fr; gap: 34px; }
  .hp-cabinet > img { height: auto; aspect-ratio: 1 / 1.06; }
  .hp-mosaic-column, .rp-graphic-column { padding-top: 0; }
  .hp-selection figcaption, .rp-art figcaption { padding-top: 16px; }
  .hp-selection-note p, .rp-art-note p { font-size: 17px; }
  .hp-brief, .rp-brief { padding-block: 48px; }
  .hp-brief-inner, .rp-brief-inner { grid-template-columns: 1fr; gap: 32px; }
  .hp-brief-inner > div > p, .rp-brief-inner > div > p { font-size: 18px; margin-top: 22px; }
  .hp-brief-list > div, .rp-brief-list > div { grid-template-columns: 1fr; gap: 10px; padding-block: 22px; }
  .hp-brief-list p, .rp-brief-list p { font-size: 17px; }
  .hp-related, .rp-related { flex-direction: column; align-items: flex-start; gap: 14px; padding-block: 28px; }
  .hp-related p, .rp-related p { font-size: 16px; }
  .rp-space-grid { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
  .rp-space-grid article { padding-block: 25px; }
  .rp-space-grid article + article { border-top: 1px dashed var(--rule); }
  .rp-space-grid h3 { font-size: 29px; }
  .rp-space-grid p { font-size: 17px; margin-top: 14px; }
  .rp-stone-credit { display: block; margin-top: 4px; }
  .rp-stone-credit p { font-size: 15px; margin-top: 14px; }

  .interior-hero, .about-hero { grid-template-columns: 1fr; gap: 32px; padding-top: 27px; padding-bottom: 48px; }
  .interior-hero-copy, .about-hero-copy { padding-top: 0; }
  .interior-hero h1 { font-size: clamp(42px, 10.7vw, 64px); }
  .about-hero h1 { font-size: clamp(43px, 11vw, 68px); }
  .interior-hero-copy > p, .about-hero-copy > p { margin-top: 28px; font-size: 18px; max-width: 520px; }
  .interior-hero .pill, .about-hero .text-link { margin-top: 24px; }
  .interior-hero-photo img { height: auto; aspect-ratio: .95; }
  .about-hero figure img { height: auto; aspect-ratio: .9; }
  .interior-page h2, .about-page h2 { font-size: clamp(32px, 8.4vw, 46px); }
  .interior-section-head, .interior-furniture-grid, .interior-details,
  .interior-materials-inner, .about-approach, .about-making-head,
  .about-making-grid, .about-partners-inner { grid-template-columns: 1fr; gap: 28px; }
  .interior-furniture { padding-block: 45px; }
  .interior-section-head { margin-bottom: 29px; }
  .interior-section-head > p { padding-top: 0; }
  .interior-furniture-grid figure img { height: auto; aspect-ratio: 1.3; }
  .interior-groups p { font-size: 17px; }
  .interior-groups > div { padding-block: 22px; }
  .interior-groups > div:first-child { padding-top: 0; }
  .interior-groups > div:last-child { padding-bottom: 0; }
  .interior-details { padding-top: 4px; padding-bottom: 48px; }
  .interior-details-copy { padding-top: 0; }
  .interior-details-copy > p { margin-top: 24px; }
  .interior-details figure img { height: auto; aspect-ratio: 1.25; }
  .interior-materials { padding-block: 45px; }
  .interior-materials-inner figure { padding-top: 0; order: 2; }
  .interior-materials-inner img { height: auto; aspect-ratio: 1.5; }
  .interior-partner h3 { font-size: 12px; }
  .interior-partner h3 span { margin-inline: 8px; }
  .interior-process { padding-block: 45px 48px; }
  .interior-process-grid { grid-template-columns: 1fr; gap: 25px; margin-top: 29px; }
  .interior-process-grid p { font-size: 17px; }
  .about-approach { padding-block: 45px; }
  .about-approach > div > p { font-size: 19px; }
  .about-approach > div > p + p { font-size: 17px; margin-top: 22px; }
  .about-making { padding-block: 5px 44px; }
  .about-making-head { margin-bottom: 28px; }
  .about-making-head > p { padding-bottom: 0; }
  .about-making-grid { gap: 30px; }
  .about-wood-making img, .about-art-making img { height: auto; aspect-ratio: 1.25; }
  .about-art-making { padding-top: 0; }
  .about-principles { grid-template-columns: 1fr; gap: 25px; padding-top: 27px; padding-bottom: 45px; }
  .about-principles p { font-size: 17px; margin-top: 12px; }
  .about-partners { padding-block: 45px; }
  .about-partner-sign { margin-top: 26px !important; font-size: 12px; }
  .about-partners-inner > div + div > p { font-size: 17px; }

  .gallery-intro { padding-top: 28px; }
  .gallery-intro h1 { font-size: clamp(39px, 10.2vw, 68px); }
  .gallery-intro-bottom { display: block; margin-top: 27px; }
  .gallery-intro-bottom p { font-size: 18px; }
  .gallery-intro-bottom p:last-child { font-size: 16px; margin-top: 18px; }
  .gallery-intro-bottom p br { display: none; }
  .gallery-categories { flex-wrap: wrap; gap: 6px 25px; margin-top: 29px; padding-top: 15px; padding-bottom: 30px; }
  .gallery-categories a, .gallery-categories button { display: flex; align-items: center; min-height: 44px; padding-block: 9px; }
  .gallery-row, .gallery-selection.is-filtered { grid-template-columns: 1fr; gap: 34px; margin-bottom: 34px; }
  .gallery-selection.is-filtered { margin-bottom: 0; padding-bottom: 48px; }
  .gallery-row figure { padding-top: 0; }
  .gallery-cabinet img { height: auto; aspect-ratio: 1 / 1.05; }
  .gallery-table img, .gallery-intarsia img { height: auto; aspect-ratio: 1.18; }
  .gallery-page figcaption { padding-top: 16px; }
  .gallery-page figcaption h2 { font-size: 15px; }
  .gallery-page figcaption p { font-size: 12px; }
  .gallery-selection { padding-bottom: 8px; }
  .gallery-close { display: block; padding-top: 27px; padding-bottom: 43px; }
  .gallery-close > p { font-size: 17px; }
  .gallery-close .text-link { margin-top: 22px; }

  .contact-strip { padding-block: 45px; }
  .contact-strip-inner { grid-template-columns: 1fr; gap: 27px; }
  .contact-strip h2 { font-size: clamp(32px, 8.4vw, 42px); }
  .contact-strip p { font-size: 18px; }
  .contact-strip p br { display: none; }
  .contact-strip .location { font-size: 12px; }
  .site-footer { padding-top: 26px; padding-bottom: max(24px, env(safe-area-inset-bottom)); }
  .site-footer-top { grid-template-columns: 1fr; gap: 18px; }
  .site-footer-top > p { max-width: 280px; padding-top: 0; }
  .site-footer-links { gap: 0 24px; }
  .site-footer-links a { font-size: 12px; }
  .site-domain { min-height: 44px; }
  .site-footer-wordmark { font-size: 10.8vw; margin-block: 25px; }
  .site-footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; font-size: 12px; }
  .site-footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
  #gallery-dialog { width: calc(100% - 24px); padding: 14px; }
  .gallery-dialog-caption { font-size: 13px; }
}

@media (max-width: 374px) {
  .site-logo { font-size: 13px; gap: 6px; }
  .site-logo svg { width: 22px; height: 22px; }
  .js .menu-toggle { padding-inline: 10px; }
  .page-home .hero h1 { font-size: 29px; }
  .intro h2 { font-size: 29px; }
  .section-head h2, .art-section .section-head h2, .architects h2 { font-size: 34px; }
  .contact h2 { font-size: 32px; }
  .craft-copy h2 { font-size: 39px; }
  .home-spaces-heading h2 { font-size: 29px; }
  .pill { padding-inline: 17px; gap: 12px; font-size: 11px; }
  .hp-lead h1, .rp-lead h1 { font-size: 37px; }
  .gallery-intro h1 { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
