/* =====================================================================
   Phones (up to 699px): app-like. A bottom tab bar replaces the menu,
   sections become swipeable rows, and forms become step-by-step.
   Loaded only at this width.
   ===================================================================== */
:root {
  --masthead-h: 60px;
  --tabbar-h: calc(66px + env(safe-area-inset-bottom, 0px));
  --gutter: 18px;
}
body { padding-bottom: var(--tabbar-h); font-size: 1rem; }
html { scroll-padding-top: calc(var(--masthead-h) + 12px); }

/* ---------- slim top bar ---------- */
.masthead__inner { gap: 12px; }
.brand { gap: 10px; }
.brand__badge { width: 30px; }
.brand__word { font-size: 1.12rem; letter-spacing: 0.16em; }
.masthead__actions { display: none; }

/* ---------- bottom tab bar ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
  height: var(--tabbar-h); padding: 0 6px env(safe-area-inset-bottom, 0px);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px);
  border-top: 1px solid var(--line);
  transition: transform 0.35s var(--ease);
}
.tabbar.is-hidden { transform: translateY(calc(100% + 4px)); }
.tabbar__item, .tabbar__enquire {
  display: grid; justify-items: center; gap: 3px; padding: 10px 0 9px; border: 0; background: none;
  text-decoration: none; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.02em; color: var(--muted);
  -webkit-tap-highlight-color: transparent;
}
.tabbar__item .i { width: 24px; height: 24px; }
.tabbar__item[aria-current="page"] { color: var(--indigo); }
.tabbar__item[aria-current="page"] .i { color: var(--brass-ink); }
.tabbar__enquire { color: var(--indigo); padding-top: 0; }
.tabbar__enquire-dot {
  width: 54px; height: 54px; margin-top: -22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--indigo); color: var(--brass); border: 4px solid var(--paper);
  box-shadow: 0 10px 22px -10px rgba(12, 20, 41, 0.7);
  transition: transform 0.2s var(--ease);
}
.tabbar__enquire:active .tabbar__enquire-dot { transform: scale(0.94); }
.tabbar__enquire-dot .i { width: 24px; height: 24px; }

/* ---------- full-screen menu sheet ---------- */
.menu__panel {
  inset: 0; padding: calc(18px + env(safe-area-inset-top, 0px)) var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px));
  transform: translateY(100%);
}
.menu.is-open .menu__panel { transform: none; }
.menu__links a { font-size: 2rem; padding: 12px 0; }
.menu.is-open .menu__links li { animation: menu-in 0.5s var(--ease) both; }
.menu.is-open .menu__links li:nth-child(2) { animation-delay: 0.04s; }
.menu.is-open .menu__links li:nth-child(3) { animation-delay: 0.08s; }
.menu.is-open .menu__links li:nth-child(4) { animation-delay: 0.12s; }
.menu.is-open .menu__links li:nth-child(5) { animation-delay: 0.16s; }
.menu.is-open .menu__links li:nth-child(6) { animation-delay: 0.2s; }
@keyframes menu-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- home hero: full-bleed indigo, crafts swipe underneath ---------- */
.hero {
  background: var(--indigo) var(--adire); background-size: 56px 56px; color: var(--on-dark);
  padding: 44px 0 30px; display: grid; gap: 34px;
}
.hero__text { padding-inline: var(--gutter); display: grid; gap: 20px; }
.hero .eyebrow { color: var(--brass); }
.hero__title { font-size: clamp(2.5rem, 1.2rem + 7vw, 3.3rem); }
.hero__title em { color: var(--brass); }
.hero__lead { color: var(--on-dark-2); font-size: 1.02rem; }
.hero__ctas { display: grid; gap: 10px; }
.hero .btn--ink { --b-bg: var(--brass); --b-fg: var(--indigo-deep); --b-bd: var(--brass); }
.hero .btn--line { --b-fg: var(--on-dark); --b-bd: var(--line-dark); }
.mosaic {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
}
.mosaic::-webkit-scrollbar { display: none; }
.mosaic__item { flex: 0 0 62%; scroll-snap-align: start; }
.mosaic__item a { aspect-ratio: 4 / 5; }

.ribbon__set span { font-size: 1rem; padding: 11px 14px; }

/* ---------- traditions: chips above a swipeable row of cards ---------- */
.traditions { padding-block: 56px 48px; padding-inline: 0; }
.traditions .section__head { padding-inline: var(--gutter); margin-bottom: 22px; }
.traditions__index { padding-inline: var(--gutter); margin-bottom: 14px; }
.traditions__index ol { position: relative; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
.traditions__index ol::-webkit-scrollbar { display: none; }
.traditions__index a {
  display: inline-flex; align-items: baseline; gap: 7px; white-space: nowrap; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line-2); font-size: 0.88rem; font-weight: 600; color: var(--ink-2); background: var(--surface);
}
.traditions__index a[aria-current="true"] { background: var(--indigo); border-color: var(--indigo); color: var(--on-dark); }
.traditions__index a[aria-current="true"] .numeral { color: var(--brass); }
.traditions__list {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); padding-bottom: 4px;
}
.traditions__list::-webkit-scrollbar { display: none; }
.tradition { flex: 0 0 86%; scroll-snap-align: start; display: grid; grid-template-rows: auto 1fr; }
.tradition__media img { aspect-ratio: 4 / 3; }
.tradition__text { padding: 18px 18px 22px; gap: 10px; }
.tradition h3 { font-size: 1.35rem; }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); transition: width 0.3s var(--ease), background-color 0.3s; }
.dots span.is-on { width: 20px; border-radius: 3px; background: var(--indigo); }

/* ---------- making: a vertical thread of beads ---------- */
.making { padding-bottom: 56px; }
.making > .beads { margin-bottom: 44px; }
.making__steps { position: relative; display: grid; gap: 26px; }
.making__steps::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 1px; background: var(--line-2); }
.making__step { grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; position: relative; }
.making__bead { grid-row: span 2; }
.making__step h3 { padding-top: 10px; }

/* ---------- innovations ---------- */
.innovations { padding-block: 60px; }
.innovations__grid { display: grid; gap: 14px; }
.innovation { padding: 24px; }

/* ---------- business teaser: an app-style list ---------- */
.biz-teaser { padding-block: 60px; }
.pillars { display: grid; gap: 10px; }
.pillar { grid-template-columns: 76px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border-radius: 14px; }
.pillar__media { width: 76px; height: 76px; border-radius: 10px; }
.pillar__name { font-size: 1.25rem; }
.pillar__text { display: none; }
.pillar__kicker { font-size: 0.68rem; }
.pillar__go { width: 34px; height: 34px; border: 0; background: var(--paper-2); }
.biz-teaser__cta .btn { width: 100%; }

/* ---------- events teaser ---------- */
.events-teaser { padding-block: 8px 60px; display: grid; gap: 24px; }
.events-teaser .btn { justify-self: stretch; }
.events-teaser__menu strong { font-size: 1.35rem; }

.cta { padding-block: 60px; }
.cta__actions { display: grid; width: 100%; gap: 10px; }

/* ---------- inner page heroes ---------- */
.page-hero { padding-block: 40px 36px; }
.page-hero h1 { font-size: clamp(2.35rem, 1.2rem + 6vw, 3rem); }
.page-hero__lead { font-size: 1.02rem; }
.page-hero__ctas .btn { width: 100%; }
.page-hero__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.page-hero__stats strong { font-size: 1.9rem; }
.page-hero__stats span { font-size: 0.78rem; max-width: 9em; line-height: 1.3; }
.jump { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
.jump::-webkit-scrollbar { display: none; }
.jump a { white-space: nowrap; }

/* ---------- craft page: picture first, techniques swipe ---------- */
.craft-block { padding: 44px 0 40px; border-top: 1px solid var(--line); }
.craft-block__media { position: relative; padding-inline: var(--gutter); margin-bottom: 22px; }
.craft-block__media img { aspect-ratio: 5 / 4; }
.craft-block__numeral {
  position: absolute; right: calc(var(--gutter) + 12px); bottom: 10px; font-size: 3.6rem;
  color: var(--surface); text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}
.craft-block__text { padding-inline: var(--gutter); }
.craft-block__summary { font-size: 1rem; }
.techniques {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 8px calc(-1 * var(--gutter)) 0; padding: 2px var(--gutter) 6px; scroll-padding-inline: var(--gutter);
}
.techniques::-webkit-scrollbar { display: none; }
.technique { flex: 0 0 78%; scroll-snap-align: start; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.collections { padding-block: 56px; }
.collections__grid { display: grid; gap: 10px; }
.collection { grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; padding: 18px; }
.collection__icon { grid-row: span 2; }
.collection h3 { font-size: 1.35rem; align-self: center; }
.collection p, .collection .link-arrow { grid-column: 2; }
.collection p { font-size: 0.95rem; }

/* ---------- business services: a sticky segmented control ---------- */
.services { padding-block: 0 40px; }
.services__tabs {
  position: sticky; top: var(--masthead-h); z-index: 20; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
  margin-inline: calc(-1 * var(--gutter)); padding: 10px var(--gutter);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.services__tab {
  justify-items: center; text-align: center; padding: 10px 4px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--line); transition: background-color 0.2s, color 0.2s;
}
.services__tab-num, .services__tab-kicker { display: none; }
.services__tab-name { font-size: 0.84rem; line-height: 1.2; }
.services__tab[aria-selected="true"] { background: var(--indigo); border-color: var(--indigo); color: var(--on-dark); }
.services__panels { padding-top: 24px; }
.panel:not(.is-active) { display: none; }
.panel { gap: 18px; animation: panel-in 0.35s var(--ease); }
@keyframes panel-in { from { opacity: 0; } to { opacity: 1; } }
.panel__media img { aspect-ratio: 16 / 9; }
.service-list li { padding: 14px 0; }
.why { padding-block: 24px 56px; }
.why__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
.why__num { font-size: 1.9rem; }
.why__grid h3 { font-size: 1rem; }
.why__grid p { font-size: 0.92rem; }

/* ---------- events page ---------- */
.styles { padding-block: 52px; padding-inline: 0; }
.styles .section__head { padding-inline: var(--gutter); }
.styles__list {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
}
.styles__list::-webkit-scrollbar { display: none; }
.menu-card { flex: 0 0 82%; scroll-snap-align: start; }
.menu-card h3 { font-size: 1.7rem; }
.steps { padding-block: 56px; }
.steps__list { display: grid; gap: 24px; }
.steps__list li { grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; row-gap: 2px; }
.steps__num { grid-row: span 2; }
.steps__list h3 { padding-top: 12px; }

/* ---------- about ---------- */
.purpose { padding-block: 44px; display: grid; gap: 12px; }
.purpose__card { padding: 24px; }
.visit { padding-block: 8px 56px; display: grid; gap: 24px; }
.visit__hours { padding: 4px 18px; }

/* ---------- forms: one step at a time ---------- */
.form-section { padding-block: 52px 44px; background: var(--paper-2); display: grid; gap: 22px; }
.form-section__points { display: none; }
.form-card { margin-inline: calc(-1 * var(--gutter) + 8px); padding: 20px 18px 22px; border-radius: 18px; }
.enquiry { gap: 18px; }
.step legend { font-size: 1.3rem; margin-bottom: 10px; }
.fields { gap: 14px; }
.field--half { grid-column: 1 / -1; }
.field input, .field select, .field textarea { font-size: 16px; }
.enquiry.is-wizard .enquiry__progress { display: block; height: 4px; border-radius: 2px; background: var(--paper-2); overflow: hidden; }
.enquiry.is-wizard .enquiry__progress span { display: block; height: 100%; width: 33%; background: var(--brass); border-radius: 2px; transition: width 0.4s var(--ease); }
.enquiry.is-wizard .enquiry__stepcount { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: -8px; }
.enquiry.is-wizard .step:not(.is-current) { display: none; }
.enquiry.is-wizard .step.is-current { animation: step-in 0.35s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.enquiry__actions {
  position: sticky; bottom: calc(var(--tabbar-h) + 10px); z-index: 5;
  display: grid; grid-template-columns: auto 1fr; gap: 8px;
  padding: 10px; margin: 0 -10px -10px; border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.enquiry__actions .btn:not([hidden]) { width: 100%; }
.enquiry__actions [data-back][hidden] + .btn, .enquiry__actions [data-back][hidden] ~ [data-submit] { grid-column: 1 / -1; }
.enquiry__actions [data-back] { width: auto; }

/* ---------- contact: one-tap actions, the form, then details ---------- */
.contact { padding-block: 32px 44px; display: grid; gap: 26px; }
.contact h1 { font-size: 2.6rem; }
.contact__form { margin-inline: calc(-1 * var(--gutter) + 8px); }
.contact__info { display: grid; }

/* ---------- footer: tap-to-open sections ---------- */
.footer__inner { padding-block: 40px 12px; gap: 0; }
.footer__brand { padding-bottom: 20px; }
.footer__col { border-top: 1px solid var(--line-dark); }
.footer__col summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; cursor: pointer; }
.footer__col summary::after { content: "+"; font-size: 1.2rem; font-weight: 400; color: var(--brass); transition: transform 0.3s var(--ease); }
.footer__col[open] summary::after { transform: rotate(45deg); }
.footer__col ul, .footer__col address { margin: 0 0 18px; }
.footer__base { flex-direction: column; }


/* ---------- home hero: the slideshow under the words, inside the screen width ---------- */
.hero { grid-template-columns: minmax(0, 1fr); }
.hero__stage { margin-inline: var(--gutter); aspect-ratio: 4 / 5; border-radius: 20px; }
.stage__caption { bottom: 70px; }
.stage__name { font-size: 1.9rem; }
.stage__go { padding: 8px 14px; font-size: 0.85rem; }
.stage__index { gap: 5px; bottom: 16px; }
.stage__dot-num { font-size: 0.8rem; }

/* ---------- service areas: rows with the photo on the left ---------- */
.areas { gap: 10px; }
.area { grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: none; border-radius: 14px; }
.area:hover { transform: none; }
.area__media { aspect-ratio: auto; min-height: 100%; }
.area__num { top: 8px; left: 8px; padding: 2px 8px; font-size: 0.82rem; }
.area__body { padding: 14px 16px; gap: 3px; grid-template-rows: none; }
.area__icon { display: none; }
.area__kicker { font-size: 0.64rem; }
.area__name { font-size: 1.18rem; }
.area__text { font-size: 0.86rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.area__go { font-size: 0.84rem; margin-top: 2px; }

/* ---------- services explorer: a sticky row of tabs that scrolls sideways ---------- */
.services__tabs {
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; grid-template-columns: none;
}
.services__tabs::-webkit-scrollbar { display: none; }
.services__tab { flex: 0 0 auto; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; }
.services__tab-icon { display: inline-flex; color: var(--brass-ink); }
.services__tab-icon .i { width: 17px; height: 17px; }
.services__tab-name { white-space: nowrap; font-weight: 600; }
.services__tab[aria-selected="true"] .services__tab-icon { color: var(--brass); }
.panel__badge { left: 10px; bottom: 10px; padding: 6px 12px; font-size: 0.68rem; }
.panel__actions .btn { width: 100%; }

/* ---------- service area pages ---------- */
.area-hero { padding: 36px 0 0; }
.area-hero__inner { gap: 28px; }
.area-hero__text { padding-inline: var(--gutter); }
.area-hero h1 { font-size: clamp(2.3rem, 1.2rem + 6vw, 3rem); }
.area-hero__lead { font-size: 1.02rem; }
.area-hero .page-hero__ctas { display: grid; }
.area-hero__photo { aspect-ratio: 4 / 3; border-radius: 0; box-shadow: none; }
.area-hero__card { left: var(--gutter); bottom: -26px; padding: 12px 16px 12px 12px; }
.area-hero__card-icon { width: 40px; height: 40px; }
.area-hero__card strong { font-size: 1.5rem; }
.highlights { padding-top: 56px; }
.highlight { padding: 20px; }
.highlight h3 { font-size: 1.25rem; }
.svc-card { padding: 18px 18px 20px; }
.svc-card__num { font-size: 1.6rem; }

/* ---------- service area pages: previous and next ---------- */
.pager__inner { gap: 10px; }
.pager__link, .pager__text { min-height: 150px; }
.pager__text { padding: 16px; }
.pager__name { font-size: 1.1rem; }
